Elamur Research

Predict then Interpolate: A Simple Algorithm to Learn Stable Classifiers

Paper · 2021 · Yujia Bao, Shiyu Chang and Regina Barzilay

Summary

A classifier can learn a clue that works wherever it was trained and still fail when that clue changes. If a word usually accompanies positive reviews in every training collection, checking performance across those collections may reward the classifier for relying on the word. The trouble becomes visible in a collection where the word typically accompanies negative reviews. Predict then Interpolate, or PI, asks how to expose this kind of shortcut during training, when the examples come from identifiable environments but the shortcuts themselves may be unknown.

The method starts by training a separate classifier in each environment. The authors then use each classifier to make predictions in the other environments and separate its correct answers from its mistakes. This changes the groups over which the final classifier is trained. A clue can point towards the right label among the successes and toward the wrong label among the errors, even when it points in the same direction in the original environments. The paper proves a covariance reversal under specific assumptions for binary classification. In that setting, there is a mixture of the new group distributions in which the unstable feature has zero covariance with the label. PI trains against the highest loss across the groups, which bounds the loss on that mixture without requiring the authors to identify its weights.

The authors test PI on handwritten digits with an artificial color cue, beer reviews with an artificial sentiment token, face images, and medical abstracts. On the synthetic tasks, they report an absolute test accuracy gain of 23.85% over invariant risk minimization, with PI approaching a benchmark that uses the injected cues to define its groups. On the natural tasks, they report a 12.41% gain over invariant risk minimization in average worst-group test accuracy. The natural experiments ask whether groups built from cross-environment predictions can improve performance on attributes that were unavailable for training and validation. The authors find opposing correlations for many of those attributes and gains over groups built from the known attributes and labels.

PI uses ordinary label annotations to make an additional distinction within each environment. The distinction matters because a change in the strength of a shortcut, short of a change in its direction, can be enough to reveal it in cross-environment errors. The exact reversal is a theoretical result with assumptions, and the loss guarantee applies to a mixture of the constructed groups. The experiments examine how far the same training procedure helps in settings where those assumptions are harder to justify.

Deep dive: Predict then Interpolate: A Simple Algorithm to Learn Stable Classifiers

Predict then Interpolate uses mistakes across training environments to group examples and train classifiers that rely less on unstable clues. · about 37 minutes to read

The problem and its context

When a shortcut survives every training split

A training environment is a collection of labeled examples with its own distribution. An environment could reflect when or where examples were collected, or it could be defined by an attribute already recorded for every example. The paper assumes that the learner knows the training environments and has access to task labels in them. A future environment is expected to preserve some of the relationships that make the task learnable, while other relationships may change. The authors call the former stable and use unstable for the latter. Stability is therefore a statement about a relationship across distributions.

The practical difficulty is that the unstable feature can be quite useful during training. A learner that minimizes average prediction loss has a reason to exploit any signal that improves its answers. That incentive can survive a move from average loss to worst-environment loss. Suppose a clue is somewhat useful in one environment and highly useful in another. Even a learner judged by its weakest environment can improve there by using the clue. A mixture formed by sampling whole examples from those environments can preserve the clue’s predictive direction. The authors focus on this situation because recording more than one environment gives the learner evidence of variation, yet treating the environments as ready-made robustness groups can leave that evidence underused.

The paper describes examples from several areas. In images of faces, visual attributes and demographic information can be associated in ways that are specific to the dataset. In natural language inference, the task is to judge the relationship between a premise and a hypothesis, and overlap in their words can help predict an entailment label without resolving the relationship. In molecular prediction, the authors cite differences in performance across molecular scaffolds. These examples motivate the same question about evaluation and training. If the data make a shortcut profitable, what comparison gives a learner a reason to stop depending on it? The underlying inference task is illustrated by A Large Annotated Corpus for Learning Natural Language Inference.

What earlier approaches asked the researcher to know

Some of the earlier methods start from an identified bias. Adversarial training tries to remove information about the bias from an internal representation. Example reweighting changes which observations count most during training. A product of experts combines predictions from a main classifier and a predictor designed around the bias. In the paper’s account, these approaches make the bias useful for designing the intervention. Knowing the bias can tell the researcher which input to give an auxiliary predictor, which information to suppress, or which examples ought to count more. Extending the intervention to a new task can therefore require additional knowledge about that task. The inference examples include Don’t Take the Premise for Granted and Avoiding the Hypothesis-Only Bias in Natural Language Inference via Ensemble Adversarial Training.

Group distributionally robust optimization, or group DRO, gives the researcher another way to encode that knowledge. The training examples are assigned to groups, and the learner tries to reduce the largest expected loss among those groups. In known-bias settings, the group definition can cross a label with a bias attribute. The resulting groups separate examples where the shortcut gives an easy answer from examples where it would mislead. If the group with the misleading cue is rare, pooled training can give it little influence. With group DRO, a high loss on that group can determine the objective even when its examples are scarce. The catch is that someone has to specify the feature or category used to build the groups.

The authors distinguish approaches that attempt to learn about unknown biases from mistakes made by deliberately weak predictors. A predictor with restricted capacity or limited training may discover simple heuristics first. Its errors can then guide training of another classifier. The paper acknowledges empirical gains from this approach on some language tasks and questions how broadly its premise applies. It also describes earlier image work where greater capacity could worsen reliance on unstable correlations. PI takes advantage of mistakes as well, but the contrast comes from training and testing the auxiliary classifier in different environments. The source environment determines which predictive relationships the auxiliary classifier has a chance to learn. The destination environment determines where those relationships pay off or fail. An example of the earlier approach is Towards Debiasing NLU Models from Unknown Biases.

Other approaches derive the training constraint directly from the existence of distinct environments. The comparison that matters most in this paper is invariant risk minimization, or IRM. Its aim is to find a representation of the inputs on which the same classifier is optimal across environments. The authors point to a gap between invariance of the final prediction rule and invariance of the evidence used to construct its inputs. A representation that directly encodes a predicted label can give every environment the same final decision rule even if the computation that produced the representation uses fragile features. The common rule alone says little about what happens when those features lose their association with the label. This is the concern the authors raise about Invariant Risk Minimization.

PI changes the role of environments in the training pipeline. Each environment first supplies a classifier that is free to exploit its own regularities. The other environments then reveal where that classifier’s decisions succeed and fail. Finally, the new groups determine which losses the final classifier has to control. Environment membership is still an input to the training procedure. Its value is that it can come from something easier to record than the shortcut the researcher eventually wants to handle.

The method, step by step

From a transferred prediction to a training group

Training begins with labeled examples in separate environments. The authors assume that examples in a given environment are drawn independently from its distribution. The set of environments is written as follows.

ℰ = {E₁, …, Eₙ}

Here ℰ is the collection of training environments, E₁ through Eₙ are its members, and n is the number of environments. The index i identifies a particular environment Eᵢ, with distribution Pᵢ. Each example has an input x and an observed label y. The eventual test environment, Eₜₑₛₜ, is a new collection whose stable predictive relationships are assumed to carry over from training.

