arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.07284cs.CL
收藏

通过扩展文本阅读理解改进领域自适应

Improving Domain Adaptation through Extended-Text Reading Comprehension

Beihang University(北京航空航天大学);Microsoft Corporation(微软公司)

Ting Jiang, Shaohan Huang, Shengyue Luo, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang, Deqing Wang, Fuzhen Zhuang

AI总结:

本文提出利用LLM与聚类改进阅读理解数据构建,并引入参数高效微调,在领域特定任务上相比AdaptLLM提升超过5%。

摘要:

为了增强大语言模型的领域特定能力,在领域特定语料库上进行持续预训练是一种普遍方法。近期工作表明,使用基于正则表达式模式格式化的阅读理解数据来适配模型,可以显著提升领域特定任务的性能。然而,基于正则表达式的模式无法利用领域特定知识解析原始语料库。此外,问题和答案对以预定义格式直接从语料库中提取,提供的上下文有限。为解决这一局限,我们通过LLM和聚类改进阅读理解。LLM侧重于利用语料库中的领域知识来优化理解阶段,而聚类通过扩展上下文来丰富阅读阶段,从而提供相关知识。此外,我们的方法结合了参数高效微调以提高领域自适应的效率。与AdaptLLM相比,我们的方法在领域特定任务上取得了超过5%的提升。我们的代码将在https://github.com/microsoft/LMOps发布。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