TL;DR
We usually force Large Language Models (LLMs) to reason out loud in plain English using Chain-of-Thought, assuming their best thinking looks like ours. This paper introduces LatentSeek, a training-free method that lets a frozen LLM iteratively nudge its own internal, continuous vector representations ("latent thoughts") at test time to solve hard math problems. By exploring this hidden mathematical space using self-generated rewards, models drastically boost their reasoning accuracy—even when their intermediate "thoughts" look like complete gibberish to us.
What Problem Does This Paper Address?
Have you ever stepped away from a whiteboard, let your mind wander in the shower, and suddenly had the answer to a bug pop into your head? Human cognition relies heavily on non-verbal, unconscious "incubation." Yet, when we ask LLMs to solve complex problems, we typically force them into Chain-of-Thought (CoT)—making them articulate every intermediate step in human language.
Forcing a high-dimensional neural network to squeeze its reasoning through discrete English words can be an artificial bottleneck. Recent works have tried training LLMs to reason in continuous "latent space" (the rich, multi-dimensional vector space right before the model translates math into words), but those methods require expensive fine-tuning that permanently alters the model's weights. The authors ask: Can we tap into a pre-trained model's latent space to reason better at test time, without updating a single parameter?
Methods
LatentSeek treats test-time reasoning as an on-the-fly optimization puzzle tailored to each specific question, leaving the base LLM completely frozen.
Here is how the loop works for a single problem:
- CoT Initialization: The model generates a standard Chain-of-Thought response. Instead of just keeping the text, LatentSeek grabs the underlying latent vectors (the hidden states right before the final language-modeling head) for the first fraction of the sequence—say, the first 20% of tokens (Fractional Sequence Optimization).
- Self-Rewarding: The frozen LLM acts as its own critic, prompted to grade its full generated answer on a scale from -1 to 0.
- Policy Gradient in Latent Space: Using the classic REINFORCE algorithm, the framework calculates a gradient to nudge those initial latent vectors toward higher rewards. Crucially, the authors make an independence assumption—treating each token's latent vector as an independent variable so the optimization doesn't collapse onto just the very first token.
- Decode & Repeat: The updated vectors are decoded into new tokens, the model autocompletes the rest of the solution, and it grades itself again. This repeats until the reward crosses a threshold or hits a max iteration limit (usually converging in under 2 steps!).
Datasets
Because LatentSeek is completely training-free, no training datasets are used for the method itself (though baselines use GSM8K's train set and Magpie 25K). Evaluation focuses on three mathematical reasoning benchmarks of escalating difficulty:
- GSM8K: Grade-school math word problems.
- MATH-500: Challenging competition-level math problems.
- AIME2024: Brutally difficult Olympiad-style math problems from the American Invitational Mathematics Examination.
Key Insights and Ideas
- Alien reasoning works: When you decode the optimized latent vectors back into text, they often read like broken gibberish (e.g., "Let find this,, let’ll more understand it down step two andLet 1: BothThe..."). Yet, conditioning on this nonsense steers the model directly to the exact right mathematical answer! Optimal neural reasoning doesn't have to mirror human grammar.
- A new axis for test-time scaling: Instead of just generating longer chains of text or sampling hundreds of answers (Best-of-N), we can scale test-time compute by taking more optimization steps in latent space.
- Pure exploration in latent space is shockingly potent: Even when the authors replaced the self-reward with an idealized "all-or-nothing" verifier (giving 0 for the exact right final answer and -1 for everything else, offering zero directional hints until solved), LatentSeek still found massive gains. A tiny 1.5B model's latent space already holds the capacity to rival giant models if you just search it effectively.
Key Results
Tested across Qwen2, Qwen2.5 (1.5B, 7B, 14B), and LLaMA3.1-8B, LatentSeek sweeps all 30 evaluation settings:
- Big accuracy jumps: Averaged across backbones, LatentSeek beats Best-of-N by 15.23 points on GSM8K, tops Self-Reflection by 4.72 points on MATH-500, and outperforms CoT by 6.34 points on AIME2024.
- Beating fine-tuned models for free: On LLaMA3.1-8B, LatentSeek (zero training) beats RL-trained methods like Genius by 5.4 points on GSM8K and 20.0 points on MATH-500.
- Tiny model, giant punch: Under an extreme scaling budget (up to 256 iterations with an ideal verifier), a humble Qwen2.5-1.5B model scores 23.3% on AIME2024 (beating GPT-4o by 14 points) and 82.8% on MATH-500 (trailing o1-preview by just 2.7 points).
- Fast & concise: For standard benchmarks, it converges in fewer than 2 iterations on average, and final answers are roughly the exact same length as standard CoT (ratio ~0.96–1.06)—proving it wins by thinking smarter, not rambling longer.
Limitations and Future Work
While the main paper defers its formal future-work discussion to the appendix, two clear bottlenecks emerge directly from the text:
- The Self-Reward Ceiling: Scaling curves show that with self-rewarding, accuracy jumps quickly and then plateaus, whereas an ideal verifier keeps climbing steadily. The framework is currently bottlenecked by how well a model can spot its own mistakes.
- Semantic Coherence vs. Exploration: If you optimize too large a fraction of the latent sequence ($\rho$ too high), the decoded text becomes so incoherent that it confuses the self-rewarding critic. Balancing deep latent exploration while keeping outputs legible enough to verify—and extending this paradigm beyond math—are natural next steps.
Summary updated