First, the authors train a classifier fᵢ using the data in Eᵢ. This auxiliary classifier has a different job from the final classifier. Its fitting procedure can use any feature that helps in that environment. A shortcut that dominates in Eᵢ can make fᵢ especially revealing when applied elsewhere. Training a separate predictor for each environment makes it possible to compare errors in both directions. A clue may be stronger where the first predictor was trained, while the second predictor may have learned to put less weight on the same clue.

Next, the authors apply fᵢ to another training environment, Eⱼ. Every prediction can be checked against the existing label. Agreement sends the example to one group, and disagreement sends it to the other. The procedure then does the same for the other ordered pairs. The direction matters because the group formed when the classifier from Eᵢ predicts in Eⱼ can differ from the group formed when the classifier from Eⱼ predicts in Eᵢ.

Eⱼ = Eⱼⁱ✓ ∪ Eⱼⁱ×

Eⱼ is the destination environment and Eⱼⁱ✓ denotes its examples that fᵢ classifies correctly. Eⱼⁱ× denotes its examples that fᵢ classifies incorrectly. The marks ✓ and × mean correct and incorrect, respectively, and ∪ joins the groups into their original environment. The indices i and j refer to distinct training environments. For any one ordered pair, each example belongs to just one of its groups. An example can also appear in a group from a different ordered pair when more than one outside classifier is applied to its environment.

Finally, the final classifier f is trained with the groups produced in this way. It receives the task inputs and is judged on the same labels as the auxiliary classifiers. Its training loss differs because a group of mistakes can influence the objective independently of the larger environment from which it came. If an auxiliary classifier got almost all examples right by exploiting a shortcut, a small group where the shortcut fails can still matter. Correct predictions supply the other side of the comparison by preserving cases in which that auxiliary rule did work.

Training with Predict then Interpolate

The steps in order.

Training with Predict then InterpolateStep 1: Start with labeled examples in separate environments1. Start with labeled examples in separate environmentsStep 2: Fit a classifier within each environment2. Fit a classifier within each environmentStep 3: Predict labels in the other training environments3. Predict labels in the other training environmentsStep 4: Group examples by correct or incorrect prediction4. Group examples by correct or incorrect predictionStep 5: Estimate the final classifier’s loss in each group5. Estimate the final classifier’s loss in each groupStep 6: Train against the highest group loss6. Train against the highest group loss

What gets interpolated

Each group with examples defines an empirical distribution. A draw from such a distribution gives a labeled example from that group. The interpolation in PI is a mixture of those distributions. It changes the probabilities with which groups supply examples. A mixture leaves the inputs and labels of the individual examples intact. For a review, the words remain the review’s words. For an image, the color remains the color in the recorded example. What can change is how often examples with a given relationship between feature and label enter the loss.

The family of mixtures can be written in one expression. The non-negative weights are implicit in the paper’s use of interpolation.

𝒬 = { Σᵢ≠ⱼ (λⱼⁱ✓ Pⱼⁱ✓ + λⱼⁱ× Pⱼⁱ×) |
       λⱼⁱ✓, λⱼⁱ× ≥ 0 and Σᵢ≠ⱼ (λⱼⁱ✓ + λⱼⁱ×) = 1 }

𝒬 is the set of candidate distributions. Pⱼⁱ✓ and Pⱼⁱ× are the empirical distributions in the correct and incorrect groups from predicting in environment j using the classifier trained in environment i. Each λ is the mixture weight for the group with the matching indices and mark. Σᵢ≠ⱼ sums over the ordered pairs of distinct environments. The vertical bar introduces the conditions that each weight is at least 0 and all weights sum to 1. The conditions make each mixture a probability distribution.

For a fixed classifier, the expected loss of a mixture is the weighted average of the losses of its component groups. The largest such average can be attained by giving all the weight to a group with the largest loss. This is the vertex argument in the paper. The maximization over mixtures can therefore be replaced by a maximization over groups. The training objective is

min_f max_{P ∈ 𝒫} 𝔼_{(x,y) ∼ P}[ℒ(x,y; f)]

Here f is the final classifier, P is a candidate group distribution, and 𝒫 is the collection of the Pⱼⁱ✓ and Pⱼⁱ× distributions for distinct environments. The symbol ∈ means that P belongs to this collection. The expectation 𝔼 averages the loss under draws of (x, y) from P, as indicated by ∼. The function ℒ is the loss incurred by f on input x with label y. The max selects the largest expected group loss, and the min chooses f to make that loss as small as possible.

This objective explains why the procedure can work without estimating the interpolation coefficients that cancel a shortcut. The authors call the mixture that cancels it an oracle distribution, P*. If P* is among the mixtures in 𝒬, its expected loss is at most the highest expected group loss. This bound holds for any fixed classifier. Training attempts to lower the bound by improving the classifier where its group loss is highest. The bound is about loss on the mixture, so the optimizer can in principle reach it through any prediction rule that works sufficiently well on the groups. The theory about the construction of the mixture and a claim about the features used by the final classifier are separate steps.

A binary case in which the shortcut reverses completely

The toy construction makes these steps visible without an image or a sentence. The input contains a stable binary feature x₁ and an unstable binary feature x₂. The authors first draw x₁, giving the value 1 probability 0.5. They obtain the label y by flipping x₁ with probability 0.2, so the stable feature agrees with the observed label with probability 0.8 in both environments. Then they generate x₂ by copying y and flipping it with an environment-specific probability ηᵢ. In E₁, η₁ is 0, and in E₂, η₂ is 0.1. The unstable feature therefore agrees with the label with probability 1.0 in E₁ and 0.9 in E₂.

The classifier from E₁ can get everything right there by using x₂. Transferred to E₂, it is correct whenever x₂ agrees with y and wrong whenever x₂ disagrees. This makes the meaning of the partition unusually clear. The correct group has a correlation coefficient of 1 between x₂ and y, and the error group has a coefficient of −1. The example starts with a shortcut that helps in both environments and produces a group where it points in exactly the opposite direction.

P*(x₁, x₂, y) = 0.5 P₂¹✓(x₁, x₂, y) + 0.5 P₂¹×(x₁, x₂, y)

P* is the oracle joint distribution of the feature values x₁ and x₂ and the observed label y. P₂¹✓ and P₂¹× describe the correct and incorrect predictions in E₂ made by the classifier from E₁. Each coefficient of 0.5 gives its corresponding distribution equal weight. The paper shows that the correlation between x₂ and y is 0 in this mixture. The way the example was constructed also ensures that the stable feature relates to the label in the same way across groups.

The appendix examines why a prediction rule based on x₁ can minimize worst-group log loss in this toy construction. For a given stable feature and label, flipping the shortcut takes a corresponding example from one group to the other without changing its probability mass. A rule that treats that shortcut flip as evidence for a different label can improve the probability it gives the correct answer in one group and make it worse in the matching case in the other group. A predictor built from the stable coordinate has the same prediction on that pair. The log-loss expression for a predictor with both coordinates is

−log [ f(x₁, x₂, y) / (f(x₁, x₂, y) + f(x₁, x₂, 1 − y)) ]

