自生成反馈破坏测试时训练:长时程适应的因果分解
研究论文 · 2026/10/06
测试时训练(TTT)允许模型在推理期间将信息存储到权重中。然而,当模型从自身输出中学习时,每次更新也会改变生成下一个训练样本的模型。在128K token的流上,保留生成文本的更新会恶化对独立人类撰写文本的预测,涉及三种TTT-E2E模型配置(标记为125M、760M和3B)。当Adam更新Qwen3-4B的现有权重时,也出现同样的失败。相同的更新机制在真实文本上可以改进,因此写作本身并非失败原因。三项匹配比较追踪了因果路径。固定生成(Fixed Generation)通过使用冻结模型生成训练块,在125M和760M上消除了超过98%的损害。记录回放(Recorded Replay)将阅读退化文本造成的损失与在其上更新所存储的额外损失分开。配对单次更新比较则显示了局部冲突:一次更新能更好地预测其来源,但对新的真实文本预测更差。这种代价在闭环适应(Closed Loop adaptation)后增长,少数轨迹导致了大多数重大失败。最后,结算(Settlement)在承诺前用独立真实文本评估候选状态。它在125M和760M上留下平均端点差距0.07和-0.02 nats,同时保留了真实文本适应能力。这些结果促使在保留更新前检查对独立证据的预测。
该研究通过因果分解揭示了自生成反馈在测试时训练中导致的不稳定性,并提出了简单有效的缓解方法(固定生成、结算),对长时程适应和在线学习的安全部署具有重要指导意义。
Test-time training (TTT) lets a model store information in its weights during inference. When the model learns from its own output, however, each update also changes the model that generates the next training example. Across 128K-token streams, retaining generated-text updates worsens prediction on independent human-written text with three TTT-E2E model configurations (labeled 125M, 760M, and 3B). The same failure occurs when Adam updates Qwen3-4B's existing weights. The same update mechanisms can improve on real text, so writing itself is not the failure. Three matched comparisons trace the causal pathway. Fixed Generation removes over 98% of the damage at 125M and 760M by using a frozen model to generate training chunks. Recorded Replay separates the loss caused by reading degraded text from the additional loss stored by updating on it. A paired one-update comparison then shows the local conflict: an update predicts its source better but new real text worse. This cost grows after Closed Loop adaptation, with a few trajectories accounting for most large failures. Finally, Settlement evaluates the candidate state on independent real text before commitment. It leaves mean endpoint gaps of 0.07 and -0.02 nats at 125M and 760M while retaining real-text adaptation. These results motivate checking prediction on independent evidence before retaining an update.