SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.11824 · IJCAI · 2024

Rethinking Centered Kernel Alignment in Knowledge Distillation

Yunhang Shen, Shitong Shao, Shaohui Lin, Linrui Gong, Zikai Zhou

arXiv · PDF · Open in the Atlas

Code that ran

5 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2401.11824.json · badge: /api/ran/2401.11824.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Klayand/PCKA canonical (classifier label)
classifier basis: census
5 ran · 1 no recorded run
FunctionStatusWhere it lives
capitalize Ran
ran; our contract draft was wrong, not the code
Klayand/PCKA/PCKA/mmyolo/.dev_scripts/print_registers.py
pointer only (licence: NONE) · get_code("179a3e25e2e7ca16")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Klayand/PCKA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compare_metric Ran
ran, honoured the contract we drafted
Klayand/PCKA/PCKA/mmrazor/.dev_scripts/benchmark_summary_analyse.py
pointer only (licence: NONE) · get_code("7aa14690a60bba8a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Klayand/PCKA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_modules_from_dir Ran
ran; our contract draft was wrong, not the code
Klayand/PCKA/PCKA/mmyolo/.dev_scripts/print_registers.py
pointer only (licence: NONE) · get_code("464ead2b752c6eb7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Klayand/PCKA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_repo_name Ran
ran; our contract draft was wrong, not the code
Klayand/PCKA/PCKA/mmyolo/.dev_scripts/print_registers.py
pointer only (licence: NONE) · get_code("c2c28aecae545cec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Klayand/PCKA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

process_checkpoint Ran
ran; our contract draft was wrong, not the code
Klayand/PCKA/PCKA/mmyolo/.dev_scripts/gather_models.py
pointer only (licence: NONE) · get_code("4d5e2d377341d2fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Klayand/PCKA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ordered_yaml_dump Not yet run
unverified (harvested, no recorded run)
Klayand/PCKA/PCKA/mmyolo/.dev_scripts/gather_models.py
pointer only (licence: NONE) · get_code("8ff99a6bd2ebf598")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Klayand/PCKA when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
ordered_yaml_dump 31 other papers
21 dated earlier, 1 the same month, 9 later
1611.02644 (2016-11)
Multispectral Deep Neural Networks for Pedestrian Detection
1906.07155 (2019-06)
MMDetection: Open MMLab Detection Toolbox and Benchmark
2105.01928 (2021-05)
Instances as Queries
and 28 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Knowledge distillation has emerged as a highly effective method for bridging the representation discrepancy between large-scale models and lightweight models. Prevalent approaches involve leveraging appropriate metrics to minimize the divergence or distance between the knowledge extracted from the teacher model and the knowledge learned by the student model. Centered Kernel Alignment (CKA) is widely used to measure representation similarity and has been applied in several knowledge distillation methods. However, these methods are complex and fail to uncover the essence of CKA, thus not answering the question of how to use CKA to achieve simple and effective distillation properly. This paper first provides a theoretical perspective to illustrate the effectiveness of CKA, which decouples CKA to the upper bound of Maximum Mean Discrepancy (MMD) and a constant term. Drawing from this, we propose a novel Relation-Centered Kernel Alignment (RCKA) framework, which practically establishes a connection between CKA and MMD. Furthermore, we dynamically customize the application of CKA based on the characteristics of each task, with less computational source yet comparable performance than the previous methods. The extensive experiments on the CIFAR-100, ImageNet-1k, and MS-COCO demonstrate that our method achieves state-of-the-art performance on almost all teacher-student pairs for image classification and object detection, validating the effectiveness of our approaches. Our code is available in https://github.com/Klayand/PCKA.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2401.11824")
get_code_for_paper("2401.11824")
have("2401.11824")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2401.11824.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2401.11824.svg)](https://syntology.ai/paper/2401.11824)

Connect an agent — have() is free.