Self-conditioning Pre-Trained Language Models
Xavier Suau Cuadros, Luca Zappella, Nicholas Apostoloff
摘要
In this paper we aim to investigate the mechanisms that guide text generation with pre-trained Transformer-based Language Models (TLMs). Grounded on the Product of Experts formulation by Hinton (1999), we describe a generative mechanism that exploits expert units which naturally exist in TLMs. Such units are responsible for detecting concepts in the input and conditioning text generation on such concepts. We describe how to identify expert units and how to activate them during inference in order to induce any desired concept in the generated output. We find that the activation of a surprisingly small amount of units is sufficient to steer text generation (as little as 3 units in a model with 345M parameters). While the objective of this work is to learn more about how TLMs work, we show that our method is effective for conditioning without fine-tuning or using extra parameters, even on fine-grained homograph concepts. Additionally, we show that our method can be used to correct gender bias present in the output of TLMs and achieves gender parity for all evaluated contexts. We compare our method with FUDGE (Yang & Klein, 2021) and PPLM-BoW (Dathathri et al., 2020), and show that our approach is able to achieve gender parity at a lower perplexity. The proposed method is accessible to a wide audience thanks to its simplicity and minimal compute needs. The findings in this paper are a step forward in understanding the generative mechanisms of TLMs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LinEAS: End-to-end Learning of Activation Steering with a Distributional Loss 引用了 Whispering Experts: Neural Interventions for Toxicity Mitigation in Language Models
- PaCE: Parsimonious Concept Engineering for Large Language Models 引用了 The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformers
- Whispering Experts: Neural Interventions for Toxicity Mitigation in Language Models 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Whispering Experts: Neural Interventions for Toxicity Mitigation in Language Models 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper15
- Towards Automated Circuit Discovery for Mechanistic InterpretabilityArthur Conmy, Augustine N. Mavor-Parker, Aengus Lynch, Stefan Heimersheim 等NeurIPS 2023 · 861 次引用
- Whispering Experts: Neural Interventions for Toxicity Mitigation in Language ModelsXavier Suau, Pieter Delobelle, Katherine Metcalf, Armand Joulin 等ICML 2024 · 31 次引用
- PaCE: Parsimonious Concept Engineering for Large Language ModelsJinqi Luo, Tianjiao Ding, Kwan Ho Ryan Chan, Darshan Thaker 等NeurIPS 2024 · 20 次引用
- LinEAS: End-to-end Learning of Activation Steering with a Distributional LossPau Rodríguez, Michal Klein, Eleonora Gualdoni, Valentino Maiorca 等NeurIPS 2025 · 15 次引用
- The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in TransformersZonglin Li, Chong You, Srinadh Bhojanapalli, Daliang Li 等ICLR 2023 · 10 次引用
它引用的 Paper2
相关 Paper
- Auto-Search and Refinement: An Automated Framework for Gender Bias Mitigation in Large Language ModelsYue Xu, Chengyan Fu, Li Xiong, Sibei Yang 等NeurIPS 2025 · 3 次引用
- Gender-tuning: Empowering Fine-tuning for Debiasing Pre-trained Language ModelsSomayeh Ghanbarzadeh, Yan Huang, Hamid Palangi, Radames Cruz Moreno 等ACL Findings 2023 · 17 次引用
- CoCon: A Self-Supervised Approach for Controlled Text GenerationAlvin Chan, Yew-Soon Ong, Bill Pung, Aston Zhang 等ICLR 2021 · 16 次引用
- How sensitive are translation systems to extra contexts? Mitigating gender bias in Neural Machine Translation models through relevant contextsShanya Sharma, Manan Dey, Koustuv SinhaEMNLP Findings 2022 · 7 次引用
- BERTScore is Unfair: On Social Bias in Language Model-Based Metrics for Text GenerationTianxiang Sun, Junliang He, Xipeng Qiu, Xuanjing HuangEMNLP 2022 · 22 次引用
