Lune

ACL2023Top-tier venue

Characterizing and Measuring Linguistic Dataset Drift

Tyler A. Chang, Kishaloy Halder, Neha Anna John, Yogarshi Vyas, Yassine Benajiba, Miguel Ballesteros, Dan Roth

Abstract

NLP models often degrade in performance when real world data distributions differ markedly from training data. However, existing dataset drift metrics in NLP have generally not considered specific dimensions of linguistic drift that affect model performance, and they have not been validated in their ability to predict model performance at the individual example level, where such metrics are often used in practice. In this paper, we propose three dimensions of linguistic dataset drift: vocabulary, structural, and semantic drift. These dimensions correspond to content word frequency divergences, syntactic divergences, and meaning changes not captured by word frequencies (e.g. lexical semantic change). We propose interpretable metrics for all three drift dimensions, and we modify past performance prediction methods to predict model performance at both the example and dataset level for English sentiment classification and natural language inference. We find that our drift metrics are more effective than previous metrics at predicting out-of-domain model accuracies (mean 16.8% root mean square error decrease), particularly when compared to popular fine-tuned embedding distances (mean 47.7% error decrease). Fine-tuned embedding distances are much more effective at ranking individual examples by expected performance, but decomposing into vocabulary, structural, and semantic drift produces the best example rankings of all considered model-agnostic drift metrics (mean 6.7% ROC AUC increase).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on8

  1. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  2. Analysing Lexical Semantic Change with Contextualised Word RepresentationsMario Giulianelli, Marco Del Tredici, Raquel FernándezACL 2020 · 118 citations
  3. Temporally-Informed Analysis of Named Entity RecognitionShruti Rijhwani, Daniel Preotiuc-PietroACL 2020 · 49 citations
  4. Exploring BERT's sensitivity to lexical cues using tests from semantic primingKanishka Misra, Allyson Ettinger, Julia RayzEMNLP Findings 2020 · 47 citations
  5. Style-transfer and Paraphrase: Looking for a Sensible Semantic Similarity MetricIvan P. Yamshchikov, Viacheslav Shibaev, Nikolay Khlebnikov, Alexey TikhonovAAAI 2021 · 38 citations

Related papers

  1. Measuring the Robustness of NLP Models to Domain ShiftsNitay Calderon, Naveh Porat, Eyal Ben-David, Alexander Chapanin et al.EMNLP Findings 2024 · 5 citations
  2. Holistic Sentence Embeddings for Better Out-of-Distribution DetectionSishuo Chen, Xiaohan Bi, Rundong Gao, Xu SunEMNLP Findings 2022 · 9 citations
  3. Predicting with Confidence on Unseen DistributionsDevin Guillory, Vaishaal Shankar, Sayna Ebrahimi, Trevor Darrell et al.ICCV 2021 · 141 citations
  4. A Multidimensional Framework for Evaluating Lexical Semantic Change with Social Science ApplicationsNaomi Baes, Nick Haslam, Ekaterina VylomovaACL 2024 · 5 citations
  5. Types of Out-of-Distribution Texts and How to Detect ThemUdit Arora, William Huang, He HeEMNLP 2021
Dusk over the sea between two cliffs drawn in fine vertical lines