Can a diffusion LLM invent useful reasoning tokens?
We train a masked diffusion language model to write a scratchpad using newly added symbols, rewarding only correct final answers. The primary task asks which cup holds a colored ball after a sequence of swaps. We compare novel symbols with ordinary text and test whether giving the same model another puzzle's scratchpad changes its answer.
Did novel tokens beat the baselines?
Four-cup tracking showed no clear accuracy advantage for novel tokens over ordinary text. Across 3 training seeds on the same 4,096 held-out puzzles, giving the novel-token model another puzzle's scratchpad changed 0 answers. At seed 17, novel tokens, a repeated pause, and an equally sized alphabet of existing tokens all scored 25.00%. The primary trace-swap interval rules out the preregistered five-point benefit for this seed.
GSM8K transfer before math training favored novel tokens (6.82% for the novel-token checkpoint, 3.79% for ordinary text). Replacing each scratchpad with another problem's symbols changed 268 numerical answers and yielded 6.44% accuracy. The same checkpoint scored 8.34% when answering directly. Its own scratchpad changed accuracy by +0.38 percentage points relative to a donor scratchpad (paired 95% CI -0.23 to 1.06). The experiments leave the cause of the checkpoint's advantage unresolved. The comparison after training on GSM8K is pending.
| Evaluation | Seed | Problems | Novel tokens % | Ordinary text % | Difference, pp [95% CI] |
|---|---|---|---|---|---|
| Four cups | 17 | 4,096 | 25.00 | 23.97 | +1.03 [-0.95, +3.03] |
| Four cups | 29 | 4,096 | 25.05 | 25.15 | -0.10 [-2.15, +2.03] |
| Four cups | 43 | 4,096 | 25.00 | 25.17 | -0.17 [-1.88, +1.54] |
| GSM8K, frozen | 17 | 1,319 | 6.82 | 3.79 | +3.03 [+1.59, +4.55] |
Differences are novel-token minus ordinary-text accuracy in percentage points, with paired 95% confidence intervals. Paired comparisons · Scratchpad interventions and controls
Interactive results explorer · Paper · Checkpoint collection · Preregistration · Run matrix · Literature review · State of the art
Method
The model writes eight positions over four masked denoising rounds. A new forward pass reads the original question and the resulting IDs. The external solver assigns one for the correct answer and zero otherwise. Four independently sampled rollouts per prompt supply a leave-one-out policy-gradient baseline. The delayed-question experiment hides the earlier moves from the reader and tests the state implied by a donor trace. Tiny-A2D · Abstract-CoT · d1
Setup and entry points
Use Python 3.12 and uv on a CUDA-capable machine. Clone the repository, run uv sync --locked, and copy .env.example to .env to choose storage. Run uv run pytest for the deterministic checks. The command uv run novel-tokens --help lists calibration, training, evaluation, interactive solving, dashboard and reporting. Large caches and resumable training checkpoints live under NTR_STORAGE. Public outputs and experiment records live in results and reports.
To try a released adapter, pass its Hugging Face model ID to uv run novel-tokens solve --checkpoint MODEL_ID --question "YOUR QUESTION". The command prints the raw scratchpad IDs, decoded tokens and answer. Run uv run novel-tokens dashboard to view live local measurements. Run uv run novel-tokens report to regenerate the tables, publication figures and dated PDF. Installation, examples and full reproduction
Results
| Run | Evaluation | Problems | Own % | Donor % | Random % | Direct % | Difference pp | 95% CI pp |
|---|---|---|---|---|---|---|---|---|
| cups-bottleneck-17 | test-cups | 4096 | 25.00 | 25.00 | 25.00 | 25.00 | 0.00 | 0.00 to 0.00 |
| cups-init-17 | test-cups | 4096 | 24.80 | 24.93 | 25.00 | 25.17 | -0.12 | -1.00 to 0.78 |
| cups-init-17 | test-cups1-initialization | 96 | 33.33 | 31.25 | 32.29 | 29.17 | 2.08 | — |
| cups-init-17 | test-cups2-initialization | 26 | 19.23 | 30.77 | 23.08 | 11.54 | -11.54 | -23.08 to 0.00 |
| cups-mixed-17 | test-cups | 4096 | 23.44 | 24.27 | 25.17 | 24.68 | -0.83 | -2.37 to 0.66 |
| cups-mixed-17 | transfer-gsm | 1319 | 5.08 | 1.59 | 6.60 | 5.23 | 3.49 | 2.20 to 4.78 |
| cups-old32-17 | test-cups | 4096 | 25.00 | 25.00 | 24.95 | 25.00 | 0.00 | 0.00 to 0.00 |
| cups-pause-17 | test-cups | 4096 | 25.00 | 25.00 | 25.00 | 25.05 | 0.00 | 0.00 to 0.00 |
| cups-symbols-17 | test-cups | 4096 | 25.00 | 25.00 | 25.07 | 25.02 | 0.00 | 0.00 to 0.00 |
| cups-symbols-17 | test-delayed | 1024 | 25.00 | 25.00 | 25.20 | 25.20 | 0.00 | 0.00 to 0.00 |
| cups-symbols-17 | test-long | 1024 | 25.00 | 25.00 | 24.90 | 24.90 | 0.00 | 0.00 to 0.00 |
| cups-symbols-17 | test-open-vocabulary | 4096 | 25.00 | 25.00 | 25.00 | 25.02 | 0.00 | 0.00 to 0.00 |
| cups-symbols-17 | transfer-gsm | 1319 | 6.82 | 6.44 | 6.22 | 8.34 | 0.38 | -0.23 to 1.06 |
| cups-symbols-29 | test-cups | 4096 | 25.05 | 25.05 | 24.76 | 24.29 | 0.00 | 0.00 to 0.00 |
| cups-symbols-43 | test-cups | 4096 | 25.00 | 25.00 | 25.02 | 25.00 | 0.00 | 0.00 to 0.00 |
| cups-text-17 | test-cups | 4096 | 23.97 | 24.44 | 24.85 | 24.78 | -0.46 | -1.37 to 0.42 |
| cups-text-17 | test-long | 1024 | 25.29 | 23.63 | 24.02 | 25.39 | 1.66 | -0.20 to 3.52 |
| cups-text-17 | transfer-gsm | 1319 | 3.79 | 1.97 | 4.70 | 6.90 | 1.82 | 0.53 to 3.11 |
| cups-text-29 | test-cups | 4096 | 25.15 | 25.10 | 25.49 | 24.88 | 0.05 | -0.71 to 0.83 |
| cups-text-43 | test-cups | 4096 | 25.17 | 25.37 | 25.56 | 25.83 | -0.20 | -1.12 to 0.71 |
| cups-warm-distill-17 | test-cups | 4096 | 23.88 | 23.90 | 24.22 | 24.61 | -0.02 | -0.07 to 0.00 |
| cups-warm-distill-17-rl | test-cups | 4096 | 24.95 | 24.95 | 24.88 | 25.00 | 0.00 | 0.00 to 0.00 |
| cups-warm-text-17 | test-cups | 4096 | 25.10 | 24.85 | 25.12 | 24.51 | 0.24 | -0.51 to 0.98 |
| cups-warm-text-17-rl | test-cups | 4096 | 25.00 | 25.00 | 24.98 | 25.00 | 0.00 | 0.00 to 0.00 |
| cups1-old32-17 | test-cups1 | 96 | 50.00 | 50.00 | 50.00 | 50.00 | 0.00 | — |
| cups1-pause-17 | test-cups1 | 96 | 25.00 | 25.00 | 25.00 | 25.00 | 0.00 | — |
| cups1-symbols-17 | test-cups1 | 96 | 25.00 | 25.00 | 26.04 | 25.00 | 0.00 | — |
| cups1-text-17 | test-cups1 | 96 | 52.08 | 51.04 | 50.00 | 54.17 | 1.04 | — |
| cups2-old32-17 | test-cups2 | 26 | 26.92 | 26.92 | 26.92 | 26.92 | 0.00 | 0.00 to 0.00 |
| cups2-pause-17 | test-cups2 | 26 | 50.00 | 50.00 | 50.00 | 50.00 | 0.00 | 0.00 to 0.00 |
| cups2-symbols-17 | test-cups2 | 26 | 30.77 | 30.77 | 30.77 | 30.77 | 0.00 | 0.00 to 0.00 |
| cups2-text-17 | test-cups2 | 26 | 46.15 | 38.46 | 38.46 | 38.46 | 7.69 | 0.00 to 19.23 |
Planned comparisons and reproduction
Run the primary seed and controls, both warm-ups, independent seeds, longer puzzles and GSM8K transfer followed by math RL. Use validation to activate the easier-task ladders. Detailed matrix · Plan · Progress
The project uses PyTorch and PEFT for the policy, a deterministic Python solver for the cup puzzles, NumPy for paired bootstrap intervals, and Matplotlib and ReportLab for the paper. The static explorer reads the same measured records as the local dashboard. Implementation · Raw evidence · Experiment records
Model tree for BurnyCoder/novel-tokens-reasoning-diffusion-llm
Base model
Qwen/Qwen3-0.6B-Base

