Memorization vs. Generalization: Quantifying Data Leakage in NLP Performance Evaluation

Aparna Elangovan, Jiayuan He, Karin Verspoor
2/3/2021
cs.CLcs.LG

Official code: elangovana/nlp-train-test-overlap-detector (5 stars, Jupyter Notebook, MIT, last commit 2021-05-12).

Abstract

Public datasets are often used to evaluate the efficacy and generalizability of state-of-the-art methods for many tasks in natural language processing (NLP). However, the presence of overlap between the train and test datasets can lead to inflated results, inadvertently evaluating the model's ability to memorize and interpreting it as the ability to generalize.

Show full abstract

In addition, such data sets may not provide an effective indicator of the performance of these methods in real world scenarios. We identify leakage of training data into test data on several publicly available datasets used to evaluate NLP tasks, including named entity recognition and relation extraction, and study them to assess the impact of that leakage on the model's ability to memorize versus generalize.

View on arXivView PDF

Code Implementations(1)

MIT
50Jupyter Notebook, PythonSep 18, 20205 years agoMIT

Similar Papers

Cite this paper

@article{elangovan2021memorization,
  title  = {Memorization vs. Generalization: Quantifying Data Leakage in NLP Performance Evaluation},
  author = {Aparna Elangovan and Jiayuan He and Karin Verspoor},
  year   = {2021},
  eprint = {2102.01818},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.01818}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.01818.svg)](https://codeofpaper.com/paper/2102.01818)

Discussion