An Analysis of Encoder Representations in Transformer-Based Machine Translation
Open accessThe DOI matches its Crossref record; 63 of the 63 references it cites were found in a registry or an index.
Abstract
The attention mechanism is a successful technique in modern NLP, especially in tasks like machine translation. The recently proposed network architecture of the Transformer is based entirely on attention mechanisms and achieves new state of the art results in neural machine translation, outperforming other sequence-to-sequence models. However, so far not much is known about the internal properties of the model and the representations it learns to achieve that performance. To study this question, we investigate the information that is learned by the attention mechanism in Transformer models with different translation quality. We assess the representations of the encoder by extracting dependency relations based on self-attention weights, we perform four probing tasks to study the amount of syntactic and semantic captured information and we also test attention in a transfer learning scenario. Our analysis sheds light on the relative strengths and weaknesses of the various encoder representations. We observe that specific attention heads mark syntactic dependency relations and we can also confirm that lower layers tend to learn more about syntax while higher layers tend to encode more semantics.
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
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 check wasn’t confident either way, so it gives no verdict — never disputed.
In the citing paper
“High-level concepts, such as sentence-level sentiment, entailment, and other semantic phenomena, are strongly encoded in these layers (Raganato and Tiedemann, 2018; Jawahar et al., 2019; Sajjad et al., 2022).”
From Can "consciousness" be observed from large language model (LLM) internal states? Dissecting LLM representations obtained from Theory of Mind test with Integrated Information Theory and Span Representation analysis (2025) · cites this paper as Raganato and Tiedemann, 2018
Experimental — accuracy not yet measuredThe check wasn’t confident either way, so it gives no verdict — never disputed.
In the citing paper
“aligning with existing knowledge that these layers primarily encode semantic information, often capturing task-specific or contextdependent meanings.”
From Can "consciousness" be observed from large language model (LLM) internal states? Dissecting LLM representations obtained from Theory of Mind test with Integrated Information Theory and Span Representation analysis (2025) · cites this paper as Raganato and Tiedemann, 2018
Experimental — accuracy not yet measured
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 5×
“…et al., 2014; Cho et al., 2014), to an improved version featuring an attention mechanism (Bahdanau et al., 2015; Luong et al., 2015a), to models that only use attention instead of recurrent layers (Vaswani et al., 2017) and models that apply convolution networks (Gehring et al., 2017a,b).”
BackgroundMethodInfluentialExploiting Generative AI to Scale up Intelligent Tutoring Systems
Jakubův, J., Chvalovský, K., Goertzel, Z., Kaliszyk, C., Olšák, M., Piotrowski, B., Schulz, S., Suda, M., & Urban, J. (2023) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.itp.2023.19 · Cited by 76,658
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×
“…a lot of research has been done on NMT, designing new architectures, starting from the plain sequence-to-sequence model (Sutskever et al., 2014; Cho et al., 2014), to an improved version featuring an attention mechanism (Bahdanau et al., 2015; Luong et al., 2015a), to models that only use…”
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×
“During recent years, a lot of research has been done on NMT, designing new architectures, starting from the plain sequence-to-sequence model (Sutskever et al., 2014; Cho et al., 2014), to an improved version featuring an attention mechanism (Bahdanau et al.”
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×
“, 2014), to an improved version featuring an attention mechanism (Bahdanau et al., 2015; Luong et al., 2015a), to models that only use attention instead of recurrent layers (Vaswani et al.”
BackgroundEmpirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling
Chung, J., Gulcehre, C., Cho, K., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1412.3555 · Cited by 11,008 · cited 2×
“, 2018a,b), and to evaluate them by assessing the properties through downstream tasks (Chung et al., 2014; Greff et al., 2017).”
BackgroundEffective 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 · cited 3×
“, 2014), to an improved version featuring an attention mechanism (Bahdanau et al., 2015; Luong et al., 2015a), to models that only use attention instead of recurrent layers (Vaswani et al.”
BackgroundGreff, K., Srivastava, R. K., Koutník, J., Steunebrink, B. R., & Schmidhuber, J. (2015) · arXiv · doi:10.48550/arxiv.1503.04069 · Cited by 7,073
Greff, K., Srivastava, R. K., Koutnik, J., Steunebrink, B. R., & Schmidhuber, J. (2017) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2016.2582924 · Cited by 6,955
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
What Does BERT Look at? An Analysis of BERT’s Attention
Clark, K., Khandelwal, U., Levy, O., & Manning, C. D. (2019) · Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP · doi:10.18653/v1/w19-4828 · Cited by 1,373
“Raganato and Tiedemann (2018) evaluate the attention heads of a machine translation model on dependency parsing, but only report overall UAS scores instead of investigating heads for specific syntactic relations or using probing classifiers.”
BackgroundResultA primer in BERTology: What we know about how BERT works
Rogers, A., Kovaleva, O., & Rumshisky, A. (2020) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00349 · Cited by 1,552
What Does BERT Learn about the Structure of Language?
Jawahar, G., Sagot, B., & Seddah, D. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1356 · Cited by 1,291
Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Pruned
Voita, E., Talbot, D., Moiseev, F., Sennrich, R., & Titov, I. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1580 · Cited by 1,146
“Despite the model’s widespread adoption and recent attempts to investigate the kinds of information learned by the model’s encoder (Raganato and Tiedemann, 2018), the analysis of multi-head attention and its importance”
Learning Graph Structures With Transformer for Multivariate Time-Series Anomaly Detection in IoT
Chen, Z., Chen, D., Zhang, X., Yuan, Z., & Cheng, X. (2022) · IEEE Internet of Things Journal · doi:10.1109/jiot.2021.3100509 · Cited by 595
“Recent research [48], [49] claim that the self-attention in Transformers can be substantially simplified with trivial attentive patterns at training time: only preserving adjacent and previous tokens is necessary.”
BackgroundA Multiscale Visualization of Attention in the Transformer Model
Vig, J. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics: System Demonstrations · doi:10.18653/v1/p19-3007 · Cited by 600
“shows that attention in the Transformer correlates with syntactic constructs such as dependency relations and part-of-speech tags (Raganato and Tiedemann, 2018; Voita et al., 2019; Vig and Belinkov, 2019).”
BackgroundKoehn, P. (2020) · Cambridge University Press eBooks · doi:10.1017/9781108608480 · Cited by 236
BERTology Meets Biology: Interpreting Attention in Protein Language Models
Vig, J., Madani, A., Varshney, L. R., Xiong, C., Socher, R., & Rajani, N. F. (2020) · doi:10.1101/2020.06.26.174417 · Cited by 338
Analyzing the Structure of Attention in a Transformer Language Model
Vig, J., & Belinkov, Y. (2019) · Proceedings of the 2019 ACL Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP · doi:10.18653/v1/w19-4808 · Cited by 301
“Past work suggests that attention heads in the Transformer may specialize in particular linguistic phenomena (Vaswani et al., 2017; Raganato and Tiedemann, 2018; Vig, 2019).”
BackgroundInfluentialFrom Zero to Hero: On the Limitations of Zero-Shot Language Transfer with Multilingual Transformers
Lauscher, A., Ravishankar, V., Vulić, I., & Glavaš, G. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.363 · Cited by 236
Information-Theoretic Probing with Minimum Description Length
Voita, E., & Titov, I. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.14 · Cited by 251
Probing Classifiers: Promises, Shortcomings, and Advances
Belinkov, Y. (2022) · Computational Linguistics · doi:10.1162/coli_a_00422 · Cited by 249
“These scores may come from attention weights ( Raganato and Tiedemann 2018; Clark et al. 2019; Mareˇcek and Rosa 2019; Htut et al. 2019) or from distances between word representations, perhaps including perturbations of the input sentence (Wu et al. 2020).”
BackgroundZhao, W., Wang, L., Shen, K., Jia, R., & Liu, J. (2019) · Proceedings of the 2019 Conference of the North · doi:10.18653/v1/n19-1014 · Cited by 204
Adaptively Sparse Transformers
Correia, G. M., Niculae, V., & Martins, A. F. T. (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-1223 · Cited by 198
Attention is Not Only a Weight: Analyzing Transformers with Vector Norms
Kobayashi, G., Kuribayashi, T., Yokoi, S., & Inui, K. (2020) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2020.emnlp-main.574 · Cited by 377
“This type of analysis has covered a wide range of subjects, including syntactic and semantic relationships (Tang et al., 2018; Raganato and Tiedemann, 2018; Clark et al., 2019; Reif et al., 2019; Jawahar et al., 2019; Htut et al., 2019; Kovaleva et al., 2019; Mareček and Rosa, 2019).”
BackgroundInfluentialCompositionality Decomposed: How do Neural Networks Generalise?
Hupkes, D., Dankers, V., Mul, M., & Bruni, E. (2020) · Journal of Artificial Intelligence Research · doi:10.1613/jair.1.11674 · Cited by 194
Voita, E., Sennrich, R., & Titov, I. (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-1448 · Cited by 127
“…of linguistic analysis have been considered including morphology (Belinkov et al., 2017a; Dalvi et al., 2017; Bisazza and Tump, 2018), syntax (Shi et al., 2016; Tenney et al., 2019b) and semantics (Hill et al., 2017; Belinkov et al., 2017b; Raganato and Tiedemann, 2018; Tenney et al., 2019b).”
BackgroundNeural machine translation: A review of methods, resources, and tools
Tan, Z., Wang, S., Yang, Z., Chen, G., Huang, X., Sun, M., & Liu, Y. (2020) · AI Open · doi:10.1016/j.aiopen.2020.11.001 · Cited by 140
Perturbed Masking: Parameter-free Probing for Analyzing and Interpreting BERT
Wu, Z., Chen, Y., Kao, B., & Liu, Q. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.383 · Cited by 152
A Primer on the Inner Workings of Transformer-based Language ModelsPreprint
Ferrando, J., Sarti, G., Bisazza, A., & Costa‐jussà, M. R. (2024) · arXiv · doi:10.48550/arxiv.2405.00208 · Cited by 241
On Identifiability in TransformersPreprint
Brunner, G., Liu, Y., Pascual, D., Richter, O., Ciaramita, M., & Wattenhofer, R. P. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1908.04211 · Cited by 175
“Our results suggest that some of the conclusions in prior work (Vaswani et al., 2017; Vig, 2019; Marecek & Rosa, 2018; Clark et al., 2019; Raganato & Tiedemann, 2018; Voita et al., 2019; Tang et al., 2018; Wangperawong, 2018; Padigela et al., 2019; Baan et al., 2019; Lin et al., 2019; Dehghani et…”
BackgroundResultOn the Explainability of Natural Language Processing Deep Models
Zini, J. E., & Awad, M. (2023) · ACM Computing Surveys · doi:10.1145/3529755 · Cited by 120
“Such dissection aids in understanding BERT [48, 108], its weights [19, 87] and limitations [93].”
BackgroundexBERT: A Visual Analysis Tool to Explore Learned Representations in Transformer Models
Hoover, B., Strobelt, H., & Gehrmann, S. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations · doi:10.18653/v1/2020.acl-demos.22 · Cited by 151
“With Transformers (Vaswani et al., 2017) over-taking recurrent models as the primary architectures for many NLP tasks, analyzing attention has become another common strategy for interpretability (Raganato and Tiedemann, 2018a; Clark et al., 2019).”
BackgroundAttention heads of large language models
Zheng, Z., Wang, Y., Huang, Y., Song, S., Yang, M., Tang, B., Xiong, F., & Li, Z. (2025) · Patterns · doi:10.1016/j.patter.2025.101176 · Cited by 174
“Researchers investigate whether the heads in this simplified model exhibit certain functionalities, which can then be extrapolated whether similar heads in the original model possess the same capabilities.”
On the diversity of multi-head attention
Li, J., Wang, X., Tu, Z., & Lyu, M. R.-T. (2021) · Neurocomputing · doi:10.1016/j.neucom.2021.04.038 · Cited by 165
“Consequently, different attention heads are able to capture distinct properties of the input, which are embedded in different subspaces [6].”
BackgroundConvolutional Self-Attention Networks
Yang, B., Wang, L., Wong, D. F., Chao, L. S., & Tu, Z. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1407 · Cited by 128
“Mutli-head mechanism allows different heads to capture distinct linguistic properties (Raganato and Tiedemann, 2018; Li et al., 2018), especially in diverse local contexts (Sperber et al., 2018; Yang et al., 2018).”
BackgroundInfluentialJointly Learning to Align and Translate with Transformer Models
Garg, S., Peitz, S., Nallasamy, U., & Paulik, M. (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-1453 · Cited by 123
“with respect to modeling alignments, which contributes to previous work on understanding attention mechanisms (Ghader and Monz, 2017; Raganato and Tiedemann, 2018; Tang et al., 2018).”
BackgroundResultProbing the limit of hydrologic predictability with the Transformer network
Liu, J., Bian, Y., Lawson, K., & Shen, C. (2024) · Journal of Hydrology · doi:10.1016/j.jhydrol.2024.131389 · Cited by 130
DeLighT: Deep and Light-weight Transformer
Mehta, S., Ghazvininejad, M., Iyer, S. V., Zettlemoyer, L., & Hajishirzi, H. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2008.00623 · Cited by 43
“The second line of research focuses on explaining multi-head attention (e.g., [15, 16]).”
EATN: An Efficient Adaptive Transfer Network for Aspect-level Sentiment Analysis
Zhang, K., Liu, Q., Qian, H., Xiang, B., Cui, Q., Zhou, J., & Chen, E. (2021) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2021.3075238 · Cited by 154
“Furthermore, the multi-head attention mechanism has been proved with effectiveness in producing deep semantic representation in machine translation task [36].”
MethodFixed 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
Self-citationInvestigating Multilingual NMT Representations at Scale
Kudugunta, S., Bapna, A., Caswell, I. R., & Fırat, O. (2019) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/d19-1167 · Cited by 146
“, 2018), attention based methods (Raganato and Tiedemann, 2018) or task analysis (Zhang and Bowman, 2018) and is primarily focused on understanding the linguistic features encoded by a trained model.”
BackgroundJoint entity and relation extraction model based on rich semantics
Geng, Z., Zhang, Y., & Han, Y. M. (2020) · Neurocomputing · doi:10.1016/j.neucom.2020.12.037 · Cited by 92
Li, J., Pan, W., Huang, H., Pan, J., & Wang, F. (2023) · Frontiers in Human Neuroscience · doi:10.3389/fnhum.2023.1169949 · Cited by 93
Contextual and Non-Contextual Word Embeddings: an in-depth Linguistic Investigation
Miaschi, A., & Dell’Orletta, F. (2020) · Proceedings of the 5th Workshop on Representation Learning for NLP · doi:10.18653/v1/2020.repl4nlp-1.15 · Cited by 72
Fully Hyperbolic Neural Networks
Chen, W., Han, X., Lin, Y., Zhao, H., Liu, Z., Li, P., Sun, M., & Zhou, J. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.389 · Cited by 143
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
“Note that modest improvements in this task should not be surprising as Transformers learn better syntactic relationships from larger data sets (Raganato and Tiedemann, 2018).”
BackgroundAnalyzing the Source and Target Contributions to Predictions in Neural Machine Translation
Voita, E., Sennrich, R., & Titov, I. (2021) · Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers) · doi:10.18653/v1/2021.acl-long.91 · Cited by 61
On the Linguistic Representational Power of Neural Machine Translation Models
Belinkov, Y., Durrani, N., Dalvi, F., Sajjad, H., & Glass, J. (2020) · Computational Linguistics · doi:10.1162/coli_a_00367 · Cited by 73
Pfeffer, M. A., Ling, S. H., & Wong, J. K. W. (2024) · Computers in Biology and Medicine · doi:10.1016/j.compbiomed.2024.108705 · Cited by 91
Are Pre-trained Language Models Aware of Phrases? Simple but Strong Baselines for Grammar Induction
Kim, T., Choi, J., Edmiston, D., & Lee, S.-G. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2002.00737 · Cited by 32
“In detail, one group of studies (Raganato & Tiedemann (2018); Clark et al. (2019); Ethayarajh (2019); Hao et al. (2019); Voita et al. (2019), inter alia) has focused on dissecting the intermediate representations and attention distributions of the pre-trained LMs, while the another group of…”
BackgroundCan Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translation
Dankers, V., Lucas, C., & Titov, I. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.252 · Cited by 140
Local Interpretations for Explainable Natural Language Processing: A Survey
Luo, S., Ivison, H., Han, S. C., & Poon, J. (2024) · ACM Computing Surveys · doi:10.1145/3649450 · Cited by 105
“[20]; Raganato and Tiedemann [133]; Dalvi et al.”
BackgroundMethodDaanouni, O., Cherradi, B., & Tmiri, A. (2022) · IEEE Access · doi:10.1109/access.2022.3210179 · Cited by 75
“[34], incorporate MHA mechanisms with structure signals boost the performance of the proposed models and show promising result.”
BackgroundNext-Gen Medical Imaging: U-Net Evolution and the Rise of Transformers
Zhang, C. H., Deng, X., & Ling, S. H. (2024) · Sensors · doi:10.3390/s24144668 · Cited by 71
“There are three main components: Queries (Q), Keys (K), and Values (V) [57–59].”
BackgroundIncorporating Source Syntax into Transformer-Based Neural Machine Translation
Currey, A., & Heafield, K. (2019) · Conference on Machine Translation (WMT) · doi:10.18653/v1/w19-5203 · Cited by 79
“This was formalized by Raganato and Tiedemann (2018), who found that Transformer encoders trained on high-resource NMT tasks were able to perform reasonably well at part-of-speech tagging, chunking, and other tasks.”
BackgroundEquity Beyond Bias in Language Technologies for Education
Mayfield, E., Madaio, M., Prabhumoye, S., Gerritsen, D., McLaughlin, B., Dixon-Román, E., & Black, A. W. (2019) · Proceedings of the Fourteenth Workshop on Innovative Use of NLP for Building Educational Applications · doi:10.18653/v1/w19-4446 · Cited by 62
Saliency-driven Word Alignment Interpretation for Neural Machine Translation
Ding, S., Xu, H., & Koehn, P. (2019) · Conference on Machine Translation (WMT) · doi:10.18653/v1/w19-5201 · Cited by 82
“The saliency method we propose in this work draws its inspiration from visual saliency proposed by Simonyan et al. (2013); Springenberg et al.”
MethodInfluentialNeural Collaborative Graph Machines for Table Structure Recognition
Liu, H., Li, X., Liu, B., Jiang, D., Liu, Y., & Ren, B. (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.00449 · Cited by 72
“As suggested by recent works [28, 29, 37] on interpreting attention mechanism, separate attention heads may learn to look for various relationships between inputs and introducing more sparsity and diversity for attention may improve performance and interpretability.”
BackgroundAnalyzing and interpreting neural networks for NLP: A report on the first BlackboxNLP workshop
Alishahi, A., Chrupała, G., & Linzen, T. (2019) · Natural Language Engineering · doi:10.1017/s135132491900024x · Cited by 88
“Two submissions (Raganato and Tiedemann 2018, Mareček and Rosa 2018) analyze the internal workings of the encoder component of the Transformer model (Vaswani et al. 2017).”
BackgroundMethodInfluentialEnd-to-end Named Entity Recognition and Relation Extraction using Pre-trained Language ModelsPreprint
Giorgi, J., Wang, X., Sahar, N., Shin, W. Y., Bader, G. D., & Wang, B. (2019) · arXiv · doi:10.48550/arxiv.1912.13415 · Cited by 70
“Previous works have used such visualizations to demonstrate that specific attention heads mark syntactic dependency relations and that lower layers tend to learn more about syntax while higher layers tend to encode more semantics (Raganato & Tiedemann, 2018).”
MethodMulti-Granularity Self-Attention for Neural Machine Translation
Hao, J., Wang, X., Shi, S., Zhang, J., & Tu, Z. (2019) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/d19-1082 · Cited by 69
“More recently, an in-depth study (Raganato and Tiedemann, 2018) reveals that SANs generally focus on disperse words and ignore continuous phrase patterns, which have proven essential in both statistical machine translation (SMT, Koehn”
BackgroundBERT syntactic transfer: A computational experiment on Italian, French and English languages
Guarasci, R., Silvestri, S., Pietro, G. D., Fujita, H., & Esposito, M. (2021) · Computer Speech & Language · doi:10.1016/j.csl.2021.101261 · Cited by 72
Information Aggregation for Multi-Head Attention with Routing-by-Agreement
Li, J., Yang, B., Dou, Z.-Y., Wang, X., Lyu, M. R.-T., & Tu, Z. (2019) · Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT) · doi:10.18653/v1/n19-1359 · Cited by 57
“Consequently, different attention heads are able to capture distinct linguistic properties of the input, which are embedded in different sub-spaces (Raganato and Tiedemann, 2018).”
BackgroundFrom Balustrades to Pierre Vinken: Looking for Syntax in Transformer Self-Attentions
Mareček, D., & Rosa, R. (2019) · BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP (BlackboxNLP) · doi:10.18653/v1/w19-4827 · Cited by 58
“We observe all patterns which Raganato and Tiedemann (2018) identified, i.”
BackgroundLearning discriminative multi-relation representations for multimodal sentiment analysis
Tang, Z., Xiao, Q., Zhou, X., Li, Y., Chen, C., & Li, K. (2023) · Information Sciences · doi:10.1016/j.ins.2023.119125 · Cited by 53
Linguistic Profiling of a Neural Language Model
Miaschi, A., Brunato⋄, D., Dell’Orletta⋄, F., & Venturi⋄, G. (2020) · International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.65 · Cited by 102
“…neurons (Karpathy et al., 2015; Li et al., 2016; K´ad´ar et al., 2017) to more domain specific approaches, such as interpreting attention mechanisms (Raganato and Tiedemann, 2018; Kovaleva et al., 2019; Vig and Belinkov, 2019), studying correlations between representations (Saphra and Lopez,…”
BackgroundEmbeddings in Natural Language Processing: Theory and Advances in Vector Representations of Meaning
Pilehvar, M. T., & Camacho-Collados, J. (2020) · Synthesis lectures on human language technologies · doi:10.2200/s01057ed1v01y202009hlt047 · Cited by 93
A Transformer-Based Neural Machine Translation Model for Arabic Dialects That Utilizes Subword Units
Baniata, L. H., Ampomah, I. K. E., & Park, S. (2021) · Sensors · doi:10.3390/s21196509 · Cited by 54
“As remarked by Raganato et al. [48] and Vig et al. [49], some of the heads in multi-head attention sublayer hold the long-distance relations among input token.”
BackgroundMethodIncorporating Residual and Normalization Layers into Analysis of Masked Language Models
Kobayashi, G., Kuribayashi, T., Yokoi, S., & Inui, K. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.373 · Cited by 84
“…attention weights (Clark et al., 2019; Kovaleva et al., 2019; Reif et al., 2019; Lin et al., 2019; Mareˇcek and Rosa, 2019; Htut et al., 2019; Raganato and Tiedemann, 2018; Tang et al., 2018) or the extended version (Brunner et al., 2020; Abnar and Zuidema, 2020), (ii) computing the…”
BackgroundLanguage Models as Models of Language
Millière, R. (2026) · Oxford University Press eBooks · doi:10.1093/oso/9780198879640.003.0025 · Cited by 45
Cook, A., & Karakuş, O. (2024) · Knowledge-Based Systems · doi:10.1016/j.knosys.2024.112219 · Cited by 55
Yang, G., Chen, X., Cao, J., Xu, S., Cui, Z., Yu, C., & Liu, K. (2021) · International Conference on Dependable Systems and Their Applications (DSA) · doi:10.1109/dsa52907.2021.00013 · Cited by 44
Rethinking the Value of Transformer Components
Wang, W., & Tu, Z. (2020) · Proceedings of the 28th International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.529 · Cited by 39
Tikhonov, A., & Ryabinin, M. (2021) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2021.findings-acl.310 · Cited by 98
Convolutional Self-Attention NetworksPreprint
Yang, B., Wang, L., Wong, D. F., Chao, L. S., & Tu, Z. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1904.03107 · Cited by 46
“Mutli-head mechanism allows different heads to capture distinct linguistic properties (Raganato and Tiedemann, 2018; Li et al., 2018), especially in diverse local contexts (Sperber et al., 2018; Yang et al., 2018).”
BackgroundInfluentialAssessing the Ability of Self-Attention Networks to Learn Word Order
Yang, B., Wang, L., Wong, D. F., Chao, L. S., & Tu, Z. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1354 · Cited by 36
“Recent studies on multi-layer learning shown that different layers tend to learn distinct linguistic information (Peters et al., 2018; Raganato and Tiedemann, 2018; Li et al., 2019).”
Positional Artefacts Propagate Through Masked Language Model Embeddings
Luo, Z., Kulmizev, A., & Mao, X. (2020) · Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2021.acl-long.413 · Cited by 46
Enhancing low-resource neural machine translation with syntax-graph guided self-attention
Gong, L., Li, Y., Guo, J.-J., Yu, Z.-T., & Gao, S.-X. (2022) · Knowledge-Based Systems · doi:10.1016/j.knosys.2022.108615 · Cited by 33
Baidu Neural Machine Translation Systems for WMT19
Sun, M., Jiang, B., Xiong, H., He, Z., Wu, H. R., & Wang, H. (2019) · Conference on Machine Translation (WMT) · doi:10.18653/v1/w19-5341 · Cited by 45
Assessing BERT’s ability to learn Italian syntax: a study on null-subject and agreement phenomena
Guarasci, R., Silvestri, S., Pietro, G. D., Fujita, H., & Esposito, M. (2021) · Journal of Ambient Intelligence and Humanized Computing · doi:10.1007/s12652-021-03297-4 · Cited by 44
“Similarly to what happened in other NLP fields, the machine translation sector has given first push to the use of Trans-formers-based neural models for the extraction of syntactic relationships and dependent trees (Voita et al. 2019; Mareček and Rosa 2018; Raganato and Tiedemann 2018).”
MethodExplainable Sentiment Analysis: A Hierarchical Transformer-Based Extractive Summarization Approach
Bacco, L., Cimino, A., Dell’Orletta⋄, F., & Merone, M. (2021) · Electronics · doi:10.3390/electronics10182195 · Cited by 40
Rapid Review of Generative AI in Smart Medical Applications
Sun, Y., & Ortiz, J. (2024) · International Journal of Computer Science & Information Technology (IJCSIT) · doi:10.62051/ijcsit.v3n2.10 · Cited by 24
“The attention mechanism enhances translation quality by capturing dependencies between source and target texts[38, 80, 95, 103, 107].”
BackgroundAbstractive Text Summarization based on Language Model Conditioning and Locality Modeling
Aksenov, D., Schneider, J. M., Bourgonje, P., Schwarzenberg, R., Hennig, L., & Rehm, G. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2003.13027 · Cited by 36
“In many experi-Figure 1: Model overview ments it was shown that this architecture tends to learn lexical information in the first layers, sentence-level patterns in the middle and the semantics in the upper layers (Raganato and Tiedemann, 2018; Tenney et al., 2019).”
BackgroundMethodRoles and Utilization of Attention Heads in Transformer-based Neural Language Models
Jo, J.-Y., & Myaeng, S.-H. (2020) · Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/2020.acl-main.311 · Cited by 33
A Survey of Cross-Modal Visual Content Generation
Nazarieh, F., Feng, Z., Awais, M., Wang, W., & Kittler, J. (2024) · IEEE Transactions on Circuits and Systems for Video Technology · doi:10.1109/tcsvt.2024.3351601 · Cited by 40
“Recently, Transformers have achieved promising performance in natural language processing, such as machine translation [41] and language generation [42].”
BackgroundExplainable Natural Language Processing
Søgaard, A. (2021) · Synthesis lectures on human language technologies · doi:10.2200/s01118ed1v01y202107hlt051 · Cited by 39
Graph Convolutional Network Based on Multi-Head Pooling for Short Text Classification
Zhao, H., Xie, J., & Wang, H. (2022) · IEEE Access · doi:10.1109/access.2022.3146303 · Cited by 35
“Therefore, the multi-head method [25] [26] [27] is introduced to form multiple subspaces and enables the model to select nodes from different aspects.”
MethodGenerating Diverse Translation by Manipulating Multi-Head Attention
Sun, Z., Huang, S., Wei, H., Dai, X., & Chen, J. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i05.6429 · Cited by 39
Attention Can Reflect Syntactic Structure (If You Let It)
Ravishankar, V., Kulmizev, A., Abdou, M., Søgaard, A., & Nivre, J. (2021) · Conference of the European Chapter of the Association for Computational Linguistics · doi:10.18653/v1/2021.eacl-main.264 · Cited by 43
Building Interpretable Interaction Trees for Deep NLP Models
Zhang, D., Zhang, H., Zhou, H., Bao, X., Huo, D., Chen, R., Xu, C., Wu, M., & Zhang, Q. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i16.17685 · Cited by 46
Evolving Attention with Residual ConvolutionsPreprint
Wang, Y., Yang, Y., Bai, J., Zhang, M., Bai, J., Yu, J., Zhang, C., Huang, G. M., & Tong, Y. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2102.12895 · Cited by 48
“Raganato et al. (2018) analyze the Transformer model for machine translation and show that some attention heads are able to capture certain relations implicitly: lower layers tend to learn more about syntax while higher layers tend to encode more about semantics.”
MethodT-cell receptor binding prediction: A machine learning revolution
Weber, A., Pélissier, A., & Martínez, M. R. (2024) · ImmunoInformatics · doi:10.1016/j.immuno.2024.100040 · Cited by 37
“Intriguingly, different attention layers identified distinct information, supporting earlier NLP findings that deeper layers in text-based Transformers focus on more complex attributes and encode sophisticated representations [88, 89].”
BackgroundMulti-Task Learning with Shared Encoder for Non-Autoregressive Machine Translation
Hao, Y., He, S., Jiao, W., Tu, Z., Lyu, M. R.-T., & Wang, 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.313 · Cited by 29
On the Sub-layer Functionalities of Transformer Decoder
Yang, Y., Wang, L., Shi, S., Tadepalli, P. V., Lee, S., & Tu, Z. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.432 · Cited by 31
Self-attention Mechanism at the Token Level: Gradient Analysis and Algorithm Optimization
Liu, L., & Xu, X. (2023) · Knowledge-Based Systems · doi:10.1016/j.knosys.2023.110784 · Cited by 32
Exploiting Sentential Context for Neural Machine Translation
Wang, X., Tu, Z., Wang, L., & Shi, S. (2019) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/p19-1624 · Cited by 28
“The deep sentential context can be viewed as a more comprehensive global sentence representation, since different types of syntax and semantic information are encoded in different encoder layers (Shi et al., 2016; Peters et al., 2018; Raganato and Tiedemann, 2018).”
BackgroundResultA Semisupervised Approach for Industrial Anomaly Detection via Self-Adaptive Clustering
Ma, X., Keung, J., He, P., Xiao, Y., Yu, X., & Li, Y. (2023) · IEEE Transactions on Industrial Informatics · doi:10.1109/tii.2023.3280246 · Cited by 27
“In this way, the combination of attention scores for each log message is obtained through the fully connected layers [27].”
BackgroundBenchmarking Language Models for Code Syntax Understanding
Shen, D., Chen, X., Wang, C., Sen, K., & Song, D. X. (2022) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2022.findings-emnlp.224 · Cited by 32
Ilinykh, N., & Dobnik, S. (2021) · Frontiers in Artificial Intelligence · doi:10.3389/frai.2021.767971 · Cited by 29
“For example, some research has focused on identifying valuable information for syntactic, co-referential, and translation tasks (Raganato and Tiedemann, 2018; Belinkov and Glass, 2019).”
BackgroundOn Commonsense Cues in BERT for Solving Commonsense Tasks
Cui, L., Cheng, S., Wu, Y., & Zhang, Y. (2021) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2021.findings-acl.61 · Cited by 46
“well for all relation types, both with fine-tuning and without fine-tuning, which is similar to the previously finding for syntactic heads (Raganato and Tiedemann, 2018; Clark et al., 2019).”
ResultDeep Transformer modeling via grouping skip connection for neural machine translation
Li, Y., Li, J., & Zhang, M. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107556 · Cited by 28
Baniata, L. H., Kang, S., & Ampomah, I. K. E. (2022) · Mathematics · doi:10.3390/math10193666 · Cited by 27
Ferrando, J., Gállego, G. I., Alastruey, B., Escolano, C., & Costa‐jussà, M. R. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.599 · Cited by 70
Driving Fatigue Detection with Three Non-Hair-Bearing EEG Channels and Modified Transformer Model
Wang, J., Xu, Y., Tian, J., Li, H., Jiao, W., Sun, Y., & Li, G. (2022) · Entropy · doi:10.3390/e24121715 · Cited by 25
“Inspired by the multi-head attention mechanism, we projected the one-dimensional vector into the two-dimensional space so that the model can learn more information (for the scale of the two-dimensional space, we have performed multiple ablation experiments) and used the scaled dot-product attention…”
MethodLocal-global coordination with transformers for referring image segmentation
Liu, F., Kong, Y., Zhang, L., Feng, G., & Yin, B. (2022) · Neurocomputing · doi:10.1016/j.neucom.2022.12.018 · Cited by 26
Attention Calibration for Transformer in Neural Machine Translation
Lu, Y., Zeng, J., Zhang, J., Wu, S., & Li, M. (2021) · doi:10.18653/v1/2021.acl-long.103 · Cited by 37
“As opposed to the critiques of regarding attention weights as explanation, Wiegreffe and Pinter claim that the trained attention mechanisms do learn something meaningful about the relationship between inputs and outputs, such as syntactic information (Raganato and Tiedemann, 2018; Vig and Belinkov, 2019; Pham et al.,…”
ResultMulti-domain Neural Machine Translation
Pham, M.-Q. (2021) · theses.fr (ABES) · doi:10.70675/17e2ca68z8662z4bb9zb875zac511563f5c6 · Cited by 23
Metadata
- Authors
- Raganato, A., & Tiedemann, J.
- Affiliations
- University of Helsinki (FI)
- Venue
- Proceedings of the 2018 EMNLP Workshop BlackboxNLP: Analyzing and Interpreting Neural Networks for NLP
- Published
- 2018
- Pages
- 287-297
- OpenAlex
- W2912351236
- Semantic Scholar
- 94238dead40b12735d79ed63e29ead70730261a2
- Cited by
- 277
- References
- 62
- Citations by year
- 2026: 7 · 2025: 19 · 2024: 22 · 2023: 41 · 2022: 41 · 2021: 50 · 2020: 65 · 2019: 31 · 2018: 1
- FWCI
- 15.00
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- Locations
- BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP (BlackboxNLP) (publishedVersion, cc-by)
- Työväentutkimus Vuosikirja (submittedVersion, cc-by-nc-sa)
- BOA (University of Milano-Bicocca) (submittedVersion)
- IRIS Research product catalog (Sapienza University of Rome) (submittedVersion)
- Funders
- Nvidia
- Academy of Finland
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Speech Recognition and Synthesis
- Keywords
- encoder-decoder architecture, representation analysis
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.