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

面向任务的领域内数据增强

Task Oriented In-Domain Data Augmentation

Tsinghua University(清华大学);Microsoft Research Asia(微软亚洲研究院);Microsoft AI(微软人工智能)

Xiao Liang, Xinyu Hu, Simiao Zuo, Yeyun Gong, Qiang Lou, Yi Liu, Shao-Lun Huang, Jian Jiao

AI总结:

针对大语言模型领域内数据稀缺、持续预训练数据无任务感知性的问题,提出TRAIT框架,通过领域数据筛选与任务导向合成数据增强,在广告、数学领域分别提升模型性能8%、7.5%。

摘要:

大语言模型(LLMs)已在各类应用和领域中展现出优异性能。为在法律、广告等专业领域取得更优表现,通常会使用领域内数据对LLMs进行持续预训练。但现有方法存在两大核心问题:其一,与通用的领域无关数据相比,领域内数据十分稀缺;其二,持续预训练所用数据不具备任务感知性,因此可能对下游应用没有帮助。\n我们提出TRAIT(面向任务的领域内数据增强框架),该框架分为领域内数据筛选、面向任务的合成段落生成两部分。数据筛选策略从通用语料库中识别并筛选出大量领域内数据,从而显著丰富持续预训练数据中的领域知识;合成段落包含如何运用领域知识解答下游任务相关问题的指引,模型通过在这类段落上训练,可匹配下游应用的需求。\n我们将LLMs适配到广告、数学两个领域,平均来看,TRAIT使LLM在广告领域的性能提升8%,在数学领域的性能提升7.5%。

英文摘要:

Large Language Models (LLMs) have shown superior performance in various applications and fields. To achieve better performance on specialized domains such as law and advertisement, LLMs are often continue pre-trained on in-domain data. However, existing approaches suffer from two major issues. First, in-domain data are scarce compared with general domain-agnostic data. Second, data used for continual pre-training are not task-aware, such that they may not be helpful to downstream applications. We propose TRAIT, a task-oriented in-domain data augmentation framework. Our framework is divided into two parts: in-domain data selection and task-oriented synthetic passage generation. The data selection strategy identifies and selects a large amount of in-domain data from general corpora, and thus significantly enriches domain knowledge in the continual pre-training data. The synthetic passages contain guidance on how to use domain knowledge to answer questions about downstream tasks. By training on such passages, the model aligns with the need of downstream applications. We adapt LLMs to two domains: advertisement and math. On average, TRAIT improves LLM performance by 8% in the advertisement domain and 7.5% in the math domain.

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

↑