Disentangling Representations of Text by Masking Transformers
Xiongyi Zhang, Jan-Willem van de Meent, Byron C. Wallace
摘要
Representations from large pretrained models such as BERT encode a range of features into monolithic vectors, affording strong predictive accuracy across a range of downstream tasks. In this paper we explore whether it is possible to learn disentangled representations by identifying existing subnetworks within pretrained models that encode distinct, complementary aspects. Concretely, we learn binary masks over transformer weights or hidden units to uncover subsets of features that correlate with a specific factor of variation; this eliminates the need to train a disentangled model from scratch for a particular task. We evaluate this method with respect to its ability to disentangle representations of sentiment from genre in movie reviews, toxicity from dialect in Tweets, and syntax from semantics. By combining masking with magnitude pruning we find that we can identify sparse subnetworks within BERT that strongly encode particular aspects (e.g., semantics) while only weakly encoding others (e.g., syntax). Moreover, despite only learning masks, disentanglement-via-masking performs as well as -and often better thanpreviously proposed methods based on variational autoencoders and adversarial training.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Discovering Knowledge-Critical Subnetworks in Pretrained Language Models 引用了 Masking as an Efficient Alternative to Finetuning for Pretrained Language Models
- Masking as an Efficient Alternative to Finetuning for Pretrained Language Models 引用了 The Lottery Ticket Hypothesis for Pre-trained BERT Networks
引用它的顶会 Paper7
- Removing Spurious Concepts from Neural Network Representations via Joint Subspace EstimationFloris Holstege, Bram Wouters, Noud P. A. van Giersbergen, Cees G. H. DiksICML 2024 · 3 次引用
- Discovering Knowledge-Critical Subnetworks in Pretrained Language ModelsDeniz Bayazit, Negar Foroutan, Zeming Chen, Gail Weiss 等EMNLP 2024 · 3 次引用
- Transformers learn factored representationsAdam Shai, Loren Amdahl-Culleton, Casper Christensen, Henry R Bigelow 等ICML 2026 · 2 次引用
- Mitigate Extrinsic Social Bias in Pre-trained Language Models via Continuous Prompts AdjustmentYiwei Dai, Hengrui Gu, Ying Wang, Xin WangEMNLP 2024 · 1 次引用
- Mitigating Confounding in Speech-Based Dementia Detection through Weight MaskingZhecheng Sheng, Xiruo Ding, Brian Hur, Changye Li 等ACL 2025 · 1 次引用
它引用的 Paper3
- Learning The Difference That Makes A Difference With Counterfactually-Augmented DataDivyansh Kaushik, Eduard H. Hovy, Zachary Chase LiptonICLR 2020 · 625 次引用
- The Lottery Ticket Hypothesis for Pre-trained BERT NetworksTianlong Chen, Jonathan Frankle, Shiyu Chang, Sijia Liu 等NeurIPS 2020 · 428 次引用
- Masking as an Efficient Alternative to Finetuning for Pretrained Language ModelsMengjie Zhao, Tao Lin, Fei Mi, Martin Jaggi 等EMNLP 2020 · 61 次引用
相关 Paper
- When BERT Plays the Lottery, All Tickets Are WinningSai Prasanna, Anna Rogers, Anna RumshiskyEMNLP 2020 · 114 次引用
- From BERT's Point of View: Revealing the Prevailing Contextual DifferencesCarolin Schuster, Simon HegelichACL Findings 2022 · 4 次引用
- A Deep Decomposable Model for Disentangling Syntax and Semantics in Sentence RepresentationDingcheng Li, Hongliang Fei, Shaogang Ren, Ping LiEMNLP Findings 2021 · 4 次引用
- Exploring the Role of BERT Token Representations to Explain Sentence Probing ResultsHosein Mohebbi, Ali Modarressi, Mohammad Taher PilehvarEMNLP 2021 · 14 次引用
- Input-specific Attention Subnetworks for Adversarial DetectionEmil Biju, Anirudh Sriram, Pratyush Kumar, Mitesh M. KhapraACL Findings 2022 · 5 次引用
