后训练中的锐化税

·

研究论文 · 2026/10/02

一个关于大型语言模型(LLM)强化学习(RL)后训练的新兴假设是,它仅仅强化了基础模型的现有行为,提高了单次尝试的准确率,却牺牲了解决方案的覆盖范围。尽管这种权衡在数学和编码任务中已被观察到,但它未必会延伸到智能体任务中,因为多轮工具使用和交互可能需要后训练期间新获得的能力。我们的惊人发现是,配备了轻量级推理框架的预训练LLM可以作为有能力的智能体。尽管准确率(pass@1)低得多,但在足够的测试时预算下,它们在解决方案覆盖范围(pass@K)上往往超过其后训练对应模型。我们进一步分析了潜在机制,并表明后训练将任务推向两个极端:总是解决或从未解决,从而提高了采样效率和一致性,但牺牲了解决方案覆盖范围。为了衡量这一代价,我们提出了“锐化税”(Sharpening Tax),一种诊断指标,量化后训练后测试时可扩展性的损失。在来自四个家族的14对基础/后训练模型和三个智能体基准(共42个案例)中,该税在大多数设置中普遍存在,可以从少量rollout中估计,并与其他指标良好相关。最后,我们提出了后验温度组采样(PTGS),一种简单的即插即用贝叶斯采样器,根据估计的难度为每个提示调整采样温度。在两个智能体环境的RL训练中应用,PTGS比固定温度基线支付更小的税,在重复采样下解决更多任务,同时提高单次尝试准确率。

该研究挑战了后训练仅锐化行为的假设,揭示了智能体任务中的新权衡,并提出了实用的诊断指标和采样方法,对LLM后训练和智能体部署有重要启示。

An emerging hypothesis about reinforcement learning (RL) post-training of large language models (LLMs) is that it merely sharpens existing behaviors of a base model, improving single-shot accuracy at the cost of solution coverage. Although this trade-off has been observed in math and coding tasks, it need not extend to agentic tasks, where multi-turn tool use and interaction may require capabilities newly acquired during post-training. Our surprising finding is that pre-trained LLMs, equipped with a light inference harness, can serve as capable agents. Despite far lower accuracy (pass@1), they often surpass their post-trained counterparts in solution coverage (pass@K) given a sufficient test-time budget. We further analyze the underlying mechanism and show that post-training pushes tasks toward two extremes, always solved or never solved, and thereby improves sampling efficiency and consistency at the cost of solution coverage. To measure this cost, we propose Sharpening Tax, a diagnostic metric that quantifies the loss in test-time scalability after post-training. Across 14 base/post-trained model pairs from four families and three agentic benchmarks (42 cases in total), the tax is prevalent in most settings, can be estimated from a few rollouts, and correlates well with other metrics. Finally, we present posterior-tempered group sampling (PTGS), a simple plug-and-play Bayesian sampler that adapts the sampling temperature per prompt to its estimated difficulty. Applied during RL training in two agentic environments, PTGS pays a smaller tax than the fixed-temperature baseline, solving more tasks under repeated sampling while also improving single-shot accuracy.

阅读原文

参与讨论