ETS: Energy-Guided Test-Time Scaling for Training-Free RL Alignment
Xiuyu Li, Jinkai Zhang, Mingyang Yi, Yu Li, Longqiang Wang, Yue Wang, Ju Fan
TL;DR
This work introduces Energy-Guided Test-Time Scaling (ETS), a training-free method to sample directly from the Reinforcement Learning optimum for language-model alignment. By deriving a closed-form target distribution $p^*(\boldsymbol{x}_0|\boldsymbol{y})$ and decomposing the backward transition with an energy term $\mathcal{E}(\boldsymbol{y},\boldsymbol{x}_s)$, ETS performs Monte Carlo energy estimation and uses lightweight proposal models with importance sampling to maintain efficiency. The authors prove total-variation convergence guarantees and demonstrate empirically that ETS improves generation quality on autoregressive and diffusion language models across reasoning and coding benchmarks, with latency comparable to or better than existing test-time scaling baselines. Additionally, ETS-IS extends the approach to accelerate energy estimation via cheaper proposals for ARMs and DLMs, providing a practical, training-free pathway to reward-aware generation in NLP.
Abstract
Reinforcement Learning (RL) post-training alignment for language models is effective, but also costly and unstable in practice, owing to its complicated training process. To address this, we propose a training-free inference method to sample directly from the optimal RL policy. The transition probability applied to Masked Language Modeling (MLM) consists of a reference policy model and an energy term. Based on this, our algorithm, Energy-Guided Test-Time Scaling (ETS), estimates the key energy term via online Monte Carlo, with a provable convergence rate. Moreover, to ensure practical efficiency, ETS leverages modern acceleration frameworks alongside tailored importance sampling estimators, substantially reducing inference latency while provably preserving sampling quality. Experiments on MLM (including autoregressive models and diffusion language models) across reasoning, coding, and science benchmarks show that our ETS consistently improves generation quality, validating its effectiveness and design.
