DoG-Instruct:通过文本接地指令包装实现优质指令调优数据
DoG-Instruct: Towards Premium Instruction-Tuning Data via Text-Grounded Instruction Wrapping
AI总结:
本文提出DoG-Instruct方法,通过训练LLM基于人工文档生成指令-响应对并包装表达,以减少幻觉并提升数据质量,在AlpacaEval上以1/5训练数据实现10%相对性能提升。
摘要:
大型语言模型(LLM)的指令遵循能力的提升在很大程度上依赖于高质量指令-响应对的可用性。然而,当前用于收集这些数据对的方法要么面临难以承受的人力成本,要么在LLM自我生成过程中出现严重的幻觉问题。为解决这些挑战,本文提出了一种可扩展的解决方案。该方法涉及训练LLM基于人工撰写的文档生成指令-响应对,而非仅依赖无上下文的自我生成。我们提出的方法不仅利用了人工撰写文档在减少幻觉方面的优势,还利用LLM对文档表达进行包装,从而弥合各种文档风格与标准AI响应之间的差距。实验表明,我们的方法在多个基准测试上优于现有典型方法。特别是,与表现最佳的基线相比,使用我们生成的数据集训练的LLM在AlpacaEval上表现出10%的相对性能提升,尽管仅使用了其1/5的训练数据。此外,全面的手动评估验证了我们生成数据的质量。我们训练的包装器已在https://github.com/Bahuia/Dog-Instruct上公开提供。
英文摘要:
The improvement of LLMs' instruction-following capabilities relies heavily on the availability of high-quality instruction-response pairs. Unfortunately, the current methods used to collect the pairs suffer from either unaffordable labor costs or severe hallucinations in the self-generation of LLM. To tackle these challenges, this paper proposes a scalable solution. It involves training LLMs to generate instruction-response pairs based on human-written documents, rather than relying solely on self-generation without context. Our proposed method not only exploits the advantages of human-written documents in reducing hallucinations but also utilizes an LLM to wrap the expression of documents, which enables us to bridge the gap between various document styles and the standard AI response. Experiments demonstrate that our method outperforms existing typical methods on multiple benchmarks. In particular, compared to the best-performing baseline, the LLM trained using our generated dataset exhibits a 10\% relative improvement in performance on AlpacaEval, despite utilizing only 1/5 of its training data. Furthermore, a comprehensive manual evaluation validates the quality of the data we generated. Our trained wrapper is publicly available at https://github.com/Bahuia/Dog-Instruct.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。