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

PonderLM-3: 基于可微掩码的自适应逐token pondering

PonderLM-3: Adaptive Token-Wise Pondering with Differentiable Masking

LUMIA Lab(LUMIA实验室);School of Artificial Intelligence(人工智能学院);Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室);Shanghai Innovation Institute(上海创新研究院)

He Li, Feichen Song, Boyi Zeng, Shixiang Song, Zhiqin John Xu, Ziwei He, Zhouhan Lin

AI总结:

PonderLM-3通过可微掩码实现token级自适应计算分配,降低预训练困惑度并提升推理效率。

摘要:

测试时间扩展显示,在推理时分配更多额外计算可以提高生成质量,这促使了一个自然的后续问题:这些计算应在哪里分配?基于这一见解,我们引入了PonderLM-3,这是一种用于token级自适应pondering的预训练框架,它在纯粹的自监督目标下学习选择性地分配额外计算。该框架建立在PonderLM-2的骨干上。这使得额外的推理计算成为每个token可分配的资源,只有在有益时,token才会接收更多计算,而不是对每个token支付统一的额外成本。为了使这种分配可学习同时保持训练-推理一致性,PonderLM-3在预训练过程中注入了可微的注意力掩码,并在推理时配以相应的硬剪枝规则。PonderLM-3定义了一个更强的帕累托前沿:与现有的递归或自适应基线相比,在相等的推理FLOPs下,它实现了更低的预训练困惑度。在下游基准测试中,PonderLM-3在相同最大额外计算步骤下实现了与固定步骤PonderLM-2相当的性能,但在实践中使用更少的推理FLOPs。总体而言,PonderLM-3提供了一个端到端的可微且训练-推理一致的框架,用于token级自适应计算,使额外的推理计算能够被分配到最有益的地方,而不是由每个token统一支付。

英文摘要:

Test-time scaling has shown that allocating more additional computation at inference can improve generation quality, motivating a natural follow-up question: where should this computation be spent? Building on this insight, we introduce PonderLM-3, a pretraining framework for token-wise adaptive pondering that learns to selectively allocate additional computation under purely self-supervised objectives, built on top of the PonderLM-2 backbone. This makes additional inference computation an allocatable per-token resource, so tokens receive more computation only when it is beneficial, rather than paying a uniform extra cost. To make this allocation learnable while maintaining train-inference consistency, PonderLM-3 injects a differentiable attention mask during pretraining and pairs it with a matching hard pruning rule at inference. PonderLM-3 defines a stronger Pareto frontier: compared with existing recursive or adaptive baselines, it achieves lower pretraining perplexity at equal inference FLOPs. On downstream benchmarks, PonderLM-3 attains comparable performance to fixed-step PonderLM-2 under the same maximum number of additional computation steps, while using fewer inference FLOPs in practice. Overall, PonderLM-3 provides an end-to-end differentiable and train-inference consistent framework for token-wise adaptive computation, enabling additional inference compute to be allocated where it is most useful rather than paid uniformly by every token.

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

↑