Here f with three arguments denotes the quantities the appendix normalizes over the two labels at a fixed input. The arguments x₁ and x₂ identify the input, y is the observed label, and 1 − y is the alternative label. The fraction gives the probability assigned to the observed label at that input, and −log is the negative logarithm. The corresponding rule that removes the shortcut sums over its two values before forming the label probability.

f(Y | X₁) ∝ f(X₁, X₂ = 0, Y) + f(X₁, X₂ = 1, Y)

Here X₁, X₂, and Y denote the random variables for the stable feature, unstable feature, and label. The right side sums the contributions for the two values of X₂, 0 and 1. The sign ∝ indicates that the sum is proportional to the distribution on the left and must be normalized over Y at the given X₁. The appendix uses this symmetry to argue for a minimax solution that predicts from X₁ alone. Its worked calculation concerns the complementary groups produced by the transfer from E₁ to E₂. The general training recipe also constructs groups in the reverse direction.

How the theory describes a transferred error

Outside the toy case, correctness depends on the label and on the prediction made from the features. The analysis idealizes fᵢ as having learned the true source conditional Pᵢ(Y | X₁, X₂) and treats that conditional as the probability law for its prediction. This is stronger than saying that its most likely answer is usually correct. Under the probability interpretation, each destination example contributes to the correct group according to the source probability of predicting its observed label. The source probability of predicting the other label determines its contribution to the error group.

Pⱼⁱ✓(x₁, x₂, y) ∝ Pⱼ(x₁, x₂, y) · Pᵢ(y | x₁, x₂)

Pⱼⁱ✓ is the joint distribution in the correct group. Pⱼ(x₁, x₂, y) gives the probability of the feature values and label together in destination environment j. Pᵢ(y | x₁, x₂) is the source environment’s probability of label y given the two features. The dot multiplies those probabilities, and ∝ means that the product is normalized so the group probabilities sum to 1. The subscripts i and j track the environment of the predictor and the environment of the data, respectively.

Pⱼⁱ×(x₁, x₂, y) ∝ Pⱼ(x₁, x₂, y) · Pᵢ(1 − y | x₁, x₂)

Pⱼⁱ× is the joint distribution in the incorrect group. The first factor is still the destination probability of the feature and label combination. The second factor is the source conditional for the incorrect label, 1 − y. The formula uses the binary label values 0 and 1, which is why there is a single alternative label. As in the correct-group expression, ∝ calls for normalization, provided the group receives positive probability.

The probability of a correct transferred prediction gives the normalizing constant for the first group.

αⱼⁱ = Σ_{x₁,x₂,y} Pⱼ(x₁, x₂, y) · Pᵢ(y | x₁, x₂)

αⱼⁱ is the aggregate probability of agreement between the observed label from environment j and the prediction from the conditional in environment i. The sum runs over feature and label values. Each product combines the chance that a destination example has that precise combination with the chance of predicting its label under the source conditional.

Pⱼ(x₁, x₂, y) = αⱼⁱ Pⱼⁱ✓(x₁, x₂, y) + (1 − αⱼⁱ) Pⱼⁱ×(x₁, x₂, y)

The destination law Pⱼ is recovered when its correct and incorrect conditional group distributions are mixed in their original proportions. αⱼⁱ weights the correct group and its complement, 1 − αⱼⁱ, weights the incorrect group. The feature values x₁ and x₂ and the observed label y are the same arguments throughout. The oracle mixture can use a different balance because its purpose is to change the association with the shortcut.

If transferred predictions are always right or always wrong, this particular transfer yields a single nonempty group. The paper illustrates the all-wrong case with a feature that perfectly copies the label in one environment and perfectly reverses it in the other. There, the opposing associations are already present in the original environments and a mixture of those environments can cancel them. At the other endpoint, a predictor that has learned a perfectly reliable rule shared by both environments can leave no mistakes to analyze. The operational consequence of either endpoint is the loss of a contrast from that particular transfer.

When the errors have opposite signs

The theorem measures the feature–label relationship using covariance. Positive covariance says that higher values of the feature tend to accompany higher values of the label. Negative covariance says that the feature points the other way. The proof works with balanced label marginals, including balance in the group distributions where the proof applies it. It also uses stability of the joint law of the stable feature and label. The section of the proof that derives the sign comparison explicitly reasons about a binary unstable feature. A key structural assumption is that X₂ and X₁ are independent once Y is given.

Pᵢ(x₁, x₂, y) = Pᵢ(x₁, y) Pᵢ(x₂ | y)

Pᵢ(x₁, x₂, y) is the probability of the whole feature and label combination in environment i. Pᵢ(x₁, y) gives the joint probability for the stable feature value and the label. Pᵢ(x₂ | y) gives the conditional probability of an unstable feature value at that label. Conditional independence permits this factorization because knowledge of x₁ adds no information about x₂ once y is fixed. The binary toy construction has this structure because the mechanism that flips the shortcut draws it from the label.

The theorem also equates the unweighted class-conditional totals for the unstable feature across the two environments.

Σ_y Pᵢ(x₂ | y) = Σ_y Pⱼ(x₂ | y)

The sum runs over the possible labels y for a fixed value x₂. Pᵢ and Pⱼ supply the respective probabilities of that feature value within each label. The equality is required for each x₂. With uniform labels, this condition compares the same label-weighted contributions to the marginal feature distribution in both environments. It still permits the way the feature is associated with either label to vary.

Cov(X₂, Y; Pᵢ) > Cov(X₂, Y; Pⱼ)
⇒ Cov(X₂, Y; Pⱼⁱ×) < 0 and Cov(X₂, Y; Pᵢʲ×) > 0

Cov measures the covariance between unstable feature X₂ and label Y under the distribution named after the separator inside the parentheses. Pᵢ and Pⱼ are the original environment distributions. Pⱼⁱ× is the error distribution when i predicts in j, and Pᵢʲ× is the error distribution for the reverse transfer. The arrow means the inequality on the left implies the two sign statements on the right under the theorem’s assumptions. The ordering on the left can describe two original covariances of the same sign. The group covariances in the conclusion are on opposite sides of 0.

The intuition differs in the two directions. A predictor trained where the shortcut has the stronger association can make too much use of it in the environment with the weaker association. Cases where the shortcut fails therefore become more prominent among its errors. In the reverse transfer, a predictor can give the shortcut too little influence for the environment where it is stronger. Its errors can then include more cases in which the shortcut agrees with the answer. The paper concludes that the resulting mixtures include a P* on which the unstable covariance is 0. This P* can depend on the feature under consideration.

The authors also give inequalities for a setting without the restrictive conditional-independence and class-conditional matching assumptions of the sign result. The other conditions used in the derivation, including the label-marginal assumptions, still matter. In the following bounds the shorthand C(P) denotes Cov(X₂, Y; P).

C(Pⱼⁱ×) < [(1 − αⱼⁱ) / αᵢⁱ] C(Pᵢⁱ✓)
          − [(1 − αⱼⁱ) / αⱼⁱ] C(Pⱼⁱ✓)

