Understanding Language Model Circuits through Knowledge Editing
Open accessThe DOI matches its DataCite record; 43 of the 44 references it cites were found in a registry or an index; none of the 7 sources its claims cite is checked for support yet.
Abstract
Recent advances in language model interpretability have identified circuits, critical subnetworks that replicate model behaviors, yet how knowledge is structured within these crucial subnetworks remains opaque. To gain an understanding toward the knowledge in the circuits, we conduct systematic knowledge editing experiments on the circuits of the GPT-2 language model. Our analysis reveals intriguing patterns in how circuits respond to editing attempts, the extent of knowledge distribution across network components, and the architectural composition of knowledge-bearing circuits. These findings offer insights into the complex relationship between model circuits and knowledge representation, deepening the understanding of how information is organized within language models. Our findings offer novel insights into the ``meanings'' of the circuits, and introduce directions for further interpretability and safety research of language models.
Overview
CoChat Summary
TL;DR
Systematic knowledge editing on GPT-2 circuits shows that task-relevant circuits resist editing more than their complementary parts, suggesting structured knowledge storage. The ideal knowledge-bearing circuit likely lies between 5% and 50% of parameters, and LayerNorm is unexpectedly prominent in these circuits.
Key findings
- Circuits are more knowledgeable and harder to edit than complementary circuits: pre-edit, extracted circuits had significantly lower negative log probabilities of HIERARCHY DATA entities than complements (p < 0.05); post-edit, complementary 50% circuits consistently outperformed 50% circuits for dna1 and h, while the full model edited best. The 5% circuit showed stronger “confirmation bias” than the 50% circuit.
- The ideal knowledge-bearing circuit likely falls between 5% and 50% of parameters. Median post-edit negative log probabilities of the new target were 7.78 for 50% circuits, 8.10 for 35%, 8.28 for 25%, 9.30 for 15%, and 9.37 for 5% circuits; complementary circuits were much lower (1.26e-2 to 9.99e-2).
- Circuit overlap is non-negligible: 5% circuits overlapped between 13% and 18%, at least twice the 5% random baseline. For 50% circuits, overlaps were 0.61 (h–dna1), 0.58 (h–ra), and 0.59 (dna1–ra).
- LayerNorm accounts for a larger share of circuit parameters than attention or MLP layers, especially in 5% circuits. For dna1 5% circuits: attn 0.04, mlp 0.05, ln 0.37; for dna1 50% circuits: attn 0.30, mlp 0.30, ln 0.63.
Methods
- Used GPT-2 base. Circuits were extracted with differentiable masking, combining a faithfulness loss and a sparseness loss, using hardconcrete distributions and a straight-through estimator; circuits were studied at 5%, 15%, 25%, 35%, and 50% of model parameters.
- Circuit-aware model editing replaced the classification head with the language model head, then fine-tuned with EasyEdit using cross-entropy and SGD while non-circuit parameters were masked to zero. Edits used HIERARCHY DATA (198 facts), changing true targets to new targets.
- Data included hierarchical data, eight BLiMP linguistic datasets, and five safety-behavior datasets from Perez et al. (2022). Analyses compared circuits vs. complementary circuits via negative log probabilities, measured mask similarity overlap across tasks, and computed layer-type proportions within circuits.
Limitations
- The paper states it used only GPT-2, only fine-tuning for model editing, and only a handful of text classification problems including linguistic and safety behavior tasks.
- The paper states the exact size of the idealized circuit remains to be further investigated.
- The text makes evident that generalization to other model architectures, other editing methods, and broader task sets is not established.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Figures











