[论文解读] SATA: Source Anchoring and Target Alignment Network for Continual Test Time Adaptation
SATA 提出了一种轻量、高效的持续测试时自适应框架,通过源域锚定自蒸馏方法修改批量归一化仿射参数,以防止灾难性遗忘,同时利用源域原型实现对比目标特征对齐。该方法在极少超参数、低存储和快速推理下实现最先进性能,尤其在小批量和动态域偏移场景下表现优异。
Adapting a trained model to perform satisfactorily on continually changing testing domains/environments is an important and challenging task. In this work, we propose a novel framework, SATA, which aims to satisfy the following characteristics required for online adaptation: 1) can work seamlessly with different (preferably small) batch sizes to reduce latency; 2) should continue to work well for the source domain; 3) should have minimal tunable hyper-parameters and storage requirements. Given a pre-trained network trained on source domain data, the proposed SATA framework modifies the batch-norm affine parameters using source anchoring based self-distillation. This ensures that the model incorporates the knowledge of the newly encountered domains, without catastrophically forgetting about the previously seen ones. We also propose a source-prototype driven contrastive alignment to ensure natural grouping of the target samples, while maintaining the already learnt semantic information. Extensive evaluation on three benchmark datasets under challenging settings justify the effectiveness of SATA for real-world applications.
研究动机与目标
- 解决测试数据分布随时间动态变化的持续测试时自适应挑战。
- 在在线自适应过程中确保模型在源域上的性能保持不变。
- 最小化可调超参数和存储需求,以支持实时部署。
- 在小批量或可变批量下实现有效自适应,以降低推理延迟。
- 在对齐目标样本到源语义的同时保持特征的语义一致性。
提出的方法
- 应用基于源域锚定的自蒸馏方法更新批量归一化(BN)仿射参数,以保留源域知识并防止灾难性遗忘。
- 利用源域原型引导目标特征的对比对齐,确保自然聚类与语义一致性。
- 仅更新 BN 仿射参数(而非完整网络权重),从而减少参数数量和存储需求。
- 集成双损失机制:源域锚定损失($\mathcal{L}_{\textrm{SA}}$)和原型驱动对比损失($\mathcal{L}_{\textrm{CA}}$)。
- 以在线方式运行,随着新小批量目标数据的到来逐步自适应。
- 避免完整微调或模型重训练,实现低计算开销的快速推理。
实验结果
研究问题
- RQ1测试时自适应框架是否能在持续适应不断变化的目标域的同时,保持在源域上的性能?
- RQ2通过自蒸馏实现的源域锚定在持续自适应过程中防止灾难性遗忘方面有多有效?
- RQ3基于原型的对比对齐在提升特征泛化能力和语义一致性方面有多显著?
- RQ4该框架在实时系统中常见的小批量或可变批量下表现如何?
- RQ5该方法是否能在极少超参数和低存储开销下实现最先进性能?
主要发现
- SATA 在持续测试时自适应设置下,于 CIFAR-10C、CIFAR-100C 和 ImageNet-C 上均达到最先进性能。
- 在 CIFAR-100C 上,SATA 实现 31.2% 的平均错误率,优于 CoTTA(31.1%)和 BN Adapt(35.2%)的泛化基准表现。
- 仅使用源域锚定损失($\mathcal{L}_{\textrm{SA}}$)时,性能与 CoTTA(31.9% 平均错误率)相当,证明其强大的泛化能力。
- SATA 将可训练参数减少至 CoTTA 的 1.06%(147,840 对比 6,900,132),显著降低存储与计算成本。
- 每批 200 个样本的推理时间比 CoTTA 快约 10 倍,原因在于更少的前向传播次数且每步无需模型更新。
- 即使不使用源域原型,SATA 仍保持强性能(CIFAR-100C 上错误率为 31.4%),仅下降 1.4%,证明对缺失原型数据的鲁棒性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。