arXiv Machine Learning By Hanzhang Shen, Haoran Wu, Yiren Zhao, Robert Mullins

TriAxialKV: Toward Extreme Low-Precision KV-Cache Quantization for Agentic Inference Tasks

Read the original on arXiv Machine Learning →

TriAxialKV is a mixed‑precision KV‑cache quantization scheme designed for agentic inference tasks that require long‑context, multimodal, and structured interactions. It assigns a triaxial tag to each token—capturing temporal recency, modality, and semantic role—to calibrate sensitivity and allocate INT2/INT4 bit‑widths within a fixed memory budget. Implemented as an end‑to‑end serving system with custom Triton kernels, TriAxialKV achieves the same accuracy as BF16 KV cache while providing 4.5× larger cache capacity and 30% higher throughput on real GPU systems.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv AI
Nov 14

OSCAR: Offline Spectral Covariance-Aware Rotation for 2-bit KV Cache Quantization

OSCAR is an offline spectral covariance‑aware rotation technique for 2‑bit KV‑cache quantization in large language models. It estimates attention‑aware covariance targets to derive fixed per‑layer rotations and clipping thresholds, aligning the quantization basis with the second‑moment structures used by attention. The method achieves near‑BF16 accuracy on several benchmarks, compresses KV‑cache memory by almost 8×, and boosts throughput and decoding speed across multiple serving engines.

By Zhongzhu Zhou, Donglin Zhuang, Jisen Li, Ziyan Chen, Shuaiwen Leon Song, Ben Athiwaratkun, Xiaoxia Wu
arXiv AI
Nov 6

TriAttention: Unified Sparse Mixed-Precision Attention for Long-Context LLM Inference

TriAttention is a unified sparse mixed‑precision attention mechanism that assigns query‑key tiles to either skip, 4‑bit, or 8‑bit computation. It encodes each head’s computation regions with two diagonal‑distance boundaries, enabling a compact policy independent of context length. Offline calibration selects boundaries that minimize error under a shared computation budget, and during inference a fused kernel processes precision‑grouped traversals, reusing compressed key‑value caches to achieve up to 7.88× speedups over Torch attention while preserving model quality.

By Hanzhi Zhang, Qiao Zhang, Qinglei Cao, Heng Fan, Yan Huang, Kewei Sha, Yunhe Feng
Hugging Face Trending Papers
Oct 13

MultiAlloc: Budget-Aware Precision Allocation for KV Cache Quantization

MultiAlloc is a profiling‑guided framework that allocates limited quantization resources between layer‑wise precision enhancement and token‑wise preservation for KV cache quantization in large language models. By using lightweight offline profiling to assess layer sensitivity and token importance, it automatically derives an effective precision allocation strategy that satisfies a fixed memory budget without online search. Experiments on reasoning and long‑context benchmarks show that MultiAlloc consistently outperforms existing layer‑wise, token‑wise, and multi‑granularity quantization methods across models such as Mistral, Llama, DeepSeek‑Qwen, and QwQ.