暂停呼吸:自适应计算用于自 paced 序列生成
Catch Your Breath: Adaptive Computation for Self-Paced Sequence Production
AI总结:
本文提出CYB损失函数,通过自适应计算机制提升模型表达能力,实验显示在预训练和微调中优于标准交叉熵,降低困惑度并提升下游任务准确率。
摘要:
在基础模型推理时扩展方法的背景下,一种基于宽度的扩展方法——通过在输入流中插入<pause>标记来延迟模型响应——通过增加模型表达性同时保持高并行性。现有文献中训练模型利用<pause>标记的方法依赖于标准交叉熵目标,仅在暂停序列的最后一步评估模型输出。这种方法没有机制让模型调节自身处理或信号准备响应,将额外的计算步骤视为静态障碍而非可适应的资源。我们提出了一种监督损失,称为Catch Your Breath (CYB),将其框架为一个序列决策问题,训练模型动态且自主地调整每个输入标记的计算步骤数量。模型通过发出特殊<don't know>输出表明需要额外计算步骤,通过暂停延迟响应。模型可以多次回避以获得更长的延迟。实验表明,CYB在预训练或微调中引入时显著优于标准交叉熵,降低困惑度并提升下游任务准确率,且无额外计算或内存成本。
英文摘要:
Within the landscape of inference-time scaling methods for foundation models, a width-based approach to scaling--which involves the insertion of <pause> tokens in the input stream to delay model responses--offers a unique advantage by increasing model expressivity while remaining highly parallelizable at both training and inference. The existing literature on training models to utilize <pause> tokens relies on the standard cross-entropy objective in which the model output is read out and evaluated only at the final step of a pause sequence. This approach provides no mechanism for the model to regulate its own processing or to signal readiness to respond, treating the additional compute steps as a barrier to skip over rather than a resource to be used adaptively. We propose a supervised loss, Catch Your Breath (CYB), framed as a sequential-decision problem, that trains a model to dynamically and autonomously scale the number of compute steps used for each input token. The model indicates the need for additional compute steps by emitting a special <don't know> output, delaying its response via a pause. The model can abstain multiple times to obtain longer delays. Our experiments demonstrate that when <pause> tokens are included in the input stream, pretraining or fine-tuning with CYB significantly outperforms standard cross-entropy, reducing perplexity and enhancing downstream accuracy with no additional computational or memory cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。