You Can Learn Tokenization End-to-End with Reinforcement Learning
On the map: Deep reinforcement learning methods → RL training of language and agent models
Abstract (arXiv)
Tokenization is a hardcoded compression step which remains in the training pipeline of Large Language Models (LLMs), despite a general trend towards architectures becoming increasingly end-to-end. Prior work has shown promising results at scale in bringing this compression step inside the LLMs' architecture with heuristics to draw token boundaries, and also attempts to learn these token boundaries with straight-through estimates, which treat the problem of drawing discrete token boundaries as a continuous one. We show that these token boundaries can instead be learned using score function estimates, which have tighter theoretical guarantees due to directly optimizing the problem of drawing discrete token boundaries to minimize loss. We observe that techniques from reinforcement learning, such as time discounting, are necessary to reduce the variance of this score function sufficiently to make it practicable. We demonstrate that the resultant method outperforms prior proposed straight-through estimates, both qualitatively and quantitatively at the 100 million parameter scale.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RL training of language and agent models, one of 15 directions in Deep reinforcement learning methods. Builds on 25 of its 36 references that are in the map. First posted on arXiv 15 Feb 2026.
Builds on
25 of 36 references.
References · 25
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2021ByT5: Towards a token-free future with pre-trained byte-to-byte modelscited by 509
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 170
- 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 160
- 2022FlexiViT: One Model for All Patch Sizescited by 152
13 more
- 2024Byte Latent Transformer: Patches Scale Better Than Tokenscited by 146
- 2015Gradient Estimation Using Stochastic Computation Graphscited by 121
- 2024Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabulariescited by 118
- 2021Hierarchical Transformers Are More Efficient Language Modelscited by 102
- 2024Resolving Discrepancies in Compute-Optimal Scaling of Language Modelscited by 88
- 2022Efficient Transformers with Dynamic Token Poolingcited by 76
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
- 2025SuperBPE: Space Travel for Language Modelscited by 63
- 2024MambaByte: Token-free Selective State Space Modelcited by 59
- 2024Confidence Regulation Neurons in Language Modelscited by 57
- 2024SpaceByte: Towards Deleting Tokenization from Large Language Modelingcited by 34
- 2021Segmental Contrastive Predictive Coding for Unsupervised Word Segmentationcited by 32
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 28
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Not all tokens are needed(NAT): token efficient reinforcement learning
- 2025Reinforcement Mid-Training
- 2025Diversity or Precision? A Deep Dive into Next Token Prediction
- 2025How Reinforcement Learning After Next-Token Prediction Facilitates Learning
- 2026PACT: From Credit Assignment to Critic Alignment
- 2023Discrete Prompt Compression with Reinforcement Learning
- 2025Contextual Reinforcement in Multimodal Token Compression for Large Language Models
- 2026STAPO: Stabilizing Reinforcement Learning for LLMs by Silencing Rare Spurious Tokens