Evaluating n-Gram Novelty of Language Models Using Rusty-DAWG
William Merrill, Noah A. Smith, Yanai Elazar
摘要
How novel are texts generated by language models (LMs) relative to their training corpora? In this work, we investigate the extent to which modern LMs generate n-grams from their training data, evaluating both (i) the probability LMs assign to complete training n-grams and (ii) n-novelty, the proportion of n-grams generated by an LM that did not appear in the training data (for arbitrarily large n). To enable arbitrary-length n-gram search over a corpus in constant time w.r.t. corpus size, we develop RUSTY-DAWG, a novel search tool inspired by indexing of genomic data. We compare the novelty of LM-generated text to humanwritten text and explore factors that affect generation novelty, focusing on the Pythia models. We find that, for n > 4, LM-generated text is less novel than human-written text, though it is more novel for smaller n. Larger LMs and more constrained decoding strategies both decrease novelty. Finally, we show that LMs complete n-grams with lower loss if they are more frequent in the training data. Overall, our results reveal factors influencing the novelty of LMgenerated text, and we release RUSTY-DAWG to facilitate further pretraining data research. 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Data 引用了 Measuring Massive Multitask Language Understanding
- Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Data 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
- Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining Data 引用了 Detection and Measurement of Syntactic Templates in Generated Text
- Death of the Novel(ty): Beyond N-Gram Novelty as a Metric for Textual Creativity 引用了 Detection and Measurement of Syntactic Templates in Generated Text
- Death of the Novel(ty): Beyond N-Gram Novelty as a Metric for Textual Creativity 引用了 Infini-gram mini: Exact n-gram Search at the Internet Scale with FM-Index
- Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling 引用了 Deduplicating Training Data Makes Language Models Better
- Measuring LLM Novelty As The Frontier Of Original And High-Quality Output 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
- Detection and Measurement of Syntactic Templates in Generated Text 引用了 The Curious Case of Neural Text Degeneration
- Infini-gram mini: Exact n-gram Search at the Internet Scale with FM-Index 引用了 Measuring Massive Multitask Language Understanding
- Infini-gram mini: Exact n-gram Search at the Internet Scale with FM-Index 引用了 Deduplicating Training Data Makes Language Models Better
引用它的顶会 Paper8
- Death of the Novel(ty): Beyond N-Gram Novelty as a Metric for Textual CreativityArkadiy Saakyan, Najoung Kim, Smaranda Muresan, Tuhin ChakrabartyICLR 2026 · 6 次引用
- Measuring LLM Novelty As The Frontier Of Original And High-Quality OutputVishakh Padmakumar, Chen Yueh-Han, Jane Pan, Valerie Chen 等ICLR 2026 · 6 次引用
- Generalization v.s. Memorization: Tracing Language Models' Capabilities Back to Pretraining DataXinyi Wang, Antonis Antoniades, Yanai Elazar, Alfonso Amayuelas 等ICLR 2025 · 4 次引用
- Detection and Measurement of Syntactic Templates in Generated TextChantal Shaib, Yanai Elazar, Junyi Jessy Li, Byron C. WallaceEMNLP 2024 · 3 次引用
- Infini-gram mini: Exact n-gram Search at the Internet Scale with FM-IndexHao Xu, Jiacheng Liu, Yejin Choi, Noah A. Smith 等EMNLP 2025 · 1 次引用
它引用的 Paper14
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley 等ICML 2023 · 1,822 次引用
- Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2020 · 1,038 次引用
- Deduplicating Training Data Makes Language Models BetterKatherine Lee, Daphne Ippolito, Andrew Nystrom, Chiyuan Zhang 等ACL 2022 · 844 次引用
相关 Paper
- DNA-GPT: Divergent N-Gram Analysis for Training-Free Detection of GPT-Generated TextXianjun Yang, Wei Cheng, Yue Wu, Linda Ruth Petzold 等ICLR 2024 · 173 次引用
- PolyPythias: Stability and Outliers across Fifty Language Model Pre-Training RunsOskar van der Wal, Pietro Lesci, Max Müller-Eberstein, Naomi Saphra 等ICLR 2025
- PythonSaga: Redefining the Benchmark to Evaluate Code Generating LLMsAnkit Yadav, Himanshu Beniwal, Mayank SinghEMNLP Findings 2024 · 12 次引用
- LLMDet: A Third Party Large Language Models Generated Text Detection ToolKangxi Wu, Liang Pang, Huawei Shen, Xueqi Cheng 等EMNLP Findings 2023 · 31 次引用
- MOSAIC: Multiple Observers Spotting AI ContentMatthieu Dubois, François Yvon, Pablo PiantanidaACL Findings 2025
