Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:49 UTC · cb7e15f0a564 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,26 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "L1cO6MnwfR"- }- ],- "title": "Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models",- "authors": [- "Lin Zheng",- "Vasilisa Bashlovkina",- "Timothy Dozat",- "Dan Garrette",- "Laura Rimell",- "Joshua Maynez"- ],- "abstract": "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.\nHowever, 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.\nWe 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.\nWe 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.\nSP triggers scratchpads using next-byte prediction entropy, selectively allocating compute to information-dense regions and enabling post-hoc adjustment of inference-time compute.\nAcross 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\\times$ smaller KV cache over patches and requiring roughly $3$--$4\\times$ less inference compute than the byte-level baseline.",- "year": 2026,- "venue": "NeurIPS 2026",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "3b97043a-910c-4b95-a7df-272df5b81714"}
paper.json added
+++ b/paper.json@@ -0,0 +1,16 @@+{+ "title": "Scratchpad Patching: Decoupling Compute from Patch Size in Byte-Level Language Models",+ "authors": [+ "Lin Zheng",+ "Vasilisa Bashlovkina",+ "Timothy Dozat",+ "Dan Garrette",+ "Laura Rimell",+ "Joshua Maynez"+ ],+ "abstract": "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.\nHowever, 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.\nWe 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.\nWe 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.\nSP triggers scratchpads using next-byte prediction entropy, selectively allocating compute to information-dense regions and enabling post-hoc adjustment of inference-time compute.\nAcross 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\\times$ smaller KV cache over patches and requiring roughly $3$--$4\\times$ less inference compute than the byte-level baseline.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}