Mining Useful General Data for Low-Resource Domain Adaptation
About
Adapting large language models (LLMs) to low-resource domains remains challenging due to the scarcity of domain-specific data. While in-domain data is limited, there exists a vast amount of general-domain data that shares similar question-answer formats and reasoning patterns with domain tasks. This observation raises an important question: can useful general-domain data be mined to improve low-resource domain adaptation? Our initial findings show that general-domain chain-of-thought data contains useful auxiliary signals for domain adaptation, even without careful selection. This observation motivates a new paradigm for domain adaptation beyond exclusive reliance on domain-specific data. To systematically identify the most beneficial general-domain samples, we propose NTK-Selector, motivated by the Neural Tangent Kernel's ability to capture alignment in training dynamics. Since directly applying NTK to pretrained LLMs is impractical, we introduce a Jacobian-free NTK approximation and empirically demonstrate stable NTK-like behavior during fine-tuning. Extensive experiments across medical, financial, legal, and psychological domains demonstrate that NTK-Selector consistently outperforms domain-only fine-tuning and existing data selection baselines. In particular, NTK-Selector achieves gains of +8.7 and +5.1 points on Llama3-8B-Instruct and Qwen3-8B, respectively, compared to only +0.8 and +0.9 points from domain-only fine-tuning.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Medical | MedMCQA | Accuracy (ACC)0.614 | 81 | |
| Financial Task | TFNS | Performance73.3 | 18 | |
| Legal Task | ContractNLI | Performance79.9 | 18 | |
| Legal Task | PrivacyQA | Performance67.8 | 18 | |
| Medical Task | MMLU Med | Performance83.8 | 18 | |
| Psychological Task | RSDD | Performance96.5 | 18 | |
| Financial Task | Headline | Performance86.2 | 18 | |
| Financial Task | FPB | Performance85.5 | 18 | |
| News Classification | KINNEWS | F1 Score70.8 | 7 | |
| Question Answering | AgXQA | F1 Score78.3 | 7 |