用真实用户场景生成百万条复杂指令,提升大模型对齐效果
From Real to Synthetic: Synthesizing Millions of Diversified and Complicated User Instructions with Attributed Grounding
- 从真实用户出发,结合网页文本自底向上生成情境化指令
- 构建100万条指令数据集,训练模型在多个基准上达到领先水平
- 适合需要高质量指令数据的模型对齐研究者使用
大规模、多样且复杂的指令数据对自动对齐大语言模型至关重要。现有合成方法或受限于单一来源导致分布狭窄,或依赖简单扩展无法产生有意义的复杂性。相比之下,高效对齐所需的指令通常基于认知洞察并扎根于真实应用场景。本文提出一种属性化接地(attributed grounding)方法:首先通过自顶向下过程将精选的真实指令关联到具体用户情境;再通过自底向上流程,利用网页文档先生成情境,再生成有意义的指令。该框架可大规模挖掘多样化复杂指令,充分利用网络文本资源。我们构建了包含100万条指令的SynthQuestions数据集,并证明基于该数据训练的模型在多个基准测试中表现领先,且性能随更多网络语料持续提升。数据、模型与代码将在https://github.com/Ignoramus0817/SynthQuestions公开。
原文摘要 · Abstract (English)
The pursuit of diverse, complex, and large-scale instruction data is crucial for automatically aligning large language models (LLMs). While there are methods capable of generating synthetic instructions at scale, they either suffer from limited grounding sources, leading to a narrow distribution, or rely on trivial extensions that fail to produce meaningful trajectories in terms of complexity. In contrast, instructions that benefit efficient alignment are typically crafted with cognitive insights and grounded in real-world use cases. In this paper, we synthesize such instructions using attributed grounding, which involves 1) a top-down attribution process that grounds a selective set of real instructions to situated users, and 2) a bottom-up synthesis process that leverages web documents to first generate a situation, then a meaningful instruction. This framework allows us to harvest diverse and complex instructions at scale, utilizing the vast range of web documents. Specifically, we construct a dataset of 1 million instructions, called SynthQuestions, and demonstrate that models trained on it achieve leading performance on several common benchmarks, with improvements that continually scale with more web corpora. Data, models and codes will be available at https://github.com/Ignoramus0817/SynthQuestions.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。