The inequality bounds the covariance in the errors from transferring i to j from above, when the original covariance is greater in Pᵢ than in Pⱼ. Pᵢⁱ✓ describes the successes of fᵢ within its own environment, and αᵢⁱ is the probability of those in-environment successes. Pⱼⁱ✓ and αⱼⁱ are the correct-group distribution and probability for the transfer from i to j. The complement 1 − αⱼⁱ is that transfer’s error probability. Division here requires the correct-group probabilities in the denominators to be non-zero.

C(Pᵢʲ×) > [(1 − αᵢʲ) / αⱼʲ] C(Pⱼʲ✓)
          − [(1 − αᵢʲ) / αᵢʲ] C(Pᵢʲ✓)

This inequality bounds the covariance in the reverse transfer’s errors from below under the same original ordering. Now αⱼʲ and Pⱼʲ✓ refer to fⱼ’s successes in its own environment. αᵢʲ and Pᵢʲ✓ describe its successes when predicting in i, and 1 − αᵢʲ gives the probability of an error there. Each C is evaluated in the distribution within its parentheses. These bounds compare error covariances with weighted quantities from correct predictions. The right sides can have different signs depending on those quantities, so the bounds alone leave the signs of the errors unresolved.

How the objective is trained

In the experiments, the authors implement the last stage by sampling a batch from each group at each step and minimizing the highest batch loss. For the methods they compare, they use a batch size of 50, evaluate on validation data every 100 batches, and stop when performance has failed to improve for the past 20 evaluations. The per-group batches turn the population objective into a training calculation on samples. Each group gets a chance to determine the update according to its estimated loss.

The authors tune the learning rate and use strong regularization to control overfitting. The text classifiers use dropout, which suppresses selected activations during training. The tested dropout rates are 0.1, 0.3, and 0.5. The image classifiers use weight decay. The experiments proceed without data augmentation. The optimizer used for the updates is Adam.

The reported experiments use the basic classification pipeline. For regression, the authors suggest replacing correctness with a split based on a threshold on squared prediction error. They also suggest repeating the fitting and partitioning stages, taking the new groups as environments for another pass. These proposals describe possible ways to construct groups beyond the basic case. The authors release code and data for Predict then Interpolate.

Experiments and results

Synthetic shifts with a known shortcut

The synthetic experiments give the researchers control of which feature changes and by how much. The underlying tasks are handwritten digit classification on MNIST and aspect-level sentiment classification on BeerReview. An aspect is the part of the beer a review describes, so look, aroma, and palate are separate binary tasks. The added clues are designed to make prediction easy during training and unreliable on the test distribution. That design also makes it possible to build a reference system using the clue’s identity.

On MNIST, the authors construct the task label from the digit shown in the image. The label equals the pictured digit with probability 0.75. Otherwise it is a uniformly chosen different digit. The color value is then drawn using the noisy task label. With probability η it agrees with that label, and in the remaining cases it takes a uniformly chosen different value. The training environments use η values of 0.9 and 0.8. At test time η is 0.1. The image shape thus has a label relationship that survives the construction, while the reliability of the color cue changes. The noise on the target also gives training a reason to prefer the more reliable color cue.

The MNIST training environments are made from the official training split and have 14,995 examples each. The validation and test samples come from the official testing split, with 2497 examples apiece. The distribution assigned to a validation sample still depends on the experiment, because the synthetic environment is defined by how the color is generated. The authors encode the color as the first dimension of a 10 × 28 × 28 input tensor. The network that classifies digits contains two convolutional layers and two fully connected layers. The reported majority baseline for this task is 10% accuracy.

BeerReview adds a token to reviews whose aspect labels are positive or negative. The artificial positive and negative tokens give a clue to the corresponding sentiment. The token agrees with the label with probability 0.9 in the first training environment and 0.8 in the second. In the test environment it agrees with probability 0.1. The review labels are kept as they are, and the change is confined to the injected token. This gives the experiments a textual counterpart to the color channel and leaves a direct way to test how much a prediction responds to the shortcut.

The BeerReview processing removes reviews with fewer than 10 tokens or more than 300. For each aspect, the authors sample examples while keeping the label marginal uniform. Each training environment contains 4998 reviews, the validation split contains 4998, and the test split contains 5000. The majority baseline for the binary aspect tasks is 50% accuracy. The text classifier encodes words with pretrained FastText vectors and applies convolutional filters of sizes 3, 4, and 5. Pooling and a nonlinear activation turn these local features into a representation for a linear prediction layer, and a softmax converts its scores into probabilities. The underlying data processing follows Rationalizing Neural Predictions.

What the comparisons hold fixed

The authors use the same architecture for the compared methods within each task. Empirical risk minimization, or ERM, pools the training environments and fits the classifier on the resulting examples. IRM tries to make the same linear predictor optimal on top of its representation across the training environments. Its implementation applies an invariance penalty to the final hidden layer. Regret minimization, or RGM, uses predictors trained with and without access to a given environment. The difference between their losses provides a measure of how much leaving that environment out hurts performance. Both IRM and RGM tune the strength of their regularizer and the point in training when it is applied. The paper describes their hyper-parameter search spaces as 21 times as large as those of the other methods.

The DRO baseline uses the same type of loss objective as PI and uses environment membership crossed with the observed label to define groups. For the review task, the groups distinguish positive from negative reviews within each training environment. That comparison isolates an important part of the method. A gain over this baseline can come from changing which examples are grouped together while preserving the basic form of robust training. The synthetic Oracle baseline uses the injected feature and observed label to define its DRO groups. It has access to the shortcut’s identity, so it can explicitly represent cases where the shortcut conflicts with the label. Oracle is the name of this benchmark classifier. P* in the theory is a mixture distribution whose weights are unknown during PI training.

Each synthetic task is evaluated on test accuracy under two validation protocols. In one, validation examples have the shortcut behavior of the training environments. In the other, validation examples are drawn from the test environment, with examples held out from the final test set. This gives model selection information about different things. Training-environment validation asks which fitted classifier works best in the distributions the learner already knows. Test-environment validation can reward a classifier that handles the shift before its final evaluation. The test metric stays the same, while the information used to choose a classifier changes.

Test accuracy under synthetic shifts

Pooled training and DRO on the environment-and-label groups both exploit the injected feature. The direction of the shortcut remains favorable in both training environments, so making the learner pay attention to each of those groups still rewards some use of the cue. When the cue is weaker on the held-out test distribution, these methods generalize poorly. IRM and RGM can recover useful stable relationships when the validation environment has the test behavior. Their test results fall back toward ERM when validation instead reflects the training distributions. The authors take this to indicate that the comparison includes the validation protocol.

PI improves across the four synthetic tasks and is less sensitive to which kind of validation distribution is used. The paper reports a 20.06% improvement in test accuracy over the best baseline when validation comes from the training environments, and a 12.97% improvement when validation comes from the test environment. These figures describe the gaps relative to the best baseline under the respective protocols. The paper separately reports 23.85% absolute accuracy improvement over IRM for its synthetic experiments. That number names a specific comparator and the validation figures use the best baseline. The authors report an average difference of 2% between PI’s test accuracy and Oracle’s across the synthetic comparisons.

