INDIGO: Intrinsic Multimodality for Domain Generalization

Puneet Mangla, Shivam Chandhok, Milan Aggarwal, Vineeth N. Balasubramanian, Balaji KrishnamurthyarXiv 2022 · DOI · arXiv

Introduction: The Challenge of Domain Generalization

Standard deep learning models are notoriously brittle; a model trained to recognize "dogs" in photographs often fails when asked to identify a "dog" in a charcoal sketch or a cartoon. This phenomenon is known as Domain Generalization (DG). While recent vision-language models (VLMs) like CLIP have shown incredible robustness by learning from millions of image-caption pairs, fine-tuning them for specific DG tasks typically requires expensive, manual text annotations for every training image.

Comparison of explicit vs. intrinsic multimodal training.

The authors of INDIGO ask: Can we leverage the multimodal power of these pre-trained networks "intrinsically," without needing any new text captions? INDIGO (IntriNsic multimodality for DomaIn GeneralizatiOn) addresses this by tapping into the latent semantic features of pre-trained VLMs to regularize visual learning.

The INDIGO Framework

INDIGO consists of three primary components designed to fuse pre-trained semantic knowledge with task-specific visual features.

The INDIGO architecture and baseline comparison.
  1. Multimodal Branch: This uses a frozen, pre-trained VLM (such as CLIP or ALBEF). It extracts a feature vector from an image that contains "intrinsic" multimodal information—essentially representing what the model "thinks" the text description would be based on its pre-training.
  2. Visual Branch: A trainable Vision Transformer (ViT) learns specific visual cues from the available source domains, capturing task-relevant details that might be absent from the general-purpose VLM.
  3. Fusion Module: Using Multi-Headed Self-Attention (MSA), this module allows the intrinsic modality features and visual features to interact. The intrinsic features guide the visual branch toward domain-agnostic shapes, while the visual branch provides the specific context needed for the task.

For complex scenarios like Open Domain Generalization, where training domains have disjoint label sets, INDIGO employs a Semantic Alignment Loss. This ensures learned representations stay aligned with class-specific text prompts (e.g., "a photo of a {class}"), preventing domain bias.

Experimental Evaluation

INDIGO was evaluated on several rigorous benchmarks, including DomainNet (6 domains, 345 classes), Office-Home (4 domains, 65 classes), and PACS (for OpenDG experiments).

Key Results

INDIGO consistently outperformed prior state-of-the-art (SOTA) methods:

  • DomainNet (Closed DG): INDIGO achieved an average accuracy of 54.54%, significantly surpassing the previous SOTA, SWAD (42.7%).
  • Office-Home: The framework reached 83.35% average accuracy, outperforming both standard ViTs and specialized DG algorithms.
  • Robustness: Even in "Open" settings or when training data was reduced by 50%, INDIGO maintained a strong lead, proving its robustness to data scarcity and label shifts.

Key Insights

  • Intrinsic Knowledge is Sufficient: The "latent" text space captured by models like CLIP acts as a powerful regularizer for domain shift, removing the need for manual captions.
  • Shape-Bias: INDIGO encourages the model to focus on underlying structure (shape) rather than domain-specific textures (e.g., brushstrokes in a painting).
  • Attention-Based Synergy: Simple feature concatenation is insufficient; self-attention in the fusion module is critical for the two branches to effectively negotiate feature importance.

Conclusion

INDIGO demonstrates that tapping into the intrinsic multimodal knowledge of pre-trained models is a highly effective and efficient strategy for domain generalization. While currently dependent on the quality of the underlying VLM, it sets a new bar for performance without the overhead of manual annotation. Future work may explore more sophisticated fusion mechanisms and extending the framework to tasks like semantic segmentation.

Summary updated

Abstract

For models to generalize under unseen domains (a.k.a domain generalization), it is crucial to learn feature representations that are domain-agnostic and capture the underlying semantics that makes up an object category. Recent advances towards weakly supervised vision-language models that learn holistic representations from cheap weakly supervised noisy text annotations have shown their ability on semantic understanding by capturing object characteristics that generalize under different domains. However, when multiple source domains are involved, the cost of curating textual annotations for every image in the dataset can blow up several times, depending on their number. This makes the process tedious and infeasible, hindering us from directly using these supervised vision-language approaches to achieve the best generalization on an unseen domain. Motivated from this, we study how multimodal information from existing pre-trained multimodal networks can be leveraged in an "intrinsic" way to make systems generalize under unseen domains. To this end, we propose IntriNsic multimodality for DomaIn GeneralizatiOn (INDIGO), a simple and elegant way of leveraging the intrinsic modality present in these pre-trained multimodal networks along with the visual modality to enhance generalization to unseen domains at test-time. We experiment on several Domain Generalization settings (ClosedDG, OpenDG, and Limited sources) and show state-of-the-art generalization performance on unseen domains. Further, we provide a thorough analysis to develop a holistic understanding of INDIGO.
BibTeX
@misc{mangla2022indigo,
  author = {Puneet Mangla and Shivam Chandhok and Milan Aggarwal and Vineeth N. Balasubramanian and Balaji Krishnamurthy},
  title = {{INDIGO: Intrinsic Multimodality for Domain Generalization}},
  year = {2022},
  eprint = {2206.05912},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.05912},
}
Figure