In-N-Out: Pre-Training and Self-Training using Auxiliary Information for
Out-of-Distribution Robustness
- URL: http://arxiv.org/abs/2012.04550v3
- Date: Wed, 7 Apr 2021 16:47:17 GMT
- Title: In-N-Out: Pre-Training and Self-Training using Auxiliary Information for
Out-of-Distribution Robustness
- Abstract summary: In-N-Out 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.
We show both theoretically and empirically that In-N-Out outperforms auxiliary inputs or outputs alone on both in-distribution and OOD error.
- Score: 97.14973924276201
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: 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.
Related papers
- phepy: Visual Benchmarks and Improvements for Out-of-Distribution Detectors [0.0]
Testing OOD detection methods on real-world datasets is complicated by the ambiguity around which inputs are in-distribution (ID) or OOD.
We design a benchmark for OOD detection, which includes three novel and easily-visualisable toy examples.
We introduce two improvements, $t$-poking and OOD sample weighting, to make supervised detectors more precise at the ID-OOD boundary.
arXiv Detail & Related papers (2025-03-07T06:25:20Z) - Mining In-distribution Attributes in Outliers for Out-of-distribution Detection [5.1314912554605066]
Out-of-distribution (OOD) detection is indispensable for deploying reliable machine learning systems in real-world scenarios.
We propose a structured multi-view-based out-of-distribution detection learning framework, which facilitates rational handling of the intrinsic in-distribution attributes in outliers.
arXiv Detail & Related papers (2024-12-16T05:47:35Z) - Model Reprogramming Outperforms Fine-tuning on Out-of-distribution Data in Text-Image Encoders [56.47577824219207]
In this paper, we unveil the hidden costs associated with intrusive fine-tuning techniques.
We introduce a new model reprogramming approach for fine-tuning, which we name Reprogrammer.
Our empirical evidence reveals that Reprogrammer is less intrusive and yields superior downstream models.
arXiv Detail & Related papers (2024-03-16T04:19:48Z) - Ask Your Distribution Shift if Pre-Training is Right for You [74.18516460467019]
In practice, fine-tuning a pre-trained model improves robustness significantly in some cases but not at all in others.
We focus on two possible failure modes of models under distribution shift: poor extrapolation and biases in the training data.
Our study suggests that, as a rule of thumb, pre-training can help mitigate poor extrapolation but not dataset biases.
arXiv Detail & Related papers (2024-02-29T23:46:28Z) - Unsupervised Out-of-Distribution Detection by Restoring Lossy Inputs
with Variational Autoencoder [3.498694457257263]
We propose a novel VAE-based score called Error Reduction (ER) for OOD detection.
ER is based on a VAE that takes a lossy version of the training set as inputs and the original set as targets.
arXiv Detail & Related papers (2023-09-05T09:42:15Z) - Using Semantic Information for Defining and Detecting OOD Inputs [3.9577682622066264]
Out-of-distribution (OOD) detection has received some attention recently.
We demonstrate that the current detectors inherit the biases in the training dataset.
This can render the current OOD detectors impermeable to inputs lying outside the training distribution but with the same semantic information.
We perform OOD detection on semantic information extracted from the training data of MNIST and COCO datasets.
arXiv Detail & Related papers (2023-02-21T21:31:20Z) - Robustness to Spurious Correlations Improves Semantic
Out-of-Distribution Detection [24.821151013905865]
Methods which utilize the outputs or feature representations of predictive models have emerged as promising approaches for out-of-distribution (OOD) detection of image inputs.
We provide a possible explanation for SN-OOD detection failures and propose nuisance-aware OOD detection to address them.
arXiv Detail & Related papers (2023-02-08T15:28:33Z) - Training OOD Detectors in their Natural Habitats [31.565635192716712]
Out-of-distribution (OOD) detection is important for machine learning models deployed in the wild.
Recent methods use auxiliary outlier data to regularize the model for improved OOD detection.
We propose a novel framework that leverages wild mixture data -- that naturally consists of both ID and OOD samples.
arXiv Detail & Related papers (2022-02-07T15:38:39Z) - Introspective Distillation for Robust Question Answering [70.18644911309468]
Question answering (QA) models are well-known to exploit data bias, e.g., the language prior in visual QA and the position bias in reading comprehension.
Recent debiasing methods achieve good out-of-distribution (OOD) generalizability with a considerable sacrifice of the in-distribution (ID) performance.
We present a novel debiasing method called Introspective Distillation (IntroD) to make the best of both worlds for QA.
arXiv Detail & Related papers (2021-11-01T15:30:15Z) - Mind the Trade-off: Debiasing NLU Models without Degrading the
In-distribution Performance [70.31427277842239]
We introduce a novel debiasing method called confidence regularization.
It discourages models from exploiting biases while enabling them to receive enough incentive to learn from all the training examples.
We evaluate our method on three NLU tasks and show that, in contrast to its predecessors, it improves the performance on out-of-distribution datasets.
arXiv Detail & Related papers (2020-05-01T11:22:55Z) - Generalized ODIN: Detecting Out-of-distribution Image without Learning
from Out-of-distribution Data [87.61504710345528]
We propose two strategies for freeing a neural network from tuning with OoD data, while improving its OoD detection performance.
We specifically propose to decompose confidence scoring as well as a modified input pre-processing method.
Our further analysis on a larger scale image dataset shows that the two types of distribution shifts, specifically semantic shift and non-semantic shift, present a significant difference.
arXiv Detail & Related papers (2020-02-26T04:18:25Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.