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

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Transformer Models Can Learn Vocabularies Which Minimise Reasoning Trace Length

Abhinav Madahar
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

Transformer Models Can Learn Vocabularies Which Minimise Reasoning Trace Length

Abhinav Madahar
preprint en

Abstract

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.

Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon