DoMIX: An Efficient Framework for Exploiting Domain Knowledge in Fine-Tuning
About
Domain-Adaptive Pre-training (DAP) has recently gained attention for its effectiveness in fine-tuning pre-trained models. Building on this, continual DAP has been explored to develop pre-trained models capable of incrementally incorporating different domain datasets. However, existing continual DAP methods face several limitations: (1) high computational cost and GPU memory usage during training; (2) sensitivity to incremental data order; and (3) providing a single, generalized model for all end tasks, which contradicts the essence of DAP. In this paper, we propose DoMIX, a novel approach that addresses these challenges by leveraging LoRA modules, a representative parameter-efficient fine-tuning (PEFT) method. Our approach enables efficient and parallel domain-adaptive pre-training that is robust to domain order and effectively utilizes accumulated knowledge to provide tailored pre-trained models for specific tasks. We also demonstrate that our method can be extended beyond the DAP setting to standard LLM fine-tuning scenarios. Code is available at https://github.com/dohoonkim-ai/DoMIX.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Commonsense Reasoning | Commonsense Reasoning (BoolQ, PIQA, SIQA, HellaS., WinoG., ARC-e, ARC-c, OBQA) (test) | BoolQ Accuracy77.61 | 138 | |
| Text Classification | Pubmed | micro-F173.61 | 50 | |
| Text Classification | AI | Accuracy79.11 | 15 | |
| Text Classification | Phone | Accuracy87.12 | 15 | |
| Text Classification | ACL | Accuracy72.97 | 15 | |
| Text Classification | Camera | Accuracy90.54 | 15 | |
| Text Classification | Restaurant | Accuracy86.67 | 15 |