Multiple Positional Self-Attention Network for Text Classification
Biyun Dai, Jinlong Li, Ruoyi Xu
摘要
Self-attention mechanisms have recently caused many concerns on Natural Language Processing (NLP) tasks. Relative positional information is important to self-attention mechanisms. We propose Faraway Mask focusing on the (2m + 1)-gram words and Scaled-Distance Mask putting the logarithmic distance punishment to avoid and weaken the self-attention of distant words respectively. To exploit different masks, we present Positional Self-Attention Layer for generating different Masked-Self-Attentions and a following Position-Fusion Layer in which fused positional information multiplies the Masked-Self-Attentions for generating sentence embeddings. To evaluate our sentence embeddings approach Multiple Positional Self-Attention Network (MPSAN), we perform the comparison experiments on sentiment analysis, semantic relatedness and sentence classification tasks. The result shows that our MPSAN outperforms state-of-the-art methods on five datasets and the test accuracy is improved by 0.81%, 0.6% on SST, CR datasets, respectively. In addition, we reduce training parameters and improve the time efficiency of MPSAN by lowering the dimension number of self-attention and simplifying fusion mechanism.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper3
- ClusterFormer: Neural Clustering Attention for Efficient and Effective TransformerNingning Wang, Guobing Gan, Peng Zhang, Shuai Zhang 等ACL 2022 · 被引用 24 次
- Continuous Self-Attention Models with Neural ODE NetworksJing Zhang, Peng Zhang, Baiwen Kong, Junqiu Wei 等AAAI 2021 · 被引用 24 次
- On Scalar Embedding of Relative Positions in Attention ModelsJunshuang Wu, Richong Zhang, Yongyi Mao, Junfan ChenAAAI 2021 · 被引用 4 次
相关 Paper
- Modelling Context and Syntactical Features for Aspect-based Sentiment AnalysisMinh-Hieu Phan, Philip O. OgunbonaACL 2020 · 被引用 190 次
- On Position Embeddings in BERTBenyou Wang, Lifeng Shang, Christina Lioma, Xin Jiang 等ICLR 2021 · 被引用 129 次
- UniLMv2: Pseudo-Masked Language Models for Unified Language Model Pre-TrainingHangbo Bao, Li Dong, Furu Wei, Wenhui Wang 等ICML 2020 · 被引用 423 次
- Discourse Self-Attention for Discourse Element Identification in Argumentative Student EssaysWei Song, Ziyao Song, Ruiji Fu, Lizhen Liu 等EMNLP 2020 · 被引用 15 次
- Self-Attention Enhanced Selective Gate with Entity-Aware Embedding for Distantly Supervised Relation ExtractionYang Li, Guodong Long, Tao Shen, Tianyi Zhou 等AAAI 2020 · 被引用 88 次