PI test accuracy gain over the best baseline on MNIST and BeerReview by validation source

PI improves test accuracy under both protocols, with the larger reported gain under training-environment validation.

PI test accuracy gain over the best baseline on MNIST and BeerReview by validation sourcePI with test-environment validation (this paper): 12.97PI with test-environment validation(this paper)12.97PI with training-environment validation: 20.06PI with training-environment validation20.06
The numbers
System or settingtest accuracy improvement %
PI with test-environment validation (this paper)12.97
PI with training-environment validation20.06

The near-oracle comparison answers a specific question about this experimental design. It shows how much test accuracy PI recovers relative to a classifier whose groups directly expose the artificial cue. Some difficulty remains even for the oracle setup because the stable input has its own limitations. The MNIST label can differ from the digit drawn in the image, and the BeerReview task still requires recognizing sentiment about a particular aspect. Consequently, Oracle is a reference for the value of knowing the shortcut in these data, with the same basic predictor and task still in place.

Natural environments and unknown attributes

On CelebA, the input is a face image associated with 40 binary attributes. The authors choose blond versus dark hair as the task. They define the training environments using the dataset’s female and male gender values. The goal is to improve performance on other attributes, such as whether the person is wearing a hat, without using those attributes for training or validation. The original train, validation, and test splits are retained. The two training environments contain 94,509 and 68,261 images, respectively. The validation set contains 19,867 examples and the held-out test set contains 19,962. The classifier starts from pretrained ResNet50 weights, with the final layer initialized anew for hair color prediction.

ASK2ME uses medical abstracts from PubMed. Each abstract is associated with 17 binary disease attributes generated by rules. The supervised task is to identify whether the abstract is informative about cancer risk in carriers of gene mutations. Disease presence helps define the environment in which an example appears. The named attribute is breast_cancer, with value 0 defining one environment and value 1 defining the other. The experiment asks whether the resulting groups also improve performance when the test data are sliced by other diseases.

The authors randomly allocate 50% of the ASK2ME examples to training, 20% to validation, and 30% to testing. The training groups contain 2227 abstracts with breast_cancer equal to 0 and 1394 with the attribute equal to 1. There are 1448 validation examples and 2173 test examples. The ASK2ME classifier uses the BeerReview text architecture. This puts the same kind of robust group objective on a setting where the input and target differ substantially from sentiment prediction.

In both natural datasets, the criterion for validation is worst-group accuracy on groups made from the known environment attribute and the task label. For CelebA, the validation groups distinguish blond and dark hair examples within each gender value. On ASK2ME, the groups cross the breast_cancer value with the binary task outcome. This selection criterion lets a poor result on a particular label and environment combination matter even when the other groups have high accuracy. The unknown attributes enter when the selected classifiers are evaluated on held-out test data.

At test time, the authors form groups for each attribute and examine their accuracies. Worst-group accuracy for an attribute reports how accurately the classifier predicts in the group with the lowest accuracy. Average-group accuracy summarizes performance across that attribute’s groups. Averaging worst-group accuracy across attributes answers another question. It describes how well the classifier handles the difficult group of a typical evaluated attribute. The weakest groups under different attributes need not contain the same examples, and the average summarizes a series of evaluations on the attributes separately.

What changes with learned groups

In the natural experiments, environment-and-label DRO already outperforms IRM and RGM on test worst-group accuracy averaged across attributes. On the known environment attributes, breast_cancer and gender, the authors describe improvements of almost 10% over other baselines. The gain on the known attribute does not carry over in equal measure to the other attributes. Improving a validation criterion tied to gender, for instance, gives direct feedback about the gender and label groups. Its feedback about a group defined by a different visual attribute is indirect.

PI improves on DRO in the natural experiments, with reported gains of 6.81% on ASK2ME and 2.79% on CelebA in the comparison of test worst-group accuracy averaged over attributes. The paper also reports that PI improves average worst-group accuracy by 12.41% over IRM on its natural environments. This result concerns the evaluated groups and their test accuracy. It captures a benefit beyond the attribute available for training and validation.

PI gain over DRO in average worst-group test accuracy on the natural datasets

Cross-environment groups improve on environment-and-label groups on both datasets, with the larger reported gain on ASK2ME.

PI gain over DRO in average worst-group test accuracy on the natural datasetsPI on CelebA (this paper): 2.79PI on CelebA (this paper)2.79PI on ASK2ME: 6.81PI on ASK2ME6.81
The numbers
System or settingaverage worst-group accuracy improvement %
PI on CelebA (this paper)2.79
PI on ASK2ME6.81

ASK2ME and CelebA differ in what it means for an attribute to be known. The ASK2ME attributes are defined by rules applied to abstracts, whereas CelebA’s attributes are human annotations. In both cases, the task label is available to check the transferred predictions. The experiments show that this check can expose difficult examples associated with attributes left out of group construction. A larger gain on ASK2ME gives a result for that task and those attribute groups. The difference across datasets does not identify which of their many design differences caused the gain.

Training cost and convergence

The authors time the methods on MNIST and ASK2ME. Their direct implementation samples from each group for a worst-loss update, which makes the cost sensitive to the number of groups. In those timing experiments, DRO, PI, and Oracle take approximately 4 times as long as the other methods. PI has the extra cost of fitting the environment-specific classifiers, but its total runtime is similar to DRO on the two timed datasets. On MNIST with validation drawn from the training environments, the reported final-stage convergence times are 50 epochs for PI and 72 epochs for DRO.

Final-stage training epochs on MNIST with training-environment validation

PI’s final robust training stage converges sooner than the corresponding DRO run.

Final-stage training epochs on MNIST with training-environment validationDRO: 72DRO72PI (this paper): 50PI (this paper)50
The numbers
System or settingepochs
DRO72
PI (this paper)50

The epoch comparison concerns the final stage on MNIST. The total runtime discussion includes the auxiliary fits. On ASK2ME, the timing comparison uses validation based on the breast_cancer groups and held-out evaluation based on average worst-group accuracy across all 17 attributes. The authors suggest that an online group DRO procedure could reduce the cost of the final stage. Their timing evidence comes from the direct implementation they actually tested.

What the ablations show

The partitions change the direction of the artificial cue

The most direct mechanism check measures the Pearson correlation between the injected feature and the label before and after splitting by prediction correctness. Pearson correlation gives a standardized measure of their association. The authors find positive correlation in both original training environments and negative correlation in the errors made when predicting in the second environment with the classifier from the first. This matters because the injected feature was deliberately useful in both original environments. The change in sign is a property of the group produced by conditioning on errors.

The construction of this group uses training examples and the auxiliary classifier alone. Choosing a different validation protocol for selecting among final classifiers does not change the phenomenon the correlation comparison is designed to measure. Separating those parts of the experiment makes the explanation more informative. Validation can change the test accuracy of a selected classifier, while the group diagnostic says whether the training environments and transferred predictions created the contrast that PI seeks.

