Right Time to Learn:Promoting Generalization via Bio-inspired Spacing Effect in Knowledge Distillation

Guanglong Sun, Hongwei Yan, Liyuan Wang, Qian Li, Bo Lei +1 more
2/14/2026

No official code found. Best implementation: SunGL001/Spaced-KD (4 stars, last commit 2025-05-20).

Abstract

Knowledge distillation (KD) is a powerful strategy for training deep neural networks (DNNs). Although it was originally proposed to train a more compact"student"model from a large"teacher"model, many recent efforts have focused on adapting it to promote generalization of the model itself, such as online KD and self KD. Here, we propose an accessible and compatible strategy named Spaced KD to improve the effectiveness of both online KD and self KD, in which the student model distills knowledge from a teacher model trained with a space interval ahead. This strategy is inspired by a prominent theory named spacing effect in biological learning and memory, positing that appropriate intervals between learning trials can significantly enhance learning performance. With both theoretical and empirical analyses, we demonstrate that the benefits of the proposed Spaced KD stem from convergence to a flatter loss landscape during stochastic gradient descent (SGD). We perform extensive experiments to validate the effectiveness of Spaced KD in improving the learning performance of DNNs (e.g., the performance gain is up to 2.31% and 3.34% on Tiny-ImageNet over online KD and self KD, respectively). Our codes have been released on github https://github.com/SunGL001/Spaced-KD.

View on arXivView PDF

Code Implementations(1)

SunGL001/Spaced-KDCommunity100%

Right Time to Learn: Promoting Generalization via Bio-inspired Spacing Effect in Knowledge Distillation

40Shell, PythonMay 19, 20251 years ago

Similar Papers

Cite this paper

@article{sun2026right,
  title  = {Right Time to Learn:Promoting Generalization via Bio-inspired Spacing Effect in Knowledge Distillation},
  author = {Guanglong Sun and Hongwei Yan and Liyuan Wang and Qian Li and Bo Lei and Yi Zhong},
  year   = {2026},
  eprint = {2502.06192},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2502.06192},
  journal = {ICML 2025 2025}
}

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/2502.06192.svg)](https://codeofpaper.com/paper/2502.06192)

Discussion