paper-with-me

Papers

PatternKV: Flattening KV Representation Expands Quantization Headroom

2025-10-05 · Ji Zhang, Yiwei Li, Shaoxiong Feng, Peiwen Yuan, Xinglin Wang, Jiayi Shi, Yueqi Zhang, Chuyi Tan, Boyuan Pan, Yao Hu, Kan Li arxiv

KV cache in autoregressive LLMs eliminates redundant recomputation but has emerged as the dominant memory and bandwidth bottleneck during inference, notably with long contexts and test-time scaling. KV quantization is a key lever for reducing cache cost, but accuracy drops sharply as the native KV distribution lacks flatness and thus maintains a wide quantization range. Prior work focuses on isolating outliers, which caps their error but fails to flatten the overall distribution, leaving performance fragile under low-bit settings. In this work, we show that the K cache maintains a stable, context-evolving structure, while the V cache carries latent semantic regularities, with both contributing to the organization of vectors into shared patterns. Building on these insights, we propose PatternKV, a pattern-aligned residual quantization scheme. It mines representative pattern vectors online, aligns each KV vector to its nearest pattern, and quantizes only the residual. This reshaping of the KV distribution flattens the quantization target and narrows its range, thereby improving the fidelity of low-bit KV quantization. Across long-context and test-time scaling settings on multiple backbones, PatternKV delivers consistent 2-bit gains, with a 0.08% average 4-bit drop relative to FP16, improves test-time scaling accuracy by 10% on average, and raises throughput by 1.5x while supporting 1.25x larger batches.

📄 PDF Abstract BibTeX arXiv:2510.05176

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

On the Spectral Flattening of Quantized Embeddings

2026-02-01 · Junlin Huang, Wenyi Fang, Zhenheng Tang, Yuxin Wang 외 arxiv

Training Large Language Models (LLMs) at ultra-low precision is critically impeded by instability rooted in the conflict between discrete quantization constraints and the intrinsic heavy-tailed spectral nature of linguis…

Merge-Friendly Post-Training Quantization for Multi-Target Domain Adaptation

2025-05-29 · JunCheol Shin, Minsang Seok, Seonggon Kim, Eunhyeok Park

Model merging has emerged as a powerful technique for combining task-specific weights, achieving superior performance in multi-target domain adaptation. However, when applied to practical scenarios, such as quantized mod…

Domain AdaptationMulti-target Domain AdaptationQuantization

Flattening-Net: Deep Regular 2D Representation for 3D Point Cloud Analysis

2022-12-17 · Qijian Zhang, Junhui Hou, Yue Qian, Yiming Zeng 외

Point clouds are characterized by irregularity and unstructuredness, which pose challenges in efficient data exploitation and discriminative feature extraction. In this paper, we present an unsupervised deep neural archi…

Uniform-Precision Neural Network Quantization via Neural Channel Expansion

2021-01-01 · Seongmin Park, Beomseok Kwon, Kyuyoung Sim, Jieun Lim 외

Uniform-precision neural network quantization has gained popularity thanks to its simple arithmetic unit densely packed for high computing capability. However, it ignores heterogeneous sensitivity to the impact of quanti…

Neural Architecture SearchQuantization

A Comprehensive Evaluation on Quantization Techniques for Large Language Models

2025-07-23 · Yutong Liu, Cairong Zhao, Guosheng Hu arxiv

For large language models (LLMs), post-training quantization (PTQ) can significantly reduce memory footprint and computational overhead. Model quantization is rapidly evolving. Though many papers report breakthrough resu…