From Noise to Diversity: Random Embedding Injection in LLM Reasoning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kim, Heejun, Lee, Seungpil, Yeom, Jewon, Sok, Jaewon, Park, Seonghyeon, Park, Jeongjae, Kim, Taesup, Kim, Sundong
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913116781019136
author Kim, Heejun
Lee, Seungpil
Yeom, Jewon
Sok, Jaewon
Park, Seonghyeon
Park, Jeongjae
Kim, Taesup
Kim, Sundong
author_facet Kim, Heejun
Lee, Seungpil
Yeom, Jewon
Sok, Jaewon
Park, Seonghyeon
Park, Jeongjae
Kim, Taesup
Kim, Sundong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_11936
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle From Noise to Diversity: Random Embedding Injection in LLM Reasoning
Kim, Heejun
Lee, Seungpil
Yeom, Jewon
Sok, Jaewon
Park, Seonghyeon
Park, Jeongjae
Kim, Taesup
Kim, Sundong
Artificial Intelligence
68T05, 68T50
I.2.7; I.2.6
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.
title From Noise to Diversity: Random Embedding Injection in LLM Reasoning
topic Artificial Intelligence
68T05, 68T50
I.2.7; I.2.6
url https://arxiv.org/abs/2605.11936