mlsanityData to 14 Oct 2026

Mechanistic Interpretability in the Presence of Architectural Obfuscation

arXiv 2506.18053 ↗First posted 22 Jun 2025cs.CR cs.AIcited by 0

On the map: Mechanistic interpretability → Circuits and mechanistic analysis

Abstract (arXiv)

Architectural obfuscation - e.g., permuting hidden-state tensors, linearly transforming embedding tables, or remapping tokens - has recently gained traction as a lightweight substitute for heavyweight cryptography in privacy-preserving large-language-model (LLM) inference. While recent work has shown that these techniques can be broken under dedicated reconstruction attacks, their impact on mechanistic interpretability has not been systematically studied. In particular, it remains unclear whether scrambling a network's internal representations truly thwarts efforts to understand how the model works, or simply relocates the same circuits to an unfamiliar coordinate system. We address this gap by analyzing a GPT-2-small model trained from scratch with a representative obfuscation map. Assuming the obfuscation map is private and the original basis is hidden (mirroring an honest-but-curious server), we apply logit-lens attribution, causal path-patching, and attention-head ablation to locate and manipulate known circuits. Our findings reveal that obfuscation dramatically alters activation patterns within attention heads yet preserves the layer-wise computational graph. This disconnect hampers reverse-engineering of user prompts: causal traces lose their alignment with baseline semantics, and token-level logit attributions become too noisy to reconstruct. At the same time, feed-forward and residual pathways remain functionally intact, suggesting that obfuscation degrades fine-grained interpretability without compromising top-level task performance. These results establish quantitative evidence that architectural obfuscation can simultaneously (i) retain global model behaviour and (ii) impede mechanistic analyses of user-specific content. By mapping where interpretability breaks down, our study provides guidance for future privacy defences and for robustness-aware interpretability tooling.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Circuits and mechanistic analysis, one of 13 directions in Mechanistic interpretability. Builds on 15 of its 36 references that are in the map. First posted on arXiv 22 Jun 2025.

Builds on

15 of 36 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 small1 Nov

Other references · 14

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  6. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
  7. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  8. 2019A Survey on Explainable Artificial Intelligence (XAI): Towards Medical XAIcited by 404
  9. 2016Using the Output Embedding to Improve Language Modelscited by 272
  10. 2023Advancements in Generative AI: A Comprehensive Review of GANs, GPT, Autoencoders, Diffusion Model, and Transformerscited by 36
  11. 2021Interpretable and Explainable Machine Learning for Materials Science and Chemistrycited by 26
  12. 2021Security and Privacy for Artificial Intelligence: Opportunities and Challengescited by 16
2 more
  1. 2024PermLLM: Private Inference of Large Language Models within 3 Seconds under WANcited by 14
  2. 2025An Attack to Break Permutation-Based Private Third-Party Inference Schemes for LLMscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Good-Enough LLM Obfuscation (GELO)
  2. 2026MechAudit-40: White-Box Auditing across 40 LLM Attack Mechanisms
  3. 2026Certified Mechanistic Interpretability: Lifting Single-Input Findings to Bounded Neighbourhoods
  4. 2024Dictionary Learning Improves Patch-Free Circuit Discovery in Mechanistic Interpretability: A Case Study on Othello-GPT
  5. 2024Obfuscated Activations Bypass LLM Latent-Space Defenses
  6. 2026Secret Stealing Attacks on Local LLM Fine-Tuning through Supply-Chain Model Code Backdoors
  7. 2024Adaptive Circuit Behavior and Generalization in Mechanistic Interpretability
  8. 2025Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inference