Reproduce “You Can Learn Tokenization End-to-End with Reinforcement Learning” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sam Dauncey, Roger Wattenhofer
The authors learn token boundaries jointly with a language model rather than fixing them in advance. They sample discrete byte-stream cuts and use next-byte prediction loss with REINFORCE to train the boundary policy. On held-out FineWeb, a roughly 147-million-parameter model reaches 1.297 ± 0.003 bits per byte, versus H-Net’s 1.386 ± 0.003; this result is limited to small models.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.