paper-with-me

홈 › Papers

Anatomy of an Idiom: Tracing Non-Compositionality in Language Models

2025-11-20 · Andrew Gomes arxiv

We investigate the processing of idiomatic expressions in transformer-based language models using a novel set of techniques for circuit discovery and analysis. First discovering circuits via a modified path patching algorithm, we find that idiom processing exhibits distinct computational patterns. We identify and investigate `Idiom Heads,'' attention heads that frequently activate across different idioms, as well as enhanced attention between idiom tokens due to earlier processing, which we term `augmented reception.'' We analyze these phenomena and the general features of the discovered circuits as mechanisms by which transformers balance computational efficiency and robustness. Finally, these findings provide insights into how transformers handle non-compositional language and suggest pathways for understanding the processing of more complex grammatical constructions.

📄 PDF Abstract BibTeX arXiv:2511.16467

Code (0)

등록된 구현이 없습니다.

Tasks

Computational Efficiency

Similar Papers 제목 키워드 기반

Confirming the Non-compositionality of Idioms for Sentiment Analysis

2019-08-01 · WS 2019 8 · Alyssa Hwang, Christopher Hidey

An idiom is defined as a non-compositional multiword expression, one whose meaning cannot be deduced from the definitions of the component words. This definition does not explicitly define the compositionality of an idio…

Sentiment Analysis

Idiomatic Expression Identification using Semantic Compatibility

2021-10-19 · Ziheng Zeng, Suma Bhat

Idiomatic expressions are an integral part of natural language and constantly being added to a language. Owing to their non-compositionality and their ability to take on a figurative or literal meaning depending on the s…

Sentence

Unsupervised Compositionality Prediction of Nominal Compounds

2019-03-01 · CL 2019 3 · Silvio Cordeiro, Aline Villavicencio, Marco Idiart, Carlos Ramisch

Nominal compounds such as red wine and nut case display a continuum of compositionality, with varying contributions from the components of the compound to its semantics. This article proposes a framework for compound com…

Prediction

Getting BART to Ride the Idiomatic Train: Learning to Represent Idiomatic Expressions

2022-07-08 · Ziheng Zeng, Suma Bhat

Idiomatic expressions (IEs), characterized by their non-compositionality, are an important part of natural language. They have been a classical challenge to NLP, including pre-trained language models that drive today's s…

Clustering

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

2022-05-30 · ACL 2022 5 · Verna Dankers, Christopher G. Lucas, Ivan Titov

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 …

Machine TranslationNMTTranslation