CLJan 14, 2024

Improving Domain Adaptation through Extended-Text Reading Comprehension

arXiv:2401.07284v217 citationsh-index: 41Has Code
Originality Incremental advance
AI Analysis

This is an incremental improvement for enhancing domain-specific capabilities of large language models.

The paper tackles the problem of limited context in domain adaptation for large language models by improving reading comprehension through LLM and clustering, achieving over 5% improvement in domain-specific tasks compared to AdaptLLM.

To enhance the domain-specific capabilities of large language models, continued pre-training on a domain-specific corpus is a prevalent method. Recent work demonstrates that adapting models using reading comprehension data formatted by regex-based patterns can significantly improve performance on domain-specific tasks. However, regex-based patterns are incapable of parsing raw corpora using domain-specific knowledge. Furthermore, the question and answer pairs are extracted directly from the corpus in predefined formats offers limited context. To address this limitation, we improve reading comprehension via LLM and clustering. LLM focuses on leveraging domain knowledge within the corpus to refine comprehension stage, while clustering supplies relevant knowledge by extending the context to enrich reading stage. Additionally, our method incorporates parameter-efficient fine-tuning to improve the efficiency of domain adaptation. In comparison to AdaptLLM, our method achieves an improvement exceeding 5% in domain-specific tasks. Our code will available at https://github.com/microsoft/LMOps.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes