Metraipolis › archive › dc_50f91f8ec7d5
Understanding the Role of Prompt Template in Knowledge Distillation for Safety Alignment — arXiv:2609.30802
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.30802
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T02:03:59.941Z
- SHA-256 of the archived text
aab42648e9828879683e50a88132837fb8f206bf98c201fa62227e0d4e082898- Stable URL of this page
https://metraipolis.com/documento/dc_50f91f8ec7d5
How to cite
Understanding the Role of Prompt Template in Knowledge Distillation for Safety Alignment — arXiv:2609.30802 — arXiv (en), https://arxiv.org/abs/2609.30802 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_50f91f8ec7d5 (Metraipolis archive dc_50f91f8ec7d5, sha256 aab42648e9828879683e50a88132837fb8f206bf98c201fa62227e0d4e082898)
BibTeX
@misc{dc50f91f8ec7d5,
title = {Understanding the Role of Prompt Template in Knowledge Distillation for Safety Alignment — arXiv:2609.30802},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.30802},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_50f91f8ec7d5; sha256 aab42648e9828879683e50a88132837fb8f206bf98c201fa62227e0d4e082898},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.30802. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Prior research has demonstrated that the choice of prompt template during Supervised Fine-Tuning (SFT) significantly impacts the robustness of safety alignment afterwards. However, the influence of template selection during Knowledge Distillation (KD) from teacher to student remains largely unexplored. Thus, we fill this gap by analyzing how different template configurations influence the pre-existing safety alignment of the student. We observe a significant degradation of safety alignment present in the aligned base instruct-tuned model. Specifically, we find that utilizing chat templates renders the model more compliant with harmful queries compared to a non-chat template. These findings are consistent across three models: LLaMA, Gemma and Qwen model families and are evaluated across multiple safety benchmarks. We further show that using a non-chat template during distillation better preserves the base student's internal representations, while chat template distillation induces a larger representational shift. Code: this https URL Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-28 in cs.CL). Categorie arXiv: Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2609.30802 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T01:38:49.439Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).