InfMasking: Unleashing Synergistic Information by Contrastive Multimodal Interactions

Liangjian Wen, Qun Dai, Jianzhuang Liu, Jiangtao Zheng, Yong Dai, Dongkai Wang, zhao kang, Jun Wang, Zenglin Xu, Jiang Duan

TL;DR

InfMasking is a novel contrastive learning framework designed to capture "synergy"—information that only emerges when multiple data modalities (like text and images) are combined. By aligning full multimodal representations with an "infinite" variety of partially masked views, the model is forced to learn complex interaction patterns, achieving state-of-the-art results across seven diverse benchmarks.

What Problem Does This Paper Address?

In multimodal AI, we often assume that different modalities (e.g., a video's audio and its transcript) are redundant—that they both tell the same story. However, real-world interactions are more complex. The authors categorize these into three types:

  1. Redundancy: Information shared across modalities.
  2. Uniqueness: Information found in only one modality.
  3. Synergy: Information that exists only in the joint context.

Consider a "hateful meme": the image might be an innocent animal, and the text might be a common phrase. Separately, they are benign. Together, they create a harmful message. This is synergy.

Current multimodal models are great at finding redundancy but struggle to capture the full spectrum of synergy. This gap leads to suboptimal performance in tasks where the "whole is greater than the sum of its parts," such as sarcasm detection, medical diagnosis, or complex robotic manipulation.

Methods

The authors introduce InfMasking, which uses a strategy of "Infinite Masking" during the feature fusion stage.

The InfMasking framework architecture, illustrating the generation of masked view features and the application of InfMasking loss alongside InfoNCE.
  • The Core Idea: During training, the model stochastically occludes (masks) a significant portion of features from every modality before they are fused by a Transformer. This creates "partial" views of the data.
  • Contrastive Alignment: The model is trained to maximize the Mutual Information (MI) between the "complete" fused representation and these "masked" representations. This forces the model to encode comprehensive synergistic patterns that remain recognizable even when parts of the input are missing.
  • The "Infinite" Trick: Sampling a few masks isn't enough to cover all interaction patterns. Theoretically, the authors want to consider an infinite number of masks ($K \to \infty$). Since computing this is impossible, they derive a mathematical approximation.
  • Gaussian Approximation: By assuming that masked embeddings follow a Gaussian distribution, they use Jensen’s inequality and Moment Generating Functions to derive a closed-form InfMasking loss. This allows the model to benefit from the "infinite" variety of masks without the massive computational overhead of actually generating them.

Datasets

The researchers evaluated InfMasking on a wide array of tasks:

  • Synthetic: The Trifeature dataset, modified to specifically measure how well a model captures redundancy, uniqueness, and synergy in a controlled environment.
  • MultiBench: A standard suite for multimodal learning including MIMIC (healthcare), MOSI (sentiment analysis), UR-FUNNY (humor detection), MUSTARD (sarcasm), and Vision&Touch (robotics).
  • Large-scale Real-world: MM-IMDb, a dataset for movie genre classification based on posters and plot summaries.

Key Insights and Ideas

  • Synergy as the Value Proposition: The paper argues that synergy is the fundamental reason we use multimodal models in the first place. If there’s no synergy, we might as well just use the best single modality.
  • Masking for Interaction, Not Just Reconstruction: Unlike Masked Autoencoders (MAE) which mask data to learn how to rebuild it, InfMasking masks data to learn how modalities interact.
  • Robustness through Diversity: By exposing the model to diverse combinations of partial modality information, the representation becomes more robust and "integrated," rather than just concatenating independent features.
  • The Power of the Lower Bound: The derivation of a computationally efficient loss function from a theoretically "infinite" problem is a highlight, making a complex information-theoretic concept practical for standard GPU training.

Key Results

InfMasking achieved state-of-the-art (SOTA) performance across all seven tested benchmarks:

Performance comparison of InfMasking against baseline models across various regression and classification benchmarks.
  • Synergy Capture: On the synthetic Trifeature task, InfMasking outperformed the strongest baseline (CoMM) by 5.6% in synergy detection.
  • Sentiment & Sarcasm: On the MOSI dataset, it improved top-1 accuracy by 5.3% over the baseline. On MUSTARD (sarcasm), it saw a 2.4% lead.
  • Robotics: In the Vision&Touch end-effector position prediction (a regression task), it nearly halved the Mean Squared Error compared to previous methods.
  • Genre Classification: On the imbalanced MM-IMDb dataset, it improved the macro-F1 score by over 2%, showing better handling of complex, semantically heterogeneous data.

Limitations and Future Work

While highly effective, the authors note a few areas for improvement:

  • Theoretical Depth: The paper lacks a rigorous theoretical framework to explain the exact mechanisms of how these synergistic interactions are formed within the Transformer layers.
  • Computational Footprint: Even with the mathematical approximation, the strategy increases GPU memory usage because it requires processing multiple views.
  • Adaptive Masking: Currently, the masking is random. Future work could involve "adaptive masking" where the model learns which features are most important to mask to challenge and improve the representation further.

Code is available at: https://github.com/brightest66/InfMasking

Summary updated

BibTeX
@inproceedings{wen2025infmasking,
  author = {Liangjian Wen and Qun Dai and Jianzhuang Liu and Jiangtao Zheng and Yong Dai and Dongkai Wang and zhao kang and Jun Wang and Zenglin Xu and Jiang Duan},
  title = {{InfMasking: Unleashing Synergistic Information by Contrastive Multimodal Interactions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=6AbM9UG4aD},
}
Figure