{"id":"2da3bde7-3ce4-4ad8-a745-5937e09c5a0d","arxiv_id":"2611.06835","paper_version":1,"verdict":"CONDITIONAL","confidence":"HIGH","novelty_score":6.0,"correctness_risk":"medium","formal_verification":"none","parameter_count":3,"one_line_summary":"Publishing each token's key-value entry only on its first visit lets LooM loop decoder layers at independent depths with a constant cache, so one checkpoint serves every budget from 3 to 21 calls.","lead":"This paper shows how to run a looped transformer at any compute budget from 3 to 21 layer executions per token without growing the memory cache. A single trained model serves every budget, and it beats its single-pass baseline once the loop count is high, at the same cache size.","discovery_kind":"new_method","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"Publish-once is the load-bearing assumption: later tokens never read loop-refined KV entries, and the paper's own Section 5.4 shows later visits still move states substantially, so a republish-final control is needed before the cache-invariance benefit can be judged cost-free.","rationale":"The reader's weakest_assumption identifies exactly the same point: publish-once assumes that the first-visit local KV entry is a sufficient memory for later tokens, and the evidence is single-scale. I agree that this is the most load-bearing condition in the argument. The structural claims (Eq. (3), cache measurements, path locking) are well supported, and the authors explicitly acknowledge the compute-match limitation (b198), the single-seed single-scale evidence (b197), and the untested SWA-replay approximation. Those acknowledged limitations justify the CONDITIONAL verdict but are not new findings. What remains unresolved is whether the publish-once asymmetry itself costs quality in a way that grows with scale. Section 5.4's retrieval-freezing experiment isolates one effect of repeated reads on the current token, not the effect of withholding refined KV entries from later tokens, so it does not settle the question. A republish-final control is the natural experiment because it keeps one entry per token per layer and therefore preserves the cache bound while removing the asymmetry. If that control improves quality, LooM's constant-memory design is achieved at a measurable price, and the headline gains over single-pass could narrow at larger scale. If it does not, the concern is resolved. This does not move the verdict: it remains CONDITIONAL as the reader judged, since the concern is a scaling risk rather than a demonstrated flaw in the reported results.","tokens_in":23099,"tokens_out":18081,"duration_ms":138363,"concrete_test":"Train a LooM control that keeps every setting of the Random-Depth run (same seed, data, schedule, static-path locking) but overwrites each reader layer's local KV entry for token t after that layer's final visit to t, so later tokens read final-refined entries instead of first-visit entries. Compare test CE and measured persistent cache at 11, 16, and 21 calls. If the control's CE improves beyond paired-bootstrap noise (roughly +/-0.002 nats at this scale), publish-once carries a measurable quality cost; if it is within noise, the sufficiency assumption survives. Repeating at roughly 1B scale would directly address the scaling version of the concern.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The load-bearing step is Section 3.2's publish-once rule: a reader layer writes a token's local KV entry on its first visit, and all later visits only refine that token's hidden state and recompute its query. Eq. (3) then gives a path-independent cache, but it also means later tokens only ever read unrefined first-visit entries. The paper's mechanism study (Section 5.4) does not test whether this asymmetry costs quality: its retrieval-freezing intervention changes only the Top-K selections of visits 2-4 for the current token and costs 0.0114 nats, while Figure 4b shows later visits still move the hidden state by a substantial fraction of its norm. That evidence shows what the current token gains from its own extra visits, not what later tokens lose by reading stale keys and values. Cache invariance only requires one local entry per token per layer, so an in-place 'republish at last visit' variant would preserve the same cache bound while exposing later tokens to refined entries; the paper never reports this control. If at larger scale the unrefined first-visit entries become a bottleneck, the reported 0.020-nat advantage and the long-context gains could shrink or reverse. This is an empirical scaling risk rather than an internal inconsistency, but it is the least secure condition on which the central multi-budget, constant-cache claim depends.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper proposes LooM (Loop-invariant Memory), a design for causal encoder-decoder language models that loops only the decoder layers after the first and makes the persistent KV cache independent of the number of loop executions. Global memory is written once per token by the encoder and decoder layer 1, and each 'reader layer' publishes a token's local KV entry only on its first visit; Eq. (3) then bounds the cache by path-independent global banks plus at most one local sliding-window entry per token per layer, and the bound is verified at 128-, 512- and 2,048-token prompts on both 3- and 21-call paths. Because the five reader layers loop independently zero to four times, a single model covers every budget from 3 to 21 decoder calls per token; Random-Depth training samples a budget and a legal path per update, and inference uses one validation-locked static path per budget with no router. On a 204M-parameter backbone trained on 5B tokens, the Random-Depth checkpoint matches or beats a same-backbone, same-data, same-seed six-call single-pass model from 11 calls on, with 0.020 nats lower test CE at 21 calls at the same 364.1 KiB cache, gains on the six-task zero-shot average (0.79 points, CI [+0.05, +1.54]), and lower long-context perplexity after a shared continuation.","tokens_in":23383,"tokens_out":14510,"duration_ms":101860,"significance":"If the results hold, LooM's contribution is a clean structural rule rather than a new architecture family: in a CED, where the global memory is written before looping begins, cache size becomes an accounting identity (Eq. (3)), and per-layer loops convert depth into a deployment-time budget with every integer resolution from 3 to 21 calls from one router-free checkpoint. The experimental discipline is a genuine strength: every comparison shares the same 204M backbone, the same 5B tokens and the same seed; quality claims carry paired document-bootstrap intervals; the cache-invariance claim is both derived and directly measured; and the control set (uniform-budget, Self-Distilled, grouped-memory, planner, label-aware hindsight lower bound) is well chosen. The limitations are stated honestly: one scale, one seed, compute-unequal baselines, and reference-implementation latency. The residual risk is the publish-once asymmetry: the mechanism study measures what the current token gains from its own later visits, not what later tokens lose by reading unrefined first-visit entries.","major_comments":[{"comment":"The load-bearing asymmetry of publish-once is not directly tested. Under publish-once (Section 3.2), later tokens read only the first-visit local KV entry, while Figure 4b shows that visits 2-4 of every reader layer still move the hidden state by a substantial fraction of its norm, and the retrieval-freezing intervention of Section 5.4 (cost 0.0114 nats, CI [0.0106, 0.0122]) changes only the current token's Top-K selections, not what later tokens read. Because cache invariance requires only one local entry per token per layer, an in-place 'republish at last visit' variant would preserve the same 364.1 KiB bound while exposing later tokens to refined entries; this control is never reported. The grouped-memory variant (Table 4) partially mitigates the concern by showing that rebuilding memory inside the loop is 0.00082 nats worse at 1.58-1.88x the cache, but it changes architecture and publication semantics beyond timing alone, so it does not isolate first-visit staleness. I recommend running the republish-at-last-visit control at the paper's own scale, or explicitly restricting the mechanism-level claims to current-token effects in Section 5.4 and the Conclusion.","section":"Section 3.2 and 5.4","authors_acknowledge":null,"authors_acknowledge_p":null}],"minor_comments":[{"comment":"The two headline differences (Random-Depth at 11 and 21 calls minus single-pass, 0.0041 and 0.020 nats) are reported without paired bootstrap intervals, although intervals are given for neighboring comparisons such as the Fixed4-21 equality and grouped memory; please report the intervals for these two differences.","section":"Section 5.1 / Table 2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The abstract's 'With enough loops, LooM outperforms ... while using the same cache size' omits the compute price quantified in Section 5.3 (99.1% higher reference decode latency and 73.3% more matrix FLOPs at 21 calls); one clause stating that the gain is bought with additional decode compute would make the abstract match the body.","section":"Abstract / Section 5.3","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The phrase 'SW A replay' contains a stray space and should read 'SWA replay'.","section":"Appendix C","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The terms 'visit', 'call' and 'execution' are used nearly interchangeably across Sections 3.1-3.2 and 5.4; a sentence tying the index r in Eq. (1) to visits and calls would remove ambiguity from the cache argument in Section 3.2.","section":"Sections 3.1-3.2","authors_acknowledge":null,"authors_acknowledge_p":null},{"comment":"The main text defines the difficulty deciles by 'the target negative log-likelihood', whereas Appendix G states that the deciles use the mean NLL over both compared paths; aligning the two descriptions would prevent a misreading of Figure 4a.","section":"Section 5.5 / Appendix G","authors_acknowledge":null,"authors_acknowledge_p":null}],"recommendation":"major_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"The thing to know: this paper has a real idea, and it is more careful than most work in this area. The publish-once rule - each reader layer writes a token's local KV entry on its first visit only, so later visits refine only the current token's hidden state - makes cache size an accounting identity (Eq. 3) that does not depend on the loop count. That claim is structural and I believe it. I also checked the distinction from the closest concurrent work: per-layer independent depths covering every budget from 3 to 21 calls, from one checkpoint, router-free, is genuinely not in the cited prior work. The experiments are unusually well controlled: same 204M backbone, same 5B tokens, same seed, paired bootstrap intervals, paths locked on validation before test scoring. The authors state their own limitations plainly - single seed, one scale, no compute-matched baseline, no shipped code - so the weaknesses are not buried.\n\nThe stress-test concern lands, and it is the right one to press. Publish-once means later tokens only ever read unrefined first-visit KV entries. The Section 5.4 retrieval-freezing intervention measures what the current token gains from its own later visits, not what later tokens lose by reading stale keys and values. A republish-at-last-visit variant would preserve the same cache bound and directly test that asymmetry; it is not reported. That is an empirical gap, not an internal inconsistency, but it is the least-secure condition under the quality claim, and it is exactly the thing to ask for in revision.\n\nThe other soft spot is the compute mismatch, which the authors acknowledge (b198): the single-pass baseline gets 6 calls while the 21-call winner costs roughly 2x latency and 73% more FLOPs, and no non-looped model receives comparable compute. The headline 0.020-nat gain therefore says 'beats single-pass at equal parameters and data,' not 'at equal compute.' The 64K results also rest on an SWA-replay approximation plus a continuation, with the gap narrowing from 0.022 to 0.007 nats by 64K - suggestive, not settled.\n\nWho this is for: anyone working on looped or latent-reasoning transformers and efficient inference. The publish-once rule is a design worth taking seriously, and the training-distribution analysis (what depth buys depends on where you sample budgets) is a useful lesson. I would send this to a serious referee. The asks are concrete: the republish-at-last-visit control, a compute-matched baseline, and ideally a second scale. The paper deserves that engagement; it just is not ready to be taken on the magnitude claims yet.","headline":"A clean structural trick - constant KV cache across loop counts via publish-once - backed by honest, well-controlled experiments, but the magnitude claims rest on an untested asymmetry and a compute-mismatched baseline.","tokens_in":24734,"tokens_out":1009,"duration_ms":31648},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"The paper argues that a causal encoder-decoder can loop only its decoder's reader layers, publish each token's local key-value entry once, and thereby turn decoder depth into a deployment-time compute budget that does not change the cache.","keywords":["looped Transformers","causal encoder-decoder","KV cache","memory-efficient inference","adaptive computation","random-depth training","language modeling","long-context evaluation"],"falsifier":"Run the same publish-once architecture at a larger scale and ablate publication by letting each later visit overwrite the token's existing local KV slot with its refined entry, so cache size stays fixed; if that same-slot overwrite lowers test cross-entropy by materially more than the reported 0.0114-nat cost of freezing first-visit retrieval, then first-visit-only publication is leaving quality on the table and the claim that the asymmetry is cheap fails.","tokens_in":24388,"feed_emoji":"🔁","tokens_out":9266,"duration_ms":61707,"temperature":0.7,"pith_summary":"The paper asks whether looping a language model can add depth without adding persistent memory, and whether one trained checkpoint can then serve many compute budgets. Its design loops only the decoder layers that read memory in a causal encoder-decoder, after a global memory has been written once per token, and lets each reader layer publish a token's local key-value entry only on that layer's first visit. Under this publish-once rule the cache after a prompt has a fixed size independent of how many times a layer runs, so a 3-call and a 21-call path store the same bytes; depth becomes a dial set at deployment, paid for in compute rather than memory. A 204M-parameter model trained with Random-Depth, which samples a budget and a legal per-layer path, covers every budget from 3 to 21 decoder calls and beats a six-call single-pass model from 11 calls on, by 0.020 nats at 21. The analysis further argues that the training budget distribution decides what extra depth buys: a deep-heavy schedule produces a model whose quality responds to depth, while a uniform schedule improves only 0.012 nats from 6 to 21 calls against 0.145 for the deep-heavy schedule.","feed_headline":"A fixed cache lets one model run 3 to 21 decoder passes","feed_subtitle":"Trained once, the same checkpoint trades extra layer executions for lower perplexity without growing its KV cache.","key_machinery":"The load-bearing mechanism is publish-once plus per-layer independent depth. A token's path is $d=(1,d_2,\\ldots,d_6)$: decoder layer 1 runs once, and each reader layer runs $d_\\ell\\in\\{0,\\ldots,4\\}$ times, with layers 3 and 5 forced to run at least once, so the number of decoder calls is $C(d)=1+\\sum_{\\ell=2}^{6}d_\\ell$ and ranges from 3 to 21. Global memory is complete before looping; a reader layer's first visit publishes the token's local KV entry, and later visits only recompute the query and hidden state. Eq. (3) writes the cache as global banks plus twelve local windows of at most $W=128$ entries, neither term depending on $d$. Random-Depth then draws a budget $B\\sim\\pi$ and a path uniformly from legal paths with $C(d)=B$, giving one model every budget; inference selects one static path per budget on validation data.","core_discovery":"The central claim is that a causal encoder-decoder separates memory writing from memory reading cleanly enough to loop only the readers. The encoder and first decoder layer complete the global memory before any repetition, and decoder layers 2-6 can then run independently, each publishing one local KV entry per token on its first visit. Eq. (3) makes persistent cache the sum of global banks and twelve sliding windows of at most 128 entries, a quantity that does not depend on the chosen path; in the reported model every budget from 3 to 21 decoder calls uses 364.1 KiB after a 128-token prompt. Random-Depth training samples a budget and a path with that many calls, so one checkpoint serves all budgets without a router, and inference locks one static path per budget on validation data. The 21-call path reaches test cross-entropy 3.0307 against 3.0506 for the six-call single-pass model, the 11-call path already matches the fixed 21-call loop, and the 21-call zero-shot six-task average is 0.79 points higher.","pith_inferences":["Editor's inference: Because cache invariance is structural rather than learned, the same publish-once rule could be tested in any two-stage model that finishes a global memory before its reader stack; the key measurable is whether first-visit KVs degrade as reader depth or memory-bank size grows.","Editor's inference: The hindsight allocation result of 0.0572 nats at an average of 16 calls sets a target for a router, but the paper's simple planner captures almost none of it, so the next useful experiment is a prefix-only probe trained to predict which tokens gain from 11 to 21 calls rather than another static path search.","Editor's inference: The PG19 gap narrowing from 0.0218 nats at 4K to 0.0068 at 64K while retrieval accuracy improves by 6 points suggests extra reader passes may be buying memory selection more than local syntax; a task breakdown by retrieval versus continuation would test that.","Editor's inference: Since the 11-call path matches the 21-call fixed loop, the practical operating point for this architecture is near 11 calls; a deployment study should measure whether latency-sensitive requests can default there while long-context or retrieval-heavy requests opt into 16-21 calls."],"forward_implications":["A single checkpoint can expose every decoder budget from 3 to 21 calls per token, and the serving stack can choose a path per budget without a learned router.","The persistent cache after a 128-token prompt is 364.1 KiB on every tested budget; at longer prompts it grows with prompt length, not loop count, reaching 550.8 KiB at 512 tokens and 1,297.8 KiB at 2,048 tokens on both the 3- and 21-call paths.","From 11 calls upward, extra reader passes improve language modeling: the 21-call Random-Depth model is 0.020 nats better in test cross-entropy and 0.79 points better on the six-task zero-shot average than the six-call single-pass model, at the same cache size.","After a shared 64K continuation, the looped model has lower PG19 perplexity at 4K-64K and reaches 67.33% on the three-task needle-in-a-haystack subset against 61.33% for the single-pass model.","Rebuilding decoder memory inside the loop costs 1.58-1.88x more cache and does not improve test cross-entropy, so the fixed-memory design is not paying a quality penalty in the reported comparison."],"supporting_citations":[{"why":"Supplies the causal encoder-decoder backbone, CSA2 attention modes, and sliding-window replay that LooM's reader-layer design builds on.","marker":"DeepSeek-AI, 2026"},{"why":"Documents looped language models and the linear cache growth with loop count that LooM is designed to avoid.","marker":"Zhu et al., 2025b"},{"why":"Establishes the recurrent-depth looping pattern and test-time compute motivation that the paper contrasts with layer-level loops.","marker":"Geiping et al., 2025"},{"why":"Provides the prior KV-reuse-across-recursions design that LooM distinguishes from its first-visit publication rule.","marker":"Bae et al., 2025b"},{"why":"The closest concurrent asymmetric encoder-decoder loop, used to sharpen the contrast with independent reader depths and publish-once caching.","marker":"Liang et al., 2026"},{"why":"Stochastic depth is the training precedent for Random-Depth's per-layer sampling of execution depth.","marker":"Huang et al., 2016"},{"why":"FineWeb-Edu is the shared training corpus for every model comparison in the paper.","marker":"Penedo et al., 2024"}],"fun_headline_variants":["Looping only decoder layers holds KV cache at 364 KiB from 3 to 21 passes","One checkpoint covers every decoder budget from 3 to 21 without a router","With enough loops, LooM outperforms a single-pass baseline at the same cache size","21 decoder calls raise zero-shot average by 0.79 points over single-pass","Training budget distribution decides what extra depth buys, authors report"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The premise the argument depends on is that a token's first-visit local KV entry stays sufficient for all later tokens even though later visits update only the current token and never publish a refinement; the paper tests this at one 204M scale, one seed, and with baselines not matched in training compute.","fun_headline_variants_meta":{"raw":{"variants":["Looping only decoder layers holds KV cache at 364 KiB from 3 to 21 passes","One checkpoint covers every decoder budget from 3 to 21 without a router","With enough loops, LooM outperforms a single-pass baseline at the same cache size","21 decoder calls raise zero-shot average by 0.79 points over single-pass","Training budget distribution decides what extra depth buys, authors report"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.001336,"raw_usage":{"cost":0.001336062,"is_byok":false,"cost_details":{"upstream_inference_cost":0.001336062,"upstream_inference_prompt_cost":9.282e-05,"upstream_inference_completions_cost":0.001243242},"total_tokens":7851,"prompt_tokens":1020,"completion_tokens":6831,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":6740}},"tokens_in":1020,"tokens_out":6831,"cost_source":"openrouter_usage","duration_ms":40938,"image_pages":[],"temperature":1.0,"billed_attempts":1,"reasoning_tokens":6740,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-11-05T07:32:19.265154+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Run the same publish-once architecture at a larger scale and ablate publication by letting each later visit overwrite the token's existing local KV slot with its refined entry, so cache size stays fixed; if that same-slot overwrite lowers test cross-entropy by materially more than the reported 0.0114-nat cost of freezing first-visit retrieval, then first-visit-only publication is leaving quality on the table and the claim that the asymmetry is cheap fails.","supporting_citations":[{"cited_title":"Deepseek-v4. 1-flash: Pushing the limits of kv cache compression,","cited_arxiv_id":null,"evidence_quote":"Supplies the causal encoder-decoder backbone, CSA2 attention modes, and sliding-window replay that LooM's reader-layer design builds on."},{"cited_title":"Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach","cited_arxiv_id":"2502.05171","evidence_quote":"Establishes the recurrent-depth looping pattern and test-time compute motivation that the paper contrasts with layer-level loops."},{"cited_title":"The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale","cited_arxiv_id":"2406.17557","evidence_quote":"FineWeb-Edu is the shared training corpus for every model comparison in the paper."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}