NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning

Hossein R. Nowdeh, Jie Ji, Xiaolong Ma, Fatemeh Afghah

Introduction

In multimodal learning, models integrate diverse data types—such as text, audio, and video—to perform complex tasks. While "more data" typically suggests better performance, multimodal systems often encounter "modality imbalance." In these scenarios, a dominant modality (e.g., video in an audio-visual task) can overshadow others, leading to suboptimal generalization and a failure to capture complementary features.

Researchers from Clemson University and the University of Arizona have introduced Modality-Aware SAM (M-SAM), a novel optimization framework designed to harmonize multimodal learning. By integrating Sharpness-Aware Minimization (SAM) with dynamic gradient modulation, M-SAM encourages dominant modalities to converge toward flatter loss landscapes, preventing them from "drowning out" weaker but essential data sources.

The Challenge of Modality Imbalance

Multimodal models frequently suffer from uncoordinated convergence. Because different modalities possess varying information densities and noise levels, they learn at different rates. A dominant modality often reaches a "sharp" minimum quickly, minimizing training loss but failing to generalize to unseen data. This dominance creates two primary issues:

  1. Overfitting: The model relies too heavily on the dominant modality's specific training patterns.
  2. Shadowing: Strong gradients from the dominant modality suppress the learning signals from weaker modalities, hindering the discovery of cross-modal synergies.

The M-SAM Framework

M-SAM addresses these challenges through a three-step iterative optimization process:

  1. Dominance Identification: The framework utilizes Shapley values from game theory to quantify the contribution of each modality to the model's accuracy within every mini-batch. The modality with the highest contribution is identified as dominant.
  2. Loss Landscape Decomposition: Instead of treating the global loss uniformly, M-SAM applies the principles of Sharpness-Aware Minimization (SAM) specifically to the dominant modality. SAM searches for regions of low loss rather than individual points, effectively smoothing the optimization landscape.
  3. Gradient Modulation: The model updates weights by prioritizing the robustness of the dominant modality while allowing non-dominant modalities greater flexibility to explore the parameter space. By forcing the dominant modality into a flatter, wider basin, the model becomes more resilient to updates from other modalities.

Key Insights and Visual Evidence

The core hypothesis of M-SAM is that "flatness" in the loss landscape correlates with better generalization. By finding flatter minima for dominant modalities, the model reduces its sensitivity to the inherent noise of weaker modalities.

Comparison of loss landscapes for AGM, SAM, and M-SAM, demonstrating the flatter minima achieved by M-SAM.

As shown in the loss landscape visualizations, M-SAM produces a significantly wider and flatter basin compared to standard Sharpness-Aware Minimization (SAM) or Adaptive Gradient Modulation (AGM). This structural change in the loss surface is the primary driver behind the framework's improved robustness.

Experimental Results

M-SAM was evaluated across four diverse multimodal benchmarks: AV-MNIST (digits), CREMA-D (emotion recognition), UR-Funny (humor detection), and AVE (audio-visual event localization).

  • Performance Gains: M-SAM consistently outperformed state-of-the-art gradient modulation methods (such as OGM-GE and AGM), achieving accuracy improvements of +1.4% to +2.3% over the closest competitors.
  • Generalization: The researchers observed a significant reduction in the "normalized overfitting gap" ($\tau$), indicating that M-SAM maintains a closer alignment between training and validation performance than standard joint training methods.
  • Model-Agnostic Nature: As an optimizer-level intervention, M-SAM does not require architectural changes and is compatible with various fusion strategies and neural network backbones.

Conclusion

Modality-Aware SAM (M-SAM) represents a significant step forward in balancing multimodal learning. By leveraging game-theoretic contribution metrics and sharpness-aware optimization, it prevents modality dominance from compromising model generalization. Future work may explore the computational scaling of Shapley value calculations for high-dimensional multimodal streams and the integration of M-SAM with adaptive optimizers like AdamW.

This paper is based on research to be presented at NeurIPS 2025.

Summary updated

BibTeX
@inproceedings{nowdeh2025modality,
  author = {Hossein R. Nowdeh and Jie Ji and Xiaolong Ma and Fatemeh Afghah},
  title = {{Modality-Aware SAM: Sharpness-Aware-Minimization Driven Gradient Modulation for Harmonized Multimodal Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=22O1ejTxj3},
}
Figure