mlsanityData to 14 Oct 2026

Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models

arXiv 2605.09630 ↗First posted 10 May 2026cs.CL cs.LGcited by 1

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

Tokenizer-free language models eliminate the tokenizer step of the language modeling pipeline by operating directly on bytes; patch-based variants further aggregate contiguous byte spans into patches for efficiency. However, the average patch size chosen at the model design stage governs a tight trade-off: larger patches reduce compute and KV-cache footprint, but degrade modeling quality. We trace this trade-off to patch lag: until a patch is fully observed, byte predictions within it must rely on a stale representation from the previous patch to preserve causality; this lag widens as patches grow larger. We introduce Scratchpad Patching (SP), which inserts transient scratchpads inside each patch to aggregate the bytes seen so far and refresh patch-level context for subsequent predictions. SP triggers scratchpads using next-byte prediction entropy, selectively allocating compute to information-dense regions and enabling post-hoc adjustment of inference-time compute. Across experiments on natural language and code, SP improves model quality at the same patch size; for example, even at 16 bytes per patch, SP-augmented models match or closely approach the byte-level baseline on downstream evaluations while using a 16× smaller KV cache over patches and 3-4× less inference compute.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 89 of its 101 references that are in the map. First posted on arXiv 10 May 2026.

Builds on

89 of 101 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Block Transformer: Global-to-Local Language Modeling for Fast Inference4 Jun

Other references · 88

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  7. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  9. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  10. 2021Program Synthesis with Large Language Modelscited by 3,637
  11. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
38 more
  1. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  2. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  3. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  4. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
  5. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  6. 2022No Language Left Behind: Scaling Human-Centered Machine Translationcited by 1,312
  7. 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
  8. 2016Deep Networks with Stochastic Depthcited by 979
  9. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 843
  10. 2018Universal Transformerscited by 647
  11. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 639
  12. 2021Perceiver IO: A General Architecture for Structured Inputs & Outputscited by 629
  13. 2013Generating Sequences With Recurrent Neural Networkscited by 554
  14. 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
  15. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  16. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
  17. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
  18. 2024Better & Faster Large Language Models via Multi-token Predictioncited by 360
  19. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  20. 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 323
  21. 2023Think before you speak: Training Language Models With Pause Tokenscited by 264
  22. 2024Mixture-of-Depths: Dynamically allocating compute in transformer-based language modelscited by 258
  23. 2023Looped Transformers as Programmable Computerscited by 237
  24. 2021CANINE: Pre-training an Efficient Tokenization-Free Encoder for Language Representationcited by 232
  25. 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
  26. 2021PonderNet: Learning to Pondercited by 168
  27. 2015Conditional Computation in Neural Networks for faster modelscited by 167
  28. 2025Scaling Latent Reasoning via Looped Language Modelscited by 165
  29. 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 162
  30. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
  31. 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 155
  32. 2017Learning to Generate Reviews and Discovering Sentimentcited by 148
  33. 2024Byte Latent Transformer: Patches Scale Better Than Tokenscited by 146
  34. 2018Character-Level Language Modeling with Deeper Self-Attentioncited by 138
  35. 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 133
  36. 2024OLMES: A Standard for Language Model Evaluationscited by 106
  37. 2016Hierarchical Multiscale Recurrent Neural Networkscited by 104
  38. 2021Hierarchical Transformers Are More Efficient Language Modelscited by 102

50 most cited of 88 All 88 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026The Efficiency Gap in Byte Modeling
  2. 2026FOCUS & RePAIR: Mitigating Text Degeneration via Token-Level Guidance for Pruned Large Language Models
  3. 2026Byte Language Models: Scaling, Emergent Abstractions, and Information Allocation
  4. 2026ByteFlow: Language Modeling through Adaptive Byte Compression without a Tokenizer
  5. 2026Low-Bit Recurrent States in Hybrid Language Models
  6. 2026Window-Diffusion: Accelerating Diffusion Language Model Inference with Windowed Token Pruning and Caching
  7. 2026Beyond Scattered Acceptance: Fast and Coherent Inference for DLMs via Longest Stable Prefixes
  8. 2024AtP*: An efficient and scalable method for localizing LLM behaviour to components