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

利用大规模域外常识增强自然语言表示

Enhancing Natural Language Representation with Large-Scale Out-of-Domain Commonsense

Shanghai University of Finance and Economics(上海财经大学)

Wanyun Cui, Xingran Chen

摘要:

我们研究如何通过文本常识来增强文本表示。我们指出常识具有领域差异的性质。也就是说,常识具有不同的数据格式,并且与下游任务无关。这种性质给在一般文本理解任务中引入常识带来了挑战。引入文本知识的典型方法是在常识语料库上继续预训练。然而,由于域差异,它会对下游任务造成灾难性遗忘。此外,以前直接使用文本描述作为额外输入信息的方法不能适用于大规模常识。在本文中,我们建议使用大规模的域外常识,以增强文本表示。为了有效地结合常识,我们提出了OK-Transformer(\underline{O} ut-of-domain \underline{K} notification enhanced \underline{Transformer})。OK-Transformer有效地集成了常识描述,并将其增强为目标文本表示。此外,OK-Transformer可以免费适应基于Transformer的语言模型(例如BERT、RoBERTa),无需在大规模无监督语料库上进行预训练。我们已经验证了OK-Transformer在多个应用程序中的有效性,例如常识推理、一般文本分类和低资源常识设置。

英文摘要:

We study how to enhance text representation via textual commonsense. We point out that commonsense has the nature of domain discrepancy. Namely, commonsense has different data formats and is domain-independent from the downstream task. This nature brings challenges to introducing commonsense in general text understanding tasks. A typical method of introducing textual knowledge is continuing pre-training over the commonsense corpus. However, it will cause catastrophic forgetting to the downstream task due to the domain discrepancy. In addition, previous methods of directly using textual descriptions as extra input information cannot apply to large-scale commonsense. In this paper, we propose to use large-scale out-of-domain commonsense to enhance text representation. In order to effectively incorporate the commonsense, we proposed OK-Transformer (\underline{O}ut-of-domain \underline{K}nowledge enhanced \underline{Transformer}). OK-Transformer effectively integrates commonsense descriptions and enhances them to the target text representation. In addition, OK-Transformer can adapt to the Transformer-based language models (e.g. BERT, RoBERTa) for free, without pre-training on large-scale unsupervised corpora. We have verified the effectiveness of OK-Transformer in multiple applications such as commonsense reasoning, general text classification, and low-resource commonsense settings.

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

↑