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

W2S-AlignTree: 通过蒙特卡洛树搜索实现大语言模型的弱到强推理时对齐

W2S-AlignTree: Weak-to-Strong Inference-Time Alignment for Large Language Models via Monte Carlo Tree Search

Zhenyu Ding, Yuhao Wang, Tengyue Xiao, Haoying Wang, Caigui Jiang, Ning Ding

AI总结:

W2S-AlignTree通过结合MCTS与弱到强泛化范式,实现大语言模型在推理时的高效对齐,提升摘要任务性能15.9%。

摘要:

大语言模型(LLMs)展现了出色的性能,但其输出常常因弱监督不足和缺乏细粒度控制而与人类偏好不一致。训练时的对齐方法如人类反馈强化学习(RLHF)面临专家监督成本高和固有可扩展性限制的问题,在推理过程中提供有限的动态控制。因此,迫切需要一种可扩展且适应性强的对齐机制。为此,我们提出了W2S-AlignTree,这是一种首创的即插即用推理时对齐框架,首次将蒙特卡洛树搜索(MCTS)与弱到强泛化范式相结合。W2S-AlignTree将LLM对齐视为生成搜索树中的最优启发式搜索问题。通过利用弱模型的实时、分步信号作为对齐代理,并引入熵感知探索机制,W2S-AlignTree在不修改其参数的情况下,为强模型的生成提供精细指导。该方法在高维生成搜索树中动态平衡探索与利用。在受控情感生成、摘要和遵循指示任务上的实验表明,W2S-AlignTree在强基线模型上表现一致更优。值得注意的是,W2S-AlignTree将Llama3-8B的摘要任务性能从1.89提升到2.19,相对提升了15.9。

英文摘要:

Large Language Models (LLMs) demonstrate impressive capabilities, yet their outputs often suffer from misalignment with human preferences due to the inadequacy of weak supervision and a lack of fine-grained control. Training-time alignment methods like Reinforcement Learning from Human Feedback (RLHF) face prohibitive costs in expert supervision and inherent scalability limitations, offering limited dynamic control during inference. Consequently, there is an urgent need for scalable and adaptable alignment mechanisms. To address this, we propose W2S-AlignTree, a pioneering plug-and-play inference-time alignment framework that synergistically combines Monte Carlo Tree Search (MCTS) with the Weak-to-Strong Generalization paradigm for the first time. W2S-AlignTree formulates LLM alignment as an optimal heuristic search problem within a generative search tree. By leveraging weak model's real-time, step-level signals as alignment proxies and introducing an Entropy-Aware exploration mechanism, W2S-AlignTree enables fine-grained guidance during strong model's generation without modifying its parameters. The approach dynamically balances exploration and exploitation in high-dimensional generation search trees. Experiments across controlled sentiment generation, summarization, and instruction-following show that W2S-AlignTree consistently outperforms strong baselines. Notably, W2S-AlignTree raises the performance of Llama3-8B from 1.89 to 2.19, a relative improvement of 15.9 on the summarization task.

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

↑