SearchInstruct: Enhancing Domain Adaptation via Retrieval-Based Instruction Dataset Creation
Not on the map. Why?
Abstract (arXiv)
Supervised Fine-Tuning (SFT) is essential for training large language models (LLMs), significantly enhancing critical capabilities such as instruction following and in-context learning. Nevertheless, creating suitable training datasets tailored for specific domains remains challenging due to unique domain constraints and data scarcity. In this paper, we propose SearchInstruct, an innovative method explicitly designed to construct high quality instruction datasets for SFT. Our approach begins with a limited set of domain specific, human generated questions, which are systematically expanded using a large language model. Subsequently, domain relevant resources are dynamically retrieved to generate accurate and contextually appropriate answers for each augmented question. Experimental evaluation demonstrates that SearchInstruct enhances both the diversity and quality of SFT datasets, leading to measurable improvements in LLM performance within specialized domains. Additionally, we show that beyond dataset generation, the proposed method can also effectively facilitate tasks such as model editing, enabling efficient updates to existing models. To facilitate reproducibility and community adoption, we provide full implementation details, the complete set of generated instruction response pairs, and the source code in a publicly accessible Git repository: [https://github.com/mostafaamiri/SearchInstruct](https://github.com/mostafaamiri/SearchInstruct)
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 11 of its 19 references that are in the map. First posted on arXiv 12 Sep 2025.
Builds on
11 of 19 references.
References · 11
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,674
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
- 2024ORPO: Monolithic Preference Optimization without Reference Modelcited by 556
- 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuningcited by 194
- 2023InstructRetro: Instruction Tuning post Retrieval-Augmented Pretrainingcited by 53
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.