paper-with-me

홈 › Papers

Discovering Knowledge-Critical Subnetworks in Pretrained Language Models

2023-10-04 · Deniz Bayazit, Negar Foroutan, Zeming Chen, Gail Weiss, Antoine Bosselut

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.

📄 PDF Abstract BibTeX arXiv:2310.03084

Code (1)

bayazitdeniz/know-subnet 공식 구현

Tasks

Language Modelling

Similar Papers 제목 키워드 기반

The Heuristic Core: Understanding Subnetwork Generalization in Pretrained Language Models

2024-03-06 · Adithya Bhaskar, Dan Friedman, Danqi Chen

Prior work has found that pretrained language models (LMs) fine-tuned with different random seeds can achieve similar in-domain performance but generalize differently on tests of syntactic generalization. In this work, w…

Discovering Neural Wirings

2019-06-03 · NeurIPS 2019 12 · Mitchell Wortsman, Ali Farhadi, Mohammad Rastegari

The success of neural networks has driven a shift in focus from feature engineering to architecture engineering. However, successful networks today are constructed using a small and manually defined set of building block…

Feature EngineeringNetwork PruningNeural Architecture Search

Understanding Language Model Circuits through Knowledge Editing

2024-06-25 · Huaizhi Ge, Frank Rudzicz, Zining Zhu

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 a…

knowledge editingLanguage ModelingLanguage Modellingmodel+2

Specializing Pre-trained Language Models for Better Relational Reasoning via Network Pruning

2022-07-01 · Findings (NAACL) 2022 7 · Siyu Ren, Kenny Zhu

Pretrained masked language models (PLMs) were shown to be inheriting a considerable amount of relational knowledge from the source corpora. In this paper, we present an in-depth and comprehensive study concerning special…

Network PruningRelational Reasoning

Integrating Pretrained ASR and LM to Perform Sequence Generation for Spoken Language Understanding

2023-07-20 · Siddhant Arora, Hayato Futami, Yosuke Kashiwagi, Emiru Tsunoo 외

There has been an increased interest in the integration of pretrained speech recognition (ASR) and language models (LM) into the SLU framework. However, prior methods often struggle with a vocabulary mismatch between pre…

speech-recognitionSpeech RecognitionSpoken Language Understanding