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

不要随机掩码:通过掩码领域内关键词实现有效的领域自适应预训练

Do not Mask Randomly: Effective Domain-adaptive Pre-training by Masking In-domain Keywords

University of Arizona(亚利桑那大学);Harvard Medical School(哈佛医学院)

Shahriar Golchin, Mihai Surdeanu, Nazgol Tavabi, Ata Kiapour

AI总结:

本文提出用 KeyBERT 识别并选择性掩码领域内关键词的任务无关预训练方法,在三个数据集和两个 PLM 上优于随机掩码及标准预训练—微调范式,且关键词识别开销仅为 BERT Large 两 epoch 预训练时间的 7–15%。

摘要:

我们提出了一种新颖的、与任务无关的领域内预训练方法,它介于通用预训练和微调之间。我们的方法有选择地掩码领域内关键词,即那些能够紧凑表示目标领域的词语。我们使用 KeyBERT(Grootendorst,2020)识别此类关键词。我们在六种不同设置下评估该方法:三个数据集与两个不同的预训练语言模型(PLM)相结合。结果表明,采用我们的领域内预训练策略进行适配并微调后的 PLM,优于使用随机掩码进行领域内预训练的 PLM,也优于遵循常见“先预训练后微调”范式的 PLM。此外,识别领域内关键词的开销是合理的,例如对于 BERT Large(Devlin 等,2019),其开销为预训练时间(两个 epoch)的 7–15%。

英文摘要:

We propose a novel task-agnostic in-domain pre-training method that sits between generic pre-training and fine-tuning. Our approach selectively masks in-domain keywords, i.e., words that provide a compact representation of the target domain. We identify such keywords using KeyBERT (Grootendorst, 2020). We evaluate our approach using six different settings: three datasets combined with two distinct pre-trained language models (PLMs). Our results reveal that the fine-tuned PLMs adapted using our in-domain pre-training strategy outperform PLMs that used in-domain pre-training with random masking as well as those that followed the common pre-train-then-fine-tune paradigm. Further, the overhead of identifying in-domain keywords is reasonable, e.g., 7-15% of the pre-training time (for two epochs) for BERT Large (Devlin et al., 2019).

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

↑