A practical, carefully benchmarked dependency-breaking trick whose headline speedups recompute exactly from the tables, but the method equation does not match the released code, the DeepSeek fused-kernel gains exceed the paper's own 'indexer-free ceiling' (so not all of the gain comes from hiding the scan), and the noise appendix and several quality summaries do not match the reported tables.
Soundness
2/4
Presentation
2/4
Contribution
3/4
Confidence
4/5
✓ 6 confirmed✕ 14 discrepancy
Summary
The paper targets decode latency in DeepSeek Sparse Attention (DSA), used by DeepSeek-V3.2 and GLM-5. In DSA a lightning indexer scans the whole cache at every layer and a top-k (k=2048) selection must finish before sparse MLA can run. The proposed Multi-layer Indexer (MLI) has each indexer layer attend the selection produced by the previous indexer layer. This removes the intra-layer dependency, so the indexer scan can run on a second CUDA stream concurrently with attention and the FFN. MLI needs no new weights. It is realised inside SGLang's decode CUDA graph without kernel changes, with an optional fused kernel for DeepSeek-V3.2, and it composes with IndexCache, which removes indexers from some layers.
On 8×H200 (TP=8, batch 1) the paper reports that MLI alone gives +20–26% decode throughput on DeepSeek-V3.2 and +14–17% on GLM-5. On top of IndexCache at equal retention it adds up to 14.5%/9.8% (1/2) and 7.9%/5.1% (1/4), and IndexCache+MLI at 1/r beats IndexCache at 1/2r (1.32× vs 1.28× at 128K). Quality on LongBench, LongBench v2, RULER, a needle test and decode perplexity stays within a few points of IndexCache, and a cheap indexer-only distillation rescues the collapse at aggressive retention. The paper also includes a same-node parity control against stock SGLang, full-KV and DP-attention regimes, and paired bootstrap intervals for the quality contrasts.
Strengths
Simple, deployable idea demonstrated in a production engine
Lagging the selection by one indexer layer removes a serial dependency without new weights. Because the scan and top-k are the production kernels on production buffers, every full layer computes exactly the selection standard DSA would compute. The schedule is captured in SGLang's decode CUDA graph, and the full overlay (sglang_overlay/mli-sglang-v0.5.16.patch) is released. This is a realistic deployment path, not a toy prototype.
Headline throughput numbers are arithmetically exact and the tables are internally consistent
Abstract; Table 1; Tables 2, 8–11
All four equal-retention maxima in the abstract (14.5%, 9.8%, 7.9%, 5.1%) reproduce as relative throughput ratios from Table 1 (check 01), and so does the 1.32× vs 1.28× halving example (3.4% faster, check 02). Every % change in the quality tables matches the 3-decimal scores within rounding, all 50 LongBench v2 accuracies pass a GRIM test at n=503, and 140/144 CI point estimates match Table 8 (check 14).
Careful benchmarking protocol with a stock-release parity control
§4; App A; App C, Table 4
All arms run in the same job and on the same node, with the base run first and last (drift gate ≤2%, observed 0.4%), engagement markers, and plausibility gates. The comparison against stock SGLang IndexCache (Table 4) shows the authors' build is 0.38–1.09% slower on IC arms (check 10), so the baseline is not handicapped. This is more care than is typical for systems-for-LLM papers.
Broad sweep including unfavourable regimes
Tables 1, 5, 6, 7; App D, F
Two production models, five contexts, six retentions, per-request and full-KV regimes, and replication under DP attention. The paper reports where MLI loses: −2.2% at 64 concurrent requests (Table 5, confirmed in check 13), the fused kernel being issue-bound at high concurrency, and the small DP gains (Tables 6–7). The full-KV request counts are consistent with a single max_total_tokens per model (check 13).
Weaknesses
Eq. 2 does not describe the schedule that was implemented and measured
major · §3.1 Eq. 2; §3.2; overlay patch l.2884–3039, 4027–4050
Eq. 2 and the sentence after it say that with k≥1 a shared layer "attends what its full layer attended", i.e. the stale selection Sπ1(. In the released k=1 paths of the SGLang overlay (patch l.2884–2891, 2942–2998, 3033–3039, 4027–4050), a full layer attends the incoming carry but carries out its own set, so shared layers attend exactly as in IndexCache. The patch docstring at l.3038 says so explicitly, and §3.2 ("shared layers receive the carried selection exactly as in IndexCache") agrees with the code, not with Eq. 2. Simulation for , (check 03): under Eq. 2, 60/61 layers deviate from IndexCache with up to 7 layers of staleness; under the code, only 15/61 (the full layers) deviate, with at most 4. The §3.2 join point (" full layers later") is also not where the code joins (the next layer, patch l.2948). As a result, every composition speed and quality result measures a schedule than the one the paper defines and argues about. rewrite Eq. 2 as for and for shared layers (or implement Eq. 2), and correct the staleness discussion in §3.1.
Questions for the authors
Which schedule do the reported composition results use: Eq. 2 (shared layers inherit the stale set) or the code's fresh carry-out? If Eq. 2 were implemented as written, how do the quality numbers in Table 2 change at r=4 and r=8?
What is the throughput of the fused decode kernel with lag depth 0 (no overlap) relative to stock sparse MLA? This would separate the kernel's own speedup from scan hiding, and explain why DeepSeek composition 1/8 (+33.7%) beats 1/16 (+31.7%).
Can you provide the deferred-stream DeepSeek-V3.2 numbers for every Table 1 cell, so the 'fused is faster by 4 to 6 pp at every retention and context' claim and the four-fifths hidden fraction can be checked?
Which runs produced the App J gaps (+4.70, +2.36, +4.12, +2.61 pp)? They do not match Table 1's 9.6, 5.7, 6.0 and 3.7 pp.
Under DP attention the composition adds about 1% over IndexCache at 1/4 and is slower in half the full-KV cells. Is there a deployment setting other than batch-1 TP-8 where MLI gives a material end-to-end gain over IndexShare?
Does including the next full layer f′ in the distillation consumer span change the distilled composition's RULER deficit (−3.7/−4.0/−2.7)?
Verification
We ran 20 checks (19 scripted claims plus a split-out sub-check) using the LaTeX tables, the released code and the stock SGLang source. Results: 6 confirmed, 14 discrepancies, none inconclusive. The headline arithmetic is solid: every abstract speed number recomputes exactly from Table 1, the quality tables are internally consistent (GRIM, rounding, cross-table), the parity control holds, and the 116-test CPU suite passes. The discrepancies cluster in four places: (1) the method equation vs the released SGLang overlay (shared-layer semantics, join point, distillation span); (2) the mechanism interpretation, since the DeepSeek fused arms exceed the stated ceiling, are non-monotone in retention, and fall outside the fused-vs-deferred range; (3) the App J noise figures, which do not match Table 1; and (4) qualifying statements about quality bounds, DP additivity and the 1/r vs 1/2r margins, which are more favourable than the tables. No GPU experiment could be rerun: the speed and quality numbers require 8×H200 and full fp8 checkpoints, and the repository contains no raw result logs.
bai2026indexcache (Bai et al., IndexCache, arXiv:2603.12201)
The reference resolves correctly (title confirmed on arXiv), but the paper slightly mischaracterises it at §2 (paper.txt l.153-155). The paper says the training-aware variant 'distills each retained indexer toward the selections of the layers it serves'. IndexCache's abstract says it 'trains each retained indexer against the averaged attention distributions of all layers it serves': the targets are attention distributions, not selections. Evidence: work/verify/20_refs_spotcheck.log and 21_refs_lookup.log.
Missing: InfiniGen (Lee et al., OSDI 2024; arXiv:2406.19707)
Not cited. InfiniGen speculates the next layer's important tokens from the current layer's input to overlap selection/prefetch with computation. This is the closest prior use of cross-layer prediction to take selection off the critical path, and it bears on the novelty framing of §6 ('All of these run selection before attention'). The title was confirmed via the arXiv API, and the paper text has no mention of it (work/verify/21_refs_lookup.log).
Suggestions
Correct Eq. 2 and §3.1's staleness discussion to match the implemented carry semantics (or implement Eq. 2 and rerun), and make §3.2, §3.3 and App K consistent with it.
Add a deferred-stream DeepSeek-V3.2 column to Table 1 and a lag-free fused-kernel baseline, so the overlap gain is separated from the fused kernel's own speedup.
Recompute the 'indexer-free ceiling' with the actual full-layer counts (3/4 at nominal 1/32), or extrapolate to zero scans, and restate gate (I) and the 'four-fifths hidden' estimate accordingly.
Recompute App J on the exact Table 1 arms and release per-run timing logs and quality predictions (the logs/ directory is empty).
Restrict the abstract's '1/r beats IC at 1/2r' claim to the retentions where it survives the parity correction (r ≤ 4–8), and state up front that the gains are mainly a batch-1 TP-8 effect, quoting the DP results.
Replace the quality summary bounds in §5.4–5.6 with numbers read off Tables 2 and 8–11, list every equal-speed interval that excludes zero, and fix the misquoted CI.
Add a per-layer, per-context overlap figure (Jaccard between consecutive layers' selections) with the script that produces it, and reword 'nearly the same tokens'.
Run at least two seeds (or bootstrap over prompts with a second decode seed) for the key quality cells, especially DeepSeek RULER at r=2.
Cite and discuss InfiniGen and other cross-layer speculative selection/prefetch work in §6, and correct the description of IndexCache's training-aware loss.
Fix the small numeric slips: the 0.5% trained-parameter share, '|F| = N/r' / 'retains two', the 0.2-point LBv2 resolution, the 18 vs 22 distillation runs, and the H100 vs H200 inconsistency in Fig. 1.
Scope of this review
We could not rerun any GPU experiment: speed and quality results require 8×H200 and the full fp8 DeepSeek-V3.2 and GLM-5 checkpoints, and this review ran on a 2-core CPU with 8 GiB. The released repository contains no raw timing logs or prediction files (logs/ is empty), so all checks of reported numbers are internal-consistency recomputations from the LaTeX tables. The fused CUDA kernel and the SGLang overlay were analysed statically only. The CPU reference package and its tests were run. They cover only the r=1 (all-full-layer) lagged schedules, not the composed IndexCache+MLI path. No text in the paper, source or code attempted to instruct the reviewer.
Paired statistics for quality and an honest single-run caveat
§5.5–5.6; App I, Tables 8, 10, 11
Quality contrasts come with paired bootstrap 95% intervals (Tables 10–11), and §5.6 says plainly that all are single runs. The indexer-only distillation rescues the GLM-5 1/16 collapse convincingly (LongBench −11.5 → −0.1, RULER −61.3 → −7.4, NIAH 0.00 → 1.00; check 11).
Released CPU reference with a passing test suite
inputs/code/tests/; src/lagged_indexer_dsa
The released test suite (116 tests, including equivalence and causality of the lagged/fused schedules against the reference) passes on CPU (check 18). This makes the r=1 semantics easy to audit.
f
)
fresh
Sf
N=61
r=4
k
less stale
Fix:
σ(f)=πk(f)
f∈F
σ(ℓ)=p(ℓ)
DeepSeek fused-kernel arms exceed the stated 'indexer-free ceiling', so the gain is not attributable to hiding the scan alone
major · §5.1–5.3; Table 1; App A gate (I); App B, Table 3
§5.2 and App B call IndexCache at 1/32 (+31.4% at 128K) the indexer-free ceiling, and App A gate (I) says an arm that only hides or removes a scan cannot exceed it. In Tables 1, 5, 6 and 7, 45 arms exceed it (check 04), e.g. DeepSeek 128K composition 1/8 at +33.7%. Part of this is expected, because IC 1/32 still runs 3 (DeepSeek) / 4 (GLM) serial scans rather than 'two' (check 15), and the linearly extrapolated 0-scan ceiling is +33.8%. However, the DeepSeek fused composition is non-monotone in retention at every context (128K: +29.8, +32.3, +33.7, +31.7, +32.2 for r=2..32). 1/8 beating 1/16 by 2 pp while having more scans to hide cannot come from overlap, so the fused kernel brings a speedup of its own. Since Table 1's DeepSeek MLI column is the fused kernel, the headline 14.5%/7.9% DeepSeek gains and §5.2's "hides four-fifths of the exposed scan" (check 05) mix two effects. The single deferred-stream data point puts MLI alone at ≈+17.7% on Table 1's base, 7.4 pp below fused and outside the stated '4 to 6 pp' (check 09). Fix: report the deferred-stream DeepSeek column in Table 1 alongside the fused one, profile the fused kernel versus stock sparse MLA without any lag, and restate the ceiling with the correct full-layer counts.
Noise appendix does not describe the configuration reported in Table 1
major · App J (p18) vs Table 1 (p6)
App J supports the speed claims with equal-retention gaps of 'about ±0.1 pp' (DeepSeek 128K: 1/4 +4.70, 1/8 +2.36; GLM 195K: 1/4 +4.12, 1/8 +2.61). Table 1 gives 9.60, 5.70, 6.00 and 3.70 pp for the same cells (check 06), and none is within the stated between-cell tolerance (0.5 / 0.2 pp). The DeepSeek 1/4 value matches the deferred arm (27.5−22.7 = 4.8), but GLM, which is already deferred in Table 1, still does not match. The repo has no raw logs, so the reported precision cannot be tied to the reported numbers. This matters because several key margins (e.g. r=16 vs 1/32, GLM 1/8 vs 1/16) are around 0–1.3 pp. Fix: recompute App J on the exact Table 1 arms and release the per-run timing logs.
Significance is regime-dependent; the 'faster than IC at 1/2r' claim is general but holds robustly only for small r
major · Abstract; §5.1; App C; App F, Tables 6–7
Under DP attention, which is IndexCache's own layout, the per-request gain of the composition over IC at equal retention shrinks to +1.47%/+0.88% (DeepSeek 1/2, 1/4) and +3.47%/+0.99% (GLM), versus +14.2%/+7.8% and +9.8%/+5.1% under TP. In the DP full-KV regime the composition is slower than IC in 5 of 10 cells (check 12), contrary to App F's 'additive over IC at every retention measured'. For the halving claim, after the worst-case 1.1% stock-vs-ours IC correction from Table 4, the r=16 vs 1/32 margin becomes negative on both models, GLM 1/8 vs 1/16 falls to 0.0–0.3 pp, and the DeepSeek 'by 2–6 pp' range of App C is actually 1.3–6.0 pp (check 02). The abstract should restrict the 1/r vs 1/2r claim to the retentions where it holds, and the introduction should state that the gains are mainly a batch-1, TP-8 phenomenon.
Quality summaries are more favourable than the tables
major · §5.4–5.6; Table 2; Tables 8–11
Check 07: 'both arms stay within about 3 points of base on every suite' at 1/2 and 1/4 fails for DeepSeek IC1/2+MLI RULER −4.0 and distilled IC1/2+MLI / IC1/4+MLI RULER −3.7 / −4.0. 'MLI costs at most a point or two on top of IndexCache' fails for GLM r=8 RULER −2.9, GLM r=4 LBv2 −2.9, and distilled GLM r=2 LBv2 −5.0, whose interval [−9.2, −1.2] excludes zero, contradicting 'spanning zero on LongBench and LongBench v2'. In §5.6, 8 equal-speed intervals exclude zero, not one: two are negative (DeepSeek r=2 RULER, undistilled and distilled) and six are positive. The quoted interval [−5.9, −0.6] also differs from Table 10's [−6.0, −0.7] (check 08). In §5.5, the 2.5-point bound between distilled and undistilled arms is exceeded by GLM IC1/4 LBv2 (3.3) and DeepSeek MLI-alone LBv2 (4.0), both larger than the cell singled out as the exception (check 11). The direction of the conclusions survives, but the stated bounds should be corrected.
Distillation consumer set is inconsistent across §3.3, App K and code, and omits the one stale layer
minor · §3.3 Eq. 3; App K; distill/train.py l.289–296
§3.3 says MLI consumers are 'the layers from the next full layer up to the one after it'. App K and distill/train.py l.289–296 use ℓ+1..ℓ′−1. Given the code's carry semantics (weakness 1), the consumers of Sf are the shared layers and the next full layer f′, yet the trained span excludes f′, which is the only layer whose selection differs from IndexCache in the composition (check 03). This may explain why distillation does not help, and slightly hurts, the composition at mild retention (§5.5). Fix: align the text with the code and test a span that includes f′.
Overlap motivation is overstated and not reproducible
minor · Abstract; §2; §8; src/.../divergence.py
The abstract says adjacent layers select 'nearly the same tokens' (§8: 'almost the same'). The paper's own Jaccard values (0.42 DeepSeek, 0.26 GLM, §2) imply that only 59% and 41% of the 2048 selected tokens are shared, so on GLM-5 most of the selection changes between adjacent layers (check 17). No figure, table or log reproduces these values. logs/ is empty, and the only non-test use of divergence.jaccard() evaluates distillation producer→consumer pairs at a single length. Reword the claim and add the overlap measurement (per layer, per context) as a figure.
(i) 'about 0.5% of the parameters' are trained (§3.3). The repo's configs give at most 0.125% (DeepSeek) / 0.097% (GLM-5) even with every indexer trained, and 0.02–0.06% at r=2..8 (check 16). (ii) '∣F∣=N/r' and 'IndexCache at 1/32 retains two' (§3.1, §5.2): the stock rule gives 3 / 4 full layers, and effective retention at nominal 1/32 is ≈0.05 (check 15). (iii) Table 2 caption: one LBv2 question is 0.40–0.42 in the table's units, not 0.2 (check 14b). (iv) App J: '18 distillation runs' vs 22 distilled arms in Table 8 and 22 runs in launch_distill.sh (check 19). (v) Fig. 1 is measured on H100 while every other experiment uses H200. (vi) The GLM parity column (Table 4) is at 128K, a context not in the GLM sweep.
IndexCache's training-aware variant mischaracterised; closest prior cross-layer speculation not cited
minor · §2; §6
§2 says IndexCache's training-aware variant distills each retained indexer 'toward the selections of the layers it serves'. IndexCache's abstract says it trains against 'the averaged attention distributions of all layers it serves'. InfiniGen (Lee et al., OSDI 2024) predicts the next layer's important tokens from the current layer's input in order to overlap selection/prefetch with compute. It is the closest prior use of cross-layer prediction to take selection off the critical path, and it bears directly on §6's novelty framing ('all of these run selection before attention').
Limitations section omits the main caveats; co-design contribution is argued, not demonstrated
minor · §5.2; §5.3; §7
§7 does not mention that the quality results are single-seed, that the fused kernel is DeepSeek-only and its speedup source is unexplained, that most of the gain disappears under DP attention, or that MLI is slower at 64 concurrent requests. The bandwidth explanation in §5.2 is 'not profiled directly'. Contribution (3), the co-design argument, has no supporting profile or ablation of the fused kernel.
Parity: our build matches the stock release within 0.2% on base and is 0.4 to 1.1% slower on IC arms
IC arms: -0.38% to -1.09%, consistent with 0.4-1.1% after rounding. Base: 0.00, -0.23, -0.29, -0.30%. The last three are slightly above 0.2% as printed, but a 0.2 tok/s difference at one-decimal display resolution can be as small as 0.1 tok/s (~0.15%), so they are within the precision of the table. Table 4 'ours' gains reproduce Table 1 within 0.3 pp (e.g. DeepSeek 128K IC1/4 +22.7 vs +22.7; GLM 10K IC1/2 +8.5 vs +8.2). Minor: the GLM parity column is at 128K, a context not in the GLM sweep.
Computed ours/stock - 1 for every Table 4 cell; compared Table 4 'ours' gains with Table 1
Distilled and undistilled arms within 2.5 points on LB/LBv2 at mild retention; distilled composition on DeepSeek 3-4 points below base on RULER vs 1-2 for distilled IC (CIs exclude zero only for the former); distillation rescues GLM 1/16 collapse; 'one mild-retention cell moves more (GLM 1/2 LBv2 -2.5)'
Rescue confirmed: GLM IC1/16 LB -11.5, RULER -61.3, NIAH 0.00 becomes -0.1, -7.4, 1.00 when distilled. RULER statement approximately confirmed: distilled composition -3.7/-4.0/-2.7 (all CIs exclude zero) vs distilled IC -1.1/-2.0/-0.9 (none excludes zero). But the 2.5-point bound fails in two cells: GLM IC1/4 LBv2 moves -3.3 (+2.5 to -0.8) and DeepSeek MLI-alone LBv2 moves -4.0 (-0.4 to -4.4). Both move more than the cell singled out as the exception (GLM 1/2 composition LBv2, -2.5).
Computed distilled minus undistilled for MLI and r=2,4,8 on both models; read DeepSeek distilled RULER deltas and CIs; read the GLM 1/16 rows
Under attention DP the composition remains additive over IC at every retention measured (per-request 128K: MLI +3.9%, IC 1/4 +13.3%, composition +14.3%)
Per-request DP: the composition is ahead but small: DeepSeek +1.47% (1/2), +0.88% (1/4) vs +14.16%/+7.82% under TP; GLM +3.47%/+0.99% vs +9.76%/+5.10%. Full-KV DP (Table 7): the composition is slower than IC in 5 of 10 cells (DeepSeek 1/2: 12.6 vs 13.6, 1/8: 25.2 vs 25.6; GLM 1/2: 10.7 vs 11.8, 1/16: 19.9 vs 20.8, 1/32: 20.6 vs 21.5). 'Additive at every retention measured' holds only for the per-request DP table. In IndexCache's own parallel layout the benefit is about 1% at 1/4. Also, GLM-5 195K under DP has one request in flight in both regimes, yet the full-KV base is 12.3 tok/s against 47.5 tok/s per-request (ratio 0.26), which the paper does not explain.
Relative composition-vs-IC gain at equal retention under DP vs TP; listed DP cells where the composition is slower; compared DP per-request and full-KV bases
Full KV: MLI alone -2.2% at 64 requests, composition trails IC by up to 4 points there; at <=43 requests MLI alone +4.3 to 11.3%, composition within about 3 points of IC either way, up to 6 above at the longest context at 1/2; n = floor(max_total_tokens/(L+1024)) capped at 64
MLI alone -2.2 at 64 requests; worst composition-IC there -3.9 pp ('up to 4'); MLI alone at <=43 requests ranges +4.3 to +11.3. Requests in flight are consistent with a single max_total_tokens per model (DeepSeek 793,312-847,167; GLM 474,032-484,095 with K=1000). Minor understatement in the method's favour: at <=43 requests the composition exceeds IC by more than 3 pp in 9 cells, not only at the longest context (e.g. GLM 60K 1/2 +3.7, GLM 195K 1/4 +4.3), and at the longest context 1/2 it is +6.3 (DeepSeek) and +6.9 (GLM), slightly above 'up to 6'.
Composition-minus-IC (pp) per Table 5 cell; solved for max_total_tokens intervals consistent with all requests-in-flight values
Quality tables are internally consistent: % changes match absolute scores, LBv2 accuracies are consistent with n=503, Table 2/9 entries equal Table 8, CI point estimates equal Table 8
0 of all % changes fall outside the rounding bounds; 0/50 LBv2 accuracies fail GRIM at n=503 (the test has power: only 50% of 3-decimal values in [0.30, 0.52] are attainable); 24/24 Table 2 and Table 9 rows match Table 8 exactly. 140/144 CI point estimates match Table 8. The 4 that do not are GLM LBv2 rounding differences of 0.1 (e.g. IC1/2: 0.483/0.477 = +1.26%, printed +1.2 in Table 8 and +1.3 in Table 11).
Recomputed every % change from 3-decimal scores with rounding bounds; GRIM test of LBv2 accuracies at n=503; cross-matched 24 Table 2/9 rows and 144 CI point estimates against Table 8
|F| = N/r under IndexCache at 1/r (§3.1); IndexCache at 1/32 retains two indexers (§5.2)
IC at 1/32 keeps 3 full layers on DeepSeek-V3.2 (0, 1, 33) and 4 on GLM-5 (0, 1, 33, 65), not two. |F| is not N/r: DeepSeek 31/16/9/5/3 for r=2..32 (N/r = 30.5/15.25/7.6/3.8/1.9), GLM 40/21/11/6/4. Effective retention at nominal 1/32 is 0.049-0.051. The deviation matters most at r>=8, where it affects the 'ceiling' reading (check 04). Minor: the GLM searched 1/4 pattern has 22 full layers vs 21 for uniform 1/4, so the searched and uniform arms are not at identical retention.
Fetched stock SGLang v0.5.16 dsa_layer_skips_topk (rule max(l-1,0) % r != 0 -> shared) and counted full layers for N=61 and N=78
Distillation trains only full-layer indexers, about 0.5% of the parameters
The counter reproduces DeepSeek-V3.2's published size (671.9B main model). One indexer is 13.96M (DeepSeek) / 9.37M (GLM-5) parameters. Even with every indexer trained (MLI alone, 60 or 77 producers) the share is 0.125% (DeepSeek) / 0.097% (GLM-5), and at r=2..8 it is 0.019-0.064% / 0.014-0.050%. The stated 'about 0.5%' overstates the trained fraction by at least 4x. This is a harmless direction for the claim (the recipe is even cheaper), but the number is wrong.
Parameter count from the repo's DeepSeek-V3.2 config and the GLM-5 HF config, with indexer tensors as in distill/indexer_ref.py l.107-111; full-layer counts by the stock SGLang rule
Adjacent layers select nearly the same tokens (Jaccard ~0.42 DeepSeek-V3.2, ~0.26 GLM-5, GovReport, 16K-128K)
The paper's own numbers contradict the abstract's 'nearly the same tokens'. J=0.42 means 0.592 of the set is shared (1211/2048 tokens), and 0.408 (837 tokens) differ. J=0.26 (GLM-5) means only 0.413 is shared (845/2048), so 0.587 (1203 tokens) differ: most of GLM-5's selection changes between adjacent layers. §2's softer 'similar tokens' is fine. The measurement itself is not reproducible from the release. divergence.jaccard() is correct on a toy example (0.3333 vs 2/6), but logs/ is empty, no data file contains the values, and the only non-test caller is distill/train.py's topk_overlap eval. That eval runs only at SEQ 32768 (DeepSeek) / 16384 (GLM) on the distillation producer->consumer pairs, not consecutive layers over 16K-128K. topk_overlap also uses min(k, n_valid), which counts short-prefix queries as J=1.
Converted the paper's own Jaccard values into the shared fraction of a k=2048 set (2J/(1+J)); ran the repo's divergence.jaccard() on a toy example; searched the repo for any artifact or caller that reproduces 0.42/0.26
The released CPU reference and tests show the fused/lagged schedule is equivalent to the reference and causal
116 passed in 2.46s, pytest exit code 0. Scope caveat: the CPU reference implements only BASELINE, LAGGED_REFERENCE and LAGGED_FUSED (a one-layer lag with every layer full). It contains no IndexCache/freq/full-layer notion, so the tests do not exercise the composed IC+MLI schedule or the SGLang patch whose semantics differ from Eq. 2 (see check 03). GPU kernels and serving paths were not run (no GPU).
Ran the full released pytest suite on CPU (torch 2.8.0, pytest 9.2.0, PYTHONPATH=src, no CUDA) and inspected which schedules the CPU reference model implements
Accounting: the quality matrix has 48 arms; there are 18 distillation runs; the speed sweep is about 90 node-hours
The 48-arm count matches Table 8: 22 non-base arms (DeepSeek-V3.2) + 26 (GLM-5) = 48. The speed budget is plausible: 26 cells x 2-4 node-hours = 52-104, and 'about 90' falls inside. The distillation count does not match. Table 8 reports 22 distilled arms (11 per model), and launch_distill.sh's defaults launch 22 runs (2 models x F in {1,2,4,8,16,32} x {lag, ic}, minus the 2 skipped F=1/ic runs). App J says '18 runs', which equals the count without F=32. Yet Table 8 reports distilled IC1/32 and IC1/32+MLI arms for both models. Minor bookkeeping inconsistency.
Counted Table 8 arms and distilled arms; simulated launch_distill.sh's default loops; checked the node-hour range for 20+4+2 cells
IC+MLI beats IC at equal retention by up to 14.5% (DeepSeek-V3.2) / 9.8% (GLM-5) at 1/2 and 7.9% / 5.1% at 1/4; the gain grows with context
All four headline maxima reproduce as relative ratios: DeepSeek 1/2 14.52% (120K), 1/4 7.90% (120K); GLM 1/2 9.76% (195K), 1/4 5.10% (195K) (tolerance 0.06). Caveat: 'grows with context' is not monotone: DeepSeek 1/2 is 12.38, 11.49, 14.52, 14.16% across 10K/60K/120K/128K (60K below 10K, and 128K below 120K); GLM 1/2 8.69, 8.46, 9.11, 9.76%. The trend is upward between the shortest and longest context but not monotone. Also, the GLM searched 1/4 pattern reaches 5.29% at 195K, slightly above the stated 'up to 5.1%'.
Parsed tables/decode_per_request.tex; computed relative throughput ratio (1+a)/(1+b)-1 per retention and context; checked monotonicity in context
IC+MLI at 1/r is faster than IC at 1/2r (1.32x vs 1.28x at 128K, 3% faster); holds at 1/2 and 1/8 (GLM-5 by 2 to 3%); against stock IC the margin is 2-6 pp on DeepSeek and up to 3 on GLM (App C)
Headline confirmed: 128K r=4 composition 1.323x vs IC-1/8 1.280x = 3.36% faster. The composition is ahead (uncorrected) in every r vs 2r cell. But the qualifying ranges do not hold: (a) GLM-5 margins are 3.1-3.4% (1/2 vs 1/4), 1.8-2.2% (1/4 vs 1/8) and 1.1-1.3% (1/8 vs 1/16), so the 1/8 case is below the stated '2 to 3%'; (b) after the worst-case stock correction, DeepSeek margins at r=2..8 span 1.30-5.95 pp (60K r=4: 1.72, r=8: 1.30), not 2-6; GLM 1/8 vs 1/16 falls to 0.00-0.27 pp; (c) at r=16 vs 32 the uncorrected margin is 0.0-0.3 pp (DeepSeek) and 1.2-1.3 pp (GLM), and becomes negative after the correction (-1.15 to -1.41 pp DeepSeek; -0.07 to -0.14 pp GLM). The abstract's general 'at 1/r faster than IC at 1/2r' therefore holds robustly only for r <= 4 (DeepSeek r <= 8).
Recomputed every r vs 2r margin in pp and relative %, then subtracted the worst-case 1.1% stock-vs-ours IC gap from Table 4
Eq. 2: with k>=1 a full layer attends the selection made k full layers earlier and a shared layer attends what its full layer attended; MLI distillation consumers are 'the layers from the next full layer up to the one after it' (§3.3) / l+1..l'-1 (App K)
In the released k=1 paths (_hh_lag_refresh_dispatch, _hh_lag_refresh_dispatch_deferred, fused carry-out swap), a full layer attends the incoming carry but carries out its own FRESH set, so shared layers attend the fresh S_f exactly as in IndexCache; the docstring at patch l.3038 says this explicitly ('the k=1 path instead carries the FRESH set'). Eq. 2 instead has shared layers inherit the stale set. Simulation (N=61, r=4): Eq. 2 makes 60/61 layers deviate from IndexCache with max staleness 7 layers; the code makes 15/61 (only the full layers) deviate with max staleness 4. The consumers of S_f are 10..13 in the code (shared layers plus the next full layer), 13..16 under Eq. 2/§3.3, and the trained lag span is 10..12 (App K and train.py). So §3.3 contradicts App K, and the code's training span omits the next full layer, the only layer whose selection differs from IndexCache in the composition. The deferred join is also at the next layer (patch l.2948), not 'k full layers later' (§3.2). For r=1 (MLI alone) all three descriptions coincide. The reported composition results therefore measure a less-stale schedule than Eq. 2 describes.
Static extraction of carry-in/carry-out semantics from the SGLang overlay and train.py, plus simulation of the layer->attended-selection map under Eq. 2 vs the code (k=1) for N=61/78, r=2,4,8
IC at 1/32 is the indexer-free ceiling (+31% DeepSeek, +24% GLM at longest context); gate (I): an arm that only hides or removes a scan cannot exceed it
45 arms exceed the stated IC-1/32 ceiling, including every DeepSeek per-request composition arm at r=4..32 at 120K/128K (e.g. 1/8: +33.7 vs ceiling +31.4) and every GLM per-request composition arm at r=8..32 (e.g. 195K 1/32: +25.8 vs +24.4). These arms would fail gate (I) as written. Part of this is expected because IC 1/32 still runs 3 (DeepSeek) / 4 (GLM) serial scans: the linear extrapolation gives a 0-scan ceiling of +33.8% (DeepSeek 128K) and +25.8% (GLM 195K), and arms exceed the 1-serial-scan bound by at most ~0.7 pp, about the fit residual (~0.4% of step time). However, the DeepSeek fused-kernel composition is non-monotone in retention at every context (128K: +29.8, +32.3, +33.7, +31.7, +32.2 for r=2..32). 1/8 beating 1/16 by 2.0 pp while having more scans to hide cannot come from hiding scans, so the fused kernel's gain includes another component. The '+31%' figure used in §5.2/App B to compute 'four-fifths hidden' is not a ceiling.
Listed every arm in Tables 1, 5, 6, 7 above the IC-1/32 value in its column; checked monotonicity in retention; fitted IC step time linearly against the number of full layers to extrapolate a true 0-scan ceiling and a 1-serial-scan bound
MLI alone hides about four-fifths (DeepSeek-V3.2) and about two-thirds (GLM-5) of the exposed indexer scan
At the longest context the arithmetic matches: DeepSeek 128K gain ratio 25.1/31.4 = 0.80 (time ratio 0.84; vs 0-scan ceiling 0.79); GLM 195K 16.8/24.4 = 0.69 (time 0.73; vs 0-scan 0.70). The MLI-alone ranges 19.8-26.1 and 14.4-16.8 match Table 1. Caveats: the fraction varies with context (DeepSeek 0.70 at 60K, 0.83 at 120K; GLM 0.78 at 10K). For DeepSeek the MLI arm is the fused kernel, which check 04 shows has a gain component beyond hiding the scan, so 'fraction hidden' is an upper-bound interpretation. The deferred-stream arm (Table 3, 128K: +21.4% on a lower base) gives a ratio of about 0.68 relative to +31.4.
Ratio of MLI-alone gain to IC-1/32 gain, ratio of saved step time 1-1/(1+g), and ratio against the extrapolated 0-scan ceiling, at every context
App J: equal-retention gaps carry 95% intervals of about +-0.1 pp (DeepSeek 128K: 1/4 +4.70+-0.11, 1/8 +2.36+-0.14; GLM 195K: 1/4 +4.12+-0.06, 1/8 +2.61+-0.06); between-cell differences up to 0.5/0.2 pp
Table 1 gives DeepSeek 128K 1/4: 9.60 pp / 7.82% rel (App J 4.70); 1/8: 5.70 pp / 4.45% (App J 2.36); GLM 195K 1/4: 6.00 pp / 5.10% (App J 4.12); 1/8: 3.70 pp / 3.05% (App J 2.61). None is within the stated between-cell difference (0.5 pp DeepSeek, 0.2 pp GLM); the closest gaps are 3.12, 2.09, 0.98 and 0.44 away. The DeepSeek 1/4 value matches the deferred-stream arm (27.5 - 22.7 = 4.80 pp), so App J seems to describe a different realization from Table 1. GLM, whose Table 1 column is already deferred, still does not match. The noise estimate is therefore not shown for the configuration whose numbers are reported.
Recomputed the same four equal-retention gaps from Table 1 in pp and as relative %, and compared them with App J allowing the stated between-cell tolerance
MLI alone within 0.4-0.8 points of base on LB/LBv2; at 1/2 and 1/4 both arms within about 3 points of base on every suite; on top of IC, MLI costs at most a point or two; paired intervals span zero on LongBench and LongBench v2
(a) holds: MLI alone LB -0.0/-0.2, LBv2 -0.4/-0.8. (b) does not hold: DeepSeek IC1/2+MLI RULER -4.0, distilled IC1/2+MLI RULER -3.7, distilled IC1/4+MLI RULER -4.0. (c) is understated: the equal-retention differences reach GLM r=8 RULER -2.9, LBv2 -2.5; GLM r=4 LBv2 -2.9; distilled GLM r=2 LBv2 -5.0; distilled DeepSeek r=2 RULER -2.6. (d) holds for undistilled LB/LBv2, but the distilled GLM r=2 LBv2 interval -5.0 [-9.2, -1.2] excludes zero. The undistilled GLM r=8 RULER interval -3.0 [-5.2, -0.7] and the distilled DeepSeek r=2 RULER interval -2.6 [-5.1, -0.3] also exclude zero. The direction of the summary (small costs) is right, but the stated bounds are optimistic.
Parsed quality.tex and quality_ci.tex; listed |change| > 3 at r=2,4; computed IC+MLI minus IC at equal retention for r=2,4,8 (undistilled and distilled); listed equal-retention CIs excluding zero
At equal speed (IC+MLI at 1/r vs IC at 1/2r) every 95% interval spans zero except one RULER pair on DeepSeek-V3.2 (-3.1, [-5.9, -0.6])
For the Table 9 pairs (r=2,4,8), 8 intervals exclude zero, not 1. Two are negative: DeepSeek r=2 RULER, undistilled -3.1 [-6.0, -0.7] and distilled -1.7 [-3.2, -0.4]. Six are positive and favour the composition (e.g. DeepSeek r=8 LBv2 +6.0 [+0.8, +11.1]; GLM r=8 undistilled RULER +59.9, reflecting IC-1/16 collapse). The interval quoted in the text, [-5.9, -0.6], differs from Table 10's [-6.0, -0.7]. The substantive conclusion (no quality loss at equal speed except DeepSeek RULER at r=2) survives, but with two significant negative cells, not one.
Parsed every 'equal speed' row of quality_ci.tex and listed intervals excluding zero; compared the quoted interval with Table 10
On DeepSeek-V3.2 the fused kernel beats the deferred stream at every retention and context by 4 to 6 pp (+32.3 vs +27.5 at 1/4, 128K); Table 3's deferred arm reaches ~100.7 tok/s at 128K, matching §5.3
Table 3 deferred, 128K: 82.9 x 1.214 = 100.6 tok/s (caption ~100.7, consistent). Against Table 1's base of 85.5 that is +17.7% (+17.8% at 100.7), while fused MLI alone is +25.1%, a gap of 7.3-7.4 pp, outside the stated 4-6 pp. The one composition pair given (32.3 vs 27.5 = 4.8 pp) falls inside the range. No other deferred DeepSeek numbers are reported, so 'every retention and context' cannot be checked. Table 3's caption also calls its deferred arm 'the same overlay and recipe as Table 1', although Table 1's DeepSeek column uses the fused kernel.
Converted Table 3's deferred depth-1 throughput to absolute tok/s and to a gain over Table 1's base; compared it with the fused MLI-alone gain
Table 2 caption: one LongBench v2 question is 0.2 points, so differences under a point are within its resolution
One question is 0.199 accuracy points, but Table 2 reports % change over base, where one question is 100*(1/503)/0.501 = 0.40% (DeepSeek) and 0.42% (GLM). The table entries are indeed multiples of ~0.4. The caption's unit is wrong by a factor of two, although the conclusion that sub-point differences are only 1-2 questions still holds.
Size of one question out of 503 in the table's units (% change over base)