Cross-Modal Generalization: Learning in Low Resource Modalities via Meta-Alignment

Paul Pu Liang, Peter Wu, Ziyin Liu, Louis-Philippe Morency, Ruslan Salakhutdinov

TL;DR

This paper introduces "cross-modal generalization," a new learning paradigm that enables AI to tackle tasks in a new modality (like audio) by training on a different, high-resource modality (like text), even with very limited target data. They propose "meta-alignment," a technique to bridge these modalities by aligning their representation spaces, achieving strong performance on tasks like text-to-image, image-to-audio, and text-to-speech classification with few-shot learning.

What Problem Does This Paper Address?

The vast majority of multimodal AI research focuses on scenarios where the same modalities are available during both training and testing. This leaves a significant gap: how can we build AI systems that can generalize to new tasks in new modalities, especially when those new modalities are "low-resource" (i.e., have scarce labeled data)? Think about understanding spoken language in rare dialects using knowledge from abundant text data, or learning to cook from recipe images based on text descriptions. This problem is particularly challenging because it requires transferring knowledge across different types of data (e.g., images to audio) which often necessitate distinct processing pipelines (encoders). Existing methods like domain adaptation and standard meta-learning often assume shared modalities or encoders, making them unsuitable for this "cross-modal generalization" setting.

Methods

The core of the proposed solution is meta-alignment. This approach combines two key ideas:

  1. Meta-Alignment for Representation Space Bridging: The authors propose learning a shared, "meta-aligned" space where representations of similar concepts from different modalities are brought closer together. This is achieved by training separate encoders for source and target modalities and using both "strongly paired" (exact one-to-one correspondences) and "weakly paired" (coarse semantic groupings, like those found in videos) cross-modal data. They leverage Noise Contrastive Estimation (NCE) for this alignment, which is more practical than direct reconstruction for high-dimensional data.
  2. Meta-Learning for Task Generalization: To enable quick adaptation to new tasks in the target modality with minimal labeled data (few-shot learning), the meta-alignment parameters are meta-trained. This means the model learns how to initialize its alignment encoders and classifiers so they can quickly adapt to new tasks with just a few examples.

The overall algorithm, CROMA (Cross-modal Meta-Alignment), jointly trains these alignment and classification components.

Datasets

The authors evaluate their approach on three cross-modal generalization tasks:

  • Text to Image: Yummly-28K dataset, used for recipe classification from text descriptions to images.
  • Image to Audio: A combination of CIFAR-10/CIFAR-100 (images) and ESC-50 (audio) datasets, with partially related label spaces. They created "weak pairs" by mapping similar classes between these datasets.
  • Text to Speech: The Wilderness dataset, a multilingual text and speech dataset, used for language classification from text to speech.

Key Insights and Ideas

  • Cross-modal generalization is distinct from domain adaptation: Unlike domain adaptation, which often assumes shared modalities and encoders, cross-modal generalization requires separate encoders and explicit alignment to bridge different data types.
  • Meta-alignment is crucial for bridging modalities: By explicitly aligning representation spaces using cross-modal data, the model can effectively transfer knowledge from high-resource source modalities to low-resource target modalities.
  • Weakly paired data is surprisingly powerful: Even coarse semantic groupings of data (like those found in internet videos) can be leveraged for effective cross-modal alignment and generalization, which is crucial for real-world scenarios.
  • "Oracle" baselines are often outperformed: In some cases, CROMA outperforms even an "oracle" baseline that has access to a large amount of labeled target modality data during meta-training. This suggests that leveraging cleaner, more predictive source modalities can be more beneficial than relying solely on noisy target data.
  • Robustness to noisy labels: The proposed method shows resilience to noisy labels in the target modality, a common issue in low-resource settings.

Key Results

  • Strong performance on classification tasks: CROMA achieves competitive or superior performance compared to baselines on text-to-image, image-to-audio, and text-to-speech classification tasks, even with as few as 1-10 labeled samples in the target modality.
  • Outperforms domain adaptation methods: When domain adaptation baselines are adapted to the cross-modal setting (using shared encoders), they significantly underperform CROMA, highlighting the importance of separate encoders and explicit alignment.
  • Effective few-shot retrieval: The meta-alignment strategy also improves cross-modal retrieval performance, demonstrating its ability to align new concepts across modalities.
  • Robustness to noise: CROMA is more robust to noisy labels in the target modality than the oracle baseline.

Limitations and Future Work

  • Weak alignment trade-offs: While weak alignment is useful, it introduces a trade-off between the error from direct low-resource training and the error induced by weak alignment. The paper provides theoretical guidelines for choosing between supervised learning and weak alignment based on data availability.
  • Choosing the number of anchor sets (S): For practical applications where sets are not pre-defined, determining the optimal number of anchor sets (S) for alignment is discussed, suggesting S should scale with the square root of the total data points.
  • Future theoretical work: The authors mention that future theoretical work will focus on formalizing discussions around weak alignment and deriving rigorous bounds for Lipschitz-continuous models.

Summary updated

BibTeX
@inproceedings{liang2021cross,
  author = {Paul Pu Liang and Peter Wu and Ziyin Liu and Louis-Philippe Morency and Ruslan Salakhutdinov},
  title = {{Cross-Modal Generalization: Learning in Low Resource Modalities via Meta-Alignment}},
  booktitle = {ACM Multimedia},
  year = {2021},
  doi = {10.1145/3474085.3475247},
}
Figure