DoG-Instruct: Towards Premium Instruction-Tuning Data via Text-Grounded Instruction Wrapping
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.
Code (1)
Tasks
HallucinationInstruction FollowingSimilar Papers 제목 키워드 기반
Instruction Mining: Instruction Data Selection for Tuning Large Language Models
Large language models (LLMs) are initially pretrained for broad capabilities and then finetuned with instruction-following datasets to improve their performance in interacting with humans. Despite advances in finetuning,…
Instruction FollowingLanguage ModelingLanguage ModellingLarge Language ModelContext-dependent Instruction Tuning for Dialogue Response Generation
Recent language models have achieved impressive performance in natural language tasks by incorporating instructions with task input during fine-tuning. Since all samples in the same natural language task can be explained…
Dialogue GenerationResponse GenerationContext-Parametric Inversion: Why Instruction Finetuning Can Worsen Context Reliance
A standard practice when using large language models is for users to supplement their instruction with an input context containing new information for the model to process. However, models struggle to reliably follow the…
What Makes Good Instruction-Tuning Data? An In-Context Learning Perspective
Instruction-tuning datasets often contain substantial redundancy and low-quality samples, necessitating effective data selection methods. We propose an instruction data selection framework based on weighted in-context in…
Improving Instruct Models for Free: A Study on Partial Adaptation
Instruct models, obtained from various instruction tuning or post-training steps, are commonly deemed superior and more usable than their base counterpart. While the model gains instruction following ability, instruction…
Few-Shot LearningIn-Context LearningInstruction Following