mlsanityData to 14 Oct 2026

Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translation

arXiv 2205.15301 ↗First posted 30 May 2022cs.CLcited by 28

Not on the map. Why?

Abstract (arXiv)

Unlike literal expressions, idioms' meanings do not directly follow from their parts, posing a challenge for neural machine translation (NMT). NMT models are often unable to translate idioms accurately and over-generate compositional, literal translations. In this work, we investigate whether the non-compositionality of idioms is reflected in the mechanics of the dominant NMT model, Transformer, by analysing the hidden states and attention patterns for models with English as source language and one of seven European languages as target language. When Transformer emits a non-literal translation - i.e. identifies the expression as idiomatic - the encoder processes idioms more strongly as single lexical units compared to literal expressions. This manifests in idioms' parts being grouped through attention and in reduced interaction between idioms and their context. In the decoder's cross-attention, figurative inputs result in reduced attention on source-side tokens. These results suggest that Transformer's tendency to process idioms as compositional expressions contributes to literal translations of idioms.

Key facts. Cited by 28 papers in the map (data through 14 Oct 2026). Builds on 22 of its 53 references that are in the map. First posted on arXiv 30 May 2022.

Builds on

22 of 53 references.

References · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  4. 2019Attention is not Explanationcited by 929
  5. 2019Attention is not not Explanationcited by 636
  6. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
  7. 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 455
  8. 2018Insights on representational similarity in neural networks with canonical correlationcited by 324
  9. 2018Marian: Fast Neural Machine Translation in C++cited by 203
  10. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  11. 2021The paradox of the compositionality of natural language: a neural machine translation case studycited by 59
  12. 2017A Challenge Set Approach to Evaluating Machine Translationcited by 37
10 more
  1. 2018Examining the Tip of the Iceberg: A Data Set for Idiom Translationcited by 34
  2. 2021On Compositional Generalization of Neural Machine Translationcited by 34
  3. 2019Still a Pain in the Neck: Evaluating Text Representations on Lexical Compositioncited by 27
  4. 2018An Analysis of Attention Mechanisms: The Case of Word Sense Disambiguation in Neural Machine Translationcited by 15
  5. 2019On Compositionality in Neural Machine Translationcited by 14
  6. 2021Can Transformers Jump Around Right in Natural Language? Assessing Performance Transfer from SCANcited by 14
  7. 2017Evaluating Machine Translation Performance on Chinese Idioms with a Blacklist Methodcited by 12
  8. 2020On the Sub-Layer Functionalities of Transformer Decodercited by 12
  9. 2019Encoders Help You Disambiguate Word Senses in Neural Machine Translationcited by 6
  10. 2019Linguistic evaluation of German-English Machine Translation using a Test Suitecited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 7; 2023: 10; 2024: 6; 2025: 3; 2026: 2.

28 papers.

Sort:

By area:

  1. 2023LEACE: Perfect linear concept erasure in closed formcited by 267
  2. 2023Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMscited by 124
  3. 2022Understanding Transformer Memorization Recall Through Idiomscited by 62
  4. 2023Do GPTs Produce Less Literal Translations?cited by 30
  5. 2022ACES: Translation Accuracy Challenge Sets for Evaluating Machine Translation Metricscited by 25
  6. 2023Translate Meanings, Not Just Words: IdiomKB's Role in Optimizing Idiomatic Translation with Language Modelscited by 24
  7. 2022Better Hit the Nail on the Head than Beat around the Bush: Removing Protected Attributes with a Single Projectioncited by 17
  8. 2024Geometric Signatures of Compositionality Across a Language Model's Lifetimecited by 16
  9. 2022Finding Memo: Extractive Memorization in Constrained Sequence Generation Taskscited by 12
  10. 2023Crossing the Threshold: Idiomatic Machine Translation through Retrieval Augmentation and Loss Weightingcited by 11
  11. 2022Are Representations Built from the Ground Up? An Empirical Examination of Local Composition in Language Modelscited by 9
  12. 2024Semantics of Multiword Expressions in Transformer-Based Models: A Surveycited by 9
16 more
  1. 2022Automatic Evaluation and Analysis of Idioms in Neural Machine Translationcited by 8
  2. 2022Hierarchical Phrase-based Sequence-to-Sequence Learningcited by 7
  3. 2024From Rule-Based Models to Deep Learning Transformers Architectures for Natural Language Processing and Sign Language Translation Systems: Survey, Taxonomy and Performance Evaluationcited by 6
  4. 2023Bridging Continuous and Discrete Spaces: Interpretable Sentence Representation Learning via Compositional Operationscited by 5
  5. 2024PORTULAN ExtraGLUE Datasets and Models: Kick-starting a Benchmark for the Neural Processing of Portuguesecited by 5
  6. 2023Divergences between Language Models and Human Brainscited by 3
  7. 2026Preferences for Idiomatic Language are Acquired Slowly -- and Forgotten Quickly: A Case Study on Swedishcited by 3
  8. 2023Automating Behavioral Testing in Machine Translationcited by 2
  9. 2023Does the "most sinfully decadent cake ever" taste good? Answering Yes/No Questions from Figurative Contextscited by 2
  10. 2025GLoT: A Novel Gated-Logarithmic Transformer for Efficient Sign Language Translationcited by 2
  11. 2025Evaluating LLMs on Chinese Idiom Translationcited by 2
  12. 2023Predicting Human Translation Difficulty with Neural Machine Translationcited by 1
  13. 2024The Comparison of Translationese in Machine Translation and Human Transation in terms of Translation Relationscited by 1
  14. 2024Compositional Generalization with Grounded Language Modelscited by 1
  15. 2025Anatomy of an Idiom: Tracing Non-Compositionality in Language Modelscited by 0
  16. 2026Evaluating Communicative Success in Machine-Translated Conversationcited by 0