Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

STEPQuant: When and Where Errors Matter in Delta-Rule Recurrent State Quantization

STEPQuant lowers recurrent state memory by allocating bits by error lifetime

  • Problem Quantizing linear attention's recurrent state to low bits hurts accuracy badly. Each Delta update starts from the already rounded state, so rounding errors carry into later steps.
  • Method STEPQuant gives long-lived, high-error state units more bits. It fits separate key-row and value-column scales instead of one axis.
  • Results On Qwen3.8-27B, 6-bit STEPQuant averages 80.59 on seven long reasoning benchmarks, against 80.60 for FP32 state.

Why low-bit recurrent states break

Linear attention keeps a fixed-size recurrent state in place of a KV cache that grows with the sequence. That state is fixed in size across context length, but each concurrent request keeps its own persistent copy. Serving systems may also reserve extra state slots for caching and scheduling, so the pool grows with concurrency even for short contexts.

That memory overhead is the reason the authors pursue compression of recurrent states rather than of the KV cache.

Quantization breaks down in the update loop, because each Delta update starts from an already approximate state. The update then produces a newly quantized state, so the rounding error from one step carries into the next. To explain this, the authors study the error along two axes: when it accumulates and where in the state it sits. Temporally, the state is re-quantized at every decoding step, so errors pile up over time.

Figure 1(b) shows that across 2304 Qwen heads under uniform INT6 quantization, longer-lived state units accumulate larger errors. State magnitudes also vary strongly along both key rows and value columns, so one scaling axis cannot fit both patterns. These two questions motivate the two components that the paper designs in its later sections.

How an error survives the Delta update

The Delta rule first multiplies the previous state by a retention gate, then corrects the result along the current key. Writing the update as St = At St-1 + Bt isolates the transition At = (I - βt kt kt^T) Dt, which the analysis studies. GDN keeps one scalar retention gate per head, so the whole head decays at a single rate. KDA uses channel-wise gates, so each key row decays at its own rate.

Applying the same transition to the accumulated error gives Et = At Et-1 + εt, so old error carries forward while new quantization error enters at each step. Under the conditions on the key norm, the write strength and the gate, the spectral norm of At is at most 1. Because of that bound, the transition can't amplify the error by itself. The Delta term then reduces the error along the current key kt, while leaving components orthogonal to kt unchanged.

Error in directions that later keys rarely touch therefore depends mainly on gate decay. When retention is close to one, that error can persist for many decoding steps. The authors treat memory lifetime as the key predictor of recurrent-state quantization risk. They tested this on all recurrent heads of Qwen3.8-27B under uniform INT6 state quantization on C4.

Heads with longer gate half-lives show larger accumulated state error, with Spearman's ρS ≈ 0.80. Fig. 1(b) plots this relation, and Appendix B.5 gives more detail.

Giving long-lived units more bits

Lifetime-aware Bit Allocation treats each unit as a whole head in Qwen and as one key row in KDA. For each unit, the authors estimate the reconstruction distortion at each candidate bit width, along with the mean log retention averaged over calibration tokens. Retention gates are GDN's scalar alpha_t and KDA's per-row decay d_t,i, and a larger mean log retention marks a longer memory lifetime.

Retention multiplies the error by about exp(j·ℓ_u) after j steps, so the squared error shrinks by about exp(2j·ℓ_u).

Summing these squared decay factors over H steps gives the lifetime weight L_u, which grows with the retention of the unit. Bit widths are chosen from a candidate set to minimize the sum of L_u times each unit's distortion. The objective is constrained so that the element-weighted average bit count stays within the budget b̄. This objective weighs both how large the quantization error is and how long it persists through later updates.

A few units remain hard to quantize even after mixed-precision allocation, so the authors keep the highest-risk units in FP16 as sparse pivots. Pivot selection and bit allocation run during offline calibration, and their results stay fixed across requests. The paper points to Appendix C.2 and D for further details of this procedure.

Which key rows matter and where outliers sit

Key rows in the recurrent state don't all matter equally, because readout error depends on where it lands. The readout error is a sum over key rows, and each row is weighted by an entry of A_t transposed times q_t. So an error of equal norm confined to one key row moves the readout more when its weight g_t,i is larger. To handle variation across decoding steps, the authors define the row-impact score omega_i as the calibration average of g squared.

They rank key rows within each head by omega_i and split them into eight groups. Quantizing one group at a time to INT4, with the other rows kept in full precision, raises perplexity, and groups with larger omega_i generally cause greater degradation in both models. The authors take this as support for using the row-impact score to guide scale selection.

