Skip to main content
QUICK REVIEW

[Paper Review] Robustness to Spurious Correlations via Human Annotations

Megha Srivastava, Tatsunori Hashimoto|arXiv (Cornell University)|Jul 13, 2020
Machine Learning and Data ClassificationComputer Science26 citations
TL;DR

This paper proposes UV-DRO, a framework that enhances model robustness to spurious correlations by leveraging human-annotated natural language descriptions of unmeasured confounders (e.g., smoking, race, location). By treating these annotations as proxies for unobserved variables, the method formulates a distributionally robust optimization objective over potential test-time shifts, achieving 5–10% accuracy gains on digit recognition and 1.5–5% on NYPD stop prediction, approaching oracle performance.

ABSTRACT

The reliability of machine learning systems critically assumes that the associations between features and labels remain similar between training and test distributions. However, unmeasured variables, such as confounders, break this assumption---useful correlations between features and labels at training time can become useless or even harmful at test time. For example, high obesity is generally predictive for heart disease, but this relation may not hold for smokers who generally have lower rates of obesity and higher rates of heart disease. We present a framework for making models robust to spurious correlations by leveraging humans' common sense knowledge of causality. Specifically, we use human annotation to augment each training example with a potential unmeasured variable (i.e. an underweight patient with heart disease may be a smoker), reducing the problem to a covariate shift problem. We then introduce a new distributionally robust optimization objective over unmeasured variables (UV-DRO) to control the worst-case loss over possible test-time shifts. Empirically, we show improvements of 5-10% on a digit recognition task confounded by rotation, and 1.5-5% on the task of analyzing NYPD Police Stops confounded by location.

Motivation & Objective

  • To address model failure under distribution shifts caused by unmeasured confounders such as smoking, race, or location.
  • To leverage human commonsense knowledge of causal relationships to identify plausible test-time distribution shifts.
  • To develop a method that improves model robustness without requiring explicit measurement of confounding variables.
  • To demonstrate that natural language annotations of unmeasured variables can effectively guide distributionally robust optimization.

Proposed method

  • Augment training data with human-annotated natural language descriptions of potential unmeasured variables (UVs) that could explain label predictions.
  • Model the unmeasured variables as latent factors $ c $, conditioned on observed features $ x $ and labels $ y $, using crowdsourced $ c \mid x, y $ samples.
  • Formulate a new objective, UV-DRO (Unmeasured Variable Distributionally Robust Optimization), which minimizes the worst-case expected loss over possible test-time shifts in $ (x, c) $.
  • Use the conditional distribution $ p(c \mid x, y) $ from annotations to define the set of potential test distributions $ \mathcal{P} $, enabling covariate shift-style generalization.
  • Train models using UV-DRO to ensure performance robustness across diverse, unmeasured confounder shifts.
  • Process free-text annotations into vector representations (e.g., using distance matrices) to integrate them into the learning objective.

Experimental results

Research questions

  • RQ1Can human-annotated natural language descriptions of unmeasured confounders improve model robustness to spurious correlations?
  • RQ2To what extent can UV-DRO approximate the performance of an oracle model that knows the true confounder distribution?
  • RQ3How effective is UV-DRO compared to standard ERM and existing DRO baselines in real-world tasks with unmeasured variables?
  • RQ4Do the human-annotated unmeasured variables capture meaningful, interpretable factors such as race or socioeconomic context in high-stakes prediction tasks?

Key findings

  • UV-DRO achieved 5–10% accuracy improvements on a rotation-confounded MNIST digit recognition task, significantly outperforming standard ERM and existing DRO baselines.
  • On the NYPD stop prediction task, UV-DRO yielded a 1.5–5% accuracy gain, nearly half the gap between ERM and the oracle DRO model.
  • Crowdsourced annotations successfully captured interpretable unmeasured variables such as race, police judgment, and violent crime, with model weights aligning with domain knowledge.
  • A logistic regression model trained on annotations alone achieved 64.8% accuracy in predicting stop location, outperforming models using only observed features (61.3%).
  • Shuffling the annotation data or using standard DRO baselines provided no performance gains over ERM, confirming that UV-DRO’s success stems from the quality and structure of the human-annotated confounders.
  • The results demonstrate that human commonsense reasoning, when formalized via natural language annotations, can effectively model unmeasured confounders and enable robust generalization.

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.