mlsanityData to 7 Oct 2026

In-N-Out: Pre-Training and Self-Training using Auxiliary Information for Out-of-Distribution Robustness

arXiv 2012.04550 ↗First posted 8 Dec 2020cs.LG stat.MLcited by 49

Not on the map. Why?

Abstract (arXiv)

Consider a prediction setting with few in-distribution labeled examples and many unlabeled examples both in- and out-of-distribution (OOD). The goal is to learn a model which performs well both in-distribution and OOD. In these settings, auxiliary information is often cheaply available for every input. How should we best leverage this auxiliary information for the prediction task? Empirically across three image and time-series datasets, and theoretically in a multi-task linear regression setting, we show that (i) using auxiliary information as input features improves in-distribution error but can hurt OOD error; but (ii) using auxiliary information as outputs of auxiliary pre-training tasks improves OOD error. To get the best of both worlds, we introduce In-N-Out, which first trains a model with auxiliary inputs and uses it to pseudolabel all the in-distribution inputs, then pre-trains a model on OOD auxiliary outputs and fine-tunes this model with the pseudolabels (self-training). We show both theoretically and empirically that In-N-Out outperforms auxiliary inputs or outputs alone on both in-distribution and OOD error.

Key facts. Cited by 49 papers in the map (data through 7 Oct 2026). First posted on arXiv 8 Dec 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 13; 2022: 13; 2023: 9; 2024: 8; 2025: 5; 2026: 1.

49 papers.

Sort:

  1. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  2. 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalizationcited by 220
  3. 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
  4. 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
  5. 2021Cycle Self-Training for Domain Adaptationcited by 120
  6. 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
  7. 2021Extending the WILDS Benchmark for Unsupervised Adaptationcited by 85
  8. 2021Can Subnetwork Structure be the Key to Out-of-Distribution Generalization?cited by 75
  9. 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
  10. 2022ZIN: When and How to Learn Invariance Without Environment Partition?cited by 58
  11. 2023Feed Two Birds with One Scone: Exploiting Wild Data for Both Out-of-Distribution Generalization and Detectioncited by 57
  12. 2022Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulationscited by 44
37 more
  1. 2022ID and OOD Performance Are Sometimes Inversely Correlated on Real-world Datasetscited by 44
  2. 2022Pareto Invariant Risk Minimization: Towards Mitigating the Optimization Dilemma in Out-of-Distribution Generalizationcited by 38
  3. 2023Trainable Projected Gradient Method for Robust Fine-tuningcited by 37
  4. 2021If your data distribution shifts, use self-learningcited by 36
  5. 2022Calibrated ensembles can mitigate accuracy tradeoffs under distribution shiftcited by 34
  6. 2022Identifying Weight-Variant Latent Causal Modelscited by 33
  7. 2024Beyond Concept Bottleneck Models: How to Make Black Boxes Intervenable?cited by 28
  8. 2023SPA: A Graph Spectral Alignment Perspective for Domain Adaptationcited by 22
  9. 2021Self-training Converts Weak Learners to Strong Learners in Mixture Modelscited by 19
  10. 2025Out-of-Distribution Generalization in Time Series: A Surveycited by 15
  11. 2021Pareto Navigation Gradient Descent: a First-Order Algorithm for Optimization in Pareto Setcited by 12
  12. 2023VIBE: Topic-Driven Temporal Adaptation for Twitter Classificationcited by 12
  13. 2023Rapid Network Adaptation: Learning to Adapt Neural Networks Using Test-Time Feedbackcited by 10
  14. 2024Distribution Shifts at Scale: Out-of-distribution Detection in Earth Observationcited by 10
  15. 2021Exploiting Position Bias for Robust Aspect Sentiment Classificationcited by 9
  16. 2022Towards Understanding GD with Hard and Conjugate Pseudo-labels for Test-Time Adaptationcited by 9
  17. 2021General Greedy De-bias Learningcited by 7
  18. 2022Breaking Correlation Shift via Conditional Invariant Regularizercited by 7
  19. 2023Holistic Transfer: Towards Non-Disruptive Fine-Tuning with Partial Target Datacited by 7
  20. 2024Robust Fine-tuning of Zero-shot Models via Variance Reductioncited by 6
  21. 2021RADU: Ray-Aligned Depth Update Convolutions for ToF Data Denoisingcited by 5
  22. 2024Invariant Risk Minimization Is A Total Variation Modelcited by 5
  23. 2023GeSS: Benchmarking Geometric Deep Learning under Scientific Applications with Distribution Shiftscited by 4
  24. 2024LEVI: Generalizable Fine-tuning via Layer-wise Ensemble of Different Viewscited by 4
  25. 2023Unsupervised domain adaptation by learning using privileged informationcited by 3
  26. 2025Out-of-distribution Generalization for Total Variation based Invariant Risk Minimizationcited by 3
  27. 2025Energy-Aware Deep Learning on Resource-Constrained Hardwarecited by 3
  28. 2021Identifying and Benchmarking Natural Out-of-Context Prediction Problemscited by 2
  29. 2022Time Will Change Things: An Empirical Study on Dynamic Language Understanding in Social Media Classificationcited by 2
  30. 2023Pushing the Accuracy-Group Robustness Frontier with Introspective Self-playcited by 2
  31. 2024Bridging Domains with Approximately Shared Featurescited by 2
  32. 2025SPA++: Generalized Graph Spectral Alignment for Versatile Domain Adaptationcited by 2
  33. 2022Towards In-distribution Compatibility in Out-of-distribution Detectioncited by 0
  34. 2024Preserving Silent Features for Domain Generalizationcited by 0
  35. 2024Towards Low-Energy Adaptive Personalization for Resource-Constrained Devicescited by 0
  36. 2026Environment-Conditioned Tail Reweighting for Invariant Learning under Mixed Shiftscited by 0
  37. 2025Disentangled Interest Network for Out-of-Distribution CTR Predictioncited by 0