mlsanityData to 13 Oct 2026

CARVE: Content-Aware Recurrent with Value Efficiency for Chunk-Parallel Linear Attention

arXiv 2606.27229 ↗First posted 25 Jun 2026cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Recurrent delta-rule models keep a fixed-size state matrix S (d_v x d_k) that compresses all past context. The state of the art (GDN-2) gates this update with element-wise matrix erase/write masks. This is powerful but has two defects. First, both gates are computed from the incoming token alone, making the model memory-blind: it decides what to erase without seeing what it has stored. Second, value-axis coupling in the erase gate blocks the WY-form triangular chunk solver that drives efficient training -- the intra-chunk system splits into d_v independent solves, collapsing throughput to serial-recurrence cost. We introduce CARVE (Content-Aware Recurrent with Value Efficiency), which fixes both and, via a single-launch "megakernel" scheduling of the same WY-form math, trains faster than the matrix-gated baseline it replaces. The key idea is architectural: restricting all gating to the key axis makes the intra-chunk coupling independent of the value index, restoring one unmodified WY-form solve. Within this constraint, CARVE conditions both gates on a content signal read once per chunk from the chunk-boundary state and folded algebraically into each gate's low-rank projection (by associativity, U(Sq)=(US)q), giving memory-aware gating at negligible extra traffic. At init the content projections are zero, so CARVE is bit-identical to the baseline; we prove the one-chunk staleness perturbs gates by only O(1/sqrt(L)), matching a measured 0.18% deviation flat up to L=128. At 1.3B parameters / 100B FineWeb-Edu tokens on H100 (three seeds), CARVE improves every axis: WikiText perplexity 15.72 vs 15.90 (hybrid 15.41 vs 15.62), +0.63 pp average common-sense accuracy, and state-of-the-art RULER and real-world recall -- while training +1.4% faster at matched depth and +19.3% at iso-quality depth, at +13% peak memory. Backed by six formal guarantees.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 35 of its 44 references that are in the map. First posted on arXiv 25 Jun 2026.

Builds on

35 of 44 references.

References · 35

  1. 2017Attention Is All You Needcited by 60,106
  2. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,798
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,658
  4. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,133
  5. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,053
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,637
  7. 2016Pointer Sentinel Mixture Modelscited by 3,047
  8. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,925
  9. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,843
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,570
  11. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,440
  12. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,163
23 more
  1. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,133
  2. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,994
  3. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,307
  4. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,302
  5. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,126
  6. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 973
  7. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 890
  8. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 820
  9. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 603
  10. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 501
  11. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 500
  12. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 483
  13. 2020Hopfield Networks is All You Needcited by 467
  14. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 394
  15. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 378
  16. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 336
  17. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 233
  18. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 178
  19. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 169
  20. 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 83
  21. 2024Longhorn: State Space Models are Amortized Online Learnerscited by 59
  22. 2024Just read twice: closing the recall gap for recurrent language modelscited by 57
  23. 2026Gated DeltaNet-2: Decoupling Erase and Write in Linear Attentioncited by 29

Built on by

Not cited yet.