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

用于序列学习的上下文化非局部神经网络

Contextualized Non-local Neural Networks for Sequence Learning

Fudan University(复旦大学);MILA(蒙特利尔学习算法研究所);McGill University(麦吉尔大学);The Ohio State University(俄亥俄州立大学)

Pengfei Liu, Shuaichen Chang, Xuanjing Huang, Jian Tang, Jackie Chi Kit Cheung

摘要:

最近,已经提出了大量用于序列学习的神经机制和模型,其中以Transformer模型为例的自注意和图神经网络(GNNs)引起了广泛的关注。在本文中,我们提出了一种方法,结合和借鉴这两种方法的互补优势。具体来说,我们提出了上下文非本地神经网络(CN $^{\textbf{3}}$),它可以动态地构建一个特定于任务的句子结构,并利用丰富的本地依赖关系在一个特定的邻域。在文本分类、语义匹配和序列标记等10个NLP任务上的实验结果表明,我们提出的模型优于竞争基线,并发现了特定于任务的依赖结构,从而为用户提供了更好的可解释性。

英文摘要:

Recently, a large number of neural mechanisms and models have been proposed for sequence learning, of which self-attention, as exemplified by the Transformer model, and graph neural networks (GNNs) have attracted much attention. In this paper, we propose an approach that combines and draws on the complementary strengths of these two methods. Specifically, we propose contextualized non-local neural networks (CN$^{\textbf{3}}$), which can both dynamically construct a task-specific structure of a sentence and leverage rich local dependencies within a particular neighborhood. Experimental results on ten NLP tasks in text classification, semantic matching, and sequence labeling show that our proposed model outperforms competitive baselines and discovers task-specific dependency structures, thus providing better interpretability to users.

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

↑