Rethinking Circuit Completeness in Language Models: AND, OR, and ADDER Gates
Hang Chen, Jiaying Zhu, Xinyu Yang, Wenya Wang
摘要
Circuit discovery has gradually become one of the prominent methods for mechanistic interpretability, and research on circuit completeness has also garnered increasing attention. Methods of circuit discovery that do not guarantee completeness not only result in circuits that are not fixed across different runs but also cause key mechanisms to be omitted. The nature of incompleteness arises from the presence of OR gates within the circuit, which are often only partially detected in standard circuit discovery methods. To this end, we systematically introduce three types of logic gates: AND, OR, and ADDER gates, and decompose the circuit into combinations of these logical gates. Through the concept of these gates, we derive the minimum requirements necessary to achieve faithfulness and completeness. Furthermore, we propose a framework that combines noising-based and denoising-based interventions, which can be easily integrated into existing circuit discovery methods without significantly increasing computational complexity. This framework is capable of fully identifying the logic gates and distinguishing them within the circuit. In addition to the extensive experimental validation of the framework's ability to restore the faithfulness, completeness, and sparsity of circuits, using this framework, we uncover fundamental properties of the three logic gates, such as their proportions and contributions to the output, and explore how they behave among the functionalities of language models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Towards Automated Circuit Discovery for Mechanistic Interpretability 引用了 Locating and Editing Factual Associations in GPT
- Locating and Editing Factual Associations in GPT 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
- CLUE: Conflict-guided Localization for LLM Unlearning Framework 引用了 Towards Automated Circuit Discovery for Mechanistic Interpretability
- CLUE: Conflict-guided Localization for LLM Unlearning Framework 引用了 Locating and Editing Factual Associations in GPT
- CLUE: Conflict-guided Localization for LLM Unlearning Framework 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
- CLUE: Conflict-guided Localization for LLM Unlearning Framework 引用了 How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model
- Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models 引用了 Towards Automated Circuit Discovery for Mechanistic Interpretability
- Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models 引用了 Locating and Editing Factual Associations in GPT
- Circuit Compositions: Exploring Modular Structures in Transformer-Based Language Models 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
- Addressing divergent representations from causal interventions on neural networks 引用了 Locating and Editing Factual Associations in GPT
- Addressing divergent representations from causal interventions on neural networks 引用了 Towards Best Practices of Activation Patching in Language Models: Metrics and Methods
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 Towards Automated Circuit Discovery for Mechanistic Interpretability
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 Locating and Editing Factual Associations in GPT
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
- Towards Best Practices of Activation Patching in Language Models: Metrics and Methods 引用了 How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model
- How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model 引用了 Locating and Editing Factual Associations in GPT
- How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language model 引用了 Investigating Gender Bias in Language Models Using Causal Mediation Analysis
引用它的顶会 Paper3
- CLUE: Conflict-guided Localization for LLM Unlearning FrameworkHang Chen, Jiaying Zhu, Xinyu Yang, Wenya WangICLR 2026 · 8 次引用
- Addressing divergent representations from causal interventions on neural networksSatchel Grant, Simon Jerome Han, Alexa R. Tartaglini, Christopher PottsICLR 2026 · 7 次引用
- Circuit Compositions: Exploring Modular Structures in Transformer-Based Language ModelsPhilipp Mondorf, Sondre Wold, Barbara PlankACL 2025 · 5 次引用
它引用的 Paper13
- Locating and Editing Factual Associations in GPTKevin Meng, David Bau, Alex Andonian, Yonatan BelinkovNeurIPS 2022 · 3,415 次引用
- Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim 等NeurIPS 2023 · 861 次引用
- Investigating Gender Bias in Language Models Using Causal Mediation AnalysisJesse Vig, Sebastian Gehrmann, Yonatan Belinkov, Sharon Qian 等NeurIPS 2020 · 851 次引用
- How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelMichael Hanna, Ollie Liu, Alexandre VariengienNeurIPS 2023 · 251 次引用
- Towards Best Practices of Activation Patching in Language Models: Metrics and MethodsFred Zhang, Neel NandaICLR 2024 · 233 次引用
相关 Paper
- Formal Mechanistic Interpretability: Automated Circuit Discovery with Provable GuaranteesItamar Hadad, Guy Katz, Shahaf BassanICLR 2026 · 10 次引用
- Reasoning Circuits in Language Models: A Mechanistic Interpretation of Syllogistic InferenceGeonhee Kim, Marco Valentino, André FreitasACL Findings 2025 · 3 次引用
- The Computational Complexity of Circuit Discovery for Inner InterpretabilityFederico Adolfi, Martina G. Vilas, Todd WarehamICLR 2025
- Efficient Automated Circuit Discovery in Transformers using Contextual DecompositionAliyah R. Hsu, Georgia Zhou, Yeshwanth Cherapanamjeri, Yaxuan Huang 等ICLR 2025
- Certified Circuits: Stability Guarantees for Mechanistic CircuitsAlaa Anani, Tobias Lorenz, Bernt Schiele, Mario Fritz 等ICML 2026 · 3 次引用
