arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.18324cs.CLcs.AI
收藏

基于预训练语言模型的正则增强领域迁移主题分类:在金融领域的应用

Regex-augmented Domain Transfer Topic Classification based on a Pre-trained Language Model: An application in Financial Domain

Manulife(宏利金融);University of Waterloo(滑铁卢大学)

Vanessa Liao, Syed Shariyar Murtaza, Yifan Nie, Jimmy Lin

AI总结:

本文提出在金融领域文本分类中,将正则表达式模式作为领域知识特征引入预训练语言模型微调过程,并结合注意力网络,实验证明该方法优于仅用领域文本微调和线性层的方法。

摘要:

将大型预训练语言模型用于下游任务的一种常见方式是通过添加额外层对其进行微调。如果下游领域是专业领域,而大型语言模型是在通用语料库上预训练的,这种方法可能效果不佳。本文讨论了在微调过程中,除领域特定文本外,将正则表达式模式作为领域知识特征使用的方法。我们在真实场景生产数据上的实验表明,与仅在领域特定文本上进行微调相比,这种微调方法能够改善下游文本分类任务。我们还表明,使用注意力网络进行微调相比简单的线性层能够改善结果。

英文摘要:

A common way to use large pre-trained language models for downstream tasks is to fine tune them using additional layers. This may not work well if downstream domain is a specialized domain whereas the large language model has been pre-trained on a generic corpus. In this paper, we discuss the use of regular expression patterns employed as features for domain knowledge during the process of fine tuning, in addition to domain specific text. Our experiments on real scenario production data show that this method of fine tuning improves the downstream text classification tasks as compared to fine tuning only on domain specific text. We also show that the use of attention network for fine tuning improves results compared to simple linear layers.

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

↑