通过剔除非因果特征提升模型在分布外数据上的鲁棒性
Test-Time Adaptation by Causal Trimming
- 利用数据增强分离因果与非因果特征,结合主成分分析定位非因果方向
- 在多个真实分布外基准上显著优于现有最先进方法
- 适合需要高鲁棒性的实际部署场景,如自动驾驶和医疗诊断
测试时自适应旨在通过使用无标签目标样本改进模型在分布偏移下的鲁棒性。分布偏移导致性能下降的主要原因是模型依赖于与预测目标无直接因果关系的特征。我们提出测试时因果修剪(TACT),一种识别并剔除测试分布表示中非因果成分的方法。TACT 使用保持因果特征、改变非因果特征的数据增强策略。通过主成分分析(PCA)分析表示的变化,识别出与非因果特征相关的最高方差方向。该方法通过去除表示在这些方向上的投影来修剪表示,并用修剪后的表示进行预测。在适应过程中,TACT 持续追踪并优化这些方向,以更准确估计非因果特征。我们从理论上分析了该方法的有效性,并在真实世界分布外基准上进行了实证验证。TACT 在多个任务中均显著优于当前最优方法。
原文摘要 · Abstract (English)
Test-time adaptation aims to improve model robustness under distribution shifts by adapting models with access to unlabeled target samples. A primary cause of performance degradation under such shifts is the model's reliance on features that lack a direct causal relationship with the prediction target. We introduce Test-time Adaptation by Causal Trimming (TACT), a method that identifies and removes non-causal components from representations for test distributions. TACT applies data augmentations that preserve causal features while varying non-causal ones. By analyzing the changes in the representations using Principal Component Analysis, TACT identifies the highest variance directions associated with non-causal features. It trims the representations by removing their projections on the identified directions, and uses the trimmed representations for the predictions. During adaptation, TACT continuously tracks and refines these directions to get a better estimate of non-causal features. We theoretically analyze the effectiveness of this approach and empirically validate TACT on real-world out-of-distribution benchmarks. TACT consistently outperforms state-of-the-art methods by a significant margin.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。