QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Caching

Zunhai Su, Yuxuan Sun, Jianchao Tan, Tao Zhang, Ruihan Hu, Yuchen Xie, Xunliang Cai, Ngai Wong

The University of Hong Kong · Meituan LongCat Team · South China University of Technology · Harbin Institute of Technology

Published September 30, 2026 · on the feed October 12, 2026 · ▲ 7 · arXiv 2609.36760

Efficiency & inference3D, worlds & games No code arXiv ↗Hugging Face ↗

The abstract

Multi-Head Latent Attention (MLA) enables expressive multi-head attention with compact caches for its content and decoupled RoPE paths, yet cache memory still scales linearly with context length and batch size. In this work, we establish a systematic model of MLA's dual-path quantization errors, characterizing their distinct effects on attention-output distortion and explaining the pronounced amplification of RoPE-path errors. Guided by this analysis, we introduce QuantMLA, a function-aligned framework for low-bit dual-path quantization. We derive path-specific transformation spaces that preserve full-precision computation while remaining fully fusible into model parameters offline, eliminating online transformation overhead. Within these spaces, QuantMLA learns path-specific transformations with function-aligned objectives: attention-output reconstruction captures the content path's coupled matching and aggregation errors, while positional QK reconstruction preserves the RoPE-induced component of the attention logits and admits a theoretical bound on output distortion. Across four MLA model families, QuantMLA enables, to our knowledge, the first reported joint INT4 caching of the content and RoPE caches with minimal accuracy degradation. Further compressing the content cache to INT2 while retaining the RoPE key cache at INT4 maintains competitive performance on challenging reasoning and code benchmarks. We develop a native low-bit MLA attention kernel that integrates unpacking and dequantization directly into attention computation. The physical cache layout provides 3.59x compression at 128K context, while a cache-pressure serving workload achieves 5.168x higher whole-job output throughput than BF16. The code will be released upon acceptance.

The Brief

2:58

A short podcast summary of the paper. Written and voiced by AI.

Transcript

QuantMLA. Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Caching. By Zunhai Su and seven others, from the University of Hong Kong, the Meituan LongCat Team, and two other institutions. Published on the thirtieth of September. No code repository is linked to it.

Multi-Head Latent Attention, or MLA, already keeps its cache compact. It stores two things: a cache for the content path, and a separate cache for the decoupled RoPE path that carries position. Even so, cache memory still grows linearly with context length and with batch size. Quantizing that cache to low bit widths is the obvious lever, but the two paths do not respond to error in the same way. Errors on the RoPE path in particular are amplified sharply in the attention output.

The paper starts by building a systematic model of these dual-path quantization errors. It characterises how each path distorts the attention output differently, and it explains why the RoPE-path errors are amplified so much more than the content-path ones.

Guided by that analysis, QuantMLA treats the two paths as two problems. It is a function-aligned framework for low-bit dual-path quantization: each path gets its own transformation, and each transformation is learned against an objective that matches what that path actually does inside attention, rather than against a generic reconstruction of the stored numbers.

First, the authors derive path-specific transformation spaces. Transformations in these spaces preserve the full-precision computation, and they can be fused into the model parameters offline, so there is no transformation overhead at inference time. Within those spaces, the content path is trained on attention-output reconstruction, which captures its coupled matching and aggregation errors. The RoPE path is trained on positional QK reconstruction, which preserves the RoPE-induced component of the attention logits and admits a theoretical bound on output distortion. On the systems side, a native low-bit MLA attention kernel folds unpacking and dequantization directly into the attention computation.

Across four MLA model families, QuantMLA enables what the authors believe is the first reported joint INT4 caching of both the content cache and the RoPE cache, with minimal accuracy degradation. Pushing further, the content cache can go down to INT2 while the RoPE key cache stays at INT4, and performance remains competitive on challenging reasoning and code benchmarks.

The physical cache layout gives three point five nine times compression at a context of one hundred and twenty-eight thousand tokens. Under a serving workload built around cache pressure, whole-job output throughput is five point one six eight times higher than with BF16. Code is promised upon acceptance.

The argument runs from diagnosis to design. Once the error model shows that the position path and the content path fail differently, quantizing them with one shared recipe stops making sense, and giving each path an objective shaped like its own role is what lets both caches drop to four bits together.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.