mlsanityData to 14 Oct 2026

Mechanistic Interpretability of LLM Jailbreaks via Internal Attribution Graphs

arXiv 2607.07903 ↗First posted 8 Jul 2026cs.CR cs.AIcited by 0

On the map: LLM safety and security → Jailbreaking

also in 1 more
Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 38 of its 56 references that are in the map. First posted on arXiv 8 Jul 2026.

Builds on

38 of 56 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models23 Oct
  2. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
  3. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul

Other references · 35

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  5. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  6. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  7. 2013Intriguing properties of neural networkscited by 5,155
  8. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  9. 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
  10. 2017Axiomatic Attribution for Deep Networkscited by 3,384
  11. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
  12. 2022Locating and Editing Factual Associations in GPTcited by 2,691
23 more
  1. 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,371
  2. 2017Learning Important Features Through Propagating Activation Differencescited by 1,458
  3. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  4. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,165
  5. 2022In-context Learning and Induction Headscited by 964
  6. 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 953
  7. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
  8. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
  9. 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 546
  10. 2023Visual Adversarial Examples Jailbreak Aligned Large Language Modelscited by 328
  11. 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 205
  12. 2025Winsor-CAM: Human-Tunable Visual Explanations from Deep Networks via Layer-Wise Winsorizationcited by 10
  13. 2024Dense Cross-Connected Ensemble Convolutional Neural Networks for Enhanced Model Robustnesscited by 9
  14. 2024Bridging Interpretability and Robustness Using LIME-Guided Model Refinementcited by 8
  15. 2025Expert-Guided Explainable Few-Shot Learning for Medical Image Diagnosiscited by 8
  16. 2025Bridging Symmetry and Robustness: On the Role of Equivariance in Enhancing Adversarial Robustnesscited by 8
  17. 2025Channel Selected Stratified Nested Cross Validation for Clinically Relevant EEG Based Parkinsons Disease Detectioncited by 5
  18. 2025Promoting Shape Bias in CNNs: Frequency-Based and Contrastive Regularization for Corruption Robustnesscited by 4
  19. 2025CoSwin: Convolution Enhanced Hierarchical Shifted Window Attention For Small-Scale Visioncited by 3
  20. 2025Toward Carbon-Neutral Human AI: Rethinking Data, Computation, and Learning Paradigms for Sustainable Intelligencecited by 3
  21. 2026Explainability-Guided Defense: Attribution-Aware Model Refinement Against Adversarial Data Attackscited by 3
  22. 2026Expert-Guided Explainable Few-Shot Learning with Active Sample Selection for Medical Image Analysiscited by 3
  23. 2026Acting Flatterers via LLMs Sycophancy: Combating Clickbait with LLMs Opposing-Stance Reasoningcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Circuit Discovery Helps Detect LLM Jailbreaking: A Mechanistic Interpretability Study
  2. 2026Jailbreaking Leaves a Trace: Understanding and Detecting Jailbreak Attacks from Internal Representations of Large Language Models
  3. 2025Do Internal Layers of LLMs Reveal Patterns for Jailbreak Detection?
  4. 2025Adversarial Reasoning at Jailbreaking Time
  5. 2024Jailbreaking and Mitigation of Vulnerabilities in Large Language Models
  6. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
  7. 2025Scaling Patterns in Adversarial Alignment: Evidence from Multi-LLM Jailbreak Experiments
  8. 2025AutoAdv: Automated Adversarial Prompting for Multi-Turn Jailbreaking of Large Language Models