Learning Unseen Modality Interaction

Yunhua Zhang, Hazel Doughty, Cees G. M. Snoek

Multimodal machine learning typically requires training data that contains all sensor modalities simultaneously to learn cross-modal relationships. But what happens when a model encounters a combination of sensors at inference time that it never saw together during training? This paper introduces the problem of unseen modality interaction, proposing a novel architecture that learns from modality-incomplete training sets and successfully generalizes to unseen combinations of sensors on the fly.

The Problem: Unseen Modality Interaction

Real-world systems like autonomous vehicles or robots rely on a diverse suite of sensors (cameras, microphones, depth sensors, etc.). Standard multimodal learning assumes modality-complete training data—meaning every training example has data from all sensors. This allows the model to learn cross-modal correspondences, such as how the sound of breaking glass relates to the visual of shattering.

However, this assumption is often unrealistic. Sensors break, new sensors are added after initial deployment, or datasets are stitched together from different, incomplete sources. While some prior work handles missing modalities at test time, those methods still require at least a portion of the training data to be modality-complete to learn how the sensors relate.

Illustration of the unseen modality interaction problem setting.

This paper tackles a harder, more realistic setting. The authors ask: How do you train a model to fuse RGB, audio, and depth at test time, if it has never seen all three together in a single training example?

Proposed Architecture

To solve this without explicit cross-modal attention (which requires complete data), the authors propose a flexible architecture that projects features into a common space and utilizes dual-branch pseudo-supervision.

The proposed architecture featuring common space projection and dual-branch prediction.

1. Feature Projection into a Common Space

Unimodal encoders extract features from whatever modalities are present. Instead of concatenating these features—the standard approach that fails when combinations change—a transformer-based attention matrix reshapes them into a fixed number of tokens with a standard dimension. Because all modalities are forced into the same semantic space, the model can simply sum the feature tokens of the available modalities.

2. Feature Alignment Loss

To ensure the common space actually aligns across modalities, a loss function ($L_{align}$) forces the average feature representation of different modalities for the same sample to cluster around shared, learnable tokens.

3. Dual Branch Prediction with Pseudo-labels

A major risk of modality-incomplete training is overfitting to "weak" modalities (e.g., forcing the model to guess a fine-grained visual action using only background audio). To prevent this, the prediction head is split into two branches. One is trained on ground-truth labels ($L_{supervised}$), and the other is trained on pseudo-labels ($L_{pseudo}$)—the historical average of the unimodal predictions across training epochs. This pseudo-supervision acts as a soft label that reflects the actual discriminative reliability of the available modalities. The final prediction averages the two branches.

Key Insights

  • Summation over Concatenation: Traditional multimodal transformers concatenate features, which fails at inference if the model hasn't learned the specific cross-modal correspondences during training. By projecting into a common space and summing the features, the model can dynamically and safely handle any arbitrary combination of inputs.
  • Embracing Uncertainty Prevents Overfitting: Forcing a model to predict a highly specific ground-truth label using a non-informative modality causes harmful overfitting to background noise. Pseudo-labels provide a softer target that acknowledges the uncertainty of weak modalities, acting as a natural regularizer.
  • Inherent Robustness to Noise: Because the feature projection module learns to select informative features before mapping them to the common space, the model is surprisingly robust to severe noise injected into a single modality at test time.

Results Across Diverse Tasks

Because "unseen modality interaction" is a new problem setting, the authors repurposed three existing datasets by splitting their training sets so that no single split contains all modalities. The proposed method significantly outperforms baselines adapted for this task:

  • Video Classification (EPIC-Kitchens-100): Using RGB, Optical Flow, and Audio, the model achieved 23.7% top-1 accuracy on unseen modality combinations, massively outperforming a vanilla multimodal transformer (17.2%) and late fusion (18.0%).
  • Robot State Regression (Robotics Dataset): Using Image, Depth, Proprioception, and Force, the model achieved a Mean Absolute Error (MAE) of 1.07, compared to 1.29 for late fusion and 1.37 for modality-complete baselines adapted to this task.
  • Multimedia Retrieval (MSR-VTT): Using a wide array of inputs (RGB, Audio, Object, Scene, Face, OCR, Speech), it achieved a Mean Rank (MnR) of 66.2, outperforming late fusion (72.3).
  • Noise Tolerance: When Gaussian noise was applied to one modality at test time, the proposed model maintained 18.0% accuracy, whereas a vanilla transformer plummeted to 10.1% because the noise destroyed its fragile cross-modal attention mechanisms.

Limitations and Future Directions

While highly effective, the approach has limitations. The experiments primarily relied on equally sized training subsets for the different modality combinations; the impact of highly imbalanced training data (e.g., having 10x more audio data than visual data) remains an open question. Additionally, the feature projection and dual-branch architecture inherently increase the overall training time compared to simpler fusion methods.

Currently, the authors only explore fully supervised learning. Extending this framework to self-supervised learning paradigms would be a highly beneficial next step for leveraging large-scale, uncurated, and sensor-mismatched datasets in the wild.

Summary updated

BibTeX
@inproceedings{zhang2023learning,
  author = {Yunhua Zhang and Hazel Doughty and Cees G. M. Snoek},
  title = {{Learning Unseen Modality Interaction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=1g0A9kE8Id},
}
Figure