Verification
Claims the paper makes
0 Valid · 0 Not valid · 4 Not checked · 48 Own results and interpretations
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“Notably, the complementary 50% circuit consistently outperforms the 50% circuit in terms of editing for both the dna1 and h circuits.”
§ Understanding Language Model Circuits through Knowledge Editing > 6.3 The complementary circuit is more susceptible to the model editing
plainstates an association- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper states — it cites no source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“Interestingly, datasets that appear closely related, such as dna1 and dna2, sometimes display significant differences when viewed through the lens of the model's mechanism.”
§ Understanding Language Model Circuits through Knowledge Editing > 6.3 The complementary circuit is more susceptible to the model editing
hedgedstates an association- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: unclear — It is unclear whether the paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“As shown in Table 3, the percentages constantly appear around 5% and only deviate by errors that are two magnitudes smaller.”
§ Understanding Language Model Circuits through Knowledge Editing > 6.3 The complementary circuit is more susceptible to the model editing
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper reports from its own data — it cites no other source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“As expected, the edit performance of the extracted circuits declines as the circuit size decreases.”
§ Understanding Language Model Circuits through Knowledge Editing > 6.3 The complementary circuit is more susceptible to the model editing
plainstates an association- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
A result the paper states — it cites no source for it, so there is none to check. The quote shows it is in the paper.
In the paper
“Examining the architectural composition of knowledge-bearing circuits, we make a surprising discovery: LayerNorm components constitute a larger share of the circuits than traditionally emphasized attention and multi-layer perceptron (MLP) layers.”
§ Understanding Language Model Circuits through Knowledge Editing > 1 Introduction
plain- Asserted: passes — The authors put it forward as true.
- Checkable: passes — It can be checked against evidence.
- Load-bearing: passes — The paper’s conclusions depend on it.
- Based: passes — The paper gives a reason why it holds.
31 more claims
Create a free account to see all 52 claims and to verify the 5 references still open.
- It may state two separate claims as one. 8
- Probably not a substantial claim. 9
Citations
Cites
On the Failure to Eliminate Hypotheses in a Conceptual Task
Wason, P. C. (1960) · Quarterly Journal of Experimental Psychology · doi:10.1080/17470216008416717 · Cited by 2,098 · cited 1×
“Interestingly, humans have similar “confirma-tion bias” behavior, tending to reject hypotheses that do not agree with prior assumptions (Wason, 1960).”
Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computation
Bengio, Y., Léonard, N., & Courville, A. (2013) · arXiv · doi:10.48550/arxiv.1308.3432 · Cited by 1,910 · cited 1×
“Following Yu et al. (2024), we use a straight-through estimator (Bengio et al., 2013) to make the forward pass (apply the mask) trainable.”
Learning Sparse Neural Networks through $L_0$ Regularization
Louizos, C., Welling, M., & Kingma, D. P. (2017) · arXiv · doi:10.48550/arxiv.1712.01312 · Cited by 628 · cited 1×
“Following De Cao et al. (2022), we use the hard-concrete distribution of Louizos et al. (2018) to sparsify the masks.”
Transformer Feed-Forward Layers Are Key-Value Memories
Geva, M., Schuster, R., Berant, J., & Levy, O. (2020) · arXiv · doi:10.48550/arxiv.2012.14913 · Cited by 353 · cited 1×
“Notably, some studies found that the MLPs are critical repositories of knowledge within neural networks (Geva et al., 2020, 2022), and the attentions are critical for the mechanisms related to factual recall (Geva et al., 2023).”
Transformer Feed-Forward Layers Are Key-Value Memories
Geva, M., Schuster, R., Berant, J., & Levy, O. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.446 · Cited by 353 · cited 1×
“Notably, some studies found that the MLPs are critical repositories of knowledge within neural networks (Geva et al., 2020, 2022), and the attentions are critical for the mechanisms related to factual recall (Geva et al., 2023).”
Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Models
Marks, S., Rager, C., Michaud, E. J., Belinkov, Y., Bau, D., & Mueller, A. (2024) · arXiv · doi:10.48550/arxiv.2403.19647 · Cited by 295 · cited 1×
“While the circuit analysis literature study the module level, alternative granularity levels exist, analyzing on parameter level (Csordás et al., 2020; Bayazit et al., 2023) and sparse autoencoder level (Marks et al., 2024).”
Zoom In: An Introduction to Circuits
Olah, C., Cammarata, N., Schubert, L., Goh, G., Petrov, M., & Carter, S. (2020) · Distill · doi:10.23915/distill.00024.001 · Cited by 288 · cited 1×
“Circuit analysis Circuit extraction tries to find a minimal subnetwork that represents the behavior of the full network (computation graph), where the components can be explainable (Olah et al., 2020; Elhage et al., 2021).”
Editing Factual Knowledge in Language Models
De Cao, N., Aziz, W., & Titov, I. (2021) · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2021.emnlp-main.522 · Cited by 180 · cited 1×
“Other influential approaches include targeting specific knowledge neurons (Dai et al., 2021) and using hyper-networks (De Cao et al., 2021).”
Locating and Editing Factual Associations in GPT
Meng, K., Bau, D., Andonian, A., & Belinkov, Y. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1262 · Cited by 149 · cited 2×
“Third, exploring other techniques like ROME (Meng et al., 2022a) to edit complementary circuits without impacting primary circuits may help mitigate biases and improve model fairness.”
(2020) · neural information processing systems · Cited by 142
Research works printed but not linked: 1
- Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9.
Cited by
Knowledge Mechanisms in Large Language Models: A Survey and Perspective
Wang, M., Yao, Y., Xu, Z., Qiao, S., Deng, S., Wang, P., Chen, X., Gu, J.-C., Jiang, Y., Xie, P., et al. (2024) · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · doi:10.18653/v1/2024.findings-emnlp.416 · Cited by 54
Knowledge Mechanisms in Large Language Models: A Survey and PerspectivePreprint
Wang, M., Yao, Y., Xu, Z., Qiao, S., Deng, S., Wang, P., Chen, X., Gu, J.-C., Jiang, Y., Xie, P., et al. (2024) · arXiv · doi:10.48550/arxiv.2407.15017 · Cited by 44
“Note that safety issues usually caused by the distribution of unseen data (adversarial input) (Wei et al., 2023; Li et al., 2024b), which is elaborated in §6.4.”
InfluentialCaKE: Circuit-aware Editing Enables Generalizable Knowledge Learners
Yao, Y., Fang, J., Gu, J.-C., Zhang, N., Deng, S., Chen, H., & Peng, N. (2025) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2025.emnlp-main.572 · Cited by 22
Towards principled knowledge editing methods for large language model reasoning
Yao, Y., Qin, J., Zhang, N., Xu, H., Zhu, Y., Yu, Z., Wang, M., Tang, Y., Gu, J.-C., Deng, S., et al. (2026) · Nature Machine Intelligence · doi:10.1038/s42256-026-01276-y · Cited by 15
“While previous studies focused on polysemantics (superposition) between unrelated tasks 38–40 , we emphasize the parameter overlap essential for processing interconnected knowledge.”
Han, P., Huang, X., Fang, Y., & Han, G. (2025) · IEEE Transactions on Network Science and Engineering · doi:10.1109/tnse.2025.3572362 · Cited by 14
Metadata
- Authors
- Ge, H., Rudzicz, F., & Zhu, Z.
- Affiliations
- Columbia University (US)
- Dalhousie University (CA)
- Stevens Institute of Technology (US)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2024
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2406.17241
- OpenAlex
- W4400064742
- Semantic Scholar
- e17cbc224181bff88246357f7ae167b0c0a5ccf6
- Cited by
- 8
- References
- 37
- Citations by year
- 2026: 1 · 2025: 5 · 2024: 2
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- arXiv (submittedVersion, cc-by)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Explainable Artificial Intelligence (XAI)
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Adversarial Robustness in Machine Learning
- Keywords
- knowledge editing, GPT-2, knowledge representation, interpretability, circuit architecture, knowledge distribution, language model safety
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
A language model drew the claims from the paper on 2026-11-29, under version 3 of the claim definition (model deepseek-v4.1-flash, prompt extract-v3).
A second model labelled each claim on 2026-11-29 (model jev-1.13-20260917, definition revision gold-guideline-v0.2).
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.