Pretrained Transformers Improve Out-of-Distribution Robustness
Not on the map. Why?
Abstract (arXiv)
Although pretrained Transformers such as BERT achieve high accuracy on in-distribution examples, do they generalize to new distributions? We systematically measure out-of-distribution (OOD) generalization for seven NLP datasets by constructing a new robustness benchmark with realistic distribution shifts. We measure the generalization of previous models including bag-of-words models, ConvNets, and LSTMs, and we show that pretrained Transformers' performance declines are substantially smaller. Pretrained transformers are also more effective at detecting anomalous or OOD examples, while many previous models are frequently worse than chance. We examine which factors affect robustness, finding that larger models are not necessarily more robust, distillation can be harmful, and more diverse pretraining data can enhance robustness. Finally, we show where future work can improve OOD robustness.
Key facts. Cited by 293 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Apr 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 65; 2022: 73; 2023: 79; 2024: 35; 2025: 27; 2026: 14.
293 papers.
Sort:
By area:
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 3,972
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
- 2023Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervisioncited by 445
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2023ClimaX: A foundation model for weather and climatecited by 325
- 2022Large Language Models Are Reasoning Teacherscited by 318
- 2022Post-hoc Concept Bottleneck Modelscited by 289
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022Prompting GPT-3 To Be Reliablecited by 258
38 more
- 2021Understanding Robustness of Transformers for Image Classificationcited by 250
- 2023Pretraining Language Models with Human Preferencescited by 245
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2023Large Language Models as General Pattern Machinescited by 196
- 2023Progressive Prompts: Continual Learning for Language Modelscited by 195
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 193
- 2021On the Robustness of Vision Transformers to Adversarial Examplescited by 167
- 2021Active Learning by Acquiring Contrastive Examplescited by 154
- 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
- 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
- 2022A Survey of Deep Learning for Mathematical Reasoningcited by 124
- 2022Goal Misgeneralization: Why Correct Specifications Aren't Enough For Correct Goalscited by 120
- 2022POEM: Out-of-Distribution Detection with Posterior Samplingcited by 108
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022Multimodal Masked Autoencoders Learn Transferable Representationscited by 107
- 2022Uncertainty Quantification with Pre-trained Language Models: A Large-Scale Empirical Analysiscited by 104
- 2023Task-Specific Skill Localization in Fine-tuned Language Modelscited by 104
- 2023A Comprehensive Survey on Source-free Domain Adaptationcited by 104
- 2022Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPcited by 99
- 2022State-of-the-art generalisation research in NLP: A taxonomy and reviewcited by 97
- 2023Revisiting Out-of-distribution Robustness in NLP: Benchmark, Analysis, and LLMs Evaluationscited by 96
- 2021Pretrained Language Models for Text Generation: A Surveycited by 95
- 2021Towards Principled Disentanglement for Domain Generalizationcited by 91
- 2023A Survey of Safety and Trustworthiness of Large Language Models through the Lens of Verification and Validationcited by 91
- 2021Adversarially Adaptive Normalization for Single Domain Generalizationcited by 85
- 2021Extending the WILDS Benchmark for Unsupervised Adaptationcited by 85
- 2021NaturalProofs: Mathematical Theorem Proving in Natural Languagecited by 80
- 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
- 2021RobustART: Benchmarking Robustness on Architecture Design and Training Techniquescited by 78
- 2021Standardized Max Logits: A Simple yet Effective Approach for Identifying Unexpected Road Obstacles in Urban-Scene Segmentationcited by 77
- 2021Identifying and Mitigating Spurious Correlations for Improving Robustness in NLP Modelscited by 76
- 2023Context-faithful Prompting for Large Language Modelscited by 76
- 2023Eight Things to Know about Large Language Modelscited by 73
- 2022GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspectivecited by 72
- 2022On the Importance and Applicability of Pre-Training for Federated Learningcited by 71
- 2021Contrastive Out-of-Distribution Detection for Pretrained Transformerscited by 70
- 2021Does Your Dermatology Classifier Know What It Doesn't Know? Detecting the Long-Tail of Unseen Conditionscited by 68
50 most cited of 293 All 293 (JSON)
- 2026Theory on Attention Dynamics for Out-of-Distribution In-Context Learning29 Sep 2026
- 2026General Quantification of Covariate and Concept Shifts10 Sep 2026
- 2026Evidence-Consistent Generative Detection under Scenario-Level Distribution Shift21 Aug 2026
- 2026A Unified Model for Cross-Domain Clone Detection via Model Merging4 Aug 2026
- 2026Inoculation Adapters: Improved Selective Generalization of Capabilities with Fewer Surprising Backdoors29 Jun 2026
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignment15 May 2026
- 2026Domain Restriction via Multi SAE Layer Transitions12 May 2026
- 2026DeconDTN-Toolkit: A Library for Evaluation and Enhancement of Robustness to Provenance Shift11 May 2026
- 2026Bridging Foundation Models and ASTM Metallurgical Standards for Automated Grain Size Estimation from Microscopy Images21 Apr 2026
- 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performance19 Apr 2026
- 2026Dropout Robustness and Cognitive Profiling of Transformer Models via Stochastic Inference18 Mar 2026
- 2026Position: Stop Preaching and Start Practising Data Frugality for Responsible Development of AI23 Feb 2026
38 more
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modes15 Feb 2026
- 2026Building Production-Ready Probes For Gemini16 Jan 2026
- 2025Hybrid Attribution Priors for Explainable and Robust Model Training9 Dec 2025
- 2025Training-Free Policy Violation Detection via Activation-Space Whitening in LLMs3 Dec 2025
- 2025General vs Domain-Specific CNNs: Understanding Pretraining Effects on Brain MRI Tumor Classification23 Nov 2025
- 2025Exploiting Inter-Sample Information for Long-tailed Out-of-Distribution Detection20 Nov 2025
- 2025Mysteries of the Deep: Role of Intermediate Representations in Out of Distribution Detection7 Oct 2025
- 2025Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution Detection26 Jul 2025
- 2025Translationese-index: Using Likelihood Ratios for Graded and Generalizable Measurement of Translationese16 Jul 2025
- 2025Rule Learning for Knowledge Graph Reasoning under Agnostic Distribution Shift7 Jul 2025
- 2025Meta-Learning Transformers to Improve In-Context Generalization7 Jul 2025
- 2025CyberRAG: An Agentic RAG cyber attack classification and reporting tool3 Jul 2025
- 2025Exploring Graph-Transformer Out-of-Distribution Generalization Abilities25 Jun 2025
- 2025Gender Fairness of Machine Learning Algorithms for Pain Detection10 Jun 2025
- 2025The Road to Generalizable Neuro-Symbolic Learning Should be Paved with Foundation Models30 May 2025
- 2025Topology-Aware Knowledge Propagation in Decentralized Learning16 May 2025
- 2025Distilled Circuits: A Mechanistic Study of Internal Restructuring in Knowledge Distillation16 May 2025
- 2025Efficient Unstructured Pruning of Mamba State-Space Models for Resource-Constrained Environments13 May 2025
- 2025Heterogeneous Data Game: Characterizing the Model Competition Across Multiple Data Sources12 May 2025
- 2025Recent Advances in Out-of-Distribution Detection with CLIP-Like Models: A Survey5 May 2025
- 2025Digital Twin-based Out-of-Distribution Detection in Autonomous Vessels28 Apr 2025
- 2025A Perplexity and Menger Curvature-Based Approach for Similarity Evaluation of Large Language Models5 Apr 2025
- 2025Simple yet Effective Node Property Prediction on Edge Streams under Distribution Shifts1 Apr 2025
- 2025Model Hemorrhage and the Robustness Limits of Large Language Models31 Mar 2025
- 2025Unified Enhancement of the Generalization and Robustness of Language Models via Bi-Stage Optimization19 Mar 2025
- 2025Uncertainty Distillation: Teaching Language Models to Express Semantic Confidence18 Mar 2025
- 2025Beyond In-Distribution Success: Scaling Curves of CoT Granularity for Language Model Generalization25 Feb 2025
- 2025Efficient Evaluation of Multi-Task Robot Policies With Active Experiment Selection14 Feb 2025
- 2025SimLabel: Consistency-Guided OOD Detection with Pretrained Vision-Language Models20 Jan 2025
- 2024Seeking Consistent Flat Minima for Better Domain Generalization via Refining Loss Landscapes18 Dec 2024
- 2024Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives2 Nov 2024
- 2024'No' Matters: Out-of-Distribution Detection in Multimodality Long Dialogue31 Oct 2024
- 2024A new approach for fine-tuning sentence transformers for intent classification and out-of-scope detection tasks17 Oct 2024
- 2024Understanding Likelihood Over-optimisation in Direct Alignment Algorithms15 Oct 2024
- 2024Tri-Level Navigator: LLM-Empowered Tri-Level Learning for Time Series OOD Generalization9 Oct 2024
- 2024In-context Learning in Presence of Spurious Correlations4 Oct 2024
- 2024Towards Robust Extractive Question Answering Models: Rethinking the Training Methodology29 Sep 2024
- 2024Faithfulness and the Notion of Adversarial Sensitivity in NLP Explanations26 Sep 2024
50 newest of 293 All 293 (JSON)
- 2023Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervisioncited by 445
- 2023Pretraining Language Models with Human Preferencescited by 245
- 2023Generalization Analogies: A Testbed for Generalizing AI Oversight to Hard-To-Measure Domainscited by 8
- 2024Understanding Likelihood Over-optimisation in Direct Alignment Algorithmscited by 6
- 2024Understanding Likelihood Over-optimisation in Direct Alignment Algorithms15 Oct 2024
- 2023Weak-to-Strong Generalization: Eliciting Strong Capabilities With Weak Supervision14 Dec 2023
- 2023Generalization Analogies: A Testbed for Generalizing AI Oversight to Hard-To-Measure Domains13 Nov 2023
- 2023Pretraining Language Models with Human Preferences16 Feb 2023
- 2022Large Language Models Are Reasoning Teacherscited by 318
- 2022A Survey of Deep Learning for Mathematical Reasoningcited by 124
- 2022Lila: A Unified Benchmark for Mathematical Reasoningcited by 13
- 2026Dropout Robustness and Cognitive Profiling of Transformer Models via Stochastic Inferencecited by 0
- 2026Dropout Robustness and Cognitive Profiling of Transformer Models via Stochastic Inference18 Mar 2026
- 2022A Survey of Deep Learning for Mathematical Reasoning20 Dec 2022
- 2022Large Language Models Are Reasoning Teachers20 Dec 2022
- 2022Lila: A Unified Benchmark for Mathematical Reasoning31 Oct 2022
- 2025SimLabel: Consistency-Guided OOD Detection with Pretrained Vision-Language Modelscited by 5
- 2025Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution Detectioncited by 4
- 2024Adapting Vision-Language Models to Open Classes via Test-Time Prompt Tuningcited by 0
- 2025Knowledge Regularized Negative Feature Tuning of Vision-Language Models for Out-of-Distribution Detection26 Jul 2025
- 2025SimLabel: Consistency-Guided OOD Detection with Pretrained Vision-Language Models20 Jan 2025
- 2024Adapting Vision-Language Models to Open Classes via Test-Time Prompt Tuning29 Aug 2024
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2022Robust Speech Recognition via Large-Scale Weak Supervisioncited by 3,972
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
- 2023Trustworthy LLMs: a Survey and Guideline for Evaluating Large Language Models' Alignmentcited by 394
- 2023ClimaX: A foundation model for weather and climatecited by 325
- 2022Post-hoc Concept Bottleneck Modelscited by 289
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022Prompting GPT-3 To Be Reliablecited by 258
- 2021Understanding Robustness of Transformers for Image Classificationcited by 250
- 2021Mind the Gap: Assessing Temporal Generalization in Neural Language Modelscited by 226
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
12 most cited of 276 All 276 (JSON)
- 2026Theory on Attention Dynamics for Out-of-Distribution In-Context Learning29 Sep 2026
- 2026General Quantification of Covariate and Concept Shifts10 Sep 2026
- 2026Evidence-Consistent Generative Detection under Scenario-Level Distribution Shift21 Aug 2026
- 2026A Unified Model for Cross-Domain Clone Detection via Model Merging4 Aug 2026
- 2026Inoculation Adapters: Improved Selective Generalization of Capabilities with Fewer Surprising Backdoors29 Jun 2026
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignment15 May 2026
- 2026Domain Restriction via Multi SAE Layer Transitions12 May 2026
- 2026DeconDTN-Toolkit: A Library for Evaluation and Enhancement of Robustness to Provenance Shift11 May 2026
- 2026Bridging Foundation Models and ASTM Metallurgical Standards for Automated Grain Size Estimation from Microscopy Images21 Apr 2026
- 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performance19 Apr 2026
- 2026Position: Stop Preaching and Start Practising Data Frugality for Responsible Development of AI23 Feb 2026
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modes15 Feb 2026
12 newest of 276 All 276 (JSON)