Transformer Models Can Learn Vocabularies Which Minimise Reasoning Trace Length
In chain-of-thought, the model uses the decoding process to structure its reasoning. Each token it decodes is a decision: given what I’ve found so far, what follows? The vocabulary itself constrains how it can reason; it must follow a reasoning path which is valid in the language it uses. For example, English lets a model describe the root vegetable in a single token—potato—while French forces the model to spend multiple tokens—pomme de terre. Switching the language a model uses to reason from French to English would yield a 3× reduction in reasoning trace length here. Prior work demonstrated that a model can learn a new vocabulary ex nihilo which is more compact than natural languages [1]. But better isn’t the best. We introduce an algorithm which learns a vocabulary which minimises the expected length of reasoning traces, subject to standard caveats of nonconvex optimisation. We formally prove that it does so. Early results from our ongoing experiments show that it yielded a 1.42× reduction in mean trace length and 14.6% higher mean validation accuracy than the baseline. These estimates may change as training continues.
Authors
- Abhinav Madahar (ORCID: https://orcid.org/0000-0001-9399-4005)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24705762
- Primary Topic
- Topic Modeling
- Type
- preprint