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
Items 101–200 of 306
Fan, J., Zhou, J., Wang, X., & Wang, J. (2023) · IEEE Transactions on Geoscience and Remote Sensing · doi:10.1109/tgrs.2023.3321595 · Cited by 29
“In contrast, low-layer attention tries to find local dependences [40].”
BackgroundStructured Self-Attention Weights Encode Semantics in Sentiment Analysis
Wu, Z., Nguyen, T.-S., & Ong, D. C. (2020) · BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP (BlackboxNLP) · doi:10.18653/v1/2020.blackboxnlp-1.24 · Cited by 29
DeLighT: Very Deep and Light-weight TransformerPreprint
Mehta, S., Ghazvininejad, M., Iyer, S. V., Zettlemoyer, L., & Hajishirzi, H. (2020) · arXiv (Cornell University) · Cited by 28
Caution Ahead: Numerical Reasoning and Look‐Ahead Bias in AI Models
LEVY, B. (2026) · Journal of Accounting Research · doi:10.1111/1475-679x.70058 · Cited by 20
Transformer-based two-source motion model for multi-object tracking
Yang, J., Ge, H., Su, S., & Liu, G. (2022) · Applied Intelligence · doi:10.1007/s10489-021-03012-y · Cited by 22
“Subsequently, the Transformer structure has achieved great success in many fields of Natural Language Processing(NLP), such as machine translation [29, 15], sentiment analysis [16, 17], and text generation [19].”
BackgroundCipherDAug: Ciphertext based Data Augmentation for Neural Machine Translation
Kambhatla, N., Born, L., & Sarkar, A. (2022) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2022.acl-long.17 · Cited by 31
Guiding Attention for Self-Supervised Learning with Transformers
Deshpande, A., & Narasimhan, K. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.419 · Cited by 28
How to Dissect a Muppet: The Structure of Transformer Embedding Spaces
Mickus, T., Paperno, D., & Constant, M. (2022) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00501 · Cited by 36
“Like-wise, probe-based approaches to unearth a linear structure matching with the syntactic structure of the input sentence (Raganato and Tiedemann, 2018; Hewitt and Manning, 2019, a.o.) can be construed as relying on the explicit linear dependence that we highlight here.”
BackgroundAutomatic Assessment of Mathematical Creativity using Natural Language Processing
Marrone, R. L., Cropley, D. H., & Wang, Z. (2022) · Creativity Research Journal · doi:10.1080/10400419.2022.2131209 · Cited by 23
“In this study, we adopt only the encoder component as our text classification task is half of a translation task, i.e., we need input-encoding-probabilities-classification, not input-encoding-decoding-outputs (see Raganato & Tiedemann, 2018).”
MethodMitigating Adversarial Attacks in Federated Learning with Trusted Execution Environments
Queyrut, S., Schiavoni, V., & Felber, P. (2023) · 2023 IEEE 43rd International Conference on Distributed Computing Systems (ICDCS) · doi:10.1109/icdcs57875.2023.00069 · Cited by 18
“, text or images [4]), effectively used across a diverse range of tasks, yielding stateof-the-art results in several areas, e.”
BackgroundPelta: shielding transformers to mitigate evasion attacks in federated learning
Queyrut, S., Bromberg, Y.-D., & Schiavoni, V. (2022) · Proceedings of the 3rd International Workshop on Distributed Machine Learning · doi:10.1145/3565010.3569064 · Cited by 17
“Transformers create a rich and high-performing continuous representation of the whole input text or image [38], effectively used across a diverse range of tasks, yielding state of the art results in several areas, e.”
BackgroundmiCSE: Mutual Information Contrastive Learning for Low-shot Sentence Embeddings
Klein, T., & Nabi, M. (2023) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2023.acl-long.339 · Cited by 21
Universal Dependencies According to BERT: Both More Specific and More General
Limisiewicz, T., Mareček, D., & Rosa, R. (2020) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2020.findings-emnlp.245 · Cited by 26
Rational LAMOL: A Rationale-based Lifelong Learning Framework
Kanwatchara, K., Horsuwan, T., Lertvittayakumjorn, P., Kijsirikul, B., & Vateekul, P. (2021) · doi:10.18653/v1/2021.acl-long.229 · Cited by 27
“Component Freezing While component freezing is also a common practice in the fine-tuning process, it is done to prevent loss in general knowledge in lower layers of the model (Raganato and Tiedemann, 2018).”
BackgroundPredicting Attention Sparsity in Transformers
Treviso, M., Góis, A., Fernandes, P., Fonseca, E., & Martins, A. F. T. (2022) · Workshop on Structured Prediction for NLP (SPNLP) · doi:10.18653/v1/2022.spnlp-1.7 · Cited by 24
Do Transformer Attention Heads Provide Transparency in Abstractive Summarization?Preprint
Baan, J., ter Hoeve, M., van der Wees, M., Schuth, A., & de Rijke, M. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1907.00570 · Cited by 28
“Raganato et al. [17] study the self-attention of a Transformer encoder for NMT and observe that some heads mark syntactic dependency relations.”
Selective Prompt Anchoring for Code GenerationPreprint
Tian, Y., & Zhang, T. (2024) · International Conference on Machine Learning · doi:10.48550/arxiv.2408.09121 · Cited by 25
“Despite the success of the self-attention mechanism, prior works found Language models exhibit simple attention patterns [63, 79].”
BackgroundA performance analysis of transformer-based deep learning models for Arabic image captioning
Alsayed, A., Qadah, T. M., & Arif, M. (2023) · Journal of King Saud University: Computer and Information Sciences · doi:10.1016/j.jksuci.2023.101750 · Cited by 15
Mixed Multi-Head Self-Attention for Neural Machine Translation
Cui, H., Iida, S., Hung, P.-H., Utsuro, T., & Nagata, M. (2019) · Workshop on Neural Generation and Translation (WNGT) · doi:10.18653/v1/d19-5622 · Cited by 21
“This contrasts with the results from Raganato and Tiedemann (2018).”
ResultPredicting Discourse Trees from Transformer-based Neural Summarizers
Xiao, W., Huber, P., & Carenini, G. (2021) · Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies · doi:10.18653/v1/2021.naacl-main.326 · Cited by 12
Improving neural machine translation with latent features feedback
Li, Y., Li, J., & Zhang, M. (2021) · Neurocomputing · doi:10.1016/j.neucom.2021.08.019 · Cited by 19
Improving Transformer-based Conversational ASR by Inter-Sentential Attention Mechanism
Wei, K., Guo, P., & Jiang, N. (2022) · Interspeech (USB) · doi:10.21437/interspeech.2022-10066 · Cited by 16
Convolution-Enhanced Evolving Attention Networks
Wang, Y., Yang, Y., Li, Z., Bai, J., Zhang, M., Li, X., Yu, J., Zhang, C., Huang, G. M., & Tong, Y. (2023) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2023.3236725 · Cited by 16
“[19] analyze Transformer models for machine translation and show that some attention heads are able to capture certain relations implicitly:”
MethodOptimal Transport for Unsupervised Hallucination Detection in Neural Machine Translation
Guerreiro, N. M., Colombo, P., Piantanida, P., & Martins, A. F. T. (2023) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2023.acl-long.770 · Cited by 36
C4AV: Learning Cross-Modal Representations from Transformers
Luo, S., Dai, H., Shao, L., & Ding, Y. S. (2020) · Lecture notes in computer science · doi:10.1007/978-3-030-66096-3_3 · Cited by 20
Neuron Interaction Based Representation Composition for Neural Machine Translation
Li, J., Wang, X., Yang, B., Shi, S., Lyu, M. R.-T., & Tu, Z. (2020) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v34i05.6334 · Cited by 17
Singh, H. V. P., & Mahmoud, Q. H. (2020) · Sensors · doi:10.3390/s20113228 · Cited by 16
“Each above four test cases were swept over K-Lag = [4, 8, 16, 32] and n-step = [1, 2, 4, 10, 20] parameters to train and evaluate the models using raw data set containing 4 K samples with train vs.”
BackgroundMethodAlleviating data insufficiency for Chinese sign language recognition
Xue, W., Liu, J., Yan, S., Zhou, Y., Yuan, T., & Guo, Q. (2023) · Visual Intelligence · doi:10.1007/s44267-023-00028-5 · Cited by 19
“It has been proven that knowledge of transformer encoder representation is easier to share with other models [20], which is very conducive to transferring knowledge between sign language recognition tasks.”
BackgroundApplications of Pruning Methods in Natural Language Processing
Touheed, M., Zubair, U., Sabir, D., Hassan, A., Butt, M. F. U., Riaz, F., Abdul, W., & Ayub, R. (2024) · IEEE Access · doi:10.1109/access.2024.3411776 · Cited by 17
Attention as a Guide for Simultaneous Speech Translation
Papi, S., Negri, M., & Turchi, M. (2023) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2023.acl-long.745 · Cited by 53
“…motivated by related works in machine translation (MT) and language modeling, which prove that attention scores can encode syntactic dependencies (Raganato and Tiedemann, 2018; Htut et al., 2019) and language representations (Lamarre et al., 2022), as well as align source and target tokens (Tang…”
BackgroundCalixto, I., Raganato, A., & Pasini, T. (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.286 · Cited by 24
Self-citationEBBE-Text: Explaining Neural Networks by Exploring Text Classification Decision Boundaries
Delaforge, A., Azé, J., Bringay, S., Mollévi, C., Sallaberry, A., & Servajean, M. (2022) · IEEE Transactions on Visualization and Computer Graphics · doi:10.1109/tvcg.2022.3184247 · Cited by 17
“The attention mechanisms [12], [13], [14], [15], [16], [17], [18], [19], [20], [21], [22] present in NN constructions can also explain predictions.”
BackgroundGehrmann, S., Strobelt, H., Rush, A. M., et al. (2019) · doi:10.18653/v1/p19-3 · Cited by 14
Banerjee, A., & Banik, D. (2025) · ACM Computing Surveys · doi:10.1145/3773076 · Cited by 20
“The authors of this article [48] try to focus only on the strengths and weaknesses of the Transformer’s encoder representations, including the discovery that lower layers encode more syntax while higher layers capture more semantics.”
Towards Understanding Large-Scale Discourse Structures in Pre-Trained and Fine-Tuned Language Models
Huber, P., & Carenini, G. (2022) · Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies · doi:10.18653/v1/2022.naacl-main.170 · Cited by 8
Named Entity Recognition applied on Moroccan tourism corpus
Bouabdallaoui, I., Guerouate, F., Bouhaddour, S., Saadi, C., & Sbihi, M. (2021) · EUSPN/ICTH · doi:10.1016/j.procs.2021.12.256 · Cited by 11
Guan, Z., & Zhou, X. (2023) · BMC Bioinformatics · doi:10.1186/s12859-023-05172-9 · Cited by 15
“The first research strategy focuses on the interpretation of networks, namely analyzing attention mechanisms and interpretability of weights and connections [49, 54, 56] or try to to guide the attention mechanism by external information [57, 58].”
BackgroundLight-Weight Self-Attention Augmented Generative Adversarial Networks for Speech Enhancement
Li, L., Lu, Z., Watzel, T., Kürzinger, L., & Rigoll, G. (2021) · Electronics · doi:10.3390/electronics10131586 · Cited by 14
“[54] and Raganato and Tiedemann [55] indicated that higher layers of the system tend to learn semantic information while lower layers capture more surface and lexical information.”
BackgroundAttention And Positional Encoding Are (Almost) All You Need For Shape Matching
Raganato, A., Pasi, G., & Melzi, S. (2023) · Computer Graphics Forum · doi:10.1111/cgf.14912 · Cited by 15
Self-citationIntegrating Hybrid AI Approaches for Enhanced Translation in Minority Languages
Chang, C., Lin, Y., Hsu, Y.-H., & Fan, I.-H. (2025) · Applied Sciences · doi:10.3390/app15169039 · Cited by 12
The Effect of Normalization for Bi-directional Amharic-English Neural Machine Translation
Belay, T. D., Tonja, A. L., Kolesnikova, O., Yimam, S. M., Ayele, A. A., Haile, S. B., Sidorov, G., & Gelbukh, A. F. (2022) · International Conference on Information and Communication Technology for Development for Africa (ICT4DA) · doi:10.1109/ict4da56482.2022.9971385 · Cited by 11
A generalized hardware architecture for real-time spiking neural networks
Valencia, D., & Alimohammad, A. (2023) · Neural Computing and Applications · doi:10.1007/s00521-023-08650-6 · Cited by 11
“The mechanism of self-attention has proven invaluable for natural language processing tasks, such as machine translation [5].”
BackgroundExtractive Summarization for Explainable Sentiment Analysis using Transformers.
Bacco, L., Cimino, A., Dell’Orletta⋄, F., & Merone, M. (2021) · Cited by 23
Breaking Down Multilingual Machine Translation
Chiang, T.-R., Chen, Y.-P., Yeh, Y.-T., & Neubig, G. (2022) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2022.findings-acl.218 · Cited by 17
Enlivening Redundant Heads in Multi-head Self-attention for Machine Translation
Zhang, T., Huang, H., Feng, C., & Cao, L. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.260 · Cited by 15
“Other work analyzes the attention weights of different NMT models (Ghader and Monz, 2017; Voita et al., 2018; Tang et al., 2018; Raganato and Tiedemann, 2018).”
MethodOn-the-Fly Attention Modulation for Neural Generation
Dong, Y., Bhagavatula, C., Lu, X., Hwang, J. D., Bosselut, A., Cheung, J. C. K., & Choi, Y. (2021) · Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021 · doi:10.18653/v1/2021.findings-acl.107 · Cited by 10
“For example, multiple analyses have suggested that attention patterns in pre-trained Transformers implicitly encode syntactic information (Raganato and Tiedemann, 2018; Michel et al., 2019; Vig and Belinkov, 2019).”
BackgroundDiversifying Multi-Head Attention in the Transformer Model
Ampazis, N., & Sakketou, F. (2024) · Machine Learning and Knowledge Extraction · doi:10.3390/make6040126 · Cited by 12
Sun, Y., Wang, R., Luo, Z., Tan, L., Liu, J., Li, R., Wei, D., & Zhang, Y. (2025) · Briefings in Bioinformatics · doi:10.1093/bib/bbaf434 · Cited by 14
PC-SAN: Pretraining-Based Contextual Self-Attention Model for Topic Essay Generation
Lin, F., Ma, X., Chen, Y., Zhou, J., & Liu, B. (2020) · KSII Transactions on Internet and Information Systems · doi:10.3837/tiis.2020.08.001 · Cited by 12
“The intention is that relevant studies have shown that different layers of BERT capture different linguistic information [21], where higher layers capture semantic information while lower layers tend to learn surface and lexical information [24].”
BackgroundEvolving transformer architecture for neural machine translation
Feng, B., Liu, D., & Sun, Y. (2021) · Genetic and Evolutionary Computation Conference Companion (GECCO Companion) · doi:10.1145/3449726.3459441 · Cited by 10
“[7] observe that when using transformer models to perform Neural Machine Translation (NMT) tasks, the bottom blocks in the encoder tend to learn more about the syntax while the top blocks tend to learn more about the semantics.”
MethodMa, Y., Liu, Y., Zhang, D., Zhang, J., Liu, H., & Xie, Y. (2022) · Computational Intelligence and Neuroscience · doi:10.1155/2022/1495841 · Cited by 11
“Transformer can find latent recognition patterns from data and has been proven to have the ability to extract deep semantic features embedded in a text [28].”
BackgroundGim, M., Choi, D., Maruyama, K., Choi, J., Kim, H., Park, D., & Kang, J. (2022) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3511808.3557092 · Cited by 10
“The attention weights between -sized current ingredient set S and additional ingredient were extracted from RecipeMind’s last PMX block and averaged head-wise [12, 42].”
MethodConversational Speech Recognition by Learning Conversation-Level Characteristics
Wei, K., Zhang, Y., Sun, S., Xie, L., & Ma, L. (2022) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp43922.2022.9746884 · Cited by 14
Grammatically Derived Factual Relation Augmented Neural Machine Translation
Li, F., Zhu, J., Yan, H., & Zhang, Z. (2022) · Applied Sciences · doi:10.3390/app12136518 · Cited by 10
Movva, R., & Zhao, J. (2020) · BlackboxNLP Workshop on Analyzing and Interpreting Neural Networks for NLP (BlackboxNLP) · doi:10.18653/v1/2020.blackboxnlp-1.19 · Cited by 11
Hiformer: Sequence Modeling Networks With Hierarchical Attention Mechanisms
Wu, X., Lu, H., Li, K., Wu, Z., Liu, X., & Meng, H. M. L. (2023) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2023.3313428 · Cited by 11
“Asrecent studiessuggest,differentlevelsofinformationarelearnedatdif-ferentlayersinTransformerencodersanddecoders[4],[5],[13].”
A Multi-Head Attention-Based Transformer Model for Predicting Causes in Aviation Incidents
Nanyonga, A., Wasswa, H., Joiner, K. F., Turhan, U., & Wild, G. (2025) · Modelling—International Open Access Journal of Modelling in Engineering Science · doi:10.3390/modelling6020027 · Cited by 16
Attention-Guided Deep Learning Framework For Movement Quality Assessment
Kanade, A., Sharma, M., & Manivannan, M. (2023) · IEEE International Conference on Acoustics Speech and Signal Processing · doi:10.1109/icassp49357.2023.10095031 · Cited by 9
“The transformer architecture is scalable, and a higher representation capacity can be obtained by increasing the number of layers in the architecture [14].”
BackgroundWen, H., Lin, Y., Hu, Y., Wu, F., Xia, M., Zhang, X., Wu, L., Hu, H., & Wan, H. (2023) · IEEE Transactions on Intelligent Transportation Systems · doi:10.1109/tits.2023.3301661 · Cited by 9
“Because of its powerful encoding ability, Transformer has achieved great success in many areas such as computer vision [33], [34], [35], natural language processing [36], [37], [38] and spatial-temporal data mining [39], [40].”
BackgroundCross Attention with Monotonic Alignment for Speech Transformer
Zhao, Y., Ni, C., Leung, C.-C., Joty, S., Chng, E. S., & Ma, B. (2020) · Interspeech (USB) · doi:10.21437/interspeech.2020-1198 · Cited by 13
“The alignment information is beneficial for the decoder to focus on the relevant input speech frames, especially at lower layers where the model captures more local than global information [20].”
BackgroundMethodResultInfluentialLi, R., Wen, X., Xing, L., Wang, L., Murray, G., & Carenini, G. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.694 · Cited by 18
“Various works have investigated the attention head matrices in transformers (Raganato and Tiedemann, 2018; Clark et al., 2019; Kovaleva et al., 2019; Zhao and Bethard, 2020; Xiao et al., 2021), often with the aid of visualization tools (Vig, 2019; Hoover et al.”
MethodMultilingual, Multi-scale and Multi-layer Visualization of Intermediate Representations
Escolano, C., Costa‐jussà, M. R., Lacroux, E., & Vázquez, P. (2019) · Conference on Empirical Methods in Natural Language Processing: System Demonstrations (EMNLP) · doi:10.18653/v1/d19-3026 · Cited by 9
“(Raganato and Tiedemann, 2018) show interesting findings about dependency”
Syntax Representation in Word Embeddings and Neural Networks -- A SurveyPreprint
Limisiewicz, T., & Mareček, D. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2010.01063 · Cited by 13
“Instead of extracting structure from each head [31] they use probing to find the weighted average of all heads.”
BackgroundMethodInfluentialShaking Syntactic Trees on the Sesame Street: Multilingual Probing with Controllable Perturbations
Taktasheva, E., Mikhailov, V., & Artemova, E. (2021) · Workshop on Multilingual Representation Learning (MRL) · doi:10.18653/v1/2021.mrl-1.17 · Cited by 17
Zhang, G., Liu, H., Guo, J., & Guo, T. (2024) · Expert Systems with Applications · doi:10.1016/j.eswa.2024.125314 · Cited by 12
Balaji, S. R. A., Hassan, T., Ramchandra, A. R., Ranganathan, P., Plathottam, S. J., & Jhala, K. (2024) · International Conference on Electrical Engineering and Green Energy (CEEGE) · doi:10.1109/ceege62093.2024.10744069 · Cited by 9
Attention Analysis and Calibration for Transformer in Natural Language Generation
Lu, Y., Zhang, J., Zeng, J., Wu, S., & Zong, C. (2022) · IEEE/ACM Transactions on Audio Speech and Language Processing · doi:10.1109/taslp.2022.3180678 · Cited by 14
“Unlike criticizing attention weights as an explanation, Wiegreffe and Pinter [7] claim that trained attention mechanisms do learn something meaningful about the relationship between inputs and outputs, such as syntactic information [46], [47].”
Ilinykh, N., & Dobnik, S. (2022) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2022.findings-acl.320 · Cited by 15
“…has shown that the attention weights in large-scale models, e.g. BERT (Devlin et al., 2019), implicitly encode knowledge of sentence structure (Raganato and Tiedemann, 2018; Ravishankar et al., 2021), part-of-speech tags, syntactic dependencies (Clark et al., 2019; Vig and Belinkov, 2019),…”
BackgroundJob and Employee Embeddings: A Joint Deep Learning Approach
Liu, H., & Ge, Y. (2022) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2022.3180593 · Cited by 8
“This has led to the development of transfer learning [19], [20] with transformers such as BERT [21], DistilBERT [22] and RoBERTa [23], which have been trained on large amounts of unannotated language corpora and could be fine-tuned for a specific NLU task [24], [25], [26], [27], [28], [29], [30].”
MethodRaganato, A., Vázquez, R., Creutz, M., & Tiedemann, J. (2021) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2021.emnlp-main.664 · Cited by 8
“As future work, we intend to analyze the quality of the learned alignments and their effect on the other attention weights in both supervised and zero-shot evaluation data (Raganato and Tiedemann, 2018; Tang et al., 2018; Mareˇcek and Rosa, 2019; Voita et al., 2019).”
MethodSelf-citationHoly Quran-Italian seq2seq Machine Translation with Attention Mechanism
Hamed, H., Helmy, A., & Mohammed, A. (2022) · International Mobile, Intelligent, and Ubiquitous Computing Conference (MIUCC) · doi:10.1109/miucc55081.2022.9781781 · Cited by 7
“Which, the last hidden encoder state is transferred to another RNN layer [45], [54],[63].”
BackgroundRoles of Scaling and Instruction Tuning in Language Perception: Model vs. Human Attention
Gao, C., Huang, S., Li, J., & Chen, J. (2023) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2023.findings-emnlp.868 · Cited by 12
Kunz, J. (2024) · Linköping studies in science and technology. Dissertations · doi:10.3384/9789180754712 · Cited by 8
A deep learning framework for hepatocellular carcinoma diagnosis using MS1 data
Xu, W. D., Zhang, L., Qian, X., Sun, N., Tu, X., Zhou, D., Zheng, X., Chen, J., Xie, Z., He, T., et al. (2024) · Scientific Reports · doi:10.1038/s41598-024-77494-4 · Cited by 7
“…model for sequence modeling 27–30 has been widespread used in natural language processing (NLP) 31–33 and achieves remarkable performance in various tasks such as machine translation 34,35 and information extraction 36,37 due to its ability to capture contextual dependencies between sequences.”
BackgroundUniversal transformer Hawkes process with adaptive recursive iteration
Zhang, L.-N., Liu, J., Song, Z.-Y., & Zuo, X. (2021) · Engineering Applications of Artificial Intelligence · doi:10.1016/j.engappai.2021.104416 · Cited by 7
Multi-task Label-wise Transformer for Chinese Named Entity Recognition
Wang, X., Xu, X., Huang, D., & Zhang, T. (2023) · ACM Transactions on Asian and Low-Resource Language Information Processing · doi:10.1145/3576025 · Cited by 8
“On one hand, focusing on multi-layer structure, Ra-ganato and Tiedemann [ 29 ] find that lower layers tend to encode syntactic information, whereas upper layers move towards semantic tasks.”
BackgroundTransformers are uninterpretable with myopic methods: a case study with bounded Dyck grammars
Wen, K., Li, Y., Liu, B., & Risteski, A. (2023) · neural information processing systems · doi:10.52202/075280-1681 · Cited by 39
Are Multilingual Neural Machine Translation Models Better at Capturing Linguistic Features?
Mareček, D., Çelikkanat, H., Silfverberg, M., Ravishankar, V., & Tiedemann, J. (2020) · The Prague Bulletin of Mathematical Linguistics · doi:10.14712/00326585.009 · Cited by 12
“This approach was pioneered by Raganato and Tiedemann (2018), who analyze self at-tentions in terms of the dependency tree structures and Mareček and Rosa (2019), who train parsers based on self attentions of transformer models in monolingual and multilingual settings.”
Self-citationTang, G., Sennrich, R., & Nivre, J. (2020) · International Conference on Computational Linguistics · doi:10.18653/v1/2020.coling-main.375 · Cited by 9
Analyzing and Controlling Inter-Head Diversity in Multi-Head Attention
Yun, H., Kang, T., & Jung, K. (2021) · Applied Sciences · doi:10.3390/app11041548 · Cited by 9
“[17] also have analyzed attention weights and concluded that each head plays different roles to understand syntactic features.”
Ahmed, A., Abbasi, A., & Eickhoff, C. (2021) · PubMed · doi:10.48550/arxiv.2103.13546 · Cited by 7
Alleviating the Inequality of Attention Heads for Neural Machine TranslationPreprint
Sun, Z., Huang, S., Dai, X., & Chen, J. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2009.09672 · Cited by 7
“Recently, many analytical works about multi-head attention come out (Raganato and Tiedemann, 2018; Tang et al., 2018; Voita et al., 2019; Michel et al., 2019; Sun et al., 2020; Behnke and Heafield, 2020).”
BackgroundAre Human Conversations Special? A Large Language Model PerspectivePreprint
Jawale, T., Animesh, C., Vallath, S., Talamadupula, K., & Heck, L. P. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2403.05045 · Cited by 7
“Recent studies have shown the intricate ways in which various models, including Transformers and recurrent neural networks, encode dependency relations within texts [23; 24].”
Interference Matrix: Quantifying Cross-Lingual Interference in Transformer EncodersPreprint
Alastruey, B., Janeiro, J. M., Allauzen, A., Elbayad, M., Barrault, L., & Costa‐jussà, M. R. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2508.02256 · Cited by 7
Acı, M., Sarı, N. V., & Acı, Ç. İ. (2025) · PeerJ Computer Science · doi:10.7717/peerj-cs.3072 · Cited by 6
The metamorphosis of machine translation: The rise of neural machine translation and its challenges
Chen, Y. (2024) · Applied and Computational Engineering · doi:10.54254/2755-2721/43/20230815 · Cited by 8
“In the context of Transformer models, Raganato and Tiedemann [45] discovered that the self-attention mechanism allows for the calculation of correlation coefficients between words in a sentence.”
MethodTowards Better Translations from Classical to Modern Chinese: A New Dataset and a New Method
Jiang, Z., Wang, J., Cao, J., Gao, X., & Jin, L. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-44693-1_31 · Cited by 12
Deps-SAN: Neural Machine Translation with Dependency-Scaled Self-Attention Network
Peng, R., Lin, N., Fang, Y., Jiang, S., Hao, T., Chen, B., & Zhao, J. (2023) · Lecture notes in computer science · doi:10.1007/978-3-031-30111-7_3 · Cited by 5
“This interesting finding points to the identical conclusion as recent studies [26] — different layers tend to capture”
ResultHuman-in-the-Loop Error Precursor Detection using Language Translation Modeling of HMI States
Singh, H. V. P., & Mahmoud, Q. H. (2020) · Conference proceedings/Conference proceedings - IEEE International Conference on Systems, Man, and Cybernetics · doi:10.1109/smc42975.2020.9283392 · Cited by 5
“Particularly, the Transformer [13] is another NLP seq2seq model that does not use any RNN nor CNN layers, and has been analyzed by previous works [14], [15].”
MethodKoehn, P. (2020) · Cambridge University Press eBooks · doi:10.1017/9781108608480.003 · Cited by 5
BFI-L10 N: Learning Beamforming Feedback Information for Indoor Localization
Chen, J., Wang, S., Liu, Y., He, T., Wang, S., & Gao, D. (2025) · IEEE Transactions on Mobile Computing · doi:10.1109/tmc.2025.3632807 · Cited by 4
Koca, T., Er, M. B., & Çıtlak, A. (2026) · Machines · doi:10.3390/machines14050507 · Cited by 4
Sataer, Y., Fan, Y., Li, B., Gao, M., Shi, C., & Gao, Z. (2024) · Information Processing & Management · doi:10.1016/j.ipm.2024.103698 · Cited by 5
Probe-Assisted Fine-Grained Control for Non-Differentiable Features in Symbolic Music Generation
Hachana, R., & Rasheed, B. (2025) · IEEE Access · doi:10.1109/access.2025.3540543 · Cited by 5
“These probes can be used as an interpretability tool for models, since the performance of a probe on a certain feature can be used as a proxy for the presence of that feature in the model’s hidden state [47], [48], [49].”
Synchronous Syntactic Attention for Transformer Neural Machine Translation
Deguchi, H., Tamura, A., & Ninomiya, T. (2021) · doi:10.18653/v1/2021.acl-srw.36 · Cited by 4
Representation of Lexical Stylistic Features in Language Models’ Embedding Space
Lyu, Q., Apidianaki, M., & Callison-Burch, C. (2023) · Joint Conference on Lexical and Computational Semantics · doi:10.18653/v1/2023.starsem-1.32 · Cited by 14
Koehn, P. (2020) · Cambridge University Press eBooks · doi:10.1017/9781108608480.009 · Cited by 7
A General Method for Transferring Explicit Knowledge into Language Model Pretraining
Yan, R., Sun, L., Wang, F., & Zhang, X. (2021) · Security and Communication Networks · doi:10.1155/2021/7115167 · Cited by 5
“Therefore, we treat the knowledge injection problem like a machine translation problem and design a knowledge injector with the structure similar to the transformer used in the field of natural language translation [38], as the knowledge injection layer shown in Figure 1.”
Method
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.