arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.13982stat.MLcs.LG
收藏

自适应核截断用于长形式推理

Adaptive Nucleus Truncation for Long-Form Reasoning

University of California, Berkeley(加州大学伯克利分校)

Ousmane Amadou Dia

AI总结:

提出自适应核截断采样(ANTS),通过熵条件控制器动态调整截断宽度,在长文本生成中提升推理性能,在33B参数稀疏MoE模型上平均提升1.9-5.2分。

摘要:

采样在长形式语言模型推理中扮演重要角色。在数千个解码步骤中,候选token集合的微小变化可能累积成不同的推理轨迹、稳定性配置和最终答案。现有的截断方法如top-$p$、min-$p$和固定top-$n\sigma$采样改进了无限制采样,但它们依赖固定阈值,无法适应熵、任务难度、训练阶段或生成预算的变化。我们引入自适应核截断采样(ANTS),将top-$n\sigma$采样从固定解码规则扩展为长形式生成的自适应展开控制机制。ANTS在温度缩放前选择最大logit周围的标准邻域,使用熵条件控制器自适应调整截断宽度,并保留一个无截断回退臂以在截断不安全时稳定训练。在33B总参数/4B活跃参数的稀疏混合专家推理模型上,ANTS在8K、16K和32K生成预算下分别比基于百分比的基准平均提升1.9、3.8和5.2分。最大提升出现在指令遵循和数学推理上,其中IFBench在32K时提升超过10分,AIME 2025提升7分。代码生成揭示了重要的预算交互:在Codeforces上,ANTS在8K时落后于基线,但在16K和32K时逆转差距并显著提升ELO。这些结果表明,采样器设计不应仅被视为解码超参数,而应作为我们稳定和扩展长预算推理的一部分。

英文摘要:

Sampling plays an important role in long-form language-model reasoning. Over thousands of decoding steps, small changes in the candidate token set can compound into different reasoning trajectories, stability profiles, and final answers. Existing truncation methods such as top-$p$, min-$p$, and fixed top-$nσ$ sampling improve over unrestricted sampling, but they rely on fixed thresholds that cannot adapt to changes in entropy, task difficulty, training stage, or generation budget. We introduce Adaptive Nucleus Truncation Sampling (ANTS), which extends top-\(nσ\) sampling from a fixed decoding rule into an adaptive rollout-control mechanism for long-form generation. ANTS selects standardized neighborhoods around the maximum logit before temperature scaling, adapts the truncation width using an entropy-conditioned controller, and retains a no-truncation fallback arm to stabilize training when truncation becomes unsafe. On a 33B-total / 4B-active sparse Mixture-of-Experts reasoning model, ANTS improves average performance over percentage-based benchmarks by +1.9, +3.8, and +5.2 points at 8K, 16K, and 32K generation budgets, respectively. The strongest gains appear on instruction following and mathematical reasoning, with IFBench improving by more than 10 points at 32K and AIME 2025 improving by 7 points. Code generation reveals an important budget interaction. On Codeforces, ANTS trails the baseline at 8K, but reverses this gap and substantially improves ELO at 16K and 32K. These results suggest that sampler design should be treated not just as a decoding hyperparameter, but as part of how we stabilize and scale long-budget reasoning.

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

↑