Idioms present a unique challenge for language models due to their non-compositional figurative interpretations, which often strongly diverge from the idiom's literal interpretation. In this paper, we employ causal tracing to systematically analyze how pretrained causal transformers deal with this ambiguity. We localize three mechanisms: (i) Early sublayers and specific attention heads retrieve an idiom's figurative interpretation, while suppressing its literal interpretation. (ii) When disambiguating context precedes the idiom, the model leverages it from the earliest layer and later layers refine the interpretation if the context conflicts with the retrieved interpretation. (iii) Then, selective, competing pathways carry both interpretations: an intermediate pathway prioritizes the figurative interpretation and a parallel direct route favors the literal interpretation, ensuring that both readings remain available. Our findings provide mechanistic evidence for idiom comprehension in autoregressive transformers.
FFE-Hallu:Hallucinations in Fixed Figurative Expressions:Benchmark of Idioms and Proverbs in the Persian Language
Tehran Institute for Advanced Studies, Khatam University, Iran(德黑兰高级研究 institute,Khatam 大学,伊朗);School of Electrical and Computer Engineering, College of Engineering, University of Tehran, Tehran, Iran(电气与计算机工程学院,工程学院,德黑兰大学,德黑兰,伊朗)
It's not Rocket Science : Interpreting Figurative Language in Narratives
Columbia University(哥伦比亚大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of Washington(华盛顿大学);University of British Columbia(不列颠哥伦比亚大学)
Multilingual Idioms in Sentences and Conversations Across High-, Medium-, and Low-Resource Languages
Mohamed bin Zayed University of Artificial Intelligence(莫扎德大学人工智能大学);University of Hamburg(汉堡大学);Manipal University(曼印大学);IIIT Hyderabad(海得拉尔IIIT);University of Science and Technology of Hanoi(河内科学技术大学);Universitas Islam Indonesia(印尼伊斯兰大学);Princeton University(普林斯顿大学)
IdioLink: Retrieving Meaning Beyond Words Across Idiomatic and Literal Expressions
Data Science Institute, Reichman University(雷赫曼大学数据科学学院);Efi Arazi School of Computer Science, Reichman University(雷赫曼大学埃菲·阿拉兹计算机科学学院);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)
LMs stand their Ground: Investigating the Effect of Embodiment in Figurative Language Interpretation by Language Models
Ludwig-Maximilians-University (LMU)(路德维希-马克西米利安大学(慕尼黑大学));Institute for Information and Language Processing (CIS)(信息与语言处理研究所);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心)