测试时自适应中的神经坍缩
Neural Collapse in Test-Time Adaptation
把神经坍缩推广到样本级(NC3+),指出域偏移下性能下降源于样本级特征-分类器错位,并据此设计混合目标(几何邻近+预测置信度)来重对齐特征与分类器权重,可直接嵌入现有 TTA 流程(如 Tent)提升 OOD 鲁棒性。
原文依据 we propose NCTTA, a novel feature-classifier alignment method with hybrid targets to mitigate the impact of unreliable pseudo-labels
摘要译文
由模型翻译 · 术语统一 · 请对照原文核对关键结论测试时自适应(TTA)通过在推理过程中在线更新模型来增强模型对分布外(OOD)数据的鲁棒性,然而现有方法缺乏对域偏移下性能退化根本原因的理论洞察。近来,神经坍缩(NC)被提出作为深度神经网络(DNN)的一种涌现几何性质,为 TTA 提供了有价值的启示。在本工作中,我们将 NC 推广到样本级,并发现了一种称为样本级对齐坍缩(NC3+)的新现象,表明由训练好的模型得到的样本特征嵌入与其对应的分类器权重高度对齐。基于 NC3+,我们指出性能退化源于自适应过程中的样本级错位,且该错位在更大的分布偏移下会进一步加剧。这表明有必要将特征嵌入与其对应的分类器权重重新对齐。然而,这种错位使得伪标签在域偏移下不可靠。为应对这一挑战,我们提出 NCTTA,一种带有混合目标的新型特征-分类器对齐方法,以缓解不可靠伪标签的影响,该方法将几何邻近性与预测置信度相融合。大量实验表明 NCTTA 在增强对域偏移的鲁棒性方面有效。例如,NCTTA 在 ImageNet-C 上比 Tent 高出 14.52%。项目主页公开于 https://github.com/Cevaaa/NCTTA。
英文原文摘要 1484 字符
Test-Time Adaptation (TTA) enhances model robustness to out-of-distribution (OOD) data by updating the model online during inference, yet existing methods lack theoretical insights into the fundamental causes of performance degradation under domain shifts. Recently, Neural Collapse (NC) has been proposed as an emergent geometric property of deep neural networks (DNNs), providing valuable insights for TTA. In this work, we extend NC to the sample-wise level and discover a novel phenomenon termed Sample-wise Alignment Collapse (NC3+), demonstrating that a sample's feature embedding, obtained by a trained model, aligns closely with the corresponding classifier weight. Building on NC3+, we identify that the performance degradation stems from sample-wise misalignment in adaptation which exacerbates under larger distribution shifts. This indicates the necessity of realigning the feature embeddings with their corresponding classifier weights. However, the misalignment makes pseudo-labels unreliable under domain shifts. To address this challenge, we propose NCTTA, a novel feature-classifier alignment method with hybrid targets to mitigate the impact of unreliable pseudo-labels, which blends geometric proximity with predictive confidence. Extensive experiments demonstrate the effectiveness of NCTTA in enhancing robustness to domain shifts. For example, NCTTA outperforms Tent by 14.52% on ImageNet-C. Project page is publicly available at https://github.com/Cevaaa/NCTTA.