arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.07926cs.CVcs.AI
收藏

IMSE:内在光谱专家混合微调用于测试时间适应

IMSE: Intrinsic Mixture of Spectral Experts Fine-tuning for Test-Time Adaptation

Korea Advanced Institute of Science and Technology (KAIST)(韩国科学技术院);LG Energy Solution(LG能源解决方案)

Sunghyun Baek, Jaemyung Yu, Seunghee Koh, Minsu Kim, Hyeonseong Jeon, Junmo Kim

AI总结:

本文提出IMSE方法,通过分解线性层并仅更新奇异值,结合多样性最大化损失和领域感知光谱码检索,提升测试时间适应性能,在多种分布偏移基准测试中取得最佳效果,且在连续测试时间适应中提升准确率3.4个百分点,参数量减少385倍。

摘要:

测试时间适应(TTA)已被广泛研究,以防止测试数据与训练分布差异导致性能下降。然而,充分利用大型预训练模型的丰富表示并最小化参数更新仍待探索。本文提出内在光谱专家混合(IMSE),利用视觉Transformer内固有的光谱专家。通过奇异值分解(SVD)分解每个线性层,并仅适应奇异值,同时保持奇异向量不变。进一步识别熵最小化在TTA中的关键限制:它常导致特征崩溃,使模型依赖领域特定特征而非类别判别特征。为此,我们提出基于专家输入对齐的多样性最大化损失,鼓励在适应过程中多样化利用光谱专家。在连续测试时间适应(CTTA)场景中,除了保留预训练知识外,还需保留和重用先前观察到的领域知识。我们引入领域感知光谱码检索,估计输入分布以检测领域偏移,并检索适应后的奇异值以实现快速适应。因此,本文方法在各种分布偏移基准测试中取得最佳性能。在CTTA和渐进CTTA中,分别提升准确率3.4个百分点和2.4个百分点,同时仅需385倍更少的可训练参数。我们的代码可在https://github.com/baek85/IMSE上获得。

英文摘要:

Test-time adaptation (TTA) has been widely explored to prevent performance degradation when test data differ from the training distribution. However, fully leveraging the rich representations of large pretrained models with minimal parameter updates remains underexplored. In this paper, we propose Intrinsic Mixture of Spectral Experts (IMSE) that leverages the spectral experts inherently embedded in Vision Transformers. We decompose each linear layer via singular value decomposition (SVD) and adapt only the singular values, while keeping the singular vectors fixed. We further identify a key limitation of entropy minimization in TTA: it often induces feature collapse, causing the model to rely on domain-specific features rather than class-discriminative features. To address this, we propose a diversity maximization loss based on expert-input alignment, which encourages diverse utilization of spectral experts during adaptation. In the continual test-time adaptation (CTTA) scenario, beyond preserving pretrained knowledge, it is crucial to retain and reuse knowledge from previously observed domains. We introduce Domain-Aware Spectral Code Retrieval, which estimates input distributions to detect domain shifts, and retrieves adapted singular values for rapid adaptation. Consequently, our method achieves state-of-the-art performance on various distribution-shift benchmarks under the TTA setting. In CTTA and Gradual CTTA, it further improves accuracy by 3.4 percentage points (pp) and 2.4 pp, respectively, while requiring 385 times fewer trainable parameters. Our code is available at https://github.com/baek85/IMSE.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