arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.14689cs.CLcs.AIcs.LG
收藏

如何在不发生模型崩溃的情况下合成文本数据?

How to Synthesize Text Data without Model Collapse?

LUMIA Lab, Shanghai Jiao Tong University(上海交通大学 LUMIA 实验室);State Key Laboratory of General Artificial Intelligence, BIGAI(北京通用人工智能研究院 通用人工智能全国重点实验室)

Xuekai Zhu, Daixuan Cheng, Hengli Li, Kaiyan Zhang, Ermo Hua, Xingtai Lv, Ning Ding, Zhouhan Lin, Zilong Zheng, Bowen Zhou

AI总结:

针对合成数据导致的模型崩溃问题,本文揭示了合成数据比例与性能的负相关及分布偏移现象,提出通过token编辑构建半合成数据,理论上证明其能控制测试误差上界,并在多种训练场景下验证了有效性。

摘要:

合成数据中的模型崩溃表明,在自生成数据上进行迭代训练会导致性能逐渐下降。随着AI模型的普及,合成数据将从根本上重塑网络数据生态系统。未来的GPT-$\{n\}$模型将不可避免地在合成数据与人类生成数据的混合体上进行训练。本文关注两个问题:合成数据对语言模型训练有何影响,以及如何在不发生模型崩溃的情况下合成数据?我们首先在不同比例的合成数据上预训练语言模型,揭示了合成数据比例与模型性能之间的负相关性。我们进一步对合成数据进行统计分析,发现了分布偏移现象以及n-gram特征的过度集中。受上述发现的启发,我们提出对人类生成数据进行token编辑以获取半合成数据。作为概念验证,我们从理论上证明了token级别的编辑能够防止模型崩溃,因为测试误差受限于一个有限的上界。我们在从头预训练、持续预训练和监督微调上进行了大量实验。结果验证了我们的理论证明,即token级别的编辑能提升模型性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