Skip to main content
QUICK REVIEW

[Paper Review] Domain Generalization by Mutual-Information Regularization with Pre-trained Models

Junbum Cha, Kyungjae Lee|arXiv (Cornell University)|Mar 21, 2022
Domain Adaptation and Few-Shot LearningComputer Science9 citations
TL;DR

This paper proposes MIRO, a domain generalization method that maximizes mutual information between a pre-trained model and the target model to learn robust, domain-invariant representations. By approximating an ideal oracle model with large-scale pre-trained backbones, MIRO achieves state-of-the-art performance on DomainBed benchmarks, especially with larger pre-trained models like CLIP and SWAG.

ABSTRACT

Domain generalization (DG) aims to learn a generalized model to an unseen target domain using only limited source domains. Previous attempts to DG fail to learn domain-invariant representations only from the source domains due to the significant domain shifts between training and test domains. Instead, we re-formulate the DG objective using mutual information with the oracle model, a model generalized to any possible domain. We derive a tractable variational lower bound via approximating the oracle model by a pre-trained model, called Mutual Information Regularization with Oracle (MIRO). Our extensive experiments show that MIRO significantly improves the out-of-distribution performance. Furthermore, our scaling experiments show that the larger the scale of the pre-trained model, the greater the performance improvement of MIRO. Source code is available at https://github.com/kakaobrain/miro.

Motivation & Objective

  • To address the limitation of existing domain generalization methods that fail under large distribution shifts due to overfitting to source domain biases.
  • To reframe domain generalization as maximizing mutual information between the target model and an oracle model that generalizes across all domains.
  • To develop a practical method that approximates the intractable oracle model using large-scale pre-trained models to enable tractable optimization.
  • To demonstrate that larger pre-trained models significantly improve generalization when combined with MIRO, unlike naive fine-tuning.
  • To provide a plug-and-play regularization method that enhances robustness without architectural changes or complex training protocols.

Proposed method

  • Reformulate the domain generalization objective as maximizing mutual information between the target model's features and an oracle model's features.
  • Approximate the oracle model using a large-scale pre-trained model (e.g., ImageNet, CLIP, SWAG) to make the objective tractable.
  • Derive a variational lower bound of the mutual information objective, leading to a differentiable regularization term between the pre-trained and target model representations.
  • Combine the standard empirical risk minimization (ERM) objective with the mutual information regularization term, controlled by a hyperparameter λ.
  • Use the pre-trained model both as initialization and as the oracle approximation, enabling plug-and-play integration with any backbone and dataset.
  • Apply the method in a fine-tuning setting, where the regularization encourages the target model to align with the pre-trained model’s robust, generalized features.

Experimental results

Research questions

  • RQ1Can maximizing mutual information with a hypothetical oracle model improve domain generalization beyond learning domain-invariant features?
  • RQ2Does approximating the oracle model with large-scale pre-trained models lead to better out-of-distribution generalization than standard fine-tuning?
  • RQ3How does the scale of the pre-trained model affect the performance gain from MIRO?
  • RQ4Is the mutual information regularization effective under large distribution shifts, such as between ImageNet and medical imaging datasets?
  • RQ5Can MIRO be combined with existing ensemble methods to further improve robustness?

Key findings

  • MIRO achieves state-of-the-art performance on the DomainBed benchmark, outperforming all existing methods across all settings, including different optimizers and pre-trained models.
  • With the ImageNet-pretrained ResNet-50, MIRO improves average accuracy from 64.2% (ERM) to 65.9%, a +1.7% gain.
  • With the CLIP-pretrained ViT-B, MIRO improves average accuracy from 61.1% (ERM) to 73.7%, a +12.6% gain, demonstrating strong gains on large-scale pre-trained models.
  • With the SWAG-pretrained RegNetY-16GF, MIRO improves average accuracy from 68.0% (ERM) to 74.1%, a +6.1% gain.
  • Combining MIRO with SWAD ensemble method further boosts performance to 77.3% average accuracy on SWAG backbone.
  • MIRO shows higher mutual information with the oracle model than naive fine-tuning, especially when using large-scale pre-trained models like CLIP and SWAG.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.