Language models transmit behavioural traits through hidden signals in data.
Published version
Peer-reviewed
Repository URI
Repository DOI
Type
Change log
Authors
Abstract
Large language models (LLMs) are increasingly used to generate data to train improved models1-3, but it remains unclear what properties are transmitted in this model distillation4,5. Here we show that distillation can lead to subliminal learning-the transmission of behavioural traits through semantically unrelated data. In our main experiments, a 'teacher' model with some trait T (such as disproportionately generating responses favouring owls or showing broad misaligned behaviour) generates datasets consisting solely of number sequences. Remarkably, a 'student' model trained on these data learns T, even when references to T are rigorously removed. More realistically, we observe the same effect when the teacher generates math reasoning traces or code. The effect occurs only when the teacher and student have the same (or behaviourally matched) base models. To help explain this, we prove a theoretical result showing that subliminal learning arises in neural networks under broad conditions and demonstrate it in a simple multilayer perceptron (MLP) classifier. As artificial intelligence systems are increasingly trained on the outputs of one another, they may inherit properties not visible in the data. Safety evaluations may therefore need to examine not just behaviour, but the origins of models and training data and the processes used to create them.
Description
Acknowledgements: We acknowledge D. Duvenaud for a clarifying discussion on the core idea and framing of the paper, as well as detailed feedback on an early draft. We thank F. Roger, A. Foote, E. Omernick, J. Treutlein and R. Grosse for their comments on the paper. We thank G. Branwen, D. Ensign, A. Ebtekar, J. Goldman-Wetzler and S. Slocum for helpful conversations. We are indebted to J. Hughes for the support with computing resources and to H. Sleight for logistical and personal support. We thank J. L. Medina for substantial help with formatting and figures. Finally, we thank E. Perez and the Anthropic Fellows Program for enabling this work. Some of this work was supported by a grant to TruthfulAI from Open Philanthropy.
Journal Title
Conference Name
Journal ISSN
1476-4687