The test accuracy comparison with environment-and-label DRO complements this diagnostic. Both methods can assign high influence to a group where the current classifier has poor performance. With environment-and-label groups, the injected clue still tends to be helpful inside the available training environments. With the prediction-based groups, the errors expose settings where the same use of the clue would hurt. The correlation table examines the change in the training signal, and the accuracy comparison examines how classifiers trained under it perform after the cue changes.

The strength of the cue and the gap between environments

The authors vary the synthetic shortcut on BeerReview to study what the method needs from the training environments. They examine 45 environment pairs and vary, starting at zero, the probability that the artificial token matches the label.80 to 0.89. The plotted outcome is test accuracy for the aroma task. The study varies both how dependable the shortcut is in the training data and how much its dependability differs between the two environments.

The classifier generalizes better where the shortcut is weaker. With a less reliable artificial token, the review text has more opportunity to guide training because a decision based on the token is less consistently successful. The authors also observe better generalization as the gap between the two environments grows. A transferred predictor then encounters a more appreciable change in how helpful the cue is. Its successes and errors give a clearer separation of cases with different feature–label behavior.

The equal-distribution case explains why the gap matters. If both environments draw examples from the same law, comparing them gives no evidence about which associations will change in another distribution. A classifier can still make mistakes because a task is noisy or hard. A partition based on those mistakes can still contain genuinely difficult examples. The environment comparison, however, supplies no reason to attribute that difficulty to a relationship that shifted between training collections. The authors’ controlled study gives an empirical account of this dependence in the BeerReview setting. It leaves open how strong a difference a real application needs.

Which natural attributes get opposing correlations

For the natural datasets, the authors plot correlations between the label and individual attributes across environments and partition groups. The point is to check whether the method changed the feature–label associations for attributes that were absent from training and validation group definitions. On ASK2ME, they report opposing correlations for 13 out of 15 attributes in the analysis. On CelebA, they report opposing correlations for 22 out of 38. These denominators are the monitored sets in the reversal analysis. The datasets’ attribute counts and the sets used in the reported aggregate evaluations serve different purposes.

The figures illustrate why variation in magnitude can be enough. Two environments can agree on which label is associated with an attribute while disagreeing about how strongly the attribute points toward that label. The transferred classifiers make different errors in such environments. Among those errors, and among the corresponding successes, the authors find groups where an attribute can point in opposing directions. An oracle mixture which neutralizes one attribute can have different weights from the mixture that neutralizes another. The plots test for the existence of these contrasts attribute by attribute.

The CelebA diagnostic also shows a transfer that gives a simple partition. The blond-label probability is 0.24 in the female training environment and 0.02 in the male training environment. The classifier trained on the male environment predicts dark hair for every example when transferred to the female environment. Its errors are the female blond cases, and its successes are the female dark cases. This transfer reproduces groups already present in environment-and-label DRO. In the reverse direction, the classifier trained in the female environment creates groups in the male environment with opposing correlations. The departures from the baseline grouping can therefore come from one transfer direction even when the other direction reconstructs familiar groups.

This comparison also clarifies what prediction-based splitting can pick up besides a shortcut. A difference in label prevalence can strongly influence a transferred classifier. In the constant-prediction case, any attribute differences between the correct and incorrect groups have to be read with the fact that these groups are separated by their labels. The observed benefit of the algorithm combines the useful effects of the groups it actually constructs. The result does not require every auxiliary classifier to act as a detector of the same kind of bias.

What masking and penalty changes reveal

The authors use a Beer Look example to examine which tokens influence predictions. They mask tokens individually and look at the change in the predicted outcome. For the example shown, PI and Oracle correctly predict negative sentiment and their decisions show little reliance on the artificial token. RGM and IRM give more attention than ERM to a review word such as tiny, but they still depend heavily on the artificial clue. This is a check on the dependence of particular predictions on particular inputs, which is a different kind of evidence from test accuracy.

A single-word mask is a local intervention on one review. It shows how the classifier responds when a selected word disappears from that input. The result is consistent with the group-training explanation because it shows reduced dependence on the artificially injected feature in a concrete case. The display supplies no estimate of how often that behavior occurs across reviews, and the effect of masking one word can depend on what else is in the text.

The authors also vary IRM’s gradient penalty. They track the penalty and the cross-entropy objective, which increases when the classifier assigns low probability to the correct label. The penalty remains much smaller than the cross-entropy term in the reported analysis, while the fitted classifier can still overfit the unstable correlations. As the penalty is increased further, training and validation behavior quickly approaches that of ERM. This analysis concerns the implementation and regularization settings studied here. In the broader comparison, the choice of validation distribution also affects whether IRM selects a classifier that handles the synthetic shift. Together these experiments locate difficulties in the tested training and selection procedure without treating any single penalty setting as a verdict on invariance as a learning principle.

Limitations

Limits the authors state

The authors explicitly distinguish the guaranteed existence of an oracle mixture under their assumptions from a guarantee about the learned classifier. The group objective upper-bounds its risk on that mixture. The group with the highest loss can be somewhere else in the mixture family, so the final training objective can be governed by difficulties other than the one isolated by the oracle. A classifier can still use the unstable feature in a way compatible with its group losses. The binary toy case has a symmetry that supports a stable-feature solution. The authors caution against extending that reasoning to every setting.

They also acknowledge that conditional independence of the stable and unstable features given the label can be too restrictive. The theorem uses assumptions about label marginals and about comparable class-conditional feature totals. In a setting without the restrictive structural assumptions, the upper and lower bounds leave the signs of error-group covariances contingent on quantities from the success groups. The practical procedure can still be run. The stronger claim that errors on the two transfers have opposite signs requires the conditions used to support it.

Variation across training environments is another prerequisite the authors identify. When the environment distributions coincide, the comparison no longer reveals which correlations remain stable when the data change. At the endpoints where a transfer makes entirely correct or entirely incorrect predictions, one of the conditional groups is absent. The original environments can already provide the required sign difference in the completely reversed example. In general, a transfer with no examples on one side of the correctness split contributes less evidence than a useful pair of groups.

The analysis centers on binary classification. The appendix proposes viewing each class in a multiclass task through a binary indicator of whether it is present. The multiclass MNIST experiment shows favorable test performance for the procedure with 10 digit classes. This experiment and the proposed indicator construction serve different purposes. The experiment establishes behavior in that controlled case, while classwise binary reasoning does not establish that one weighting simultaneously removes every class-specific shortcut. The regression and iterative partition proposals are left for future work.

Limits implied by the analysis and experimental setup

In the probability calculation, learning the true source conditional and using it as the law of the transferred prediction are idealizations. A fitted classifier can estimate that conditional imperfectly. A hard label chosen from a probability vector can also have a different error distribution from a label sampled from the vector. These distinctions matter because it is the probability of assignment to a group that multiplies the destination law in the proof. The observed errors in an application can reflect weak fit, class imbalance, or examples unlike those in the source environment, as well as shifts in a shortcut. The CelebA constant-prediction example gives one concrete case where label prevalence shapes the split.

The sign proof also warrants care on its own terms. In the appendix, one intermediate strict inequality displays the same product of two probabilities on both sides, with its factors exchanged. Those products are equal as written. The intended argument involves how probabilities from different environments are ordered. This flaw in the printed step belongs to the derivation of the sign claim. The group-risk upper bound follows separately from linearity of expected loss for a mixture, and the measured directions of the synthetic correlations are empirical observations.

