Deduplicating Training Data Makes Language Models Better

AI-generated keywords: Deduplication Language Modeling Datasets Evaluation Performance

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Language models trained on existing datasets have over 1% of their output directly copied from the training data
  • Authors develop two tools to deduplicate training datasets
  • A single 61-word English sentence repeated more than 60,000 times is successfully removed from the C4 dataset using deduplication techniques
  • Deduplication reduces memorized text production by language models ten times less frequently while maintaining or improving accuracy
  • Deduplication also reduces train-test overlap in standard datasets by more than 4%, leading to more accurate evaluation of language models
  • Code for reproducing the study and performing dataset deduplication is available on GitHub (https://github.com/google-research/deduplicate-text-datasets)
  • This study emphasizes the importance of addressing duplicate examples and repetitive substrings in language modeling datasets for improved performance and reliable evaluations in natural language processing tasks.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Katherine Lee, Daphne Ippolito, Andrew Nystrom, Chiyuan Zhang, Douglas Eck, Chris Callison-Burch, Nicholas Carlini

Abstract: We find that existing language modeling datasets contain many near-duplicate examples and long repetitive substrings. As a result, over 1% of the unprompted output of language models trained on these datasets is copied verbatim from the training data. We develop two tools that allow us to deduplicate training datasets -- for example removing from C4 a single 61 word English sentence that is repeated over 60,000 times. Deduplication allows us to train models that emit memorized text ten times less frequently and require fewer train steps to achieve the same or better accuracy. We can also reduce train-test overlap, which affects over 4% of the validation set of standard datasets, thus allowing for more accurate evaluation. We release code for reproducing our work and performing dataset deduplication at https://github.com/google-research/deduplicate-text-datasets.

Submitted to arXiv on 14 Jul. 2021

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2107.06499v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

In their paper titled "Deduplicating Training Data Makes Language Models Better," authors Katherine Lee, Daphne Ippolito, Andrew Nystrom, Chiyuan Zhang, Douglas Eck, Chris Callison-Burch and Nicholas Carlini address the issue of near-duplicate examples and long repetitive substrings in existing language modeling datasets. They find that over 1% of the unprompted output generated by language models trained on these datasets is directly copied from the training data. To tackle this problem, the authors develop two tools that enable them to deduplicate training datasets. For instance, they successfully remove a single 61-word English sentence that is repeated more than 60,000 times from the C4 dataset. By implementing deduplication techniques, they are able to train models that produce memorized text ten times less frequently while achieving the same or even better accuracy. Additionally, deduplication helps reduce train-test overlap in standard datasets by more than 4%, leading to more accurate evaluation of language models. The authors provide code for reproducing their work and performing dataset deduplication on GitHub (https://github.com/google-research/deduplicate-text-datasets). This code release allows other researchers and practitioners to benefit from their findings and improve the quality of language models. Overall, this study highlights the importance of addressing duplicate examples and repetitive substrings in language modeling datasets for improved performance and reliable evaluations in natural language processing tasks.
Created on 15 Dec. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.