Self-Attention with Relative Position Representations
Open accessThe DOI matches its Crossref record; 17 of the 17 references it cites were found in a registry or an index.
Abstract
Peter Shaw, Jakob Uszkoreit, Ashish Vaswani. Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers). 2018.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The cited source says what the claim attributes to it.
In the citing paper
“However, relative positional encodings not only come with extra computational costs, but also require modifying the implementation of the standard Transformers.”
From Conditional Positional Encodings for Vision Transformers (2021) · cites this paper as Shaw et al., 2018
The cited source says what the claim attributes to it.
In the citing paper
“For RPE, we follow (Shaw et al., 2018) and set the local range hyper-parameter K as 8, with which we obtain 70.5%.”
From Conditional Positional Encodings for Vision Transformers (2021) · cites this paper as Shaw et al., 2018
The cited source says what the claim attributes to it.
In the citing paper
“These methods include augmenting token embeddings with absolute position embeddings (Vaswani et al. 2017; Radford et al. 2018; Brown et al. 2020; Zhang et al. 2022), utilizing relative position embeddings or biases (Shaw et al. 2018; Dai et al. 2019; Raffel et al. 2020), or employing rotary position embeddings (Su et al. 2021; Chowdhery et al. 2022).”
From Large language models (LLMs): survey, technical frameworks, and future challenges (2024) · cites this paper as Shaw et al. 2018
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 9×
“We compared our model using only relative position representations to the baseline Transformer (Vaswani et al., 2017) with sinusoidal position encodings.”
BackgroundMethodInfluentialSelf-citationAdam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946 · cited 2×
“We used the Adam optimizer (Kingma and Ba, 2014) with β1 = 0.”
MethodRethinking the Inception Architecture for Computer Vision
Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., & Wojna, Z. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.308 · Cited by 32,138
Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation
Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., & Bengio, Y. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1179 · Cited by 25,545 · cited 2×
“, 2017), or a combination of recurrence and attention (Bahdanau et al., 2014; Cho et al., 2014; Luong et al., 2015; Wu et al., 2016) as basic building blocks.”
BackgroundSequence to Sequence Learning with Neural Networks
Sutskever, I., Vinyals, O., & Le, Q. V. (2014) · arXiv · doi:10.48550/arxiv.1409.3215 · Cited by 17,766 · cited 2×
“Recent approaches to sequence to sequence learning typically leverage recurrence (Sutskever et al., 2014), convolution (Gehring et al., 2017; Kalch-brenner et al., 2016), attention (Vaswani et al., 2017), or a combination of recurrence and attention (Bahdanau et al., 2014; Cho et al., 2014; Lu-ong…”
BackgroundNeural Machine Translation by Jointly Learning to Align and Translate
Bahdanau, D., Cho, K., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1409.0473 · Cited by 16,213 · cited 2×
“, 2017), or a combination of recurrence and attention (Bahdanau et al., 2014; Cho et al., 2014; Luong et al., 2015; Wu et al., 2016) as basic building blocks.”
BackgroundVeličković, P., Cucurull, G., Casanova, A., Romero, A., Liò, P., & Bengio, Y. (2017) · arXiv · doi:10.48550/arxiv.1710.10903 · Cited by 12,107
Veličković, P., Casanova, A., Liò, P., Cucurull, G., Romero, A., & Bengio, Y. (2017) · arXiv (Cornell University) · doi:10.17863/cam.48429 · Cited by 8,657
Effective Approaches to Attention-based Neural Machine Translation
Luong, T., Pham, H., & Manning, C. D. (2015) · Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d15-1166 · Cited by 8,382
Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translation
Wu, Y., Schuster, M., Chen, Z., Le, Q. V., Norouzi, M., Macherey, W., Krikun, M., Cao, Y., Gao, Q., Macherey, K., et al. (2016) · arXiv · doi:10.48550/arxiv.1609.08144 · Cited by 5,319
Cited by
Items 201–300 of 1,012
Context-Aware Self-Attention Networks
Yang, B., Li, J., Wong, D. F., Chao, L. S., Wang, X., & Tu, Z. (2019) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v33i01.3301387 · Cited by 151
Yu, Q., Wang, H., Qiao, S., Collins, M. D., Zhu, Y., Adam, H., Yuille, A., & Chen, L.-C. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-19818-2_17 · Cited by 212
Korean Sign Language Recognition Using Transformer-Based Deep Neural Network
Shin, J., Miah, A. S. M., Hasan, M. A. M., Hirooka, K., Suzuki, K., Lee, H.-S., & Jang, S.-W. (2023) · Applied Sciences · doi:10.3390/app13053029 · Cited by 143
“Besides this, relative position bias B was added in each of the self-attention modules [81,82].”
BackgroundBai, X., Liu, P., & Zhang, Y. (2020) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2020.3042009 · Cited by 137
“Another similar attempt to this end is Shaw et al. [45], who extends a self-attention network (SAN) by integrating relative position information for neural machine translation.”
BackgroundMethodE-Branchformer: Branchformer with Enhanced Merging for Speech Recognition
Kim, K., Wu, F., Peng, Y., Pan, J. S., Sridhar, P., Han, K. J., & Watanabe, S. (2023) · IEEE Spoken Language Technology Workshop (SLT) · doi:10.1109/slt54892.2023.10022656 · Cited by 219
LAMBERT: Layout-Aware Language Modeling for Information Extraction
Garncarek, Ł., Powalski, R., Stanisławek, T., Topolski, B., Halama, P., Turski, M., & Graliński, F. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-86549-8_34 · Cited by 158
“Secondly, we apply relative attention bias, used in [26,11,23] in the context of sequential position.”
MethodNeural Architecture Search for Transformers: A Survey
Chitty-Venkata, K. T., Emani, M., Vishwanath, V., & Somani, A. K. (2022) · IEEE Access · doi:10.1109/access.2022.3212767 · Cited by 118
“Other Vision Transformer-based networks replace non-parametric positional encoding in the original ViT with parametric encoding [80] or Fourier-based kernel-ized versions [81] or relative position encoding [82]. of Multi-Head Self-Attention and Multi-Layer Perceptron (MLP) units.”
MethodContinuous Speech Separation with Conformer
Chen, S., Wu, Y., Chen, Z., Wu, J., Li, J., Yoshioka, T., Wang, C., Liu, S., & Zhou, M. (2021) · ICASSP 2021 - 2021 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP) · doi:10.1109/icassp39728.2021.9413423 · Cited by 110
“pos = {relm,n} ∈ RM×M×dk is the relative position embedding [35], where M is the maximum chunk length.”
BackgroundTransformer in reinforcement learning for decision-making: a survey
Yuan, W., Chen, J., Chen, S., Lu, L., Hu, Z., Li, P., Feng, D., Liu, F., & Chen, J. (2024) · Frontiers of Information Technology & Electronic Engineering · doi:10.1631/fitee.2300548 · Cited by 127
“Notably, positional embeddings contain information about the relative position (such as sinusoidal positional encodings (Gehring et al., 2017)) or absolute position (Shaw et al., 2018) of the tokens in the sequence, which are essential since Transformer completely avoids recurrence and convolutions.”
Extracting Multiple-Relations in One-Pass with Pre-Trained Transformers
Wang, H., Tan, M., Yu, M., Chang, S., Wang, D., Xu, K., Guo, X., & Potdar, S. (2019) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/p19-1132 · Cited by 125
“Following (Shaw et al., 2018), we achieve this with the following formulation.”
MethodA Comparison of Transformer and Recurrent Neural Networks on Multilingual Neural Machine TranslationPreprint
Lakew, S. M., Cettolo, M., & Federico, M. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1806.06957 · Cited by 114
“In our work, we use the absolute positional encoding, but very recently the use of the relative positional information has been shown to improve performance (Shaw et al., 2018).”
MethodDialogue State Tracking with a Language Model using Schema-Driven Prompting
Lee, C., Cheng, H., & Mari Ostendorf, E. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.404 · Cited by 165
“T5 is an encoder-decoder Transformer with relative position encodings (Shaw et al., 2018).”
Deep drug-target binding affinity prediction with multiple attention blocks
Zeng, Y., Chen, X., Luo, Y., Li, X., & Peng, D. (2021) · Briefings in Bioinformatics · doi:10.1093/bib/bbab117 · Cited by 110
“According to work [23], it can be simplified as”
BackgroundInfluentialCroCo v2: Improved Cross-view Completion Pre-training for Stereo Matching and Optical Flow
Weinzaepfel, P., Lucas, T., Leroy, V., Cabon, Y., Arora, V., Brégier, R., Csurka, G., Antsfeld, L., Chidlovskii, B., & Revaud, J. (2023) · 2023 IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.01647 · Cited by 110
“[68], that consider distances between tokens are preferable.”
BackgroundSmBoP: Semi-autoregressive Bottom-up Semantic Parsing
Rubin, O., & Berant, J. (2021) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2021.naacl-main.29 · Cited by 172
Combining Global and Local Attention with Positional Encoding for Video Summarization
Apostolidis, E., Balaouras, G., Mezaris, V., & Patras, I. (2021) · IEEE International Symposium on Multimedia (ISM) · doi:10.1109/ism52913.2021.00045 · Cited by 149
Fixed Encoder Self-Attention Patterns in Transformer-Based Machine Translation
Raganato, A., Scherrer, Y., & Tiedemann, J. (2020) · Findings of the Association for Computational Linguistics: EMNLP 2020 · doi:10.18653/v1/2020.findings-emnlp.49 · Cited by 86
Zhang, Y., Pan, Y., Yao, T., Huang, R., Mei, T., & Chen, C. (2022) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52688.2022.01894 · Cited by 111
“Inspired by relative position encoding in [34], we supplement each key qj S ca le d d o tp ro d u ct & S o ft m a x HOI representation”
Make-Your-Video: Customized Video Generation Using Textual and Structural Guidance
Xing, J., Xia, M., Liu, Y., Zhang, Y., Zhang, Y., He, Y., Liu, H., Chen, H., Cun, X., Wang, X., et al. (2024) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2024.3365804 · Cited by 167
“Concretely, it consists of temporal self-attention modules with learnable positional embeddings [40], and a feed-forward layer [48].”
BackgroundHypergraph Transformer for Skeleton-based Action RecognitionPreprint
Zhou, Y., Cheng, Z.-Q., Li, C., Fang, Y., Geng, Y., Xie, X., & Keuper, M. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2211.09590 · Cited by 157
“In contrast to absolute positional embeddings, relative positional embeddings prove to be superior for Transformers on various tasks on language [9, 15, 31], vision [26, 43, 56, 56] and graph [49] data, because they retain more structural information than the former.”
BackgroundMethodRPConvformer: A novel Transformer-based deep neural networks for traffic flow prediction
Wen, Y., Xu, P., Li, Z., Xu, W. A., & Wang, X. (2023) · Expert Systems with Applications · doi:10.1016/j.eswa.2023.119587 · Cited by 116
Graph Neural Networks in Modern AI-Aided Drug Discovery
Zhang, O., Lin, H., Zhang, X., Wang, X., Wu, Z., Ye, Q., Zhao, W., Wang, J., Ying, K., Kang, Y., et al. (2025) · Chemical Reviews · doi:10.1021/acs.chemrev.5c00461 · Cited by 141
Hyperspectral Band Selection Using Attention-Based Convolutional Neural Networks
Lorenzo, P. R., Tulczyjew, Ł., Marcinkiewicz, M., & Nalepa, J. (2020) · IEEE Access · doi:10.1109/access.2020.2977454 · Cited by 117
“Attention mechanisms allow humans and animals to effectively process enormous amount of visual stimuli by focusing only on themost-informative chunks of data [20], [21].”
BackgroundVisualMRC: Machine Reading Comprehension on Document Images
Tanaka, R., Nishida, K., & Yoshida, S. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i15.17635 · Cited by 234
The Devil is in the Detail: Simple Tricks Improve Systematic Generalization of Transformers
Csordás, R., Irie, K., & Schmidhuber, J. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.49 · Cited by 106
“Also, some existing techniques such as relative positional embedding (Shaw et al., 2018; Dai et al., 2019), which are relevant for the problem, are not part of the baseline.”
BackgroundMethodContrastive autoencoder for anomaly detection in multivariate time series
Hao, Z., Yu, K., Zhang, X., Wu, G., & Yazidi, A. (2022) · Information Sciences · doi:10.1016/j.ins.2022.07.179 · Cited by 124
Teaching Arithmetic to Small Transformers
Lee, N., Sreenivasan, K., Lee, J. D., Lee, K., & Papailiopoulos, D. (2023) · arXiv · doi:10.48550/arxiv.2307.03381 · Cited by 7
“, 2022) and conclude that design changes like relative position encoding (Shaw et al., 2018) can improve performance significantly.”
BackgroundLanguage Model Behavior: A Comprehensive Survey
Chang, T. A., & Bergen, B. K. (2024) · Computational Linguistics · doi:10.1162/coli_a_00492 · Cited by 105
A Mathematical Investigation of Hallucination and Creativity in GPT Models
Lee, M. (2023) · Mathematics · doi:10.3390/math11102320 · Cited by 105
MIGC: Multi-Instance Generation Controller for Text-to-Image Synthesis
Zhou, D.-W., Li, Y., Ma, F., Zhang, X.-T., & Yang, Y. (2024) · Computer Vision and Pattern Recognition · doi:10.1109/cvpr52733.2024.00651 · Cited by 177
“If the initial noise does not tend to generate an instance according to description d i in box b i , the R if will be weak, leading to the instance missing.”
BackgroundPatchFormer: An Efficient Point Transformer with Patch Attention
Zhang, C., Wan, H., Shen, X., & Wu, Z. (2022) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52688.2022.01150 · Cited by 144
“Motivated by the success of Transformers in NLP [6,14, 29,34,48], researchers designed visual Transformers for vision tasks to take advantage of their great attention mechanism.”
MethodLearning to Encode Position for Transformer with Continuous Dynamical ModelPreprint
Liu, X., Yu, H.-F., Dhillon, I., & Hsieh, C.-J. (2020) · International Conference on Machine Learning · doi:10.48550/arxiv.2003.09229 · Cited by 149
A Simple and Effective Positional Encoding for Transformers
Chen, P.-C., Tsai, H., Bhojanapalli, S., Chung, H. W., Chang, Y.-W., & Ferng, C.-S. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.236 · Cited by 134
“Transformers have two major components: self-attention and a position-wise feed forward layer.”
BackgroundMethodInfluentialLearning Visual Question Answering by Bootstrapping Hard Attention
Malinowski, M., Doersch, C., Santoro, A., & Battaglia, P. (2018) · Lecture notes in computer science · doi:10.1007/978-3-030-01231-1_1 · Cited by 119
Joint Aspect Extraction and Sentiment Analysis with Directional Graph Convolutional Networks
Chen, G., Tian, Y., & Song, Y. (2020) · International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.24 · Cited by 135
“(Zhang et al., 2017; Song et al., 2018; Shaw et al., 2018; Tian et al., 2020b), any encoder for EASA could also be beneficial from adding such treatment to model the input text.”
BackgroundEncoding word order in complex embeddings
Wang, B., Zhao, D., Lioma, C., Li, Q., Zhang, P., & Simonsen, J. G. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.12333 · Cited by 57
“Instead of processing position-free operations in NNs to capture relative distance between words, prior work (Shaw et al., 2018; Dai et al., 2019) first calculates the relative distance between words, and then feeds the relative distance as an additional feature or as embeddings/weights to NNs, instead of directly fee…”
BackgroundInfluentialLearning Modality Interaction for Temporal Sentence Localization and Event Captioning in Videos
Chen, S., Jiang, W., Liu, W., & Jiang, Y. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-58548-8_20 · Cited by 127
Forecasting CPI inflation components with Hierarchical Recurrent Neural Networks
Barkan, O., Benchimol, J., Caspi, I., Cohen, E., Hammer, A., & Koenigstein, N. (2022) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2022.04.009 · Cited by 121
“Finally, we will try to replace the RNNs in the model with neural self-attention (Shaw et al., 2018).”
BS2T: Bottleneck Spatial–Spectral Transformer for Hyperspectral Image Classification
Song, R., Feng, Y., Wei, C., Mu, Z., & Wang, X. (2022) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2022.3185640 · Cited by 113
“D relative position self-attention implementation from [52].”
DiffiT: Diffusion Vision Transformers for Image Generation
Hatamizadeh, A., Song, J., Liu, G., Kautz, J., & Vahdat, A. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-73242-3_3 · Cited by 174
CAS-ViT: Convolutional Additive Self-Attention Vision Transformers for Efficient Mobile Applications
Zhang, T., Li, L., Zhou, Y., Liu, W.-T., Qian, C., Hwang, J.-N., & Ji, X.-Y. (2024) · IEEE Transactions on Image Processing · doi:10.1109/tip.2026.3655121 · Cited by 126
“Stacking these two operations yields the feature map after spatial and channel domain interactions, denoted as Φ( x ) .”
Pan, S., Liu, X., Xie, N., & Chong, Y. (2023) · BMC Bioinformatics · doi:10.1186/s12859-023-05196-1 · Cited by 114
“The process of absolute position embedding [35] can be formulated as follows:”
BackgroundWang, Y.-A., & Chen, Y.-N. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.555 · Cited by 78
Adaptive Attention Span in TransformersPreprint
Sukhbaatar, S., Grave, É., Bojanowski, P., & Joulin, A. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1905.07799 · Cited by 146
“In this paper, we make a couple of modifications to the Transformer model: we use the relative position embeddings of Shaw et al. (2018) and the caching mechanism of Dai et al. (2019) to speed up the train and test time.”
MethodModeling Intra-Relation in Math Word Problems with Different Functional Multi-Head Attentions
Li, J., Wang, L., Zhang, J., Wang, Y., Dai, B. T., & Zhang, D. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1619 · Cited by 91
“…networks have shown impressive re-sults in various natural language processing tasks, such as machine translation (Vaswani et al., 2017; Shaw et al., 2018) and natural language inference (Shen et al., 2018) due to their flexibility in parallel computation and power of modeling long…”
BackgroundMuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer With One Transformer VAE
Wu, S.-L., & Yang, Y. (2023) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2023.3270726 · Cited by 143
“More sophisticated methods which inform the model of the relative positions between all pairs of tokens have also been invented [37]–[40].”
MethodModeling Recurrence for Transformer
Hao, J., Wang, X., Yang, B., Wang, L., Zhang, J., & Tu, Z. (2019) · Proceedings of the 2019 Conference of the North · doi:10.18653/v1/n19-1122 · Cited by 82
“Modeling recurrence is crucial for capturing several essential properties of input sequence, such as structural representations (Tran et al., 2016) and positional encoding (Shaw et al., 2018), which are exactly the weaknesses of SAN (Tran et al., 2018).”
BackgroundMethodSentiment analysis with deep neural networks: comparative study and performance assessment
Wadawadagi, R. S., & Pagi, V. B. (2020) · Artificial Intelligence Review · doi:10.1007/s10462-020-09845-2 · Cited by 107
“On the other hand, the self-attention networks or intra-attention networks (Cheng et al. 2016; Lin et al. 2017; Vaswani et al. 2017; Shaw et al. 2018; Shen et al. 2018) have found to be useful for capturing global dependencies.”
BackgroundSpatially Aware Multimodal Transformers for TextVQA
Kant, Y., Batra, D., Anderson, P., Schwing, A. G., Parikh, D., Lu, J., & Agrawal, H. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-58545-7_41 · Cited by 120
XYLayoutLM: Towards Layout-Aware Multimodal Networks For Visually-Rich Document Understanding
Gu, Z., Meng, C., Wang, K., Lan, J., Wang, W., Gu, M., & Zhang, L. (2022) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52688.2022.00454 · Cited by 141
“Recently, by considering the distance between tokens, [25] proposed to change”
BackgroundSpatio-Temporal Attentive RNN for Node Classification in Temporal Attributed Graphs
Xu, D., Cheng, W. D., Luo, D., Liu, X., & Zhang, X. D. (2019) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/548 · Cited by 111
“Attention technique is capable of adaptively capturing the pertinent information [Vaswani et al., 2017; Shaw et al., 2018].”
MethodGATE: Graph Attention Transformer Encoder for Cross-lingual Relation and Event Extraction
Ahmad, W. U., Peng, N., & Chang, K.-W. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i14.17478 · Cited by 127
Porous Lattice Transformer Encoder for Chinese NER
Mengge, X., Yu, B., Liu, T., Zhang, Y., Meng, E., & Wang, B. (2020) · Proceedings of the 28th International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.340 · Cited by 57
“…into self-attention models, we propose a lattice transformer encoder for Chinese NER by introducing lattice-aware self-attention, which borrows the idea from the relative positional embedding (Shaw et al., 2018) to make self-attention aware of the relative position information in lattice structure.”
MethodELECTRIcity: An Efficient Transformer for Non-Intrusive Load Monitoring
Sykiotis, S., Kaselimi, M., Doulamis, A. D., & Doulamis, N. D. (2022) · Sensors · doi:10.3390/s22082926 · Cited by 107
“Techniques such as positional embeddings and attention masking are an integral part of transformer-based methodologies [19,20].”
BackgroundKPGT: Knowledge-Guided Pre-training of Graph Transformer for Molecular Property Prediction
Li, H., Zhao, D. Y., & Zeng, J. (2022) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3534678.3539426 · Cited by 138
“In the NLP field, the structural information of chain-structured language can be preserved by giving each token a position embedding or encoding the relative distance between any two tokens [45, 50], which actually cannot be easily generalized to the graph-structured data.”
BackgroundLi, X., Li, X., Zhang, S., Zhang, G., Zhang, M., & Shang, H. (2022) · Journal of King Saud University - Computer and Information Sciences · doi:10.1016/j.jksuci.2022.09.013 · Cited by 110
Human Cognition-Based Consistency Inference Networks for Multi-Modal Fake News Detection
Wu, L., Liu, P., Zhao, Y., Wang, P., & Zhang, Y. (2023) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2023.3280555 · Cited by 115
“Specifically, co-attention block first transforms the global features of comments and each comment into query, key, and value features following [57], respectively whereall W (like W qa , K ka ,and V va )aretrainableparameters.”
BackgroundAnomaly Detection in Dynamic Graphs: A Comprehensive Survey
Ekle, O. A., & Eberle, W. (2024) · ACM Transactions on Knowledge Discovery from Data · doi:10.1145/3669906 · Cited by 134
“…the model’s decisions is crucial for practical deployment and decision-making. v. Incorporation of Self-Attention and Transform-ers: Recent studies have indicated that GNNs can be integrated with self-attention [129] and transformers [144] as special cases, highlighting their adaptability.”
JointGT: Graph-Text Joint Representation Learning for Text Generation from Knowledge Graphs
Ke, P., Ji, H., Ran, Y., Cui, X., Wang, L., Song, L., Zhu, X., & Huang, M. (2021) · Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021 · doi:10.18653/v1/2021.findings-acl.223 · Cited by 92
Li, Y., Ren, J., Yan, Y., Liu, Q., Ma, P., Petrovski, A., & Sun, H. (2023) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2023.3276589 · Cited by 92
“Previous studies have found that the self-attention mechanism has beneficial to conventional CD tasks [37] and HSI classification [38], [39].”
BackgroundExploiting Deep Representations for Neural Machine Translation
Dou, Z.-Y., Tu, Z., Wang, X., Shi, S., & Zhang, T. (2018) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/d18-1457 · Cited by 101
“…our approach on other architectures such as RNN (Bah-danau et al., 2015) or CNN (Gehring et al., 2017) based NMT models, as well as combining with other advanced techniques (Shaw et al., 2018; Shen et al., 2018; Yang et al., 2018; Li et al., 2018) to further improve the performance of T RANS -”
MethodPrimer: Searching for Efficient Transformers for Language Modeling
So, D. R., Mańke, W., Liu, H., Dai, Z.-H., Shazeer, N., & Le, Q. V. (2021) · Neural Information Processing Systems · doi:10.48550/arxiv.2109.08668 · Cited by 244
“T2T uses positional embeddings and subword tokenization, while T5 and Lingvo use relative attention [57] and SentencePieces [58].”
Learning to Iteratively Solve Routing Problems with Dual-Aspect Collaborative Transformer
Ma, Y., Li, J., Cao, Z., Song, W. W., Zhang, L., Chen, Z., & Tang, J. (2021) · neural information processing systems · doi:10.48550/arxiv.2110.02544 · Cited by 183
“[19] to better capture the relative order information.”
BackgroundAddressing Some Limitations of Transformers with Feedback MemoryPreprint
Fan, A., Lavril, T., Grave, É., Joulin, A., & Sukhbaatar, S. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2002.09402 · Cited by 118
“Additional techniques such as position embeddings (Sukhbaatar et al., 2015; Shaw et al., 2018) and attention masking are required to capture input order information.”
BackgroundModeling Graph Structure in Transformer for Better AMR-to-Text Generation
Zhu, J., Li, J., Zhu, M., Qian, L., Zhang, M., & Zhou, G. (2019) · Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP) · doi:10.18653/v1/d19-1548 · Cited by 88
“Shaw et al. (2018) propose relation-aware self-attention to capture relative positions of word pairs for neural machine translation.”
BackgroundMethodA Transformer Self-attention Model for Time Series Forecasting
Farsani, R. M., & Pazouki, E. (2021) · Journal of Electrical and Computer Engineering Innovations (JECEI) · doi:10.22061/jecei.2020.7426.391 · Cited by 133
“One of the reported research on transformer model, is replacing Cosine and Sine location encoding with relative vector [33] that increase the performance significantly.”
MethodInsertion-based Decoding with Automatically Inferred Generation Order
Gu, J., Liu, Q., & Cho, K. (2019) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00292 · Cited by 84
Do Transformer Modifications Transfer Across Implementations and Applications?
Narang, S., Chung, H. W., Tay, Y., Fedus, L., Fevry, T., Matena, M., Malkan, K., Fiedel, N., Shazeer, N., Lan, Z., et al. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.465 · Cited by 76
“Relative attention (Shaw et al., 2018) replaced the absolute position embeddings by those based on relative distance between tokens (clipped to a maximum distance hyperparameter k ).”
BackgroundVocabulary Learning via Optimal Transport for Neural Machine Translation
Xu, J., Zhou, H., Gan, C., Zheng, Z., & Li, L. (2021) · doi:10.18653/v1/2021.acl-long.571 · Cited by 130
“En-De BLEU Parameters (Vaswani et al., 2017) 28.4 210M (Shaw et al., 2018) 29.2 213M (Ott et al., 2018) 29.3 210M (So et al., 2019) 29.8 218M (Liu et al., 2020) 30 Therefore, from an empirical perspective, BPE with VOLT size is also a good choice.”
InfluentialCMT-DeepLab: Clustering Mask Transformers for Panoptic Segmentation
Yu, Q., Wang, H., Kim, D., Qiao, S., Collins, M. D., Zhu, Y., Adam, H., Yuille, A., & Chen, L.-C. (2022) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52688.2022.00259 · Cited by 135
“Transformer [80] variants [2, 7, 22, 30, 48, 66, 84, 92] have advanced the state-of-the-art in many natural language processing tasks [25, 26, 75] by capturing relations across modalities [3] or in a single context (self-attention) [21, 80].”
BackgroundMask Attention Networks: Rethinking and Strengthen Transformer
Fan, Z., Gong, Y., Liu, D., Wei, Z., Wang, S., Jiao, J., Duan, N., Zhang, R., & Huang, X. (2021) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2021.naacl-main.135 · Cited by 99
Tracking Meets LoRA: Faster Training, Larger Model, Stronger Performance
Lin, L., Fan, H., Zhang, Z., Wang, Y., Xu, Y., & Ling, H. (2024) · Lecture notes in computer science · doi:10.1007/978-3-031-73232-4_17 · Cited by 184
Language-Agnostic Representation Learning of Source Code from Structure and Context
Zügner, D., Kirschstein, T., Catasta, M., Leskovec, J., & Günnemann, S. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2103.11318 · Cited by 60
“Their Graph Relational Embedding Attention Transformer (GREAT) extends Shaw et al. (2018), which biases the self-attention computation in a localized way given the underlying graph.”
BackgroundMethodTableFormer: Robust Transformer Modeling for Table-Text Encoding
Yang, J., Gupta, A., Upadhyay, S., He, L., Goel, R., & Paul, S. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2022.acl-long.40 · Cited by 85
On the Computational Power of Transformers and Its Implications in Sequence Modeling
Bhattamishra, S., Patel, A., & Goyal, N. (2020) · Proceedings of the 24th Conference on Computational Natural Language Learning · doi:10.18653/v1/2020.conll-1.37 · Cited by 32
Deep Learning for Heterogeneous Human Activity Recognition in Complex IoT Applications
Abdel‐Basset, M., Hawash, H., Chang, V. I. C., Chakrabortty, R. K., & Ryan, M. J. (2020) · IEEE Internet of Things Journal · doi:10.1109/jiot.2020.3038416 · Cited by 88
Tao, J., Chen, Z., Sun, Z., Guo, H., Leng, B., Yu, Z., Wang, Y., He, Z., Lei, X., & Yang, J. (2023) · Remote Sensing · doi:10.3390/rs15061602 · Cited by 88
ConTNet: Why not use convolution and transformer at the same time?
Yan, H., Li, Z., Li, W., Wang, C., Wu, M., & Zhang, C. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2104.13497 · Cited by 57
“We next replace self-attention in STE with relative attention from [37] to implement a relative position encoding, which yields an additional improvement.”
MethodHybrid Models for Learning to Branch
Gupta, P., Gasse, M., Khalil, E. B., Kumar, M. P. P., Lodi, A., & Bengio, Y. (2020) · neural information processing systems · doi:10.48550/arxiv.2006.15212 · Cited by 170
“Still, small trees can be obtained by using a computationally expensive heuristic named strong branching (SB) [6; 31].”
MethodS2SQL: Injecting Syntax to Question-Schema Interaction Graph Encoder for Text-to-SQL Parsers
Hui, B., Geng, R., Wang, L., Qin, B., Li, Y., Li, B., Sun, J., & Li, Y. (2022) · Findings of the Association for Computational Linguistics: ACL 2022 · doi:10.18653/v1/2022.findings-acl.99 · Cited by 63
Code Summarization with Structure-induced Transformer
Wu, H., Zhao, H., & Zhang, M. (2021) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2021.findings-acl.93 · Cited by 104
Time-series weather prediction in the Red sea using ensemble transformers
Hittawe, M. M., Harrou, F., Togou, M. A., Sun, Y., & Knio, O. (2024) · Applied Soft Computing · doi:10.1016/j.asoc.2024.111926 · Cited by 95
Generalized Predictive Model for Autonomous Driving
Yang, J., Gao, S., Qiu, Y., Chen, L., Li, T., Dai, B., Chitta, K., Wu, P., Zeng, J., Luo, P., et al. (2024) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52733.2024.01389 · Cited by 239
“Following common practice, we also add temporal bias implemented as relative position embeddings on the time axis [42] to distinguish different frames of a sequence for temporal attention.”
GT U-Net: A U-Net Like Group Transformer Network for Tooth Root Segmentation
Li, Y., Wang, S., Wang, J., Zeng, G., Liu, W., Zhang, Q., Jin, Q., & Wang, Y. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-87589-3_40 · Cited by 93
“2, where the position encoding method is relative-distance-aware position encoding [14,15,16] with R h and R w for height and width.”
MethodZhang, Q., Lipani, A., Kırnap, Ö., & Yılmaz, E. (2020) · UCL Discovery (University College London) · Cited by 81
What do you mean, BERT? Assessing BERT as a Distributional Semantics ModelPreprint
Mickus, T., Paperno, D., Constant, M., & van Deemter, K. (2019) · arXiv (Cornell University) · doi:10.7275/t778-ja71 · Cited by 88
“…are required so that the model does not devolve into a bag-of-word system, absolute encodings are not: other works have proposed alternative relative position encodings (Shaw et al., 2018; Dai et al., 2019, e.g.); re-placing the former with the latter may alleviate the gap in lexical contrasts.”
BackgroundWebFormer: The Web-page Transformer for Structure Information Extraction
Wang, Q., Fang, Y. Q., Ravula, A., Feng, F., Quan, X., & Liu, D. (2022) · International World Wide Web Conference (WWW) · doi:10.1145/3485447.3512032 · Cited by 106
“Inspired by the work of [37, 38], our T2T attention adopts relative attention pattern with relative position encodings, where each text token only attends to the text tokens within the same text sequence and within a local radius r .”
MethodA Transformer based approach to electricity load forecasting
Chan, J. W., & Yeo, C. K. (2024) · The Electricity Journal · doi:10.1016/j.tej.2024.107370 · Cited by 113
A Historical Survey of Advances in Transformer Architectures
Sajun, A. R., Zualkernan, I. A., & Sankalpa, D. (2024) · Applied Sciences · doi:10.3390/app14104316 · Cited by 91
“In early 2020, Shazeer [28] proposed an improvement to the transformer model, which involved variants of Gated Linear Units (GLUs) [59] being applied to the feedforward sublayers of the transformer model.”
BackgroundMethodTowards Making the Most of Context in Neural Machine Translation
Zheng, Z., Yue, X., Huang, S., Chen, J., & Birch, A. (2020) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2020/551 · Cited by 106
“Given the local representations of each sentences, we propose to extend the relative attention [Shaw et al. , 2018] from token-level to segment-level to model the inter-sentence global context: where Seg - Attn ( Q ; K ; V ) denotes the proposed segment-level relative attention.”
SlotRefine: A Fast Non-Autoregressive Model for Joint Intent Detection and Slot Filling
Wu, D., Ding, L., Lü, F., & Xie, J. (2020) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.152 · Cited by 98
Attention aware cost volume pyramid based multi-view stereo network for 3D reconstruction
Yu, A., Guo, W., Liu, B., Chen, X., Wang, X., Cao, X., & Jiang, B. (2021) · ISPRS Journal of Photogrammetry and Remote Sensing · doi:10.1016/j.isprsjprs.2021.03.010 · Cited by 86
Image super-resolution via channel attention and spatial attention
Lu, E., & Hu, X. (2021) · Applied Intelligence · doi:10.1007/s10489-021-02464-6 · Cited by 86
“Different network structures, such as non-local networks[26] , self-attention [20] , and transformers [25] , aim at making better weight masks.”
BackgroundRelation-mining self-attention network for skeleton-based human action recognition
Gedamu, K., Ji, Y., Gao, L., Yang, Y., & Shen, H. T. (2023) · Pattern Recognition · doi:10.1016/j.patcog.2023.109455 · Cited by 83
Diffusion Models as Masked Autoencoders
Wei, C., Mangalam, K., Huang, P.-Y., Li, Y., Fan, H., Hu, X., Wang, H., Xie, C., Yuille, A., & Feichtenhofer, C. (2023) · IEEE/CVF International Conference on Computer Vision (ICCV) · doi:10.1109/iccv51070.2023.01492 · Cited by 141
“[68] and relative positional embedding [65].”
BP-Transformer: Modelling Long-Range Context via Binary Partitioning
Ye, Z., Guo, Q., Gan, Q., Qiu, X., & Zhang, Z. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1911.04070 · Cited by 52
“Moreover, to better represent the position information of the span nodes and token nodes, we generalize the notion of relative position (Shaw et al., 2018) from sequences to trees and show that it better captures position bias.”
BackgroundInfluentialTransformers Can Achieve Length Generalization But Not RobustlyPreprint
Zhou, Y., Alon, U., Chen, X.-Y., Wang, X.-Z., Agarwal, R., & Zhou, D. (2024) · arXiv.org · doi:10.48550/arxiv.2402.09371 · Cited by 98
“The inability of transformers to extrapolate to longer sequences has been primarily attributed to position encoding (PE; Shaw et al., 2018).”
BackgroundMethodInfluentialOn the Turing Completeness of Modern Neural Network Architectures
Pérez, J. E. P., Marinković, J., & Barceló, P. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1901.03429 · Cited by 78
“This weakness has motivated the need for including information about the order of the input sequence by other means; in particular, this is often achieved by using the so-called positional encodings (Vaswani et al., 2017; Shaw et al., 2018), which we study below.”
MethodMulti-Scale Self-Attention for Text Classification
Guo, Q., Qiu, X., Liu, P., Xue, X., & Zhang, Z. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i05.6290 · Cited by 92
Enhancing Machine Translation with Dependency-Aware Self-Attention
Bugliarello, E., & Okazaki, N. (2020) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2020.acl-main.147 · Cited by 99
“Recent studies have, in fact, shown that self-attention networks benefit from modeling local contexts by reducing the dispersion of the attention distribution (Shaw et al., 2018; Yang et al., 2018, 2019), and that they might not capture the inherent syntactic structure of languages as well as recurrent models, especia…”
Background
Metadata
- Authors
- Shaw, P., Uszkoreit, J., & Vaswani, A.
- Affiliations
- Google (United States) (US)
- Venue
- Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers)
- Published
- 2018
- Pages
- 464-468
- OpenAlex
- W2789541106
- Semantic Scholar
- c8efcc854d97dfc2a42b83316a2109f9d166e43f
- Cited by
- 2,505
- References
- 13
- Citations by year
- 2026: 165 · 2025: 406 · 2024: 397 · 2023: 456 · 2022: 355 · 2021: 368 · 2020: 203 · 2019: 130 · 2018: 25
- FWCI
- 74.09
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- Locations
- Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) (publishedVersion, cc-by)
- arXiv (Cornell University) (submittedVersion)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Multimodal Machine Learning Applications
- Keywords
- self-attention, positional encoding, transformer models, sequence modeling
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.