The second spatial property is that the state has large magnitudes along both key rows and value columns. Most prior LLM quantization work targets outliers along one dominant axis, such as channels or tokens. Figure 2(c) shows that these magnitude differences persist along both axes throughout decoding.

STEPQuant answers this with Key-Row-Aware Dual-Axis Fitting, which gives key rows and value columns separate scale factors. Each updated entry is reconstructed as r_i times c_j times the low-bit integer z_ij. The row factor r_i has to reflect the current magnitude of a row and the row's impact on readout error. The authors estimate row magnitude m_i as the mean absolute value of X_ij across value columns.

Rows with larger m_i need a wider range, and rows with larger impact scores omega_i are more vulnerable, so both pull r_i in different directions.

Fitting row and column scales

STEPQuant stores each entry of the updated state as an integer level scaled by a row factor and a column factor. The row factor starts from the mean absolute value of each key row, which the authors call m_i. The row factor also takes the impact score w_i, which is normalized within each head. Rows with a larger magnitude m_i get a wider quantization range, so the row factor grows with m_i.

With the row factors fixed, STEPQuant fits the column factors c_j by minimizing an impact-weighted squared reconstruction error. Each squared error is weighted by w_i squared, so errors on high-impact key rows are penalized more. Each scaled entry X_ij divided by r_i c_j is rounded to the nearest level at the bit width b_i assigned to its row.

The reconstructed state is then the row factor times the column factor times the integer level. Lifetime-aware bit allocation and FP16 pivot selection run offline, so the scale fitting adds no per-token allocation step.

Running the packed state during decoding

STEPQuant fixes its bit allocation, FP16 pivots and row-impact scores before serving, using 32 WikiText-2 training segments of 2048 tokens each. Lifetime-aware Bit Allocation and FP16 pivot selection run offline, so decoding adds no per-token allocation overhead. The packed layout stays fixed across requests, so every active state is read in the same format.

The paper ties this fusion to lower memory traffic during decoding. Once the head output is ready, later layers keep processing the same token.

This overlap lets scale updates proceed alongside model computation. The updated state is quantized again after each step, producing the stored state that the next step reads. Each active request keeps its own persistent state, so keeping that state compressed between tokens matters for serving memory.

The authors run these kernels in SGLang on four NVIDIA A800 GPUs. They evaluate Qwen3.8-27B and Kimi-Linear-48B-A3B-Instruct with BF16 and 4-bit AWQ weights. They compare against SGLang's default FP32 SSM-state precision and symmetric rowwise-absmax INT4, INT6 and INT8 baselines. The next section reports accuracy on seven long-generation reasoning benchmarks and six short-generation tasks.

Long and short reasoning accuracy

The authors test whether 6-bit recurrent states stay near FP32 and whether 4-bit STEPQuant can beat uniform INT8. Seven long-generation reasoning benchmarks use temperature 1.0, top-k 20, top-p 0.95, and at most 65536 generated tokens per sample. Six language understanding tasks are scored from one greedy answer per example, with T set to 0.

Scoring generated answers instead of candidate likelihoods matches the autoregressive decoding setting that STEPQuant targets.

On Qwen with BF16 weights, STEPQuant at 6 bits averages 80.59, close to the FP32 average of 80.60. Uniform INT6 on the same Qwen tasks drops to 45.04 on average. On Kimi-Linear, the 6-bit STEPQuant average is 61.47, compared with 61.52 for FP32.

The 4-bit STEPQuant configuration on Qwen averages 80.51, far above the uniform INT8 average of 71.86. Uniform INT4 falls to 12.73 on Qwen and 21.63 on Kimi, showing that plain low-bit scaling fails. Uniform INT4 degrades sharply on the long tasks, while STEPQuant stays competitive across all seven.

On the six short-generation tasks, 4-bit STEPQuant trails FP32 by 0.15 points on Qwen, at 87.63 against 87.78. On Kimi, the 4-bit configuration trails FP32 by 0.25 points, reaching 68.11 against 68.36. Uniform INT4 averages 65.74 on Qwen short tasks and 42.24 on Kimi, which the authors report can fail to yield valid answers. The authors read these results as recurrent states working below 8 bits with limited accuracy loss.

They note that the concurrent DAMP work treats this low-bit regime as challenging, while DAMP keeps 9.9 bits per state value.

Which component carries the gain

Spatial fitting is tested alone in the Spatial only variant, which keeps uniform precision and applies key-row-aware dual-axis fitting. At 4 bits, Spatial only reaches 73.95 on Qwen, compared to 7.64 for the Q-Mamba DSQ baseline. The authors credit this gap to folding key-row impact into the dual-axis quantization. At 6 bits, Spatial only averages 80.19 on the same three tasks, while Q-Mamba reaches 75.95.

