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

Current multimodal AI models excel at finding redundant information across different senses, but they often miss "synergy"—the emergent meaning that only appears when modalities are combined. This paper introduces InfMasking, a contrastive learning framework that uses an infinite masking strategy to force models to learn these complex, complementary interactions. By mathematically approximating an infinite number of masked feature combinations, InfMasking achieves state-of-the-art performance across seven diverse real-world benchmarks without exploding computational costs.

What Problem Does This Paper Address?

When we look at a meme, the text alone might seem benign, and the image alone might seem harmless. However, when combined, they can express a completely different, potentially harmful meaning. This is a classic example of synergistic information—information that does not exist in any single modality alone but emerges from their specific interaction pattern.

Most current multimodal contrastive learning methods (like CLIP) rely heavily on the multiview redundancy assumption, which assumes that different modalities (like text and images) simply provide different views of the exact same underlying information. While this works well for aligning a picture of a dog with the word "dog," it fails miserably on tasks that require a deeper, integrated understanding of complementary data. Existing methods that attempt to capture synergy suffer from cumulative approximation errors or tend to favor redundant/unique features instead. The authors tackle this gap by designing a method explicitly optimized to extract full-spectrum synergistic interactions.

Methods

The authors propose InfMasking (Infinite Masking), a self-supervised framework that operates during the feature fusion stage.

Instead of fusing complete feature representations, InfMasking stochastically occludes a large portion (often 50% to 80%) of the features from each modality before passing them into a Transformer fusion block. By randomly masking features, the model is forced to construct fused representations from varied, incomplete combinations of modalities. The unmasked fused representations are then aligned with these masked counterparts by maximizing mutual information via an InfoNCE loss.

The overall pipeline of the InfMasking framework

The Mathematical Trick: Infinite Masking

Exposing the model to every possible combination of masked features would require an infinite number of masking operations ($K \to \infty$), which is computationally impossible. To bypass this bottleneck, the authors assume that the masked embeddings follow a Gaussian distribution. Using this assumption, they apply Jensen's inequality and a Moment Generating Function (MGF) to derive a closed-form lower bound approximation of the loss function. This allows the model to simulate the effect of infinite masking patterns in a single, computationally efficient training step.

Datasets

The framework was evaluated on both controlled synthetic data and diverse real-world datasets:

  • Trifeature (Synthetic): A dataset modified to explicitly isolate and measure a model's capacity to learn redundancy (shape), uniqueness (texture), and synergy (color + texture combinations).
  • MultiBench Benchmarks: A multimodal benchmark suite spanning multiple domains:
  • MIMIC: Clinical time-series and tabular data for healthcare prediction.
  • MOSI: Video, audio, and text for sentiment analysis.
  • UR-FUNNY: Video, audio, and text for humor detection.
  • MUSTARD: Video, audio, and text for sarcasm detection.
  • Vision&Touch: Robotics manipulation data (RGB images, depth maps, force measurements) for contact and position prediction.
  • MM-IMDb: A large-scale movie dataset for multi-label genre classification using movie posters and text plots.

Key Insights and Ideas

  • Synergy Requires Scarcity: Aggressively hiding data through high masking ratios prevents the model from relying on easy, redundant shortcuts. It forces the network to learn how the remaining fragments of different modalities fit together contextually.
  • Deterministic Infinity: Instead of brute-forcing data augmentation by sampling thousands of explicit masks, treating the masked representation space as a continuous statistical distribution provides an elegant, deterministic way to compute mutual information.
  • Moving Beyond Alignment: Traditional contrastive learning focuses on aligning shared concepts. InfMasking demonstrates that modeling the interaction dynamics between modalities yields far more robust and generalizable representations.

Key Results

InfMasking consistently outperformed existing state-of-the-art self-supervised methods:

  • Synthetic Synergy Boost: On the Trifeature dataset, InfMasking achieved a synergy accuracy of 77.0%, beating the strongest baseline (CoMM) by 5.6% while maintaining near-perfect scores on redundancy and uniqueness.
Table 1: Linear probing accuracy (in %) of redundancy (shape), uniqueness (texture) and synergy (color and texture) on Trifeature dataset. ♣denotes results are from [12].
  • Real-World Superiority: Across the MultiBench classification tasks, InfMasking achieved the highest average top-1 accuracy (67.05%), showing notable improvements on complex tasks like sarcasm (MUSTARD) and sentiment (MOSI).
Table 2: Linear probing MSE(×10−4) for regression task and top-1 accuracy (in %) for classification tasks on Multibench. ♣denotes results are from [29]. ∗denotes average is only selected from the results of classification tasks.
  • Robotics Precision: In the robotics regression task (Vision&Touch EE), it cut the Mean Squared Error nearly in half compared to CoMM (4.23 vs 7.96).
  • Scaling to 3 Modalities: The method scales seamlessly beyond bimodal data, outperforming baselines on trimodal tasks in Vision&Touch and UR-FUNNY.
Table 3: Linear probing top-1 accuracy (in %) for clas- sification tasks on Vision&Touch and UR-FUNNY. ♣ denotes results are from [12].

Limitations and Future Work

Despite its strong empirical performance, the authors note a few limitations:

  1. Lack of Theoretical Framework: The paper lacks a rigorous mathematical framework to systematically quantify and formally characterize the exact mechanisms behind how synergistic information is preserved.
  2. Static Masking Ratios: The masking ratio is currently a fixed hyperparameter determined by trial and error. The authors suggest that future work should focus on developing adaptive masking strategies (e.g., via reinforcement learning) that dynamically adjust based on task requirements and modality characteristics.

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