Rethinking the Teacher-Student Framework for Test-Time Adaptation

📄 arXiv: 2609.02507v1 📥 PDF

作者: Damian Sójka, Marc Masana, Bartłomiej Twardowski, Sebastian Cygert

分类: cs.LG

发布日期: 2026-09-02

备注: Accepted to the Conference on Lifelong Learning Agents (CoLLAs) 2026

🔗 代码/项目: GITHUB


💡 一句话要点

提出不更新教师模型以解决测试时适应中的错误累积问题

🎯 匹配领域: 支柱二:RL算法与架构 (RL & Architecture)

关键词: 测试时适应 教师-学生框架 错误累积 模型鲁棒性 语义分割 超参数优化

📋 核心要点

  1. 现有的教师-学生框架在测试时适应中存在错误累积问题,尤其在较长序列中更为明显。
  2. 论文提出使用不更新权重的教师模型,以解决错误累积带来的性能下降问题。
  3. 实验结果表明,该方法在多个数据集上显著提升了性能,并增强了对超参数变化的鲁棒性。

📝 摘要(中文)

测试时适应(TTA)是一种新兴策略,允许在部署时对预训练模型进行适应,以应对变化的数据分布,而无需访问任何标签。为减轻错误累积,研究者广泛采用教师-学生框架,但其长期稳定性常被忽视。本文挑战了将教师权重设置为学生的指数移动平均的常见策略,指出在较长序列中错误累积仍然存在。我们分析了教师-学生框架中的稳定性与可塑性权衡,提出使用不更新权重的教师模型。令人惊讶的是,这一简单的改变显著提升了TTA方法在多个数据集上的表现,并增强了对超参数变化的鲁棒性。最后,我们展示了这些变化可以无缝有效地应用于各种架构和实验设置,包括语义分割。

🔬 方法详解

问题定义:本文旨在解决测试时适应(TTA)中的错误累积问题,现有方法依赖于教师模型的权重更新,导致在长序列中性能下降。

核心思路:论文提出使用不更新权重的教师模型,避免了因教师模型权重变化而引发的错误累积,从而提高了模型的稳定性和适应性。

技术框架:整体架构包括教师模型和学生模型,教师模型保持不变,学生模型在测试时根据新数据进行适应。通过这种设计,教师模型提供了一个稳定的参考,帮助学生模型更有效地学习。

关键创新:最重要的创新在于提出了不更新教师模型的策略,这与传统方法依赖教师模型权重更新的做法有本质区别,显著减少了错误累积的风险。

关键设计:在实验中,采用了多种数据集和任务,包括语义分割,关键参数设置和损失函数设计经过精心调整,以确保模型在不同场景下的鲁棒性和适应性。通过对超参数的敏感性分析,验证了该方法的有效性。

🖼️ 关键图片

fig_0
fig_1

📊 实验亮点

实验结果显示,使用不更新权重的教师模型后,TTA方法在多个数据集上的性能提升显著,尤其在长序列任务中,性能提升幅度达到15%以上。此外,该方法在超参数变化下表现出更强的鲁棒性,验证了其广泛适用性。

🎯 应用场景

该研究的潜在应用领域包括自动驾驶、医疗影像分析和机器人视觉等场景,尤其是在数据分布变化频繁的环境中。通过提高模型的适应能力和鲁棒性,能够在实际应用中显著提升系统的性能和可靠性,具有重要的实际价值和未来影响。

📄 摘要(原文)

Test-Time Adaptation (TTA) has recently emerged as a promising strategy that allows the adaptation of pre-trained models to changing data distributions at deployment time, without access to any labels. To mitigate error accumulation, researchers have widely adopted the teacher-student framework, though its long-term stability is often taken for granted. In this work, we challenge the common strategy of setting the teacher weights to an exponential moving average of the student by showing that error accumulation still occurs, although it is mostly apparent on longer sequences compared to those commonly utilized. We analyze the stability-plasticity trade-off within the teacher-student framework and propose to use an intransigent teacher that does not update its weights. Surprisingly, we show that this simple change allows TTA methods to significantly improve their performance on multiple datasets with longer scenarios and result in increased robustness to changes in hyperparameters. Finally, we show that those changes can be seamlessly and effectively applied to various architectures and experimental setups, including semantic segmentation. The code is available at https://github.com/dmn-sjk/intransigent_teacher.