NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Shifts: A Dataset of Real Distributional Shift Across Multiple Large-Scale Tasks

Andrey Malinin, Neil Band, Alexander Ganshin, German Chesnokov, Yarin Gal, Mark J. F. Gales, Alexey Noskov, Andrey Ploskonosov, Liudmila Prokhorenkova, Ivan Provilkov, Vatsal Raina, Vyas Raina, Mariya Shmatova, Panos Tigas, Boris YangelNeurIPS 2021

TL;DR

This paper introduces "Shifts," a novel large-scale dataset designed to evaluate machine learning models' robustness to real-world distributional shifts across diverse modalities like tabular data, machine translation, and self-driving car predictions. By providing a standardized benchmark, "Shifts" aims to accelerate the development of more reliable and trustworthy AI systems.

What Problem Does This Paper Address?

Modern machine learning models often assume that training, validation, and deployment data are identically distributed (i.i.d.). However, in real-world applications, this assumption frequently breaks down, leading to significant performance degradation due to "distributional shifts." While research on robustness and uncertainty estimation has advanced, there's a critical lack of standardized, large-scale datasets that reflect these real-world shifts across various data types beyond simple image classification. This makes it difficult to rigorously compare and validate new methods, especially for complex tasks involving regression, structured prediction, and diverse modalities like tabular data, text, and sensor data.

Methods

The paper proposes the "Shifts Dataset," a collection of three large-scale tasks designed to evaluate uncertainty estimation and robustness to distributional shift. The core idea is to create a benchmark that mirrors real-world industrial scenarios where data naturally drifts. The evaluation paradigm emphasizes jointly assessing robustness and uncertainty, assuming that models should not only be robust but also provide high uncertainty estimates when they are not. This allows for risk-mitigation strategies in deployment. The authors also introduce and utilize error-retention and F1-retention curves as key assessment metrics, which jointly evaluate a model's ability to handle errors and its uncertainty estimation quality. Ensemble-based methods are used as baselines to demonstrate the dataset's utility.

Datasets

The paper introduces the Shifts Dataset, comprising three distinct tasks:

  • Tabular Weather Prediction: Predicts air temperature and precipitation class using meteorological features. This dataset exhibits natural temporal drift and uneven geographic distribution.
  • Machine Translation (English-Russian): Focuses on translating text, including handling atypical language usage (slang, profanity, etc.) found in real-world user queries.
  • Self-Driving Car (SDC) Vehicle Motion Prediction: Predicts vehicle trajectories based on sensor data and HD maps, incorporating real-world shifts in location, season, time of day, and weather conditions.

These datasets are sourced from industrial applications and are designed to reflect "in-the-wild" distributional shifts.

Key Insights and Ideas

  • The critical need for diverse, real-world benchmarks: The paper strongly argues that current benchmarks are too focused on small-scale image tasks, hindering progress in evaluating robustness for more complex, real-world applications.
  • Joint evaluation of robustness and uncertainty is crucial: Models shouldn't just be robust; they must also signal when they are uncertain, enabling safe decision-making.
  • Ensembles offer a strong baseline: Ensemble methods consistently outperform single models in both predictive performance and uncertainty estimation across the diverse tasks.
  • Distributional shifts are pervasive and impactful: The results across all three tasks clearly demonstrate significant performance degradation on shifted data, highlighting the importance of addressing this challenge.

Key Results

  • Weather Prediction: Ensembles reduced RMSE by ~0.16°C and MAE by ~0.12°C compared to single models. Accuracy and Macro-F1 also saw improvements of ~2% and ~1%, respectively, on shifted data. Retention curves showed significant improvements for ensembles in both R-AUC and F1-AUC.
  • Machine Translation: A performance drop of nearly 10 BLEU/GLEU points was observed between in-domain and shifted (Reddit) data. Ensembles consistently outperformed single models.
  • Vehicle Motion Prediction: Performance metrics like minADE, minFDE, and CNLL showed degradation on shifted data across all tested models. The paper highlights that different uncertainty measures are better suited for different tasks (e.g., knowledge uncertainty for OOD detection, total uncertainty for error detection).

Limitations and Future Work

  • Limited scope of modalities: While covering tabular, text, and sensor data, the dataset doesn't encompass all possible modalities (e.g., audio).
  • Focus on specific shifts: The dataset captures specific types of real-world shifts, and further work could explore a broader range of shift types.
  • Baseline limitations: The paper primarily uses ensemble-based baselines. Future work could explore other robust learning methods and uncertainty estimation techniques.
  • Future dataset expansion: The authors suggest that future work could expand the dataset with more tasks and modalities. They also propose further research into detecting distributional shift on the motion prediction dataset by inspecting log-likelihood scores.

Summary updated

BibTeX
@inproceedings{malinin2021shifts,
  author = {Andrey Malinin and Neil Band and Alexander Ganshin and German Chesnokov and Yarin Gal and Mark J. F. Gales and Alexey Noskov and Andrey Ploskonosov and Liudmila Prokhorenkova and Ivan Provilkov and Vatsal Raina and Vyas Raina and Mariya Shmatova and Panos Tigas and Boris Yangel},
  title = {{Shifts: A Dataset of Real Distributional Shift Across Multiple Large-Scale Tasks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=Lm3ze7D-02},
}
Figure