Zero covariance is a specific property of a distribution. In a general input space it does not establish that the label is independent of all information about a shortcut, particularly when several features interact. Nor does a collection of sign reversals for individual attributes establish that a single mixture cancels them together. The ASK2ME discussion explicitly allows a different oracle distribution for each attribute. The worst-group objective bounds the loss on each mixture contained in its family, but good performance on a mixture that neutralizes one feature gives limited information about feature use on every future distribution.

The natural tests are held-out evaluations on slices defined by the datasets’ attributes. They show how well the selected classifiers perform on the groups the researchers can measure in those test sets. A different collection process can alter the feature distribution, labels, or their relationships in ways those slices never represent. The synthetic tests do impose a deliberate change in the availability of a cue at test time. They isolate that change by constructing the shortcut themselves. The natural experiments have broader input variation and less direct control over what each attribute represents. These designs support complementary claims about robustness.

PI also relies on the task labels to make every correctness split. It reduces the need to annotate the particular shortcut in advance. The environment assignments and task labels remain part of the training data, while the unknown attribute annotations or rules are needed later to report attribute-specific results. This matters for interpreting the natural experiments. The favorable results come from settings with a known way to organize examples for training and a separate way to measure how performance extends across other groups. When auxiliary errors are sparse, empirical group loss can be estimated from relatively little data. The implementation’s strong regularization and validation procedure are part of the conditions under which the reported comparisons were made.

What came after

A later citation brings the robustness question back to natural language inference. The study concerns out-of-distribution performance, meaning performance on inputs drawn from a distribution different from the one used to fit or adapt the system. Its title identifies strategic data selection as the means of improving that performance and specifies closed-source inference systems as its setting. The related paper is Improving the OOD Performance of Closed-Source LLMs on NLI Through Strategic Data Selection.

The connection is at the level of how training data influence performance after a shift. Predict then Interpolate uses cross-environment errors to organize already labeled examples and lets the most difficult constructed group drive the loss. The later study’s stated approach puts the choice of data at the center of an inference experiment. Its title and citation establish the problem and general approach. They leave open whether it uses correctness partitions, compares against PI, or adopts any part of the mixture objective. The two papers can therefore be connected through their concern with the information conveyed by selected examples, while the particular role of PI in the later study remains unspecified.

Cite

Cite as Yujia Bao, Shiyu Chang and Regina Barzilay. 2021. Predict then Interpolate: A Simple Algorithm to Learn Stable Classifiers. arXiv (Cornell University).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2105.12628 · arXiv 2105.12628

@misc{bao2021predict,
  title = {{Predict then Interpolate: A Simple Algorithm to Learn Stable Classifiers}},
  author = {Yujia Bao, Shiyu Chang and Regina Barzilay},
  year = {2021},
  doi = {10.48550/arxiv.2105.12628},
  eprint = {2105.12628},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2105.12628}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/bao-2021-predict-then-interpolate-simple-algorithm/

References

