Abstract
Multi-modal models often experience performance degradation when encountering out-of-distribution data at test time. This paper identifies the "attention gap," a phenomenon where cross-modality attention becomes significantly less reliable than self-attention under distribution shifts. To mitigate this, we introduce Attention Bootstrapping with Principal Entropy Minimization (ABPEM). Our framework leverages robust self-attention signals to guide cross-modality fusion and employs a novel entropy minimization strategy that filters out noisy gradients from unreliable class predictions. Experimental results on Kinetics50-C and VGGSound-C demonstrate that ABPEM consistently outperforms existing test-time adaptation methods in complex, real-world scenarios.
1. Introduction
Machine learning models deployed in real-world environments frequently encounter data that differs from their training distribution. While Test-Time Adaptation (TTA) has shown promise in single-modality tasks, adapting multi-modal models (e.g., video and audio) remains challenging. The primary difficulty lies in maintaining effective data fusion when one or more modalities are corrupted. We observe that distribution shifts do not just degrade individual features; they fundamentally disrupt the alignment between modalities, a problem we term the "attention gap."
2. The Attention Gap
The "attention gap" refers to the observation that under distribution shift, a model's ability to relate different modalities (cross-attention) degrades much faster than its ability to process each modality individually (self-attention).
As shown in Figure 1, while self-attention remains relatively stable, cross-attention scores drop sharply as the severity of the test-time distribution shift increases. This misalignment prevents the model from effectively leveraging multi-modal context precisely when it is most needed to compensate for noise in a single modality.
3. Proposed Method: ABPEM
To address the attention gap, we propose the ABPEM framework, which consists of two synergistic components: Attention Bootstrapping and Principal Entropy Minimization (PEM).
3.1 Attention Bootstrapping
Attention Bootstrapping uses the distribution of self-attention scores as a reliable "anchor." Since self-attention is more robust to shifts, the model is encouraged to align its cross-attention distribution with the self-attention distribution. This process "bootstraps" the fusion mechanism, ensuring that the model continues to weigh inter-modality relationships effectively even in the presence of significant noise.
3.2 Principal Entropy Minimization (PEM)
Standard TTA methods often use entropy minimization to increase model confidence. However, corrupted data can lead to high-entropy, noisy predictions for unlikely classes, resulting in detrimental gradients. PEM addresses this by focusing adaptation only on the top-$k$ most likely (principal) classes. By filtering out the "long-tail" of unreliable class predictions, PEM prevents the adaptation process from being derailed by low-probability noise.
4. Experimental Evaluation
We evaluated ABPEM on two major benchmarks modified with synthetic corruptions (e.g., noise, blur, weather):
- Kinetics50-C: ABPEM achieved an average accuracy of 65.0%, significantly outperforming the non-adapted "Raw" model (59.9%) and state-of-the-art baselines like READ (62.5%).
- VGGSound-C: In scenarios where audio is the primary information source, ABPEM maintained a substantial lead, reaching 36.1% accuracy compared to 32.4% for the best baseline.
Furthermore, ABPEM is highly efficient, maintaining a processing speed of 87.3 samples per second, which is comparable to the fastest existing TTA methods and suitable for real-time applications.
5. Conclusion
ABPEM provides a robust solution for multi-modal test-time adaptation by identifying and bridging the attention gap. By using self-attention as a stable guide and implementing class-level denoising through PEM, the framework ensures reliable performance under diverse distribution shifts. Future work will explore the scalability of this approach to systems with more than two modalities and its applicability to non-transformer architectures.
Summary updated