arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.04774cs.CL
收藏

SeDi-Instruct:通过自定向指令生成增强语言模型的对齐

SeDi-Instruct: Enhancing Alignment of Language Models through Self-Directed Instruction Generation

Daegu Gyeongbuk Institute of Science and Technology(大邱庆北科学技术院)

Jungwoo Kim, Minsang Kim, Sungjin Lee

AI总结:

本文提出 SeDi-Instruct 框架,通过多样性过滤和迭代反馈任务生成,以更低成本自动生成高质量指令数据,在提升模型准确性的同时显著降低数据生成开销。

摘要:

大语言模型(LLMs)的快速演进使业界能够开发各种基于人工智能的服务。指令微调被认为是将基础模型适配到目标领域以向客户提供高质量服务的关键环节。指令微调中的一个核心挑战是获取高质量的指令数据。Self-Instruct 利用 ChatGPT API 自动生成指令数据,缓解了数据稀缺问题。为了提高指令数据质量,Self-Instruct 丢弃了大量由 ChatGPT 生成的指令,尽管由于大量无用的 API 调用,这在成本方面效率低下。为了以低成本生成高质量指令数据,我们提出了一种新颖的数据生成框架——自定向指令生成(SeDi-Instruct),该框架采用基于多样性的过滤和迭代反馈任务生成。基于多样性的过滤通过增强批次中指令的多样性,在不大量丢弃低质量生成指令的情况下保持模型准确性,从而降低了合成指令数据的成本。迭代反馈任务生成将指令生成与训练任务相结合,并利用训练过程中获得的信息来创建高质量指令集。我们的结果表明,与传统方法相比,SeDi-Instruct 将 AI 模型的准确性提升了 5.2%,同时将数据生成成本降低了 36%。

英文摘要:

The rapid evolution of Large Language Models (LLMs) has enabled the industry to develop various AI-based services. Instruction tuning is considered essential in adapting foundation models for target domains to provide high-quality services to customers. A key challenge in instruction tuning is obtaining high-quality instruction data. Self-Instruct, which automatically generates instruction data using ChatGPT APIs, alleviates the data scarcity problem. To improve the quality of instruction data, Self-Instruct discards many of the instructions generated from ChatGPT, even though it is inefficient in terms of cost owing to many useless API calls. To generate high-quality instruction data at a low cost, we propose a novel data generation framework, Self-Direct Instruction generation (SeDi-Instruct), which employs diversity-based filtering and iterative feedback task generation. Diversity-based filtering maintains model accuracy without excessively discarding low-quality generated instructions by enhancing the diversity of instructions in a batch. This reduces the cost of synthesizing instruction data. The iterative feedback task generation integrates instruction generation and training tasks and utilizes information obtained during the training to create high-quality instruction sets. Our results show that SeDi-Instruct enhances the accuracy of AI models by 5.2%, compared with traditional methods, while reducing data generation costs by 36%.

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

↑