paper-with-me

Papers

Tri-Attention: Explicit Context-Aware Attention Mechanism for Natural Language Processing

2022-11-05 · Rui Yu, Yifeng Li, Wenpeng Lu, Longbing Cao

In natural language processing (NLP), the context of a word or sentence plays an essential role. Contextual information such as the semantic representation of a passage or historical dialogue forms an essential part of a conversation and a precise understanding of the present phrase or sentence. However, the standard attention mechanisms typically generate weights using query and key but ignore context, forming a Bi-Attention framework, despite their great success in modeling sequence alignment. This Bi-Attention mechanism does not explicitly model the interactions between the contexts, queries and keys of target sequences, missing important contextual information and resulting in poor attention performance. Accordingly, a novel and general triple-attention (Tri-Attention) framework expands the standard Bi-Attention mechanism and explicitly interacts query, key, and context by incorporating context as the third dimension in calculating relevance scores. Four variants of Tri-Attention are generated by expanding the two-dimensional vector-based additive, dot-product, scaled dot-product, and bilinear operations in Bi-Attention to the tensor operations for Tri-Attention. Extensive experiments on three NLP tasks demonstrate that Tri-Attention outperforms about 30 state-of-the-art non-attention, standard Bi-Attention, contextual Bi-Attention approaches and pretrained neural language models1.

📄 PDF Abstract BibTeX arXiv:2211.02899

Code (1)

yurui12138/tri-attention 공식 구현 pytorch

Tasks

Sentence

Methods 이 논문이 사용한 방법론

Bi-attention Bi-attention employs the attention-in-attention (AiA) mechanism to capture second-order statistical information: the outer point-wise channel attention vectors are computed from…

Similar Papers 제목 키워드 기반

SACANet: scene-aware class attention network for semantic segmentation of remote sensing images

2023-04-22 · Xiaowen Ma, Rui Che, Tingfeng Hong, Mengting Ma 외

Spatial attention mechanism has been widely used in semantic segmentation of remote sensing images given its capability to model long-range dependencies. Many methods adopting spatial attention mechanism aggregate contex…

Semantic Segmentation

Graph-to-Text Generation with Dynamic Structure Pruning

2022-09-15 · COLING 2022 10 · Liang Li, Ruiying Geng, Bowen Li, Can Ma 외

Most graph-to-text works are built on the encoder-decoder framework with cross-attention mechanism. Recent studies have shown that explicitly modeling the input graph structure can significantly improve the performance. …

DecoderText Generation

Skeleton-Based Human Action Recognition with Global Context-Aware Attention LSTM Networks

2017-07-18 · Jun Liu, Gang Wang, Ling-Yu Duan, Kamila Abdiyeva 외

Human action recognition in 3D skeleton sequences has attracted a lot of research attention. Recently, Long Short-Term Memory (LSTM) networks have shown promising performance in this task due to their strengths in modeli…

Action RecognitionSkeleton Based Action RecognitionTemporal Action Localization

RISAM: Referring Image Segmentation via Mutual-Aware Attention Features

2023-11-27 · Mengxi Zhang, Yiming Liu, Xiangjun Yin, Huanjing Yue 외

Referring image segmentation (RIS) aims to segment a particular region based on a language expression prompt. Existing methods incorporate linguistic features into visual features and obtain multi-modal features for mask…

DecoderImage SegmentationSegmentationSemantic Segmentation

FAT-DeepFFM: Field Attentive Deep Field-aware Factorization Machine

2019-05-15 · Junlin Zhang, Tongwen Huang, Zhiqi Zhang

Click through rate (CTR) estimation is a fundamental task in personalized advertising and recommender systems. Recent years have witnessed the success of both the deep learning based model and attention mechanism in vari…

Click-Through Rate PredictionFeature ImportanceRecommendation Systems