45 references, from the paper's own bibliography.

  1. Ahuja, K., Shanmugam, K., Varshney, K., and Dhurandhar, A. Invariant risk minimization games. In International Conference on Machine Learning, pp. 145–155. PMLR, 2020. OpenAlex ↗ · Scholar ↗
  2. Arjovsky, M., Bottou, L., Gulrajani, I., and Lopez-Paz, D. Invariant risk minimization. arXiv preprint arXiv:1907.02893, 2019. OpenAlex ↗ · Scholar ↗
  3. Bao, Y., Chang, S., Yu, M., and Barzilay, R. Deriving machine attention from human rationales. In Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing, pp. 1903–1913, 2018. our card
  4. Bao, Y., Deng, Z., Wang, Y., Kim, H., Armengol, V. D., Acevedo, F., Ouardaoui, N., Wang, C., Parmigiani, G., Barzilay, R., Braun, D., and Hughes, K. S. Using machine learning and natural language processing to review and classify the medical literature on cancer susceptibility genes. JCO Clinical Cancer Informatics, 0 (3):0 1–9, 2019. . URL https://doi.org/10.1200/CCI.19.00042. PMID: 31545655. OpenAlex ↗ · Scholar ↗
  5. Belinkov, Y., Poliak, A., Shieber, S. M., Van Durme, B., and Rush, A. M. Don’t take the premise for granted: Mitigating artifacts in natural language inference. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 877–891, 2019. our card
  6. Ben-Tal, A., Den Hertog, D., De Waegenaere, A., Melenberg, B., and Rennen, G. Robust solutions of optimization problems affected by uncertain probabilities. Management Science, 590 (2):0 341–357, 2013. OpenAlex ↗ · Scholar ↗
  7. Bowman, S. R., Angeli, G., Potts, C., and Manning, C. D. A large annotated corpus for learning natural language inference. In Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing, pp. 632–642, Lisbon, Portugal, September 2015. Association for Computational Linguistics. . URL https://www.aclweb.org/anthology/D15-1075. our card
  8. Buolamwini, J. and Gebru, T. Gender shades: Intersectional accuracy disparities in commercial gender classification. In Conference on fairness, accountability and transparency, pp. 77–91, 2018. OpenAlex ↗ · Scholar ↗
  9. Chang, S., Zhang, Y., Yu, M., and Jaakkola, T. S. Invariant rationalization. arXiv preprint arXiv:2003.09772, 2020. OpenAlex ↗ · Scholar ↗
  10. Choe, Y. J., Ham, J., and Park, K. An empirical study of invariant risk minimization. arXiv preprint arXiv:2004.05007, 2020. OpenAlex ↗ · Scholar ↗
  11. Clark, C., Yatskar, M., and Zettlemoyer, L. Don’t take the easy way out: Ensemble based methods for avoiding known dataset biases. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 4060–4073, 2019. our card
  12. Deng, Z., Yin, K., Bao, Y., Armengol, V. D., Wang, C., Tiwari, A., Barzilay, R., Parmigiani, G., Braun, D., and Hughes, K. S. Validation of a semiautomated natural language processing–based procedure for meta-analysis of cancer susceptibility gene penetrance. JCO clinical cancer informatics, 3:0 1–9, 2019. OpenAlex ↗ · Scholar ↗
  13. Duchi, J. and Namkoong, H. Learning models with uniform performance via distributionally robust optimization. arXiv preprint arXiv:1810.08750, 2018. OpenAlex ↗ · Scholar ↗
  14. Gulrajani, I. and Lopez-Paz, D. In search of lost domain generalization. arXiv preprint arXiv:2007.01434, 2020. OpenAlex ↗ · Scholar ↗
  15. He, H., Zha, S., and Wang, H. Unlearn dataset bias in natural language inference by fitting the residual. EMNLP-IJCNLP 2019, pp. 132, 2019. our card
  16. Hinton, G. E. Training products of experts by minimizing contrastive divergence. Neural computation, 140 (8):0 1771–1800, 2002. OpenAlex ↗ · Scholar ↗
  17. Hu, W., Niu, G., Sato, I., and Sugiyama, M. Does distributionally robust supervised learning give robust classifiers? In International Conference on Machine Learning, pp. 2029–2037. PMLR, 2018. OpenAlex ↗ · Scholar ↗
  18. Jin, W., Barzilay, R., and Jaakkola, T. Enforcing predictive invariance across structured biomedical domains, 2020. OpenAlex ↗ · Scholar ↗
  19. Kim, Y. Convolutional neural networks for sentence classification. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1746–1751, Doha, Qatar, October 2014. Association for Computational Linguistics. . URL https://www.aclweb.org/anthology/D14-1181. our card
  20. Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
  21. Krueger, D., Caballero, E., Jacobsen, J.-H., Zhang, A., Binas, J., Zhang, D., Priol, R. L., and Courville, A. Out-of-distribution generalization via risk extrapolation (rex), 2020. OpenAlex ↗ · Scholar ↗
  22. LeCun, Y., Bottou, L., Bengio, Y., and Haffner, P. Gradient-based learning applied to document recognition. Proceedings of the IEEE, 860 (11):0 2278–2324, 1998. OpenAlex ↗ · Scholar ↗
  23. Lei, T., Barzilay, R., and Jaakkola, T. Rationalizing neural predictions. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pp. 107–117, 2016. OpenAlex ↗ · Scholar ↗
  24. Liu, Z., Luo, P., Wang, X., and Tang, X. Deep learning face attributes in the wild. In Proceedings of the IEEE international conference on computer vision, pp. 3730–3738, 2015a. OpenAlex ↗ · Scholar ↗
  25. Liu, Z., Luo, P., Wang, X., and Tang, X. Deep learning face attributes in the wild. In Proceedings of International Conference on Computer Vision (ICCV), December 2015b. OpenAlex ↗ · Scholar ↗
  26. Mahabadi, R. K., Belinkov, Y., and Henderson, J. End-to-end bias mitigation by modelling biases in corpora. ACL, 2020. our card
  27. Mayr, A., Klambauer, G., Unterthiner, T., Steijaert, M., Wegner, J. K., Ceulemans, H., Clevert, D.-A., and Hochreiter, S. Large-scale comparison of machine learning methods for drug target prediction on chembl. Chemical science, 90 (24):0 5441–5451, 2018. OpenAlex ↗ · Scholar ↗
  28. McAuley, J., Leskovec, J., and Jurafsky, D. Learning attitudes and attributes from multi-aspect reviews. In 2012 IEEE 12th International Conference on Data Mining, pp. 1020–1025. IEEE, 2012. OpenAlex ↗ · Scholar ↗
  29. McCoy, T., Pavlick, E., and Linzen, T. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 3428–3448, Florence, Italy, July 2019. Association for Computational Linguistics. . URL https://www.aclweb.org/anthology/P19-1334. our card
  30. Mikolov, T., Grave, E., Bojanowski, P., Puhrsch, C., and Joulin, A. Advances in pre-training distributed word representations. In Proceedings of the International Conference on Language Resources and Evaluation (LREC 2018), 2018. our card
  31. Oren, Y., Sagawa, S., Hashimoto, T., and Liang, P. Distributionally robust language modeling. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 4218–4228, 2019. OpenAlex ↗ · Scholar ↗
  32. Peters, J., Bühlmann, P., and Meinshausen, N. Causal inference using invariant prediction: identification and confidence intervals. arXiv preprint arXiv:1501.01332, 2015. OpenAlex ↗ · Scholar ↗
  33. Peters, J., Bühlmann, P., and Meinshausen, N. Causal inference by using invariant prediction: identification and confidence intervals. Journal of the Royal Statistical Society. Series B (Statistical Methodology), pp. 947–1012, 2016. OpenAlex ↗ · Scholar ↗
  34. Sagawa, S., Koh, P. W., Hashimoto, T. B., and Liang, P. Distributionally robust neural networks for group shifts: On the importance of regularization for worst-case generalization. arXiv preprint arXiv:1911.08731, 2019. OpenAlex ↗ · Scholar ↗
  35. Sagawa*, S., Koh*, P. W., Hashimoto, T. B., and Liang, P. Distributionally robust neural networks. In International Conference on Learning Representations, 2020. URL https://openreview.net/forum?id=ryxGuJrFvS. OpenAlex ↗ · Scholar ↗
  36. Sagawa, S., Raghunathan, A., Koh, P. W., and Liang, P. An investigation of why overparameterization exacerbates spurious correlations. In International Conference on Machine Learning (ICML), 2020. OpenAlex ↗ · Scholar ↗
  37. Sakaguchi, K., Le Bras, R., Bhagavatula, C., and Choi, Y. Winogrande: An adversarial winograd schema challenge at scale. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 34, pp. 8732–8740, 2020. our card
  38. Sanh, V., Wolf, T., Belinkov, Y., and Rush, A. M. Learning from others' mistakes: Avoiding dataset biases without modeling them. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=Hf3qXoiNkR. OpenAlex ↗ · Scholar ↗
  39. Schuster, T., Shah, D., Yeo, Y. J. S., Roberto Filizzola Ortiz, D., Santus, E., and Barzilay, R. Towards debiasing fact verification models. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pp. 3410–3416, Hong Kong, China, November 2019. Association for Computational Linguistics. . URL https://www.aclweb.org/anthology/D19-1341. our card
  40. Stacey, J., Minervini, P., Dubossarsky, H., Riedel, S., and Rocktäschel, T. Avoiding the Hypothesis-Only Bias in Natural Language Inference via Ensemble Adversarial Training. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 8281–8291, Online, November 2020. Association for Computational Linguistics. . URL https://www.aclweb.org/anthology/2020.emnlp-main.665. our card
  41. Utama, P. A., Moosavi, N. S., and Gurevych, I. Towards debiasing nlu models from unknown biases. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 7597–7610, 2020. our card
  42. Woodward, J. Making things happen: A theory of causal explanation. Oxford university press, 2005. OpenAlex ↗ · Scholar ↗
  43. Wu, Z., Ramsundar, B., Feinberg, E. N., Gomes, J., Geniesse, C., Pappu, A. S., Leswing, K., and Pande, V. Moleculenet: a benchmark for molecular machine learning. Chemical science, 90 (2):0 513–530, 2018. OpenAlex ↗ · Scholar ↗
  44. Yang, K., Swanson, K., Jin, W., Coley, C., Eiden, P., Gao, H., Guzman-Perez, A., Hopper, T., Kelley, B., Mathea, M., et al. Analyzing learned molecular representations for property prediction. Journal of chemical information and modeling, 590 (8):0 3370–3388, 2019. OpenAlex ↗ · Scholar ↗
  45. Zellers, R., Holtzman, A., Bisk, Y., Farhadi, A., and Choi, Y. HellaSwag: Can a machine really finish your sentence? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pp. 4791–4800, Florence, Italy, July 2019. Association for Computational Linguistics. . URL https://www.aclweb.org/anthology/P19-1472. OpenAlex ↗ · Scholar ↗