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

基于语义和位置自注意网络的文本分类

Cascaded Semantic and Positional Self-Attention Network for Document Classification

College of Internet of Things Engineering, Hohai University(河海大学物联网工程学院);Institute of Science and Technology for Brain-Inspired Intelligence, Fudan University(复旦大学类脑智能科学与技术研究院);Department of Computer & Information Sciences, Temple University(天普大学计算机与信息科学系)

Juyong Jiang, Jie Zhang, Kai Zhang

摘要:

Transformers在学习语言建模的表示方面取得了巨大的成功。然而,一个开放的挑战仍然是如何系统地聚合语义信息(词嵌入)与位置(或时间)信息(词序)。在这项工作中,我们提出了一个新的架构来聚合的两个来源的信息,使用级联的语义和位置的自我注意力网络(CSPAN)的文件分类的背景下。CSPAN使用与Bi-LSTM级联的语义自注意层,以顺序的方式处理语义和位置信息,然后通过残差连接将它们自适应地组合在一起。与常用的位置编码方案相比,CSPAN能够更好地利用语义和词位置之间的相互作用,具有更强的可解释性和自适应性,在保持模型规模和收敛速度的同时,分类性能得到显著提高。我们评估了CSPAN模型的几个基准数据集的文件分类仔细消融研究,并证明了令人鼓舞的结果与最先进的。

英文摘要:

Transformers have shown great success in learning representations for language modelling. However, an open challenge still remains on how to systematically aggregate semantic information (word embedding) with positional (or temporal) information (word orders). In this work, we propose a new architecture to aggregate the two sources of information using cascaded semantic and positional self-attention network (CSPAN) in the context of document classification. The CSPAN uses a semantic self-attention layer cascaded with Bi-LSTM to process the semantic and positional information in a sequential manner, and then adaptively combine them together through a residue connection. Compared with commonly used positional encoding schemes, CSPAN can exploit the interaction between semantics and word positions in a more interpretable and adaptive manner, and the classification performance can be notably improved while simultaneously preserving a compact model size and high convergence rate. We evaluate the CSPAN model on several benchmark data sets for document classification with careful ablation studies, and demonstrate the encouraging results compared with state of the art.

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

↑