Reproduce “Similarity-Preserving Knowledge Distillation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Frederick Tung, Greg Mori

Researchers Frederick Tung and Greg Mori at Simon Fraser University and Borealis AI propose Similarity-Preserving Knowledge Distillation (SPKD), a method guiding a student network by preserving pairwise activation similarities from a teacher. SPKD consistently improved student network performance, enabling 5x model compression with only a 0.3% absolute accuracy loss on CIFAR-10 and facilitating effective transfer learning across disjoint domains.

Key insights

  • A trained neural network implicitly encodes rich semantic relationships between inputs in its activation patterns; preserving these pairwise similarities provides a powerful supervisory signal for student networks.
  • Similarity-Preserving Knowledge Distillation (SPKD) does not require the student to match the teacher's exact representation space, only to maintain the same relative structure of data, offering robustness to architectural differences.
  • SPKD captures complementary knowledge compared to existing distillation methods, allowing for synergistic performance gains when combined with techniques like Attention Transfer.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.