Mechanistic Interpretability of LLM Jailbreaks via Internal Attribution Graphs
Department of Computer Science, University of South Dakota(南达科他大学计算机科学系);School of Information and Artificial Intelligence, Yangzhou University(扬州大学信息与人工智能学院)
Anupam Wagle, Ifrat Ikhtear Uddin, Chaowei Zhang, Longwei Wang
Large language models (LLMs) exhibit remarkable capabilities but remain highly vulnerable to adversarial prompts and jailbreak attacks. Existing approaches primarily analyze these failures through input-output behaviors or attribution methods, offering limited insight into how adversarial perturbations alter the model's internal reasoning. Consequently, the mechanisms underlying unsafe or incorrect behaviors remain poorly understood. We introduce a mechanistic framework for diagnosing LLM vulnerabilities using paired internal computation graphs, which represent prompt-specific inference as structured causal interactions among latent features. By constructing and aligning computation graphs for clean and attacked prompts, we reveal that adversarial attacks induce systematic transformations of internal reasoning, including suppression of safety-relevant components, emergence of attack-specific features, and rerouting of computation paths. Building on this representation, we propose a unified framework that (i) decomposes computation into invariant, suppressed, and emergent structures, (ii) identifies recurring vulnerability motifs associated with failure modes, and (iii) performs causal interventions on nodes, paths, and subgraphs to directly evaluate their contributions to attack success. This enables a transition from descriptive attribution to causal diagnosis of model failures. Experiments across multiple open-source LLMs and diverse adversarial and jailbreak benchmarks demonstrate that structural deviations in internal computation graphs strongly correlate with unsafe behaviors. Furthermore, targeted interventions on identified vulnerability motifs improve model robustness, establishing internal computation graphs as a principled foundation for understanding, diagnosing, and mitigating LLM vulnerabilities.
Decoding Guardrails: XAI-Guided Perturbation Analysis of Prompt Injection Detection
Pedeciba Informática(Pedeciba信息学研究所);InCo, Facultad de Ingeniería, Universidad de la República(共和国大学工程学院计算研究所);Departamento de Informática e Inteligencia Artificial, Universidad Católica del Uruguay(乌拉圭天主教大学信息与人工智能系)
Behind Harmful Compliance: Behavioral and Mechanistic Divergence Across LLM Jailbreaks
Department of Computer Science(计算机科学系);Luddy School of Informatics, Computing, and Engineering(信息学、计算与工程学院);Indiana University Bloomington(印第安纳大学布卢明顿分校)
Circuit Insights: Towards Interpretability Beyond Activations
Department of Artificial Intelligence, Fraunhofer Heinrich Hertz Institute(人工智能系,弗劳恩霍夫海因里希·赫兹研究所);Department of Electrical Engineering and Computer Science, Technische Universität Berlin(电气工程与计算机科学系,柏林技术大学);BIFOLD - Berlin Institute for the Foundations of Learning and Data(柏林学习与数据基础研究所);Centre of eXplainable Artificial Intelligence, Technological University Dublin(可解释人工智能中心,都柏林技术大学)
PrisonBreak: Jailbreaking Large Language Models with at Most Twenty-Five Targeted Bit-flips
Oregon State University(俄勒冈州立大学);University of British Columbia(不列颠哥伦比亚大学);University of Toronto(多伦多大学);George Mason University(乔治·梅森大学);Rutgers University(罗格斯大学);University of Texas at Arlington(德克萨斯大学阿灵顿分校)
Backdoor Attribution: Elucidating and Controlling Backdoor in Language Models
University of Science and Technology of China(中国科学技术大学);Nanyang Technological University(南洋理工大学);United Arab Emirates University(阿拉伯联合酋长国大学);University of California San Diego(加州大学圣地亚哥分校);Abel AI;National University of Singapore(新加坡国立大学);Squirrel Ai Learning