NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sigma: Differential Rescaling of Query, Key and Value for Efficient Language Models

Zhenghao Lin, Zihao Tang, Xiao Liu, Yeyun Gong, Yi Cheng, Qi Chen, Hang Li, Ying Xin, Ziyue Yang, Kailai Yang, Yu Yan, Xiao Liang, Shuai Lu, Yiming Huang, Zheheng Luo, Lei Qu, Xuan Feng, Yaoxiang Wang, Yuqing Xia, Feiyang Chen, Yuting Jiang, Yasen Hu, Hao Ni, Binyang Li, Guoshuai Zhao, Jui-Hao Chiang, Zhongxin Guo, Chen Lin, Kun Kuang, Wenjie Li, Yelong Shen, Jian Jiao, Peng Cheng, Mao YangarXiv 2025 · DOI

Introduction

The rapid scaling of Large Language Models (LLMs) has brought significant advancements in AI capabilities but has also introduced substantial infrastructure challenges. SIGMA introduces DiffQKV attention, a novel architecture designed to maximize inference efficiency by breaking the traditional symmetry between Query (Q), Key (K), and Value (V) components. By strategically compressing Keys while augmenting Queries, SIGMA achieves a 33% speedup over standard Grouped-Query Attention (GQA) and establishes a new state-of-the-art in the "system domain"—the specialized field of managing and optimizing AI infrastructure.

The KV Cache Bottleneck

As context lengths and model sizes grow, the "KV cache"—the memory used to store Key and Value vectors during the decoding phase—becomes a critical bottleneck. This cache consumes a disproportionate amount of GPU memory and limits inference speed due to memory bandwidth constraints. While existing techniques like Multi-Query Attention (MQA) and Grouped-Query Attention (GQA) attempt to mitigate this by sharing heads, they treat K and V as equally compressible. SIGMA's research reveals that models are significantly more sensitive to the compression of Values than Keys, suggesting that current symmetric approaches are inherently inefficient.

Methodology: DiffQKV Attention

SIGMA's core innovation, DiffQKV attention, departs from standard mechanisms through two primary strategies:

  1. Differential KV Compression: Empirical evidence suggests that attention scores are naturally sparse, allowing Keys to tolerate higher levels of compression than Values. SIGMA exploits this by using fewer heads and smaller dimensions for Keys ($K$) relative to Values ($V$). For instance, in a 1.5B parameter configuration, Key heads are reduced from 16 to 4, while 16 Value heads are maintained.
  2. Augmented Query (AugQ): Unlike K and V, Query vectors are not stored in the KV cache. SIGMA leverages this by increasing the dimensionality of $Q$ heads (e.g., by 1.5x). This "Augmented Query" approach boosts the model's representational capacity with negligible impact on inference latency, effectively trading cheap computation for expensive memory.

To support these unbalanced dimensions on modern hardware, the authors developed FlexHeadFA, an extension of FlashAttention-2 that enables efficient processing of asymmetric Q, K, and V tensors.

Specialization in the System Domain

Beyond architectural innovation, SIGMA is tailored for the system domain—tasks involving hardware diagnostics, network topology optimization, and infrastructure command generation. The model was pre-trained on a massive 6-trillion token corpus, including a curated 19.5B token dataset from technical sources like StackOverflow and arXiv.

To evaluate performance in this niche, the researchers introduced AIMICIUS, a comprehensive benchmark consisting of four specialized tasks: CMDGen (CLI command generation), Infrawise (infrastructure analysis), Optiflow (network optimization), and NL2KQL (query language conversion).

Key Results and Efficiency Gains

SIGMA demonstrates superior performance in both general and specialized benchmarks. On the AIMICIUS benchmark, SIGMA-SYSTEM 10B outperformed GPT-4 by up to 52.5% in specific system tasks.

SIGMA achieves a 33.36% speedup over standard GQA at a 64k output length.

In terms of efficiency, SIGMA-1.5B provides a 33.36% improvement in inference speed compared to GQA baselines in long-context scenarios. The architectural trade-offs allow SIGMA to remain competitive with state-of-the-art general models like Gemma-2B and DCLM-1.4B while offering significantly better throughput.

Heatmap showing the absolute improvement in CEET (ms) across different prefix and output lengths.

Conclusion and Future Directions

SIGMA proves that asymmetric attention architectures can significantly alleviate the KV cache bottleneck without sacrificing model quality. While the model excels in the system domain, complex reasoning tasks within that domain remain a challenge for future iterations. Ongoing research will explore the optimal balance between Augmented Query and Feed-Forward Network (FFN) parameters, as well as the potential for self-evolution through synthetic data generation.

Summary updated

BibTeX
@misc{lin2025sigma,
  author = {Zhenghao Lin and Zihao Tang and Xiao Liu and Yeyun Gong and Yi Cheng and Qi Chen and Hang Li and Ying Xin and Ziyue Yang and Kailai Yang and Yu Yan and Xiao Liang and Shuai Lu and Yiming Huang and Zheheng Luo and Lei Qu and Xuan Feng and Yaoxiang Wang and Yuqing Xia and Feiyang Chen and Yuting Jiang and Yasen Hu and Hao Ni and Binyang Li and Guoshuai Zhao and Jui-Hao Chiang and Zhongxin Guo and Chen Lin and Kun Kuang and Wenjie Li and Yelong Shen and Jian Jiao and Peng Cheng and Mao Yang},
  title = {{Sigma: Differential Rescaling of Query, Key and Value for Efficient Language Models}},
  year = {2025},
  eprint = {2501.13629},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.13629},
}
Figure