The temporal branch uses calibrated mixed-precision allocation with FP16 pivots, and a variant removes the pivots. On Qwen at 4 bits, the temporal-only average moves from 6.17 without pivots to 12.87 with them. Protecting only 1.39% of Qwen heads with FP16 pivots raises the 4-bit three-task average by 6.70 points. The same pivot protection also lifts the 6-bit AIME accuracy by 14.16 points, which the authors tie to protecting high-risk units.

Combining both parts gives 84.72 at 4 bits, compared to 73.95 for spatial only and 12.87 for temporal only. At 6 bits, the full STEPQuant reaches 84.51, against 80.19 for spatial only and 75.63 for temporal only. Both full-method results sit close to the FP32 average of 84.61. The authors describe the spatial and temporal components as complementary, since each contributes benefits the other lacks.

Table 4 reports these ablations on Qwen, while the Kimi results appear in Appendix E.4. The ablation averages AIME 2026, GPQA Diamond and LiveCodeBench v6 under BF16 weights and nominal 4- and 6-bit budgets. The authors report similar trends on Kimi under both bit budgets. They didn't run these component ablations on the short-generation tasks.

Serving memory and generation length in practice

STEPQuant's serving gains start from a practical question: how much total memory does a Qwen server need at batch size 512? The authors run SGLang on A800 GPUs with W4 weights and compare the FP32 state against STEPQuant at 6 bits. Total serving memory falls from 419.73 GiB to 131.18 GiB, a 68.7% reduction that includes the model weights.

Recurrent-state memory itself drops by 80.1%, a 5.03× compression, which is the part STEPQuant directly targets. State-update time drops by 65.6%, a 2.91× speedup over the FP32 state in the Fig. 3(d) setting at batch size 512.

On Kimi, the same 6-bit setting gives 5.08× recurrent-state compression and cuts total memory by 53.7%. The authors measure memory at batch sizes from 32 up to 512 for Qwen with W4 weights.

Uniform quantization also lengthens generations, which matters because reasoning runs stop at 65536 generated tokens per sample. At 4 bits, Kimi averages 63.40K tokens on AIME and 64.22K on HMMT, approaching that cap. These long outputs come with near 0 accuracy on both tasks, so the extra length brings no reasoning gain.

Limits of the evidence

At 4 bits, STEPQuant nearly matches FP32-state performance on Qwen but keeps a modest gap on Kimi. The Kimi counterparts of that ablation sit in Appendix E.4, so the main text doesn't show them.

The 4-bit ablation numbers show Temporal only at 12.87%, far below STEPQuant at 84.72%. The efficiency numbers come from Qwen at batch size 512 with W4 weights. Kimi's state-memory and update-time results appear only in Appendix F, so the main text can't compare them directly. The short-generation tables use BF16 weights, and the 4-bit AWQ weight results appear separately in Table 3.

Calibration uses 32 WikiText-2 segments of 2048 tokens each, and the paper doesn't test other calibration corpora.

Some units stay in FP16 as pivots, so compression is only partial for those units. The pivot protection result rests on 1.39% of Qwen heads, and the paper doesn't report the same fraction for Kimi. Uniform quantization lengthens generations, and STEPQuant keeps lengths close to FP32 on the seven long tasks. The paper's claims on Kimi rest on the reported KDA results, not on a sweep over other Kimi checkpoints.

Paper info

Authors
Bingchen Yao, Haobo Xu, Haokun Lin, Yichen Wu, Ziyu Guo, Renrui Zhang, Zhichao Lu, Zhenan Sun, Ying Wei
Venue
arXiv · Preprint
First published
2026-9-29
Added
2026-10-20
Updated
2026-9-29
Version
v1
arXiv
2609.38169
Category
cs.CL · cs.AI · cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Bingchen Yao, Haobo Xu, Haokun Lin, Yichen Wu, Ziyu Guo, Renrui Zhang, Zhichao Lu, Zhenan Sun, Ying Wei (2026). STEPQuant: When and Where Errors Matter in Delta-Rule Recurrent State Quantization. arXiv:2609.38169v1. https://arxiv.org/abs/2609.38169v1

BibTeX
@misc{yao2026stepquant,
  title = {{STEPQuant: When and Where Errors Matter in Delta-Rule Recurrent State Quantization}},
  author = {Bingchen Yao and Haobo Xu and Haokun Lin and Yichen Wu and Ziyu Guo and Renrui Zhang and Zhichao Lu and Zhenan Sun and Ying Wei},
  year = {2026},
  eprint = {2609.38169},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.38169v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up