You Don’t Need Aligned Representations: Knowledge Distillation via Random Prototype Spaces
Hamza Etcibasi, Ramazan Gokberk Cinbis
NeurIPS page · OpenReview · Open on the map
Category: Graphs, OOD Detection & Medical Imaging › Dataset Distillation and Synthetic Data Generation · Type: new method · Keywords: knowledge distillation, random prototype spaces, representation alignment, image classification, parameter-efficient transfer
Areas: Continual Learning & Adaptation › Domain Shift Adaptation › Knowledge Distillation
Summary
RPKD introduces random prototype spaces for knowledge distillation, removing the need for aligned teacher-student representations and improving performance on image classification tasks.
Explained to a 5-year-old
We have two big computers that learn how to recognize pictures. Usually they need to copy each other's secret codes, but those codes have to match. This paper says we don't need matching codes. Instead, we give both computers a set of random dots that stay the same. They compare how these dots light up and learn from each other, helping them guess pictures better, especially when there are only a few kinds.
Explained to a 5-year-old, longer
Imagine two smart robots that can look at pictures and tell what they see. When we want one robot to learn from the other, we usually make them use the same secret language. This secret language must be the same for both robots, which can be tricky. The paper says we can skip making the secret languages match. Instead, we give both robots a bunch of random stickers that never change. Each picture lights up some of these stickers in a pattern. The robots compare which stickers light up for each picture. By matching these patterns, they share what they know without needing the same secret code. This works even when there are only a few types of pictures to recognize. It also helps when the robots have different shapes inside. The new way makes it easier to teach robots to see better. It can be useful in real life where we might not have many labels for pictures.
For a technical reader
RPKD projects both teacher and student networks into a shared set of frozen random prototype vectors, eliminating the need for aligned feature spaces. It uses two transfer branches: a logit branch that aligns global prototype similarity distributions and a feature branch that matches spatially-resolved activation maps. This design makes the method agnostic to network architecture and inductive biases, and it provides richer supervision when the number of classes is small. Experiments show significant gains over strong baselines on CIFAR-100, ImageNet-100, and ImageNet-1K.
Problem
Knowledge distillation typically assumes that teacher and student representations must occupy a compatible or aligned feature space, which can be restrictive and may not work well when the label space is small or when architectures differ. This assumption can be relaxed to enable more flexible transfer.
Method
Both teacher and student networks are projected into a shared set of randomly initialized, frozen prototype vectors. Transfer is performed via two branches: a logit branch that aligns global prototype similarity distributions and a feature branch that matches spatially-resolved prototype activation maps, all within the same fixed prototype space.
Results
The approach achieves gains of up to +8.26% over OFA on CIFAR-100, +12.46% on ImageNet-100, and +1.34% on ImageNet-1K.
Contributions
It removes the need for aligned representations by using random prototype spaces, introduces a two-branch transfer mechanism that works without architecture-specific adapters, and provides richer supervision in low-category settings.
Practical relevance
The method can be applied to real-world tasks with limited label sets, enabling more flexible knowledge distillation without complex alignment procedures.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction