mlsanityData to 7 Oct 2026

Discovering Knowledge-Critical Subnetworks in Pretrained Language Models

arXiv 2310.03084 ↗First posted 4 Oct 2023cs.CL cs.AI cs.LGcited by 16

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

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2016Pointer Sentinel Mixture Modelscited by 2,992
  6. 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
  7. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  8. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  9. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  10. 2020Extracting Training Data from Large Language Modelscited by 2,144
  11. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,031
  12. 2019Language Models as Knowledge Bases?cited by 1,922
38 more
  1. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  2. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  3. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  4. 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
  5. 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
  6. 2016ConceptNet 5.5: An Open Multilingual Graph of General Knowledgecited by 1,065
  7. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  8. 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,029
  9. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  10. 2022Mass-Editing Memory in a Transformercited by 976
  11. 2019How Can We Know What Language Models Know?cited by 953
  12. 2022In-context Learning and Induction Headscited by 930
  13. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
  14. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  15. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  16. 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
  17. 2021Knowledge Neurons in Pretrained Transformerscited by 590
  18. 2021Editing Factual Knowledge in Language Modelscited by 548
  19. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
  20. 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
  21. 2021Fast Model Editing at Scalecited by 491
  22. 2019COMET: Commonsense Transformers for Automatic Knowledge Graph Constructioncited by 450
  23. 2022Memory-Based Model Editing at Scalecited by 443
  24. 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
  25. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  26. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  27. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
  28. 2020Parameter-Efficient Transfer Learning with Diff Pruningcited by 351
  29. 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
  30. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  31. 2018Analysis Methods in Neural Language Processing: A Surveycited by 276
  32. 2020COMET-ATOMIC 2020: On Symbolic and Neural Commonsense Knowledge Graphscited by 254
  33. 2023Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Modelscited by 237
  34. 2019KagNet: Knowledge-Aware Graph Networks for Commonsense Reasoningcited by 216
  35. 2023Localizing Model Behavior with Path Patchingcited by 182
  36. 2022A Review on Language Models as Knowledge Basescited by 156
  37. 2023Inspecting and Editing Knowledge Representations in Language Modelscited by 140
  38. 2021Knowledgeable or Educated Guess? Revisiting Language Models as Knowledge Basescited by 107

50 most cited of 68 All 68 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 8; 2025: 6; 2026: 1.

16 papers.

Sort:

By area: