Selective Transfer through Sequence Distillation: From Benchmark Knowledge to Backdoor Behaviour

Jonibek Mansurov, Sholpan Bolatzhanova, Filbert Aurelian Tjiaranta, Vallerie Alexandara Putra, Alham Fikri Aji
10/19/2026
cs.AI
distillation

Official code: MJonibek/kd-leakage (0 stars, Python, MIT, last commit 2026-10-21).

Abstract

Knowledge distillation is widely used to transfer capabilities from teacher models to student models, but recent work shows that it can also transfer unintended teacher properties. We study whether different hidden teacher properties survive the same distillation channels.

Show full abstract

Specifically, we compare two properties: benchmark-associated knowledge and refusal backdoors, and show that distillation treats them very differently. Teachers fine-tuned on benchmark data successfully pass that knowledge to students through all four distillation channels we test, including when students are trained only on teacher-generated number sequences containing no natural language or domain content whatsoever. Refusal backdoors tell the opposite story: backdoored teachers achieve near-perfect triggered refusal, yet sequence-distilled students inherit essentially none of this behaviour. Logit-based distillation transfers it substantially, reaching up to 85.5\% triggered refusal in students that saw zero backdoor examples. Distillation is therefore selective, and the selection criterion is not what data the student sees, but what structure the teacher's property has. The code is available at https://github.com/MJonibek/kd-leakage.

View on arXivView PDF

Code Implementations(1)

MIT
00Python, ShellAug 13, 20251 months agoMIT

Similar Papers

Cite this paper

@article{mansurov2026selective,
  title  = {Selective Transfer through Sequence Distillation: From Benchmark Knowledge to Backdoor Behaviour},
  author = {Jonibek Mansurov and Sholpan Bolatzhanova and Filbert Aurelian Tjiaranta and Vallerie Alexandara Putra and Alham Fikri Aji},
  year   = {2026},
  eprint = {2610.26311},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.26311v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.26311.svg)](https://codeofpaper.com/paper/2610.26311)

Discussion