atlas

Research map / Large language models / Reasoning and chain of thought

Token Assorted: Mixing Latent and Text Tokens for Improved Language Model Reasoning

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Search and self-correction in reasoning · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Partially replaces leftmost chain-of-thought text tokens with discrete VQ-VAE latent codes, trained with randomized replacement counts, to shorten reasoning traces while improving accuracy on maze, logic, and math tasks.

Problem

Text chain-of-thought traces are long, with many tokens serving linguistic coherence rather than reasoning, making training and inference costly; prior latent-reasoning and CoT-compression methods need multi-stage curricula and often underperform full CoT on real LLM tasks.

Approach

Abstract the leftmost part of each reasoning trace into discrete VQ-VAE latent tokens (compression rate 16), mixing latent and text tokens, and randomize the replaced prefix length per sample so a single-stage fine-tune adapts to the extended vocabulary.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Mix latent tokens (VQ-VAE abstractions of leading reasoning steps) with text CoT tokensT5 / GPT-2 trained from scratch · Keys-Finding Maze, ProntoQA, ProsQAaccuracy / 1-Feasible-10: +19.8 maze, +1.2 ProntoQA, +18.7 ProsQA over best baselineHelped
Mix latent and text tokens with fewer generated tokensLlama-3.2/3.1 fine-tuned on MetaMathQA · Math reasoning avg over 7 datasetsaverage accuracy: +3.7 (1B), +2.9 (3B), +5.3 (8B) average points over CoT per textHelped
Mix latent and text tokensLlama-3.1-8B · Fresh-Gaokao-Math-2023accuracy: 16.7 to 30.0Helped
Mix latent and text tokensLlama models on math reasoning · Average generated tokens across math benchmarksaverage generated tokens: about 17% fewer tokens than CoT on averageHelped
Replace CoT with iCoT-style curriculum eliminationLlama models on math reasoning · MetaMathQA avg over 7 datasetsaverage accuracy: iCoT 7.7 vs CoT 14.1 on Llama-3.2-1BHurt
Replace all CoT tokens with latent tokens at once instead of partial left-to-right replacement (ablation)Llama-3.2-3B · MetaMathQA avg over 7 datasetsaverage accuracy: 11.8 vs 28.1 for Latent-ARHurt
Curriculum replacement of CoT chunks over epochs instead of random-m partial replacement (ablation)Llama-3.2-3B · MetaMathQA avg over 7 datasetsaverage accuracy: 10.9 vs 28.1Hurt
Random Poisson chunk replacement instead of left-to-right partial replacement (ablation)Llama-3.2-3B · MetaMathQA avg over 7 datasetsaverage accuracy: 20.5 vs 28.1 (3B); 36.3 vs 37.9 (8B)Hurt
Compression rate r=2 instead of r=16 (ablation)Llama-3.2-3B latent model · MATH/GSM8K-style math avg accuracyaverage accuracy: 27.08 vs 28.1Hurt
Compression rate r=32 instead of r=16 (ablation)Llama-3.2-3B latent model · MATH/GSM8K-style math avg accuracyaverage accuracy: 27.9 vs 28.1 (fewer tokens: 481.4 vs 513.6)Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Keys-Finding Maze (synthetic, 100k) ProntoQA ProsQA MetaMathQA Dart-MATH MATH GSM8K

Benchmarks: Keys-Finding Maze ProntoQA ProsQA MATH GSM8K Fresh-Gaokao-Math-2023 DeepMind-Mathematics College-Math OlympiadBench-Math TheoremQA

Metrics: 1-Feasible-10 accuracy exact match accuracy average accuracy number of generated tokens

Baselines: Sol-Only CoT iCoT Pause Token All-Replace Curriculum-Replace Poisson-Replace

Builds on: VQ-VAE iCoT Coconut MetaMath

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy