Study uses gradient differences and SAEs to identify hereditary trait poisoning in distillation
Researcher J Rosser used the Phantom Transfer dataset to study how distillation lets a model inherit hidden traits of the teacher model, and proposed gradient-based training-data attribution methods such as SwapMagic. On Gemma 3 12B IT, SwapMagic replaced only 1% of poisoned documents and reduced the entity mention rate from 63% to 31%, compared with 37% for MAGIC, 54% for an entity-aware LLM judge, and 61% for random replacement. The authors also used the unsupervised GradDiff to locate the poisoned trait without providing entity labels, and used SteerMagic and CAFTMagic to suppress or inject that preference via activation interventions without modifying the text.
Researcher J Rosser used the Phantom Transfer dataset to study how distillation lets a model inherit hidden traits of the teacher model, and proposed gradient-based training-data attribution methods such as SwapMagic. On Gemma 3 12B IT, SwapMagic replaced only 1% of poisoned documents and reduced the entity mention rate from 63% to 31%, compared with 37% for MAGIC, 54% for an entity-aware LLM judge, and 61% for random replacement. The authors also used the unsupervised GradDiff to locate the poisoned trait without providing entity labels, and used SteerMagic and CAFTMagic to suppress or inject that preference via activation interventions without modifying the text.