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 701–800 of 1,012
Promises and perils of using Transformer-based models for SE research
Xiao, Y., Zuo, X., Lu, X., Dong, J. S., Cao, X., & Beschastnikh, I. (2024) · Neural Networks · doi:10.1016/j.neunet.2024.107067 · Cited by 27
EViT: An Eagle Vision Transformer With Bi-Fovea Self-Attention
Shi, Y., Sun, M., Wang, Y., Ma, J., & Chen, Z. (2025) · IEEE Transactions on Cybernetics · doi:10.1109/tcyb.2025.3532282 · Cited by 29
Yang, N., Fan, M., Wang, W., & Zhang, H. (2025) · IEEE Communications Surveys & Tutorials · doi:10.1109/comst.2025.3614494 · Cited by 50
“Relative position encoding (RPE) [88] addresses these limitations by incorporating relative positional relationships directly within the attention mechanism.”
HELoC: hierarchical contrastive learning of source code representation
Wang, X., Wu, Q., Zhang, H., Lyu, C., Jiang, X., Zheng, Z., Lyu, L., & Hu, S. (2022) · IEEE International Conference on Program Comprehension (ICPC) · doi:10.1145/3524610.3527896 · Cited by 31
Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformers
Ren, B., Liu, Y., Song, Y., Bi, W., Cucchiara, R., Sebe, N., & Wang, W. (2023) · 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/cvpr52729.2023.01952 · Cited by 53
“For example, previous works [10,33,38] indicated that PEs are useful to give the model a sense of which portion of the sequence in the input/output it is currently dealing with.”
BackgroundTowards Controllable and Personalized Review Generation
Li, P., & Tuzhilin, A. (2019) · Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d19-1319 · Cited by 43
“Besides, to capture the relative position representations. we incorporate self-attentive mechanism (Shaw et al., 2018) during encoding process.”
BackgroundBG-SAC: Entity relationship classification model based on Self-Attention supported Capsule Networks
Peng, D., Zhang, D., Liu, C., & Lu, J. (2020) · Applied Soft Computing · doi:10.1016/j.asoc.2020.106186 · Cited by 28
Anomaly-Based Intrusion Detection in IIoT Networks Using Transformer Models
Casajús-Setién, J., Bielza, C., & Larrañaga, P. (2023) · IEEE International Conference on Cyber Security and Resilience (CSR) · doi:10.1109/csr57506.2023.10224965 · Cited by 29
“, xn) with xi ∈ Rx acting as the queries, keys and values at once [14].”
BackgroundAlkahtani, H. S., Aldhyani, T. H. H., Ahmed, Z. A. T., & Alqarni, A. A. (2023) · Mathematics · doi:10.3390/math11224698 · Cited by 31
Shi, Y., He, M., Chen, J., Han, F., & Cai, Y. (2024) · PLoS Computational Biology · doi:10.1371/journal.pcbi.1011989 · Cited by 30
Modeling Source Syntax and Semantics for Neural AMR Parsing
Ge, D., Li, J., Zhu, M., & Li, S. (2019) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2019/691 · Cited by 26
Mohammadshahi, A., & Henderson, J. (2021) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00358 · Cited by 36
“Alternatively, Shaw et al. (2018) proposes to represent sequential order with relative position encodings, which are input to the self-attention functions.”
BackgroundMethodPoD: Positional Dependency-Based Word Embedding for Aspect Term Extraction
Yin, Y., Wang, C., & Zhang, M. (2020) · International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.150 · Cited by 27
Graph Attention Networks with Positional Embeddings
Ma, L., Rabbany, R., & Romero, A. (2021) · Lecture notes in computer science · doi:10.1007/978-3-030-75762-5_41 · Cited by 40
“In sequence-based [24,21,5], tree-based [26] and image-based [4,32] tasks, the lack of structural information leveraged by the attention mechanisms has been remedied by introducing handcrafted or learned positional encodings [24,21,26,5,4,32], resulting in improved performances.”
BackgroundModeling Graph Structure via Relative Position for Text Generation from Knowledge Graphs
Schmitt, M., Ribeiro, L. F. R., Dufter, P., Gurevych, I., & Schütze, H. (2021) · Workshop on Graph Based Methods for Natural Language Processing · doi:10.18653/v1/2021.textgraphs-1.2 · Cited by 41
Attention-Aware Dynamic Self-Aggregation Network for Satellite Image Time Series Classification
Zhang, W., Du, P., Fu, P., Zhang, P., Tang, P., Zheng, H., Meng, Y., & Li, E. (2021) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2021.3120914 · Cited by 31
Disentangled Sequence to Sequence Learning for Compositional Generalization
Zheng, H., & Lapata, M. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.293 · Cited by 40
Hero-Gang Neural Model For Named Entity Recognition
Hu, J., Shen, Y., Liu, Y., Wan, X., & Chang, T. (2022) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/2022.naacl-main.140 · Cited by 30
A Survey on Transformers for Point Cloud Processing: An Updated Overview
Zeng, J., Wang, D., & Chen, P. (2022) · IEEE Access · doi:10.1109/access.2022.3198999 · Cited by 27
“There are many specific calculation methods for the position vector [30], [31], [32], and the calculation methods in [11] are as follows : where pos refers to the position of the current word in the sentence, and i refers to the index of each value in the vector.”
MethodDo We Really Need Temporal Convolutions in Action Segmentation?
Du, D., Su, B., Li, Y., Qi, Z., Si, L., & Shan, Y. (2023) · IEEE International Conference on Multimedia and Expo (ICME) · doi:10.1109/icme55011.2023.00178 · Cited by 39
A large scale Digital Elevation Model super-resolution Transformer
Li, Z., Zhu, X., Yao, S., Yue, Y., García‐Fernández, Á. F., Lim, E. G., & Levers, A. (2023) · International Journal of Applied Earth Observation and Geoinformation · doi:10.1016/j.jag.2023.103496 · Cited by 43
Out of Context: How important is Local Context in Neural Program Repair?
Prenner, J. A., & Robbes, R. (2024) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3597503.3639086 · Cited by 32
“Alternative ways to encode token position have been proposed, including relative position embedding [27], rotary position embeddings (RoPE [28]), and biases to the attention [23].”
MethodBA-SAM: Scalable Bias-Mode Attention Mask for Segment Anything Model
Song, Y., Zhou, Q., Li, X., Fan, D.-P., Lu, X., & Ma, L. (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.00305 · Cited by 35
“Recent work [56] considers the pairwise relationships between elements.”
BackgroundSyntax-aware Transformer Encoder for Neural Machine Translation
Duan, S., Zhao, H., Zhou, J., & Wang, R. (2019) · International Conference on Asian Language Processing · doi:10.1109/ialp48816.2019.9037672 · Cited by 31
“Shaw et al. [17] extend the self-attention mechanism to efficiently consider representations of the relative positions or distances between sequence elements.”
BackgroundTRU-NET: a deep learning approach to high resolution prediction of rainfall
Adewoyin, R. A., Dueben, P. D., Watson, P. A. G., He, Y., & Dutta, R. (2021) · Machine Learning · doi:10.1007/s10994-021-06022-6 · Cited by 113
A Comprehensive Review of Protein Language ModelsPreprint
Wang, L., Li, X., Zhang, H., Wang, J., Jiang, D., Xue, Z., & Wang, Y. (2025) · arXiv · doi:10.48550/arxiv.2502.06881 · Cited by 45
A Survey on Low-Latency DNN-Based Speech Enhancement
Drgas, S. (2023) · Sensors · doi:10.3390/s23031380 · Cited by 33
LLMs for User Interest Exploration in Large-scale Recommendation Systems
Wang, J., Lu, H., Liu, Y., Ma, H., Wang, Y., Gu, Y., Zhang, S., Han, N., Bi, S., Baugher, L., et al. (2024) · ACM Conference on Recommender Systems (RecSys) · doi:10.1145/3640457.3688161 · Cited by 43
“At the low level, to leverage classic recommendation models with strong personalization, we ground these novel interests to item recommendations by "restricting" conventional transformer-based sequence models [8, 27] to items within the "clusters" defined by those novel interests.”
BackgroundMethodHuang, Y., Zhang, K., Xia, P., Wang, Z., Li, Y., & Liu, C. (2024) · Advanced Engineering Informatics · doi:10.1016/j.aei.2024.102948 · Cited by 26
Noe, S. M., Zin, T. T., Kobayashi, I., & Tin, P. (2025) · Scientific Reports · doi:10.1038/s41598-025-91553-4 · Cited by 31
“…of generative AI models, such as variational autoencoders (VAEs) 13 , generative adversarial networks (GANs) 14 , and self-attention mechanisms 15 , offers a promising solution Generative AI has demonstrated remarkable capabilities in image generation and translation tasks 16 , providing the…”
A Unified SAM-Guided Self-Prompt Learning Framework for Infrared Small Target Detection
Fu, Y., Lyu, J., Ma, P., Liu, Z., & Ng, M. K. (2025) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2025.3610919 · Cited by 39
Alibaba’s Neural Machine Translation Systems for WMT18
Deng, Y., Cheng, S., Lu, J., Song, K., Wang, J., Wu, S., Yao, L., Zhang, G., Zhang, H., Zhang, P., et al. (2018) · Conference on Machine Translation (WMT) · doi:10.18653/v1/w18-6408 · Cited by 36
“We use relative position representation in selfattention mechanism (Shaw et al., 2018) of both the encoder and decoder side for all systems.”
MethodInfluentialToken-level Dynamic Self-Attention Network for Multi-Passage Reading Comprehension
Zhuang, Y., & Wang, H. (2019) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/p19-1218 · Cited by 32
“Some papers pro-pose variants of self-attention mechanisms, such as Shen et al. (2018c); Hu et al. (2018); Shaw et al. (2018); Yang et al. (2019).”
BackgroundHighway Transformer: Self-Gating Enhanced Self-Attentive Networks
Chai, Y., Jin, S., & Hou, X. (2020) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2020.acl-main.616 · Cited by 35
Learning Object Placement via Dual-Path Graph Completion
Zhou, S., Liu, L., Niu, L., & Zhang, L. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-19790-1_23 · Cited by 25
TransNet: Shift Invariant Transformer Network for Side Channel Analysis
Hajra, S., Saha, S., Alam, M., & Mukhopadhyay, D. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-17433-9_16 · Cited by 34
“[8] have further improved the scheme of [31]. positional In their proposed relative encoding, the attention score of Eq.”
BackgroundNamed entity recognition for Chinese based on global pointer and adversarial training
Li, H., Cheng, M., Yang, Z., Yang, L., & Chua, Y. (2023) · Scientific Reports · doi:10.1038/s41598-023-30355-y · Cited by 28
“Therefore, in order to represent the contextual information, Shaw et al. 30 proposed relative position coding, which does not depend on the fixed position, but only on the relative position.”
BackgroundA comprehensive study of automatic video summarization techniques
Gupta, D., & Sharma, A. (2023) · Artificial Intelligence Review · doi:10.1007/s10462-023-10429-z · Cited by 28
TransAM: Transformer appending matcher for few-shot knowledge graph completion
Liang, Y., Zhao, S., Cheng, B. H., & Yang, H. (2023) · Neurocomputing · doi:10.1016/j.neucom.2023.03.049 · Cited by 26
Sun, J., Zhao, J., Wu, X., Tang, C., Wang, S., & Zhang, Y. (2023) · Journal of King Saud University - Computer and Information Sciences · doi:10.1016/j.jksuci.2023.04.006 · Cited by 30
“(Shaw et al., 2018) have proved that relative position-coding can encode the spatial structure of an image, so it is not always accurate in remote interaction.”
BackgroundA Review of Text Sentiment Analysis Methods and Applications
Jin, Y., Cheng, K., Wang, X., & Cai, L. (2023) · Frontiers in Business Economics and Management · doi:10.54097/fbem.v10i1.10171 · Cited by 27
“In the Transformer model, the attention mechanism is applied to the Self-Attention mechanism (Self-Attention)[43].”
MethodA Dual Architecture Fusion and AutoEncoder for Automatic Morphological Classification of Human Sperm
Mahali, M. I., Leu, J., Darmawan, J. T., Avian, C., Bachroin, N., Prakosa, S. W., Faisal, M. A., & Putro, N. A. S. (2023) · Sensors · doi:10.3390/s23146613 · Cited by 27
“In transformer-based models, a positioning embedding called relative positional encoding attempts to exploit pairwise, relative positi al information through position embedding [36].”
MethodTransBoNet: Learning camera localization with Transformer Bottleneck and Attention
Song, X., Li, H., Li, L., Shi, W., Xie, G., Lu, X., & Hei, X. (2023) · Pattern Recognition · doi:10.1016/j.patcog.2023.109975 · Cited by 30
Qiang, Y., Dong, X., Liu, X., & Yang, Y. (2024) · Biomedical Signal Processing and Control · doi:10.1016/j.bspc.2024.106382 · Cited by 29
Hwang, J.-S., Lee, S.-H., & Lee, S.-W. (2024) · Neural Networks · doi:10.1016/j.neunet.2024.106762 · Cited by 39
Local-Aggregation Graph Networks
Chang, J., Wang, L., Meng, G., Zhang, Q., Xiang, S., & Pan, C. (2019) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2019.2915591 · Cited by 30
“Inmany contexts, however, one may face with non-Euclidean structured signals embedded on an underlying non-Euclidean or graph structure [17], [18], [19], [20], [21].”
BackgroundMulti-Teacher Distillation With Single Model for Neural Machine Translation
Liang, X., Wu, L., Li, J., Qin, T., Zhang, M., & Liu, T. (2022) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2022.3153264 · Cited by 28
“Transformer [3] 29.12 Relative Position [43] 29.20 Scaling NMT [44] 29.30 DynamicConv [38] 29.70 Evolved Transformer [45] 29.80 IOT [14] 30.03 For sequence-level KD, we employ sampling number N = 7 for all language task to enhance the distillation process, although it may not be optimal for every…”
InfluentialProceedings of the 6th Workshop on Asian Translation
(2019) · doi:10.18653/v1/d19-52 · Cited by 25
Extending LLMs' Context Window with 100 SamplesPreprint
Zhang, Y., Li, J., & Liu, P. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2401.07004 · Cited by 29
“The advent of relative PE (Shaw et al., 2018) theoretically supports infinite input lengths.”
BackgroundEvaluation of deep learning-based depression detection using medical claims data
Bertl, M., Bignoumba, N., Ross, P., Yahia, S. B., & Draheim, D. (2023) · Artificial Intelligence in Medicine · doi:10.1016/j.artmed.2023.102745 · Cited by 28
ER-SQL: Learning enhanced representation for Text-to-SQL using table contents
Guo, A., Zhao, X. H., & Ma, W. (2021) · Neurocomputing · doi:10.1016/j.neucom.2021.08.134 · Cited by 24
PRHAN: Automated Pull Request Description Generation Based on Hybrid Attention Network
Fang, S., Zhang, T., Tan, Y., Xu, Z., Yuan, Z.-X., & Meng, L. (2021) · Journal of Systems and Software · doi:10.1016/j.jss.2021.111160 · Cited by 28
Graph4Web: A relation-aware graph attention network for web service classification
Zhao, K., Liu, J., Zhou, X., Liu, X., Xue, L., Xie, Z., Zhou, Y., & Wang, X. (2022) · Journal of Systems and Software · doi:10.1016/j.jss.2022.111324 · Cited by 26
BabyNet: Residual Transformer Module for Birth Weight Prediction on Fetal Ultrasound Video
Płotka, S., Grzeszczyk, M. K., Brawura-Biskupski-Samaha, R., Gutaj, P., Lipa, M., Trzcinski, T. P., & Sitek, A. (2022) · Lecture notes in computer science · doi:10.1007/978-3-031-16440-8_34 · Cited by 28
“Depending on the application, absolute (e.g. sinusoidal) or relative positional encodings (RPE) [17], recently identified as a better fit for vision tasks [23], can be used.”
BackgroundMethodInfluentialBaniata, L. H., Kang, S., & Ampomah, I. K. E. (2022) · Mathematics · doi:10.3390/math10193666 · Cited by 27
Qiao, S., Pang, S., Luo, G., Sun, Y., Yin, W., Pan, S., & Lv, Z. (2023) · Complex & Intelligent Systems · doi:10.1007/s40747-023-00968-x · Cited by 27
“Transformer [22] has indicated a domination trend in almost all natural languageprocessingbenchmarks, attributed to their powerful ability to capture long-distance interactions among word tokens via the self-attention mechanism [23,24].”
BackgroundShi, D., Cui, W., Huang, D., Zhang, H., & Cao, N. (2023) · Visual Intelligence · doi:10.1007/s44267-023-00010-1 · Cited by 31
“To better utilize this information, we improve themodel by incorporating the spatial-aware attentionmechanism[33, 46].”
MethodGuo, Z., Kang, J., & Herremans, D. (2023) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v37i4.25635 · Cited by 43
“…models for symbolic music modeling as the baseline models: 1. music trans-former (Huang et al. 2019) which utilizes relative index embeddings (Shaw, Uszkoreit, and Vaswani 2018) during attention calculation; 2. linear transformer (Katharopoulos et al. 2020) which is utilized in the…”
BackgroundA Short-Text Similarity Model Combining Semantic and Syntactic Information
Zhou, Y., Li, C., Huang, G., Guo, Q., Li, H., & Wei, X. (2023) · Electronics · doi:10.3390/electronics12143126 · Cited by 28
Mo, C., Hu, K., Long, C., & Wang, Z. (2023) · 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/cvpr52729.2023.01335 · Cited by 31
“Unlike most transformer-based solutions that can trivially employ relative positional encodings [5,35], our method relies on continuous positional vectors, such as sinusoidal encodings, for its manifold representations, and thus cannot employ the same model to accept inputs of arbitrary length.”
MethodLiu, C., Wen, J., Huang, J., Lin, W., Wu, B., Xie, N., & Zou, T. (2024) · Journal of Marine Science and Engineering · doi:10.3390/jmse12030506 · Cited by 25
Khan, M. A. (2024) · Bioengineering · doi:10.3390/bioengineering11080740 · Cited by 25
“Transformers, introduced by Shaw et al. [12], utilize self-attention mechanisms to capture dependencies across data points, making them particularly well-suited for imputation tasks involving complex and non-linear relationships between variables.”
BackgroundStructural attention network for graph
Zhou, A., & Li, Y. (2021) · Applied Intelligence · doi:10.1007/s10489-021-02214-8 · Cited by 25
“…S j Considering that the model should be able to generalize to an unknown number of neighbors and reduce the resource consumption, as suggested in [27], the maximum number of neighbors that we consider is clipped to a maximum absolute value of m ; then, the size of matrix S is m × d z , and S j…”
BackgroundAttend to Chords: Improving Harmonic Analysis of Symbolic Music Using Transformer-Based Models
Chen, T.-P., & Su, L. (2021) · Transactions of the International Society for Music Information Retrieval · doi:10.5334/tismir.65 · Cited by 44
Chen, S., Wu, Y., Chen, Z., Yoshioka, T., Liu, S., Li, J., & Yu, X. (2021) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp39728.2021.9413933 · Cited by 37
A survey on complex factual question answering
Zhang, L., Zhang, J., Ke, X., Li, H., Huang, X., Shao, Z., Cao, S., & Lv, X. (2022) · AI Open · doi:10.1016/j.aiopen.2022.12.003 · Cited by 35
Joint Source-Target Self Attention with Locality ConstraintsPreprint
Fonollosa, J. A. R., Casas, N., & Costa‐jussà, M. R. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1905.06596 · Cited by 25
“…and Dynamic Convolutions (Wu et al., 2019) models, as well as the work by He et al. (2018), which also proposes a joint encoder-decoder structure, and also other refinements over the transformer architecture like (Ahmed et al., 2017), (Chen et al., 2018), (Shaw et al., 2018) and (Ott et al., 2018) .”
BackgroundStable, Fast and Accurate: Kernelized Attention with Relative Positional Encoding
Luo, S., Li, S., Cai, T., He, D., Peng, D., Zheng, S., Ke, G., Wang, L., & Liu, T. (2021) · neural information processing systems · doi:10.48550/arxiv.2106.12566 · Cited by 57
“For example, the relative positional encoding (RPE) [38, 35] has become standard in state-of-the-art models [35, 18, 14]: Besides using the dot-products between queries and keys, RPE incorporates a position-correlation matrix in the softmax exponentiation to encode the distance between any two…”
BackgroundSelf-Attention-Based Temporary Curiosity in Reinforcement Learning Exploration
Hu, H., Song, S., & Huang, G. M. (2019) · IEEE Transactions on Systems Man and Cybernetics Systems · doi:10.1109/tsmc.2019.2957051 · Cited by 27
“When generating temporary curiosity in the Atari game, we adopt a self-attention mechanism which is proven to be effective in computer vision and natural language processing to extract information from all feature locations [23], [24].”
MethodNeural Machine Translation for Harmonized System Codes prediction
Chen, X., Bromuri, S., & van Eekelen, M. (2021) · International Conference on Machine Learning Technologies (ICMLT) · doi:10.1145/3468891.3468915 · Cited by 23
“Also, the positional encoding [5, 37] that is being applied on most of the latest seq2seq models [38, 39] might have some impact if added to the decoding part on NMT model.”
MethodForecasting of Short-Term Load Using the MFF-SAM-GCN Model
Zou, Y., Feng, W., Zhang, J., & Li, J. (2022) · Energies · doi:10.3390/en15093140 · Cited by 26
STFE-Net: A Spatial-Temporal Feature Extraction Network for Continuous Sign Language Translation
Hu, J., Liu, Y., Lam, K., & Lou, P. (2023) · IEEE Access · doi:10.1109/access.2023.3234743 · Cited by 24
“To further improve the performance for long sequences, Shaw et al. [26] proposed the relative position embedding.”
BackgroundADE-CycleGAN: A Detail Enhanced Image Dehazing CycleGAN Network
Yan, B., Yang, Z., Sun, H., & Wang, C. (2023) · Sensors · doi:10.3390/s23063294 · Cited by 23
POVNet: Image-Based Virtual Try-On Through Accurate Warping and Residual
Li, K., Zhang, J., & Forsyth, D. A. (2023) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2023.3283302 · Cited by 31
“This is a form of positional encoding, now common in NLP [57], [58], [59] and shown to help convolution operators [60].”
BackgroundAdaptive Prototype Interaction Network for Few-Shot Knowledge Graph Completion
Li, Y., Yu, K., Zhang, Y., Liang, J., & Wu, X. (2023) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2023.3283545 · Cited by 29
“Inspired by the idea of relative position embedding [39], [40], we evaluate the importance of neighbors at both the relation and entity levels.”
A Scope Sensitive and Result Attentive Model for Multi-Intent Spoken Language Understanding
Cheng, L., Yang, W., & Jia, W. (2023) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v37i11.26493 · Cited by 30
Towards Autoformalization of Mathematics and Code Correctness: Experiments with Elementary Proofs
Cunningham, G., Bunescu, R., & Juedes, D. W. (2022) · Workshop on Mathematical Natural Language Processing (MathNLP) · doi:10.18653/v1/2022.mathnlp-1.4 · Cited by 36
3DRP-Net: 3D Relative Position-aware Network for 3D Visual Grounding
Wang, Z., Huang, H., Zhao, Y., Li, L., Cheng, X., Zhu, Y., Yin, A., & Zhao, Z. (2023) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2023.emnlp-main.656 · Cited by 29
Semiconductor Fab Scheduling With Self-Supervised And Reinforcement Learning
Tassel, P., Kovács, B., Gebser, M., Schekotihin, K., Stöckermann, P., & Seidel, G. (2023) · Winter Simulation Conference · doi:10.1109/wsc60868.2023.10407747 · Cited by 32
“Encodings are often used to inject positional information via absolute positional embeddings (Vaswani et al. 2017) or relative bias factors (Shaw et al. 2018), where a positional encoding is either fixed or learned (Haviv et al. 2022).”
BackgroundIceCube – Neutrinos in Deep Ice: The top 3 solutions from the public Kaggle competition
Bukhari, H., Chakraborty, D., Eller, P., Ito, T., Shugaev, M. V., & Ørsøe, R. (2024) · The European Physical Journal C · doi:10.1140/epjc/s10052-024-12977-2 · Cited by 23
“Consideration of longer sequences may improve the model performance on cascade events with a large number of pulses.”
Wang, S., Zhao, R., Chen, X., Zheng, Y., & Liu, B. (2021) · International World Wide Web Conference (WWW) · doi:10.1145/3442381.3449948 · Cited by 23
“Transformers are also strong enough to integrate multiplesource information by adding their embeddings, thus they are quite suitable for modeling tree structures.”
BackgroundInfluentialThe Case for Translation-Invariant Self-Attention in Transformer-Based Language Models
Wennberg, U., & Henter, G. (2021) · Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2021.acl-short.18 · Cited by 28
“Separately, Shaw et al. (2018) argued for translation-invariant positional dependencies that depend on the relative distances between words rather than their absolute positions in the current text fragment.”
BackgroundInfluentialMention Flags (MF): Constraining Transformer-based Text Generators
Wang, Y., Wood, I., Wan, S., Dras, M., & Johnson, M. (2021) · Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2021.acl-long.9 · Cited by 36
“Inspired by Shaw et al. (2018) which incorporates token relative positions into the SA module, we propose to inject Mention Flags as the “relative positions” between encoder output h e and current decoder input y : t in the CA module.”
MethodODE Transformer: An Ordinary Differential Equation-Inspired Model for Neural Machine TranslationPreprint
Li, B., Du, Q., Zhou, T., Zhou, S., Zeng, X., Xiao, T., & Zhu, J. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2104.02308 · Cited by 28
“Training Details: As suggested in Li et al. (2020)’s work, we used relative positional representation (RPR) for a stronger baseline (Shaw et al., 2018).”
MethodImproved Multiscale Vision Transformers for Classification and DetectionPreprint
Li, Y., Wu, C.-Y., Fan, H., Mangalam, K., Xiong, B., Malik, J., & Feichtenhofer, C. (2021) · arXiv (Cornell University) · Cited by 38
Multi-axis vision transformer for medical image segmentation
Khan, A. R., & Khan, A. (2025) · Engineering Applications of Artificial Intelligence · doi:10.1016/j.engappai.2025.111251 · Cited by 28
The University of Cambridge’s Machine Translation Systems for WMT18
Stahlberg, F., de Gispert, A., & Byrne, B. (2018) · Conference on Machine Translation (WMT) · doi:10.18653/v1/w18-6427 · Cited by 28
“…Bahdanau et al., 2015; Luong et al., 2015; Wu et al., 2016; Chen et al., 2018), convolutional models (Kalchbrenner and Blunsom, 2013; Kaiser et al., 2017; Gehring et al., 2017), and, most recently, purely (self-)attention-based models (Vaswani et al., 2017; Ahmed et al., 2017; Shaw et al., 2018).”
BackgroundLook Harder: A Neural Machine Translation Model with Hard Attention
Indurthi, S. R., Chung, I., & Kim, S. (2019) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/p19-1290 · Cited by 25
“For example, Shaw et al. (2018) incorporated relative positions and Ott et al. (2018) proposed efficient training strategies.”
BackgroundPreordering Encoding on Transformer for Translation
Kawara, Y., Chu, C., & Arase, Y. (2020) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2020.3042001 · Cited by 22
“To exploit both the source and target order information in the Transformer model, we propose preordering encoding , which encodes the positions of preordered tokens using absolute [8] andrelativeencoding[9]approaches.”
MethodCI-Net: a joint depth estimation and semantic segmentation network using contextual information
Gao, T., Wei, W., Cai, Z., Fan, Z., Xie, S. Q., Wang, X., & Yu, Q. (2022) · Applied Intelligence · doi:10.1007/s10489-022-03401-x · Cited by 27
SANE-TTS: Stable And Natural End-to-End Multilingual Text-to-Speech
Cho, H., Jung, W., Lee, J., & Woo, S. H. (2022) · Interspeech (USB) · doi:10.21437/interspeech.2022-46 · Cited by 35
“We use a Transformer-based text encoder [21] with relative positional representation [22] same as VITS, with parameter generation suggested by Nekvinda and Dušek [2] to be compatible with various languages.”
MethodKchaou, S., Boujelbane, R., & Belguith, L. H. (2023) · ACM Transactions on Asian and Low-Resource Language Information Processing · doi:10.1145/3568674 · Cited by 27
“Basic transformer: We use the tensor2tensor[29] implementation to train the transformer base model as described in [32].”
MethodTopalidis, P. I., Heib, D. P. J., Baron, S., Eigl, E., Hinterberger, A., & Schabus, M. (2023) · Sensors · doi:10.3390/s23052390 · Cited by 26
“The MCNN architecture includes an adaptive feature recalibration layer [38], a bidirectional long short-term memory layer as well as temporal context encoders based on multi-head attention modules [39] with relative positional weights [40].”
MethodContext-Aware and Attention-Driven Weighted Fusion Traffic Sign Detection Network
Wang, G., Zhou, K., Wang, L., & Wang, L. (2023) · IEEE Access · doi:10.1109/access.2023.3264214 · Cited by 22
“The research found that the relative distance-aware location encoding [43] is more suitable for vision tasks [44], [45], [46].”
BackgroundDynamic Focus-aware Positional Queries for Semantic Segmentation
He, H., Cai, J., Pan, Z., Liu, J., Zhang, J., Tao, D., & Zhuang, B. (2023) · 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/cvpr52729.2023.01087 · Cited by 28
“In general, the positional encodings include: absolute PE that is generated with sinusoidal functions [43, 38] or being entirely learnable parameters [20, 32]; relative PE that encodes distances between the input tokens [13, 35]; and conditional PE, which is dynamically generated, e.”
BackgroundXu, Z., Li, Q., Marchionni, L., & Wang, K. (2023) · Nature Communications · doi:10.1038/s41467-023-43651-y · Cited by 23
“Relative positional encoding is used with maximum absolute distance being set as 20 segments 79 .”
Arabic Speech Recognition: Advancement and Challenges
Rahman, A., Kabir, M. M., Mridha, M. F., Alatiyyah, M. H., Alhasson, H. F., & Alharbi, S. S. (2024) · IEEE Access · doi:10.1109/access.2024.3376237 · Cited by 37
“The self-attention mechanism empowers the model to assess the significance of individual words within a sequence while creating representations for each word [106].”
BackgroundDual-Window Multiscale Transformer for Hyperspectral Snapshot Compressive Imaging
Luo, F., Chen, X., Gong, X., Wu, W., & Guo, T. (2024) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v38i4.28190 · Cited by 33
“Con-Abs Position Embedding Transformers typically adopt a single type of position embedding method, such as absolute position embedding (APE) (Vaswani et al. 2017), relative position embedding (RPE) (Shaw, Uszkoreit, and Vaswani 2018), or conditional position embedding (CPE) (Chu et al. 2023).”
MethodNeural Methods for Data-to-text Generation
Sharma, M., Gogineni, A. K., & Ramakrishnan, N. (2024) · ACM Transactions on Intelligent Systems and Technology · doi:10.1145/3660639 · Cited by 31
“…semantic aggregation module added to each transformer layer - the module consists of a mean pooling layer for entity and relation representations, a structure-aware self-attention layer [296], and finally a residual layer that fuses the semantic and structural representations of entities.”
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.
