From Noise to Diversity: Random Embedding Injection in LLM Reasoning
On the map: LLM reasoning → Test-time compute and efficient thinking
Abstract (arXiv)
Recent soft prompt research has tried to improve reasoning by inserting trained vectors into LLM inputs, yet whether the gain comes from the learned content or from the act of injection itself has not been carefully separated. We study Random Soft Prompts (RSPs), which drop the training step entirely and append a freshly drawn sequence of random embedding vectors to the input. Each RSP vector is sampled from an isotropic Gaussian fitted to the entrywise mean and variance of the pretrained embedding table; the sequence carries no learned content, and yet reaches accuracy comparable to optimized soft prompts on math reasoning benchmarks in several settings. The mechanism unfolds in two stages: because attention has to absorb a never-seen-before random position, the distribution over the first few generated tokens flattens and reasoning trajectories branch, and as generation continues this influence dilutes naturally so the response commits to a single completion. We show that during inference RSPs lift early-stage token diversity and, combined with temperature sampling, widen Pass@N, the probability that at least one out of N attempts is correct. Beyond inference, we carry the same effect into DAPO training and demonstrate practical gains. Our contributions are: (i) RSP isolates the simplest form of soft prompt -- training-free, freshly resampled -- providing a unified lens for the structural effect of injection that variants otherwise differing in training and form all share; (ii) a theoretical and empirical validation of the underlying mechanism; and (iii) an extension from inference to training.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 29 of its 33 references that are in the map. First posted on arXiv 12 May 2026.
Builds on
29 of 33 references.
Closest ancestors · 3
Same direction, newest first
- 2025Model Whisper: Steering Vectors Unlock Large Language Models' Potential in Test-time4 Dec
- 2025Thinking on the Fly: Test-Time Reasoning Enhancement via Latent Thought Policy Optimization5 Oct
- 2023Think before you speak: Training Language Models With Pause Tokens3 Oct
Other references · 26
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2023Let's Verify Step by Stepcited by 3,598
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 1,980
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
14 more
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 763
- 2021GPT Understands, Toocited by 715
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 540
- 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 505
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
- 2017Noisy Networks for Explorationcited by 262
- 2022Text and Patterns: For Effective Chain of Thought, It Takes Two to Tangocited by 128
- 2025SoftCoT: Soft Chain-of-Thought for Efficient Reasoning with LLMscited by 110
- 2023NEFTune: Noisy Embeddings Improve Instruction Finetuningcited by 99
- 2025MemGen: Weaving Generative Latent Memory for Self-Evolving Agentscited by 99
- 2023When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitationscited by 41
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025LLMs are Single-threaded Reasoners: Demystifying the Working Mechanism of Soft Thinking
- 2025Improving Latent Reasoning in LLMs via Soft Concept Mixing
- 2025Soft Reasoning: Navigating Solution Spaces in Large Language Models through Controlled Embedding Exploration
- 2025Meaningless Tokens, Meaningful Gains: How Activation Shifts Enhance LLM Reasoning
- 2025Prompting Test-Time Scaling Is A Strong LLM Reasoning Data Augmentation
- 2023Diversity of Thought Improves Reasoning Abilities of LLMs
- 2026SeLaR: Selective Latent Reasoning in Large Language Models
- 2026Masked diffusion LLMs can use EoS tokens for hidden reasoning