解决视觉语言模型随时间渐变分布漂移的持续适应问题
BayesTTA: Continual-Temporal Test-Time Adaptation for Vision-Language Models via Gaussian Discriminant Analysis
- 基于高斯判别分析动态建模类别条件分布,无需存储原始数据
- 在四个时序演化数据集上性能超越现有方法,提升显著且稳定
- 适合需要长期稳定推理的现实场景,如自动驾驶、环境监测
视觉语言模型(如CLIP)虽具备强零样本识别能力,但在真实场景中常见的渐进式分布漂移(如光照变化、季节更替)下性能显著下降。现有持续测试时自适应(CTTA)方法多针对突发剧烈漂移,忽略时间连续性,存在三方面缺陷:记忆缓存有限导致长程分布建模能力弱,引发灾难性遗忘;熵基置信度在时间漂移下不可靠,加剧错误累积;静态视觉表征无法对齐动态输入。本文将该问题形式化为持续-时序测试时自适应(CT-TTA),提出贝叶斯框架BayesTTA,通过增量估计类条件高斯混合分布,利用统计假设检验自适应选择协方差结构,并采用高斯判别分析进行校准推理。校准预测监督自适应调整归一化层,实现高效稳定的表征对齐。我们在四个时序演化数据集上构建全面的CT-TTA基准,并在十个标准TTA数据集上评估泛化能力。大量实验表明,BayesTTA持续优于当前最优方法,取得显著提升且保持高效。代码已开源。
原文摘要 · Abstract (English)
Vision-language models (VLMs) such as CLIP achieve strong zero-shot recognition but degrade significantly under \textit{temporally evolving distribution shifts} common in real-world scenarios (e.g., gradual illumination or seasonal changes). Existing continual test-time adaptation (CTTA) methods are typically built around sudden and severe distribution shifts and neglect temporal continuity, leading to three core defects: limited memory cache restricts long-range distribution modeling, causing catastrophic forgetting; entropy-based confidence becomes unreliable under temporal drift, worsening error accumulation; and static visual representations misalign with evolving inputs. We formalize this practical problem as \textit{Continual-Temporal Test-Time Adaptation (CT-TTA)}, where test distributions evolve gradually over time. To address it, we propose \textit{BayesTTA}, a Bayesian adaptation framework that enforces temporally consistent predictions and dynamically aligns visual representations. Specifically, BayesTTA incrementally estimates class-conditional Gaussian mixture distributions without storing raw data, adaptively selects covariance structures through statistical hypothesis testing, and performs calibrated inference using Gaussian discriminant analysis (GDA). These calibrated predictions supervise self-paced adaptation of normalization layers, ensuring efficient and stable representation alignment. We establish a comprehensive CT-TTA benchmark across four temporally evolving datasets and further evaluate generalization on ten standard TTA datasets. Extensive experiments show that BayesTTA consistently outperforms state-of-the-art methods, achieving significant gains while maintaining efficiency. Code is available at \href{https://github.com/cuishuang99/BayesTTA}{https://github.com/cuishuang99/BayesTTA}.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。