Large Language Models (LLMs), despite their impressive capabilities, often fail to accurately repeat a single word when prompted to, and instead output unrelated text. This unexplained failure mode represents a vulnerability, allowing even end-users to diverge models away from their intended behavior. We aim to explain the causes for this phenomenon and link it to the concept of ``attention sinks'', an emergent LLM behavior crucial for fluency, in which the initial token receives disproportionately high attention scores. Our investigation identifies the neural circuit responsible for attention sinks and shows how long repetitions disrupt this circuit. We extend this finding to other non-repeating sequences that exhibit similar circuit disruptions. To address this, we propose a targeted patch that effectively resolves the issue without negatively impacting the model's overall performance. This study provides a mechanistic explanation for an LLM vulnerability, demonstrating how interpretability can diagnose and address issues, and offering insights that pave the way for more secure and reliable models.
Department of Computer & Information Science & Engineering, University of Florida(佛罗里达大学计算机与信息科学与工程系);School of Computer Science, University of Oklahoma(俄克拉荷马大学计算机科学学院);Department of Electrical Engineering and Computer Science, United States Military Academy(美国军事学院电子工程与计算机科学系)
Interpreting token compositionality in LLMs: A robustness analysis
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);Idiap Research Institute(Idiap研究机构);National Biomarker Centre, CRUK-MI, Univ. of Manchester(国家生物标记中心,CRUK-MI,曼彻斯特大学)
InverseScope: Scalable Activation Inversion for Interpreting Large Language Models
School of Mathematical Science, Peking University(北京大学数学科学学院);School of Science, Westlake University(西湖大学理学院);Beijing International Center for Mathematical Research(北京国际数学研究中心);New Cornerstone Science Laboratory, Peking University(北京大学新基石科学实验室)
Interpreting Social Bias in LVLMs via Information Flow Analysis and Multi-Round Dialogue Evaluation
The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));Shandong University(山东大学);Institute of Deep Perception Technology, JITRI(深度感知技术研究所)
Entropy Gate: Entropy Quenching for Near-Lossless Token Compression in LLM Pipelines
VIA Cybersecurity Lab, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana(维亚网络安全实验室,卡布雷姆大学科学与技术学院,库马西,加纳);Quantum and Assistive Technologies Lab, Kwame Nkrumah University of Science and Technology, Kumasi, Ghana(量子与辅助技术实验室,卡布雷姆大学科学与技术学院,库马西,加纳)
Causal Head Gating: A Framework for Interpreting Roles of Attention Heads in Transformers
Princeton Laboratory for AI Natural and Artificial Minds(普林斯顿人工智能实验室);Princeton University(普林斯顿大学);Department of Electrical and Computer Engineering(电气与计算机工程系);Department of Psychology(心理学系);Princeton Neuroscience Institute(普林斯顿神经科学研究所);Department of Philosophy(哲学系);Center for Statistics and Machine Learning(统计与机器学习中心)
Copy First, Translate Later: Interpreting Translation Dynamics in Multilingual Pretraining
MaiNLP, Center for Information and Language Processing, LMU Munich(MaiNLP,信息与语言处理中心,慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Department of Mathematics, LMU Munich(数学系,慕尼黑大学);Department of Physics and Technology, University of Tromsø(物理与技术系,特罗姆瑟大学);DLR-German Aerospace Center(德国航空航天中心)
MedPruner: Training-Free Hierarchical Token Pruning for Efficient 3D Medical Image Understanding in Vision-Language Models
Chinese University of Hong Kong(香港中文大学);Westlake University(西湖大学);Southern Medical University(南方医科大学);Jiangnan University(江南大学);Dalian University of Technology(大连理工大学);Shanghai Jiao Tong University(上海交通大学);University of Copenhagen(哥本哈根大学)
Amplify Adjacent Token Differences: Enhancing Long Chain-of-Thought Reasoning with Shift-FFN
The Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(认知与决策智能复杂系统实验室,自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Baichuan Inc(百川公司);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Beijing Academy of Artificial Intelligence(北京人工智能研究院)
Entropy-Guided Token Dropout: Training Autoregressive Language Models with Limited Domain Data
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Tsinghua University(清华大学);WeChat, Tencent(微信、腾讯);Department of Data Science, City University of Hong Kong(香港城市大学数据科学系)