提出无需训练的双分布建模方法,提升视觉语言模型在噪声环境下的鲁棒性。
Dual Distribution Estimation for Zero-shot Noisy Test-Time Adaptation with VLMs

- 用高斯分布建模正负类别特征,实现免训练的零样本去噪
- 在ImageNet上提升3.70%调和平均准确率,误报率降低6.20%
- 适合数据稀缺场景,推理高效且可直接部署
尽管测试时适应(TTA)使视觉语言模型可在无需昂贵重训练的情况下进行自适应,但其在真实应用中仍极易受分布外(OOD)异常值影响。这一差距催生了噪声测试时适应(NTTA),即在不中断推理的前提下实时过滤噪声OOD样本,同时最大化分布内(ID)分类准确率。现有零样本NTTA方法通常依赖测试时判别式训练,导致过度自信的错误分类并严重降低推理效率。为此,本文提出一种名为双分布估计(DDE)的新框架,将零样本NTTA范式从实例级学习转向免训练的高斯分布建模。DDE引入两个新模块:正向特征分布估计(PFDE)与负标签分布估计(NLDE)。PFDE显式建模类内与类间高斯分布,生成校准的对比分数,显著提升ID准确率;同时,NLDE通过显式建模负标签分布,挖掘高区分性标签,有效缓解虚假相关性。大量实验表明,在大规模ImageNet基准上,DDE在调和平均准确率上提升3.70%,OOD检测的FPR95降低6.20%,且保证高度可扩展与高效的在线推理。此外,DDE为零样本、免训练,表现出卓越的数据稀缺场景鲁棒性。代码已公开于https://github.com/ZhuWenjie98/DDE。
原文摘要 · Abstract (English)
While test-time adaptation (TTA) empowers vision-language models to adapt without costly retraining, it remains highly vulnerable to out-of-distribution (OOD) outliers prevalent in real-world applications. This discrepancy motivates Noisy TTA (NTTA), an online task to filter noisy OOD samples on the fly while maximizing in-distribution (ID) classification accuracy. Existing zero-shot NTTA approaches typically rely on test-time discriminative training, leading to overconfident misclassifications and significantly degraded inference efficiency. To address these limitations, we propose a novel framework named Dual Distribution Estimation (DDE), shifting the zero-shot NTTA paradigm from instance-level learning to training-free Gaussian distribution modeling. DDE incorporates two novel modules: Positive Feature Distribution Estimation (PFDE) and Negative Label Distribution Estimation (NLDE). PFDE explicitly models class-wise inclusion and exclusion Gaussian distributions to formulate a calibrated contrastive score, robustly enhancing ID accuracy. In parallel, NLDE improves OOD identification by explicitly modeling the negative label distribution to mine highly discriminative labels, effectively mitigating spurious correlations. Extensive experiments show that on the large-scale ImageNet benchmark, DDE achieves an improvement of 3.70\% in harmonic mean accuracy and reduces the FPR95 for OOD detection by 6.20\%, while ensuring highly scalable and efficient online inference. Furthermore, DDE is zero-shot and training-free, demonstrating remarkable robustness in data-scarce scenarios. Codes are available at https://github.com/ZhuWenjie98/DDE.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。