Centered Kernel Distance: Dimension-Free Error Bounds for Comparing Neural Representations

Shujun Xiong, Sarah E. Harvey, Jacob Zavatone-Veth, Alexander H. Williams
11/24/2026
stat.MLcs.LG

No confident code implementation found for this paper.

Abstract

The asymptotic error of representational similarity metrics such as centered kernel alignment (CKA) and representational similarity analysis (RSA) has been well-characterized, but there are no realistic bounds on how estimates of representational similarity $\textit{simultaneously}$ depend on the number of sampled neurons ($N$) and experimental conditions ($M$). We study the natural metric counterpart of CKA and RSA, which we call the Centered Kernel Distance (CKD).

Show full abstract

We show that CKD admits an unbiased estimator, whereas several popular similarity measures including CKA have no unbiased estimator. Under mild assumptions, we show that estimation error of CKD decays in proportion to $1/M + 1/N$. Strikingly, the rate in this bound does not depend on the dimensionality of the space of experimental conditions. Thus, similarity estimation does not suffer from the curse of dimensionality, which plagues similar problems in high-dimensional statistics. We verify our results empirically in random shallow neural networks, trained neural networks, and macaque visual cortex data. Ultimately, this paper advances a framework for predicting the error of similarity estimators in experiments by relaxing existing, biologically-unrealistic assumptions. Our theoretical and empirical predictions produce specific prescriptions on how to most efficiently estimate the similarity between multiple neural systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xiong2026centered,
  title  = {Centered Kernel Distance: Dimension-Free Error Bounds for Comparing Neural Representations},
  author = {Shujun Xiong and Sarah E. Harvey and Jacob Zavatone-Veth and Alexander H. Williams},
  year   = {2026},
  eprint = {2611.33447},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.33447v1}
}

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

Discussion