Lune

ICCV2023Top-tier venue

MAP: Towards Balanced Generalization of IID and OOD through Model-Agnostic Adapters

Min Zhang, Junkun Yuan, Yue He, Wenbin Li, Zhengyu Chen, Kun Kuang

Abstract

Deep learning has achieved tremendous success in recent years, but most of these successes are built on an independent and identically distributed (IID) assumption. This somewhat hinders the application of deep learning to the more challenging out-of-distribution (OOD) scenarios. Although many OOD methods have been proposed to address this problem and have obtained good performance on testing data that is of major shifts with training distributions, interestingly, we experimentally find that these methods achieve excellent OOD performance by making a great sacrifice of the IID performance. We call this finding the IID-OOD dilemma. Clearly, in real-world applications, distribution shifts between training and testing data are often uncertain, where shifts could be minor, and even close to the IID scenario, and thus it is truly important to design a deep model with the balanced generalization ability between IID and OOD. To this end, in this paper, we investigate an intriguing problem of balancing IID and OOD generalizations and propose a novel Model Agnostic adaPters (MAP) method, which is more reliable and effective for distribution-shift-agnostic real-world data. Our key technical contribution is to use auxiliary adapter layers to incorporate the inductive bias of IID into OOD methods. To achieve this goal, we apply a bilevel optimization to explicitly model and optimize the coupling relationship between the OOD model and auxiliary adapter layers. We also theoretically give a first-order approximation to save computational time. Experimental results on six datasets successfully demonstrate that MAP can greatly improve the performance of IID while achieving good OOD performance.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Out-of-Distribution Generalization via Risk Extrapolation (REx) cites In Search of Lost Domain Generalization
  • MetaCoCo: A New Few-Shot Classification Benchmark with Spurious Correlation cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • MetaCoCo: A New Few-Shot Classification Benchmark with Spurious Correlation cites Prompt-Based Distribution Alignment for Unsupervised Domain Adaptation
  • MetaCoCo: A New Few-Shot Classification Benchmark with Spurious Correlation cites Debiased Collaborative Filtering with Kernel-Based Causal Balancing
  • Debiased Collaborative Filtering with Kernel-Based Causal Balancing cites MetaCoCo: A New Few-Shot Classification Benchmark with Spurious Correlation
  • Gradient Starvation: A Learning Proclivity in Neural Networks cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Debiased Collaborative Filtering with Kernel-Based Causal Balancing cites Prompt-Based Distribution Alignment for Unsupervised Domain Adaptation
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites An Investigation of Why Overparameterization Exacerbates Spurious Correlations
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Prompt-Based Distribution Alignment for Unsupervised Domain AdaptationShuanghao Bai, Min Zhang, Wanqi Zhou, Siteng Huang et al.AAAI 2024 · 103 citations
  2. Debiased Collaborative Filtering with Kernel-Based Causal BalancingHaoxuan Li, Chunyuan Zheng, Yanghao Xiao, Peng Wu et al.ICLR 2024 · 29 citations
  3. Learning to Reweight for Generalizable Graph Neural NetworkZhengyu Chen, Teng Xiao, Kun Kuang, Zheqi Lv et al.AAAI 2024 · 26 citations
  4. Relaxing the Accurate Imputation Assumption in Doubly Robust Learning for Debiased Collaborative FilteringHaoxuan Li, Chunyuan Zheng, Shuyi Wang, Kunhan Wu et al.ICML 2024 · 25 citations
  5. MetaCoCo: A New Few-Shot Classification Benchmark with Spurious CorrelationMin Zhang, Haoxuan Li, Fei Wu, Kun KuangICLR 2024 · 18 citations

Builds on30

  1. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  2. In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 citations
  3. Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
  4. An Investigation of Why Overparameterization Exacerbates Spurious CorrelationsShiori Sagawa, Aditi Raghunathan, Pang Wei Koh, Percy LiangICML 2020 · 436 citations
  5. Gradient Starvation: A Learning Proclivity in Neural NetworksMohammad Pezeshki, Sékou-Oumar Kaba, Yoshua Bengio, Aaron C. Courville et al.NeurIPS 2021 · 378 citations

Related papers

  1. Meta OOD Learning For Continuously Adaptive OOD DetectionXinheng Wu, Jie Lu, Zhen Fang, Guangquan ZhangICCV 2023 · 15 citations
  2. Model-Agnostic Random Weighting for Out-of-Distribution GeneralizationYue He, Pengfei Tian, Renzhe Xu, Xinwei Shen et al.KDD 2024 · 1 citation
  3. Towards In-Distribution Compatible Out-of-Distribution DetectionBoxi Wu, Jie Jiang, Haidong Ren, Zifan Du et al.AAAI 2023 · 2 citations
  4. Masked Images Are Counterfactual Samples for Robust Fine-TuningYao Xiao, Ziyi Tang, Pengxu Wei, Cong Liu et al.CVPR 2023
  5. OoD-Bench: Quantifying and Understanding Two Dimensions of Out-of-Distribution GeneralizationNanyang Ye, Kaican Li, Haoyue Bai, Runpeng Yu et al.CVPR 2022 · 74 citations
Dusk over the sea between two cliffs drawn in fine vertical lines