Discovering Knowledge-Critical Subnetworks in Pretrained Language Models
Not on the map. Why?
Abstract (arXiv)
Pretrained language models (LMs) encode implicit representations of knowledge in their parameters. However, localizing these representations and disentangling them from each other remains an open problem. In this work, we investigate whether pretrained language models contain various knowledge-critical subnetworks: particular sparse computational subgraphs that can, if removed, precisely suppress specific knowledge the model has memorized. We propose a multi-objective differentiable masking scheme that can be applied to both weights and neurons to discover such subnetworks and show that we can use them to precisely remove specific knowledge from models while minimizing adverse effects on the behavior of the original model. We demonstrate our method on multiple GPT2 variants, uncovering highly sparse subnetworks (98%+ sparsity) that are critical for expressing specific collections of relational knowledge. When these subnetworks are removed, the remaining network maintains most of its initial abilities but struggles to represent the suppressed knowledge.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 68 of its 84 references that are in the map. First posted on arXiv 4 Oct 2023.
Builds on
68 of 84 references.
References · 68
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
- 2019Language Models as Knowledge Bases?cited by 1,922
38 more
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,065
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
- 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2022Mass-Editing Memory in a Transformercited by 976
- 2019How Can We Know What Language Models Know?cited by 953
- 2022In-context Learning and Induction Headscited by 930
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2021Fast Model Editing at Scalecited by 491
- 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
- 2022Memory-Based Model Editing at Scalecited by 443
- 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
- 2020Parameter-Efficient Transfer Learning with Diff Pruningcited by 351
- 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
- 2020COMET-ATOMIC 2020: On Symbolic and Neural Commonsense Knowledge Graphscited by 254
- 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
- 2019KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoningcited by 216
- 2023Localizing Model Behavior with Path Patchingcited by 182
- 2022A Review on Language Models as Knowledge Basescited by 156
- 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
- 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107
50 most cited of 68 All 68 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 8; 2025: 6; 2026: 1.
16 papers.
Sort:
By area:
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2024Localizing Task Information for Improved Model Merging and Compressioncited by 130
- 2024Knowledge Circuits in Pretrained Transformerscited by 60
- 2025Reinforcement Learning Finetunes Small Subnetworks in Large Language Modelscited by 46
- 2023SoK: Memorization in General-Purpose Large Language Modelscited by 36
- 2024Mechanistic Unlearning: Robust Knowledge Unlearning and Editing via Mechanistic Localizationcited by 34
- 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networkscited by 28
- 2024Decomposing and Editing Predictions by Modeling Model Computationcited by 19
- 2024Large Language Model Bias Mitigation from the Perspective of Knowledge Editingcited by 16
- 2025Are formal and functional linguistic mechanisms dissociated in language models?cited by 11
- 2025Mixture of Cognitive Reasoners: Modular Reasoning with Brain-Like Specializationcited by 9
- 2025Rethinking Circuit Completeness in Language Models: AND, OR, and ADDER Gatescited by 8
4 more
- 2025Reinforcement Learning Fine-Tunes a Sparse Subnetwork in Large Language Modelscited by 2
- 2024Skill Path: Unveiling Language Skills from Circuit Graphscited by 1
- 2025Beyond Frequency: The Role of Redundancy in Large Language Model Memorizationcited by 0
- 2026Task-specific Subnetwork Discovery in Reinforcement Learning for Autonomous Underwater Navigationcited by 0
- 2026Task-specific Subnetwork Discovery in Reinforcement Learning for Autonomous Underwater Navigation23 Apr 2026
- 2025Reinforcement Learning Fine-Tunes a Sparse Subnetwork in Large Language Models23 Jul 2025
- 2025Mixture of Cognitive Reasoners: Modular Reasoning with Brain-Like Specialization16 Jun 2025
- 2025Beyond Frequency: The Role of Redundancy in Large Language Model Memorization14 Jun 2025
- 2025Reinforcement Learning Finetunes Small Subnetworks in Large Language Models16 May 2025
- 2025Rethinking Circuit Completeness in Language Models: AND, OR, and ADDER Gates15 May 2025
- 2025Are formal and functional linguistic mechanisms dissociated in language models?14 Mar 2025
- 2024Mechanistic Unlearning: Robust Knowledge Unlearning and Editing via Mechanistic Localization16 Oct 2024
- 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networks6 Oct 2024
- 2024Skill Path: Unveiling Language Skills from Circuit Graphs2 Oct 2024
- 2024Knowledge Circuits in Pretrained Transformers28 May 2024
- 2024Large Language Model Bias Mitigation from the Perspective of Knowledge Editing15 May 2024
4 more
- 2024Localizing Task Information for Improved Model Merging and Compression13 May 2024
- 2024Decomposing and Editing Predictions by Modeling Model Computation17 Apr 2024
- 2024A Comprehensive Study of Knowledge Editing for Large Language Models2 Jan 2024
- 2023SoK: Memorization in General-Purpose Large Language Models24 Oct 2023
- 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 157
- 2024Localizing Task Information for Improved Model Merging and Compressioncited by 130
- 2024Knowledge Circuits in Pretrained Transformerscited by 60
- 2025Reinforcement Learning Finetunes Small Subnetworks in Large Language Modelscited by 46
- 2023SoK: Memorization in General-Purpose Large Language Modelscited by 36
- 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networkscited by 28
- 2024Decomposing and Editing Predictions by Modeling Model Computationcited by 19
- 2024Large Language Model Bias Mitigation from the Perspective of Knowledge Editingcited by 16
- 2025Are formal and functional linguistic mechanisms dissociated in language models?cited by 11
- 2024Skill Path: Unveiling Language Skills from Circuit Graphscited by 1
- 2025Beyond Frequency: The Role of Redundancy in Large Language Model Memorizationcited by 0
- 2026Task-specific Subnetwork Discovery in Reinforcement Learning for Autonomous Underwater Navigationcited by 0
- 2026Task-specific Subnetwork Discovery in Reinforcement Learning for Autonomous Underwater Navigation23 Apr 2026
- 2025Beyond Frequency: The Role of Redundancy in Large Language Model Memorization14 Jun 2025
- 2025Reinforcement Learning Finetunes Small Subnetworks in Large Language Models16 May 2025
- 2025Are formal and functional linguistic mechanisms dissociated in language models?14 Mar 2025
- 2024Gradient Routing: Masking Gradients to Localize Computation in Neural Networks6 Oct 2024
- 2024Skill Path: Unveiling Language Skills from Circuit Graphs2 Oct 2024
- 2024Knowledge Circuits in Pretrained Transformers28 May 2024
- 2024Large Language Model Bias Mitigation from the Perspective of Knowledge Editing15 May 2024
- 2024Localizing Task Information for Improved Model Merging and Compression13 May 2024
- 2024Decomposing and Editing Predictions by Modeling Model Computation17 Apr 2024
- 2024A Comprehensive Study of Knowledge Editing for Large Language Models2 Jan 2024
- 2023SoK: Memorization in General-Purpose Large Language Models24 Oct 2023