通过词元编辑生成半合成数据,防止模型因自生成数据导致性能下降。
How to Synthesize Text Data without Model Collapse?
- 对人类数据进行词元级编辑,生成半合成数据以缓解模型坍缩。
- 实验显示合成数据比例越高,模型性能越差,且存在短语特征过度集中现象。
- 适用于需要长期迭代训练的AI模型,尤其适合关注数据质量的研究者。
自生成数据中的模型坍缩现象表明,基于自我生成数据的迭代训练会导致性能逐步下降。随着人工智能模型的普及,合成数据将从根本上重塑网络数据生态。未来的GPT-$\{n\}$模型不可避免地会混合训练于合成数据与人工生成数据。本文聚焦两个问题:合成数据对语言模型训练的影响,以及如何在不引发模型坍缩的情况下生成数据。我们首先在不同合成数据比例下预训练语言模型,发现合成数据占比与模型性能呈负相关。进一步对合成数据进行统计分析,揭示出分布偏移和高阶n-gram特征过度集中现象。受此启发,我们提出对人类数据进行词元编辑以获得半合成数据。作为概念验证,我们理论上证明了词元级编辑可防止模型坍缩,因为测试误差被有限上界约束。我们在从零开始预训练、持续预训练和监督微调等多个场景下进行了大量实验,结果验证了理论结论:词元级编辑能提升模型性能。
原文摘要 · Abstract (English)
Model collapse in synthetic data indicates that iterative training on self-generated data leads to a gradual decline in performance. With the proliferation of AI models, synthetic data will fundamentally reshape the web data ecosystem. Future GPT-$\{n\}$ models will inevitably be trained on a blend of synthetic and human-produced data. In this paper, we focus on two questions: what is the impact of synthetic data on language model training, and how to synthesize data without model collapse? We first pre-train language models across different proportions of synthetic data, revealing a negative correlation between the proportion of synthetic data and model performance. We further conduct statistical analysis on synthetic data to uncover distributional shift phenomenon and over-concentration of n-gram features. Inspired by the above findings, we propose token editing on human-produced data to obtain semi-synthetic data. As a proof of concept, we theoretically demonstrate that token-level editing can prevent model collapse, as the test error is constrained by a finite upper bound. We conduct extensive experiments on pre-training from scratch, continual pre-training, and supervised fine-tuning. The results validate our theoretical proof that token-level editing improves model performance.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。