Abstract
Human-annotated datasets, often treated as the "gold standard" in machine learning, frequently contain pervasive label errors that can distort model evaluation. This study investigates whether the inherent knowledge within large pre-trained language models (PLMs) can be leveraged to identify these errors. We propose Foundation Model Loss (FML) and Foundation Model Ensembling (FME) as simple yet effective methods for error detection. By ranking data points by their fine-tuned task loss, we find that PLMs significantly outperform specialized error-detection frameworks, particularly on realistic, human-originated noise. Our results show improvements in Area Under the Precision-Recall Curve (AUPR) by up to 36% across various NLP benchmarks.
Introduction
In the development of Natural Language Processing (NLP) systems, researchers rely heavily on benchmark datasets like SNLI or IMDB. However, human annotators are fallible, and errors in these datasets can destabilize evaluation and lead to incorrect conclusions about model performance. While Data-Centric AI (DCAI) methods exist to mitigate noisy data, they often rely on synthetic noise (random label flips) that does not reflect real-world human mistakes. This paper asks: Can the internal representations of a Foundation Model be used to detect real-world human errors more effectively than specialized tools?
Methodology
The authors propose two primary approaches:
- Foundation Model Loss (FML): A pre-trained model (e.g., RoBERTa, DeBERTa) is fine-tuned on the target task. The loss for each data point in a held-out set is then calculated. The hypothesis is that high-loss examples are likely to be mislabeled.
- Foundation Model Ensembling (FME): To improve robustness, the predicted probabilities from the top three models in a hyperparameter sweep are averaged to calculate the final loss signal.
To evaluate these methods, the researchers developed a Realistic Noising Protocol. Instead of random flips, they utilized actual disagreements between human annotators (e.g., "dissenting worker" labels) to simulate the systematic patterns found in real-world human errors.
Key Insights: The Power of Loss
A central finding of the study is the strong log-linear relationship between a model's loss and the probability that a label is an error. This suggests that complex, specialized "noise-cleansing" architectures may be unnecessary when strong PLMs are available.
Furthermore, the authors observed that "Confident Learning" (CL)—a state-of-the-art model-agnostic method—offered little incremental value over the raw loss signal from a strong Foundation Model. As models scale in size and general capability (e.g., higher GLUE scores), their ability to spot suspicious labels improves correspondingly.
Results and Performance
The FML and FME methods demonstrated superior performance across multiple datasets, including IMDB, Amazon Reviews, SNLI, and TweetNLP.
Key results include:
- Detection Gains: FM-based methods outperformed baselines by 15–28% in precision and 9–36% in AUPR.
- Efficiency: By manually re-verifying only the top few percent of high-loss examples, researchers could identify up to 69% of all errors in a dataset.
- Robustness to Human Noise: While models are robust to random noise, they struggle with human-originated noise. However, the loss signal remains a reliable indicator even in these challenging scenarios.
Discussion and Limitations
While highly effective, these methods involve a human-in-the-loop for final verification, which can be costly for large datasets. Additionally, there is a risk of "model-centric bias," where cleaning a dataset based on one model's loss might bias the data toward that model's specific inductive biases. Future work should explore how to mitigate these biases and integrate error detection more seamlessly into the training pipeline.
Conclusion
This research advocates for treating data quality as a first-class citizen in NLP. By using the fine-tuned loss of Foundation Models as a "health check" for evaluation data, researchers can significantly improve the reliability of their benchmarks and the validity of their scientific conclusions.
Summary updated