arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.21484cs.LG
收藏

ETS: 为无训练强化学习对齐的能耗引导测试时缩放

ETS: Energy-Guided Test-Time Scaling for Training-Free RL Alignment

Renmin University of China, Beijing, China(中国人民大学,北京,中国);Zhongguancun Academy, Beijing, China(中关村学院,北京,中国)

Xiuyu Li, Jinkai Zhang, Mingyang Yi, Yu Li, Longqiang Wang, Yue Wang, Ju Fan

AI总结:

本文提出了一种无需训练的推理方法,直接从最优强化学习策略中采样,通过结合参考策略模型和能耗项来改进掩码语言模型的过渡概率,并通过在线蒙特卡洛方法估计关键能耗项,从而提高生成质量。

摘要:

强化学习(RL)在语言模型中的训练后对齐是有效的,但实际中也成本高且不稳定,这归因于其复杂的训练过程。为了解决这个问题,我们提出了一种无需训练的推理方法,直接从最优RL策略中采样。应用于掩码语言模型(MLM)的过渡概率由参考策略模型和一个能耗项组成。基于此,我们的算法,能耗引导测试时缩放(ETS),通过在线蒙特卡洛方法估计关键能耗项,具有可证明的收敛率。此外,为了确保实际效率,ETS利用现代加速框架以及定制的重要性采样估计器,显著减少推理延迟,同时可证明地保持采样质量。在MLM(包括自回归模型和扩散语言模型)上,通过推理、编码和科学基准测试,我们的ETS一致地提高了生成质量,验证了其有效性和设计。代码可在https://github.com/sheriyuo/ETS上获得。

英文摘要:

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. The code is available at https://github.com/sheriyuo/ETS.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