PANGEA: Projection-Based Augmentation with Non-Relevant General Data for Enhanced Domain Adaptation in LLMs

Juho Lee (KAIST, AITRICS) · Hyungi Lee (Kookmin University) · Moonseok Choi (KAIST, Korea Advanced Institute of Science and Technology) · Seungyoo Lee (Korea Advanced Institute of Science & Technology) · Giung Nam (KAIST)
data diversitydata qualitydata scarcitydomain-specific benchmarksfew-shot promptingfine-tuningfinqageneral-purpose datagsm8klanguage taskmedqapangeasynthetic data generationzero-shot prompting

Modern large language models (LLMs) achieve competitive performance across a wide range of natural language processing tasks through zero-shot or few-shot prompting. However, domain-specific tasks often still require fine-tuning, which is frequently hindered by data scarcity, i.e., collecting sufficient domain-specific data remains a practical challenge. A widely adopted solution is to generate synthetic data using LLMs by augmenting a small set of available domain-specific examples. In this work, we first identify fundamental limitations of such approach in terms of both data diversity and quality, particularly when relying on only a handful of domain-specific examples. We then propose our method, PANGEA, which leverages large-scale, publicly available general-purpose data