[Paper Review] GLUE-X: Evaluating Natural Language Understanding Models from an Out-of-distribution Generalization Perspective
This paper introduces GLUE-X, a unified benchmark for evaluating out-of-distribution (OOD) generalization in pre-trained language models (PLMs) across 15 public datasets and 8 NLP tasks. It reveals significant performance drops in OOD settings across all models, highlighting the urgent need for improved OOD robustness and demonstrating that model architecture and tuning strategies significantly affect cross-domain performance.
Pre-trained language models (PLMs) are known to improve the generalization performance of natural language understanding models by leveraging large amounts of data during the pre-training phase. However, the out-of-distribution (OOD) generalization problem remains a challenge in many NLP tasks, limiting the real-world deployment of these methods. This paper presents the first attempt at creating a unified benchmark named GLUE-X for evaluating OOD robustness in NLP models, highlighting the importance of OOD robustness and providing insights on how to measure the robustness of a model and how to improve it. The benchmark includes 13 publicly available datasets for OOD testing, and evaluations are conducted on 8 classic NLP tasks over 21 popularly used PLMs, including GPT-3 and GPT-3.5. Our findings confirm the need for improved OOD accuracy in NLP tasks, as significant performance degradation was observed in all settings compared to in-distribution (ID) accuracy.
Motivation & Objective
- Address the lack of a unified benchmark for evaluating out-of-distribution (OOD) generalization in NLP models.
- Investigate the extent of performance degradation in OOD settings compared to in-distribution (ID) performance across diverse NLP tasks.
- Analyze the impact of pre-trained model architecture and fine-tuning strategies on OOD robustness.
- Provide insights into the internal factors affecting OOD generalization at the feature level.
- Establish a foundation for future research on domain generalization in NLP by creating a publicly available, standardized benchmark.
Proposed method
- Construct GLUE-X, a benchmark combining 15 publicly available OOD datasets across 8 standard NLP tasks from multiple domains.
- Ensure each task includes at least two distinct out-of-distribution test domains to enable cross-distribution evaluation.
- Evaluate 21 popular pre-trained language models (PLMs) under consistent experimental conditions across all tasks.
- Apply three tuning strategies: linear probing, fine-tuning, and linear probing followed by fine-tuning (LP-FT) to assess their impact on OOD performance.
- Perform post-hoc analysis on model features to identify internal causes of OOD robustness or failure.
- Use correlation analysis between ID and OOD performance to assess the predictability of OOD generalization from in-domain results.
Experimental results
Research questions
- RQ1To what extent do current pre-trained language models degrade in performance when tested on out-of-distribution data compared to in-distribution data?
- RQ2How do different pre-trained model architectures and sizes influence OOD generalization performance?
- RQ3Which tuning strategy—linear probing, fine-tuning, or LP-FT—yields the best OOD robustness across diverse NLP tasks?
- RQ4What is the correlation between in-distribution and out-of-distribution performance across different tasks and datasets?
- RQ5What internal model characteristics or feature-level patterns contribute to or hinder OOD generalization in NLP models?
Key findings
- All evaluated models exhibit significant performance degradation on OOD data, with the largest drop observed in the COLA task, indicating a critical robustness gap.
- In-distribution and out-of-distribution performance show a linear correlation across most tasks, but the strength of this correlation varies significantly depending on the choice of OOD datasets.
- Discriminative models (e.g., RoBERTa, BERT) show stronger linear correlation between ID and OOD performance than generative models (e.g., GPT-2 variants), suggesting architectural differences affect generalization predictability.
- The LP-FT tuning strategy yields a slight but consistent improvement in OOD accuracy over standard fine-tuning, indicating a potential path for enhancing robustness.
- Models pre-trained with the same architecture (e.g., ELECTRA-small and ELECTRA-large) achieve similar OOD performance, suggesting that architecture and scale are key determinants of robustness.
- The inverse correlation between ID and OOD performance observed on MRPC suggests that task-specific data sparsity and distribution shifts can lead to counterintuitive performance patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.