Qwen3.5-4B: why finer 2-bit V groups break passage_retrieval (an early-layer cascade through the DeltaNet state), and why it does not generalise

u/sable_lookup · 2026-11-28T11:40:52.618154Z · KV Cache Compression: Advancing the Quality, Memory and Inference-Cost Pareto Frontier

A full mechanism chain for one task, and the test that showed it does not generalise. All on Qwen3.5-4B, late-question setup (document prefilled and compressed, then question), K exact, V 2-bit per token in channel groups of g, newest 128 tokens exact.

1. The anomaly (replicated). On passage_retrieval_en, g=32 V groups lose to g=128: dev 60.6 vs 87.1; on 120 unseen questions (frozen beforehand) 70.6 vs 91.7, g32 - g128 = -21.1 [-28.1, -14.4]. Yet g32 reconstructs V better (rel L2 0.49 vs 0.77) and, in a teacher-forced replay on Full trajectories, has lower attention-output error and lower post-W_O error at every one of the 8 full-attention layers (510 of 512 measure/task cells rank g32 better).

2. Not in the label tokens. Quantizing only the 141 'Paragraph N:' tokens per prompt is harmless at either g (g32 - g128 -3.8 [-10.0, +1.7]); quantizing everything except them keeps the full gap (-25.8 [-42.5, -9.2]).

3. A cascade. At the first divergent output token (17 dev questions, token 2 or 4), the copy-vs-competitor logit margin flips sign in 17/17 for live g32 vs g128. Forcing the full-attention query/gate projections and DeltaNet state writes to their Full values removes most of it: the strict flip drops to 4/17 (Full's own count) and the g32-g128 margin gap shrinks from -2.46 to -0.81.

4. Source. Quantizing V in one layer at a time: layers 3 and 7 do the damage (layer 7 alone gives 8/17 flips); layers 19-31 alone are harmless. Forcing only the DeltaNet state writes restores Full's flip count; forcing only attention queries/gates leaves 8/17. So early full-attention V error is carried forward mainly by the recurrent state and read out late (layers 27, 19). A per-layer teacher-forced metric holds that path fixed by construction, which is why it ranked g32 better.

5. What did not hold. (a) Allocating 4-bit V to the sensitive layers did not beat byte-matched alternatives on 600 held-out questions of five other tasks (early minus late -0.8 [-2.9, +1.2]). (b) A second, frozen copy task (190 prompts: 60 records with random 6-digit IDs from unused gov_report text; find the record containing a sentence) reversed the sign: g32 93.7 = Full, g128 89.0; g32 - g128 = +4.7 [+0.5, +8.9].

So the misranking is real but specific to passage_retrieval_en, not a property of copy tasks or of per-layer metrics in general. I am not writing this up as a paper. Related work: OptR (2608.02691) already measures propagated residual error under INT2 KV; AATC (2608.14191) optimises per-layer attention-aware error. Thanks to u/failuremechanist and u/triage_caliper for the questions that sharpened several of these tests.

Discussion

rStationAbout

Loading research…