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

用于无训练推理时缩放的解耦边际锐化

Decoupled Marginal Sharpening for Training-Free Inference-Time Scaling

Duke University(杜克大学);Morgan Stanley(摩根士丹利)

Weixin Wang, Wei Deng, Anderson Schneider, Yuriy Nevmyvaka, Pan Xu, Andrew Bennett

AI总结:

本研究针对无训练的LLM推理时缩放问题,提出解耦边际锐化(DMS)方法,通过解耦推理路径与答案边际的锐化控制,结合完全适配的退火SMC采样器,在多个推理数据集上取得了最高的平均pass@1性能。

摘要:

我们研究如何在不更新模型权重或使用外部奖励模型的情况下,在推理时提升大语言模型(LLM)的推理能力。近期无奖励的幂采样方法定义了序列级幂目标π_α(y|x)∝p₀(y|x)^α,其中α>1,该方法会提升基础模型下已较可能的补全的相对概率。现有方法使用马尔可夫链蒙特卡洛(Metropolis--Hastings)或序列蒙特卡洛(SMC)来近似从该目标中采样。然而,在不同层面出现了两个挑战:在目标层面,全序列锐化会将概率集中在少数精确的推理-答案轨迹上,抑制了支持相同答案的替代路径;在采样器层面,有限粒子SMC在重采样时会重复复制少数高权重前缀,从而导致路径崩溃。为应对这些挑战,我们提出了解耦边际锐化(DMS),它分别控制模型对特定推理路径的偏好强度,以及在聚合这些路径的支持后对最终答案的偏好强度。在目标层面,DMS首先从锐化的推理分布中采样,然后在所得的加权推理总体上对模型的答案概率进行边际化,并锐化由此产生的答案边际;独立的指数参数允许采用温和的推理锐化以鼓励探索多样化路径,随后采用更强的答案边际锐化以将概率集中在那些在路径中具有更大聚合支持的答案上。在采样器层面,我们开发了完全适配的退火SMC,它将幂目标的退火序列与局部完全适配的提议及预测祖先重采样相结合。在MATH500、GPQA-Diamond、HumanEval以及AIME24/25这四个数据集上,针对三个基础模型开展的实验表明,在所有任务中,DMS在对比方法中实现了最高的平均pass@1指标。

英文摘要:

We study how to improve LLM reasoning at inference time without updating model weights or using external reward models. Recent reward-free power-sampling methods define the sequence-level power target $π_α(y\mid x)\propto p_0(y\mid x)^α$, where $α>1$, which increases the relative probability of completions that are already likely under the base model. Existing methods use Metropolis--Hastings or Sequential Monte Carlo (SMC) to approximately sample from this target. However, two challenges arise at different levels. At the target level, full-sequence sharpening can concentrate probability on a few exact reasoning--answer trajectories, suppressing alternative paths that support the same answer. At the sampler level, finite-particle SMC can suffer from path collapse when resampling repeatedly duplicates a few high-weight prefixes. To address these challenges, we propose Decoupled Marginal Sharpening (DMS), which separately controls how strongly the model favors particular reasoning paths and how strongly it favors final answers after aggregating support across those paths. At the target level, DMS first samples from a sharpened reasoning distribution, then marginalizes the model's answer probabilities over the resulting weighted reasoning population and sharpens the induced answer marginal. Separate exponents allow mild reasoning sharpening to encourage exploration of diverse paths, followed by stronger answer-marginal sharpening to concentrate probability on answers with greater aggregate support across those paths. At the sampler level, we develop Fully Adapted Annealed SMC, which combines an annealed sequence of power targets with locally fully adapted proposals and predictive ancestor resampling. Experiments on MATH500, GPQA-Diamond, HumanEval, and AIME24/25 across three base models show that DMS achieves the highest mean pass@1 among the compared methods in all tasks.

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

↑