arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.06190cs.CLcs.LG
收藏

$FastDoc$:利用文档级元数据与分类体系的领域特定快速持续预训练技术

$FastDoc$: Domain-Specific Fast Continual Pre-training Technique using Document-Level Metadata and Taxonomy

Indian Institute of Technology Kharagpur(印度理工学院卡拉格普尔分校);Carnegie Mellon University(卡内基梅隆大学)

Abhilash Nandy, Manav Nitin Kapadnis, Sohan Patnaik, Yash Parag Butala, Pawan Goyal, Niloy Ganguly

AI总结:

该研究提出计算高效的$FastDoc$框架,通过文档元数据与领域分类体系监督、句子级嵌入输入的预训练搭配词元级嵌入微调的模式,在多领域大幅降低预训练算力的同时保持或超越基线性能,还能缓解灾难性遗忘。

摘要:

本文提出$FastDoc$(利用文档级元数据与分类体系的快速持续预训练技术),这是一种新颖的计算高效框架,利用文档元数据和领域特定分类体系作为监督信号,在领域特定语料上对Transformer编码器进行持续预训练。其核心创新在于:在领域特定预训练阶段,以句子级嵌入为输入对开放域编码器进行持续预训练(以适配长文档),而针对该编码器的微调则以词元级嵌入为输入。我们在客户支持、科学、法律三个不同领域开展此类领域特定预训练,在6项不同下游任务和9个不同数据集上对比性能。这种将文档级监督与句子级嵌入输入相结合的新颖预训练方式,与客户支持、科学、法律领域的MLM和/或NSP相比,预训练计算量分别降低约1000倍、4500倍和500倍。训练时间的缩短并未导致性能下降。事实上,我们证明在客户支持、科学和法律领域,$FastDoc$在字符级F1值及其他自动化指标上,要么优于多个有竞争力的基于Transformer的基线,要么与之表现相当。此外,训练量的降低有助于缓解灾难性遗忘风险。因此,与基线不同,$FastDoc$在开放域上的性能下降可忽略不计。

英文摘要:

In this paper, we propose $FastDoc$ (Fast Continual Pre-training Technique using Document Level Metadata and Taxonomy), a novel, compute-efficient framework that utilizes Document metadata and Domain-Specific Taxonomy as supervision signals to continually pre-train transformer encoder on a domain-specific corpus. The main innovation is that during domain-specific pretraining, an open-domain encoder is continually pre-trained using sentence-level embeddings as inputs (to accommodate long documents), however, fine-tuning is done with token-level embeddings as inputs to this encoder. We perform such domain-specific pre-training on three different domains namely customer support, scientific, and legal domains, and compare performance on 6 different downstream tasks and 9 different datasets. The novel use of document-level supervision along with sentence-level embedding input for pre-training reduces pre-training compute by around $1,000$, $4,500$, and $500$ times compared to MLM and/or NSP in Customer Support, Scientific, and Legal Domains, respectively. The reduced training time does not lead to a deterioration in performance. In fact we show that $FastDoc$ either outperforms or performs on par with several competitive transformer-based baselines in terms of character-level F1 scores and other automated metrics in the Customer Support, Scientific, and Legal Domains. Moreover, reduced training aids in mitigating the risk of catastrophic forgetting. Thus, unlike baselines, $FastDoc$ shows a negligible drop in performance on open domain.

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

↑