CRAFT Your Dataset: Task-Specific Synthetic Dataset Generation Through Corpus Retrieval and Augmentation
Ziegler, Ingo, Köksal, Abdullatif, Elliott, Desmond, Schütze, Hinrich
–arXiv.org Artificial Intelligence
Building high-quality datasets for specialized tasks is a time-consuming and resource-intensive process that often requires specialized domain knowledge. We propose Corpus Retrieval and Augmentation for Fine-Tuning (CRAFT), a method for generating synthetic datasets, given a small number of user-written few-shots that demonstrate the task to be performed. Given the few-shot examples, we use large-scale public web-crawled corpora and similarity-based document retrieval to find other relevant human-written documents. Lastly, instruction-tuned large language models (LLMs) augment the retrieved documents into custom-formatted task samples, which then can be used for fine-tuning. We demonstrate that CRAFT can efficiently generate large-scale task-specific training datasets for four diverse tasks: biology question-answering (QA), medicine QA and commonsense QA as well as summarization. Our experiments show that CRAFT-based models outperform or achieve comparable performance to general LLMs for QA tasks, while CRAFT-based summarization models outperform models trained on human-curated data by 46 preference points.
arXiv.org Artificial Intelligence
Sep-3-2024
- Country:
- Oceania > Australia
- North America
- United States
- Texas (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Michigan > Washtenaw County
- Ann Arbor (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Canada > Ontario
- Toronto (0.04)
- United States
- Europe
- Sweden > Stockholm
- Stockholm (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Germany > Bavaria
- Upper Bavaria > Munich (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Sweden > Stockholm
- Asia
- India (0.04)
- British Indian Ocean Territory > Diego Garcia (0.04)
- Middle East > Saudi Arabia
- Asir Province > Abha (0.04)
- Genre:
- Research Report (0.82)
- Industry:
- Technology: