用检测器筛选真实文本,防止大模型因生成内容泛滥而性能下降。
Machine-generated text detection prevents language model collapse
- 训练文本检测器,识别并优先采样人类撰写的样本。
- 在124M到1.7B参数的模型上验证,有效阻止模型崩溃。
- 适合关注大模型数据质量与长期稳定性的研究者。
随着大语言模型(LLMs)日益普及,其生成内容在网络中大量扩散,可能稀释人类原创文本。由于网络数据是LLM预训练的主要资源,后续模型可能在未知比例的合成数据上训练,导致模型崩溃——即模型不断强化自身错误、输出多样性下降、性能衰退。本研究分析解码策略对模型崩溃的影响,考察生成文本特征、与人类参考文本的相似性及模型性能变化。采用导致最严重退化的解码策略,在数据来源未知的更真实场景下评估模型崩溃。我们训练了一个机器生成文本检测器,并提出重要性重采样方法,通过在训练数据中提升疑似人类内容的比例来预防模型崩溃。该方法在两个模型家族(GPT-2 和 SmolLM2)的四款模型(参数规模124M至1.7B)上得到验证,不仅有效防止模型崩溃,还优于纯人类数据训练的模型表现,证明了合成样本的价值与数据筛选的重要性。
原文摘要 · Abstract (English)
As Large Language Models (LLMs) become increasingly prevalent, their generated outputs are proliferating across the web, risking a future where machine-generated content dilutes human-authored text. Since online data is the primary resource for LLM pre-training, subsequent models could be trained on an unknown portion of synthetic samples. This could lead to model collapse, a degenerative process whereby LLMs reinforce their own errors, reduce output diversity, and ultimately yield declining performance. In this study, we investigate the impact of decoding strategy on model collapse, analysing the text characteristics at each model generation, the similarity to human references, and the resulting model performance. Using the decoding strategies that lead to the most significant degradation, we evaluate model collapse in a more realistic scenario where the origin of the data (human or synthetic) is unknown. We train a machine-generated text detector and propose an importance resampling approach to prevent model collapse by up-sampling likely human content in the training data. Our method is validated on four LLMs from two model families (GPT-2 and SmolLM2), across a range of model sizes 124M to 1.7B). We demonstrate that it not only prevents model collapse but also improves performance compared to training on purely human data, underscoring the benefit of synthetic samples and the importance of data curation.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。