arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.06418cs.LGcs.AIcs.SYeess.SY
收藏

双重预处理 (DoPr):针对测试时性能而非验证损失的优化

Double Preconditioning (DoPr): Optimization for Test-Time Performance, not Validation Loss

University of California, Berkeley(加州大学伯克利分校);Stanford University(斯坦福大学);University of Cambridge(剑桥大学);DeepMind(深度Mind);Google Research(谷歌研究)

Thomas T. Zhang, Alok Shah, Yifei Zhang, Vincent Zhang, Nikolai Matni, Max Simchowitz

AI总结:

提出双重预处理优化范式,通过结合梯度级和激活级预处理,缓解自回归语言建模等场景中训练/验证损失与下游指标不匹配的测试时反馈问题,提升测试时性能而不一定改善验证损失。

摘要:

深度学习的许多现代应用涉及通过一步预测损失(例如,$L^2$回归、交叉熵)训练神经网络,但部署时沿着其自身预测进行展开。关键例子包括自回归语言建模、基于流的生成建模和机器人策略学习。已有充分证据表明,这些设置会引发我们称为测试时反馈(TTF)的现象:训练/验证损失与下游感兴趣指标(如任务成功率和生成质量)之间的不匹配,且随任务长度增长。虽然数据整理、架构和目标设计已被提出用于对抗TTF设置中的训练-测试偏移,但本文提出优化作为缓解误差累积的新设计轴。具体而言,我们引入了一种称为双重预处理(DoPr)的新优化范式,专门针对TTF的挑战。DoPr将梯度级预处理(如Adam和Muon中的)与激活级预处理(AP)(如KFAC中的)相结合。我们表明,添加AP可以在各种TTF设置中作为一种即插即用的干预手段,提高下游模型性能。有趣的是,这些测试时性能的提升并不总是伴随验证损失的改善,这为如何正确评估使用一步监督目标训练的模型提出了新问题。

英文摘要:

Many modern applications of deep learning involve training a neural network via a one-step prediction loss (e.g., $L^2$ regression, cross-entropy), but deploy the network by rolling out along its own predictions. Key examples include autoregressive language modeling, flow-based generative modeling, and robot policy learning. It is well-documented that these settings induce a phenomenon we call test-time feedback (TTF): the mismatch between the training/validation loss and downstream metrics of interest, such as task success rate and generation quality, which grows with task length. While data curation, architecture, and objective design have been proposed to combat train-test shift in TTF settings, this paper proposes optimization as a new design axis to mitigate error accumulation. Specifically, we introduce a new optimization paradigm called double-preconditioning (DoPr) uniquely tailored to the challenges of TTF. DoPr combines gradient-wise preconditioning, as in Adam and Muon, with activation-wise preconditioning (AP), such as in KFAC. We show that the addition of AP yields a drop-in intervention for increasing downstream model performance across a range of TTF settings. Interestingly, these gains in test-time performance do not consistently accompany improvements in validation loss, opening new questions about how to properly evaluate models trained with one-step supervised objectives.

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

↑