arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.37937cs.CVcs.LG
收藏

你不需要对齐的表示:通过随机原型空间进行知识蒸馏

You Don't Need Aligned Representations: Knowledge Distillation via Random Prototype Spaces

Middle East Technical University(中东技术大学);ASELSAN Inc.(阿塞勒桑公司);ROMER Robotics and AI Center, Middle East Technical University(中东技术大学ROMER机器人与人工智能中心)

Hamza Etcibasi, Ramazan Gokberk Cinbis

AI总结:

该研究提出RPKD,摒弃知识蒸馏中教师与学生表示需对齐的假设,通过共享随机原型库实现知识迁移,在低类别场景下优势显著,在多个数据集上相比OFA取得了明确性能提升。

摘要:

知识蒸馏领域普遍存在一个假设,即教师模型和学生模型的表示必须占据兼容或显式对齐的特征空间。我们提出RPKD(Random Prototype Knowledge Distillation,随机原型知识蒸馏),该方法摒弃了这一假设,通过将两个网络与共享的随机初始化且冻结的原型向量库进行比较来实现知识蒸馏。因此,对齐操作在外部参考空间中进行,而非教师模型的原生特征坐标:教师侧通过无训练参数的固定随机映射进行投影,仅学生模型需要适配。该方法包含两个分支处理知识迁移:logit分支对齐全局原型相似度分布,特征分支匹配空间解析的原型激活图。两个分支均在同一固定原型空间内运行,该空间可被解释为近似保留样本间相似度结构的随机特征嵌入,因此原型库和蒸馏目标在教师-学生对之间保持不变,仅针对每个架构实例化输入投影。在低类别设置中,将原型词汇表与任务标签空间解耦会产生比仅标签空间更丰富的监督信号,这一优势是基于logit的方法所不具备的,后者的监督信号会随类别数量减少而崩溃。这一优势在标签空间通常受限的现实场景中尤为重要。大量实验证明了RPKD的有效性,在CIFAR-100上相比OFA取得了+7.98%的最大增益,在ImageNet-100上取得了+12.44%的增益,在ImageNet-1K上取得了+1.28%的增益。源代码可在该https URL获取。

英文摘要:

A widely held assumption in knowledge distillation is that teacher and student representations must occupy a compatible or explicitly aligned feature space. We propose RPKD (Random Prototype Knowledge Distillation), which discards this assumption by comparing both networks against a shared bank of randomly initialized, frozen prototype vectors. Alignment is therefore carried out in an external reference space rather than in the teacher's native feature coordinates: the teacher side is projected by fixed random maps that carry no trainable parameters, and only the student adapts. Two branches handle the transfer: a logit branch aligning global prototype similarity distributions and a feature branch matching spatially-resolved prototype activation maps. Both operate within the same fixed prototype space, which can be interpreted as a random feature embedding that approximately preserves inter-sample similarity structure, so the prototype bank and the distillation objective stay unchanged across teacher-student pairs while only the input projections are instantiated per architecture. In low-category settings, decoupling the prototype vocabulary from the task label space yields richer supervision than the label space alone, an advantage absent from logit-based methods, whose supervisory signal collapses as class count shrinks. This advantage is especially relevant in real-world scenarios where the label space is typically constrained. Extensive experiments demonstrate the effectiveness of RPKD, achieving a maximum gain of +7.98% over OFA on CIFAR-100, +12.44% on ImageNet-100, and +1.28% on ImageNet-1K. Source code is available at https://github.com/HamzaEtcibasi/RPKD

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