小巨人:大规模合成高质量嵌入数据
Little Giants: Synthesizing High-Quality Embedding Data at Scale
AI总结:
本文提出SPEED框架,利用对齐的开源小模型高效生成大规模合成嵌入数据,仅用不到GPT API调用次数的1/10即超越E5_mistral,并揭示相关缩放定律。
摘要:
合成数据生成已成为一种越来越流行的训练模型的方式,无需大量人工标注数据集。对于文本嵌入等任务,合成数据提供了多样且可扩展的训练示例,显著降低了人工标注的成本。然而,目前大多数方法严重依赖GPT-4等专有模型,这些模型在生成大规模嵌入数据时成本高昂且效率低下。在本文中,我们介绍了SPEED,一个框架,它对齐开源小模型(8B)以高效生成大规模合成嵌入数据。通过监督微调、偏好优化和自我改进,SPEED使小型开源模型能够生成高质量数据。值得注意的是,SPEED仅使用不到GPT API调用次数的1/10,在仅使用其合成数据训练时,其性能优于最先进的嵌入模型E5_mistral。利用这一高效生成器,我们对对齐流程中各种因素如何影响数据质量进行了全面研究,并揭示了合成嵌入数据的缩放定律。
英文摘要:
Synthetic data generation has become an increasingly popular way of training models without the need for large, manually labeled datasets. For tasks like text embedding, synthetic data offers diverse and scalable training examples, significantly reducing the cost of human annotation. However, most current approaches rely heavily on proprietary models like GPT-4, which are expensive and inefficient for generating large-scale embedding data. In this paper, we introduce SPEED, a framework that aligns open-source small models (8B) to efficiently generate large-scale synthetic embedding data. Through supervised fine-tuning, preference optimization, and self-improvement, SPEED enables small open-source models to produce high-quality data. Remarkably, SPEED uses only less than 1/10 of the GPT API calls, outperforming the state-of-the-art embedding model E5_mistral when both are trained solely on their synthetic data. Using this efficient generator, we conduct a comprehensive study on how various factors within the alignment pipeline impact data quality and reveal the scaling law for synthetic embedding data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。