[Paper Review] IMSE: Intrinsic Mixture of Spectral Experts Fine-tuning for Test-Time Adaptation
IMSE reinterprets linear layers as intrinsic mixtures of spectral experts, fine-tuning only singular values with diversity loss and domain-aware spectral code retrieval to achieve state-of-the-art test-time adaptation with far fewer trainable parameters.
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.
Motivation & Objective
- Motivate robust adaptation of pretrained models to distribution shifts without extensive parameter updates.
- Leverage spectral properties of Vision Transformers to reinterpret linear layers as mixtures of spectral experts.
- Address feature-collapse in entropy-minimization based TTA with a diversity-maximization loss.
- Preserve and reuse domain knowledge across domains via a domain bank and retrieval mechanism in continual test-time adaptation (CTTA).
- Demonstrate state-of-the-art performance across TTA, CTTA, and Gradual CTTA benchmarks with pretrained backbones like MAE and CLIP.
Proposed method
- Apply singular value decomposition to each linear layer of a pretrained model to obtain spectral experts (u_i, v_i, sigma_i).
- Fine-tune only the singular values sigma_i while keeping the singular vectors fixed, creating a compact spectral code S across all layers.
- Introduce a diversity maximization loss based on expert–input alignment statistics to prevent feature collapse during entropy-minimization-based adaptation.
- Define expert–input alignment statistics (mean and std of alignments with right singular vectors) and use them in the diversity loss L_dm.
- Joint objective L_IMSE = L_entmin + lambda_dm * L_dm, optionally combined with Sharpness-Aware Minimization for stability.
- Implement Domain-Aware Spectral Code Retrieval (IMSE-Retrieval) with a Domain Bank that stores domain descriptors phi and corresponding spectral codes S; initialize, detect domain shifts, and retrieve the most similar prior spectral code for rapid adaptation.
- Construct a lightweight domain descriptor from patch-token statistics (mean and variance of patch tokens) and accumulate with EMA to detect domain shifts (via symmetric KL divergence).
- During CTTA, initialize singular values from the pre-adapted code, store adapted codes with descriptors in the Domain Bank, and retrieve the best match for rapid re-use across domains.
Experimental results
Research questions
- RQ1Can singular-value-focused fine-tuning (keeping singular vectors fixed) effectively adapt large pretrained models to unseen domains?
- RQ2Does a diversity-maximization loss prevent feature collapse when adapting with entropy minimization in a label-free TTA setting?
- RQ3Can a domain-aware spectral code retrieval mechanism retain and reuse domain knowledge to improve continual test-time adaptation?
- RQ4Do IMSE variants achieve state-of-the-art performance with significantly fewer trainable parameters across TTA, CTTA, and Gradual CTTA, and with different pretraining backbones such as MAE and CLIP?
Key findings
- IMSE achieves state-of-the-art results on ImageNet-C under TTA across ViT backbones pretrained with supervised, MAE, and CLIP.
- In CTTA, IMSE-Retrieval outperforms baselines (e.g., ViDA) by notable margins while using dramatically fewer trainable parameters (~0.05% of CoTTA/ViDA updates).
- The diversity maximization loss mitigates feature diversity collapse caused by entropy minimization and improves adaptation accuracy.
- Domain Bank retrieval enables rapid adaptation by reusing adapted spectral codes across domains, improving continual and gradual CTTA performance.
- Across ImageNet-R and ImageNet-A, IMSE surpasses DPAL by several percentage points (e.g., 5.0 pp on ImageNet-R and 4.9 pp on ImageNet-A).
- Efficiency claims show IMSE-Retrieval runs faster than ViDA and CoTTA and requires minimal extra storage per domain (approx. 0.33 MB).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.