Output-Space Search: Targeting LLM Generations in a Frozen Encoder-Defined Output Space
Tobias Materzok
TL;DR
OS-Search introduces an encoder-defined, fixed output space $Z$ and an outer-loop strategy to search targets $z^\u00a0$ for LLM generations, enabling parallel, endpoint-focused control without altering decoding. A retrieval-grounded $z^\u00a0$-conditioned controller is trained with sequence-level RL to produce outputs $x$ whose coordinates $z(x)\in Z$ align with $z^\u00a0$, while preserving autoregressive decoding. In storytelling, anchoring $Z_{\text{text}}$ yields a stable axis $z_1$ and, when sweeping $Z$, achieves substantially higher diversity than path-based baselines; in coding, Bayesian optimization over $z^\u00a0$ improves a withheld CA++ objective under matched budgets while preserving validity. The results demonstrate target-tracking accuracy in $Z$, calibration of $z(x)$ to targets, and notable performance gains, offering a reusable outer-loop interface for controllable generation across domains with a fixed, interpretable coordinate space.
Abstract
We introduce Output-Space Search (OS-Search), which turns LLM generation into endpoint search. An outer loop selects a target z* in a frozen encoder-defined 3D output space Z, and a retrieval-grounded policy trained with sequence-level RL generates outputs whose coordinates land near z* under standard autoregressive decoding. This enables parallel sweeps and black-box optimization in Z without path-dependent token/program search. On stories, sweeping Z (text) yields 3.1x higher LLM-scored diversity than prompt-chaining. On code, Bayesian optimization over Z (code) improves an objective withheld from the controller under matched inference budgets while preserving validity.
