DoPAMine:基于种子引导数据挖掘的领域特定预训练适配
DoPAMine: Domain-specific Pre-training Adaptation from seed-guided data Mining
AI总结:
针对大语言模型在专业低资源领域表现不佳、合成数据真实性不足等问题,提出DoPAMine框架,通过种子引导从大型语料挖掘真实领域数据用于预训练适配,在医疗和金融领域任务上显著提升模型性能。
摘要:
大语言模型(LLMs)已展现出在众多行业领域中有效泛化、执行各类任务的卓越能力。这些能力大多源自语言模型(LMs)预训练阶段所使用的数据。然而,当要求这些模型在专业或低资源行业领域中执行任务时,它们会表现出局限性。近期的方法利用LLMs生成领域特定的合成数据,但这类数据大多存在真实性不足、复杂度欠缺的问题。另一种情况是,在医疗、金融等已有领域数据的场景中,大多数语言模型都是专有模型,因此需要一种可扩展的方法来整理真实的行业特定预训练数据。在本研究中,我们提出了一个自动化、可扩展的框架——DoPAMine(基于种子引导数据挖掘的领域特定预训练适配),用于从大型数据语料库中挖掘领域特定的训练数据,以实现语言模型的领域适配。该框架利用LLM的参数化知识,生成针对特定领域的多样化、代表性种子数据,随后利用这些种子数据从Common Crawl等大型数据语料库中挖掘真实世界数据。我们在持续预训练(CPT)设置下评估了该框架的性能,使用DoPAMine挖掘的数据训练了两个医疗和金融领域的7B参数领域特定LLM。实验结果表明,与基线相比,在MMLU、MedQA、MedMCQA和PubMedQA数据集的医疗任务上,DoPAMine将预训练LLM的零样本和5样本性能分别平均提升了4.9%和5.1%;在FiQA-SA、FPB和Headlines数据集的金融任务上,零样本和5样本性能分别平均提升了2.9%和6.7%。
英文摘要:
Large Language Models (LLMs) have shown remarkable ability to generalize effectively across numerous industry domains while executing a range of tasks. Many of these competencies are obtained from the data utilized during the pre-training phase of the Language Models (LMs). However, these models exhibit limitations when tasked with performing in specialized or low-resource industry domains. More recent approaches use LLMs for generating domain-specific synthetic data but most often they lack in truthfulness and complexity. Alternatively, in cases where domain data is available like healthcare and finance most of the LMs are proprietary necessitating the need for a scalable method to curate real world industry specific pre-training data. In this work, we propose an automated and scalable framework - DoPAMine:Domain-specific Pre-training Adaptation from seed-guided data Mining, to mine domain specific training data from a large data corpus for domain adaptation of a LM. The framework leverages the parametric knowledge of a LLM to generate diverse and representative seed data tailored to a specific domain which is then used to mine real world data from a large data corpus like Common Crawl. We evaluated our framework's performance in the continual pre-training (CPT) setting by training two domain specific 7B parameter LMs in healthcare and finance with data mined via DoPAMine. Our experiments show that DoPAMine boosts the performance of pre-trained LLMs on average by 4.9% and 5.1% in zero-shot and 5-shot settings respectively on healthcare tasks from MMLU, MedQA, MedMCQA and PubMedQA datasets, and 2.9% and 6.7% for zero-shot and 5-shot settings respectively on finance tasks from FiQA-SA, FPB and Headlines datasets when compared to the baseline.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。