arXiv Science⌕ Search

arXiv · 2611.33447

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

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). 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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Shujun Xiong, Sarah E. Harvey, Jacob Zavatone-Veth, Alexander H. Williams. 2026-11-24. Centered Kernel Distance: Dimension-Free Error Bounds for Comparing Neural Representations. https://arxiv.science/abs/2611.33447

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

A unifying Bayesian framework for adversarial robustness

The vulnerability of machine learning models to adversarial attacks remains a critical societal security challenge. Yet the defense of Bayesian predictive models has received little attention, even though their attack surface is wider: an adversary may corrupt not only their predictions but also the uncertainty they quantify. Moreover, traditional defenses, such as adversarial training, typically robustify models by minimizing a worst-case loss. These deterministic approaches do not account for uncertainty in the adversary's attack. While stochastic defenses placing a probability distribution on the adversary exist, they often lack statistical rigor and fail to make explicit their underlying assumptions. Our aim is thus twofold: to protect Bayesian predictive models, and to do it in a Bayesian way, explicitly modeling uncertainty about the attacker. To this end, we introduce a formal Bayesian framework for adversarial robustness that captures adversarial uncertainty through a stochastic channel and makes every probabilistic assumption explicit. This yields two robustification strategies that protect the entire posterior predictive distribution: a proactive defense enacted during training, aligned with adversarial training, and a reactive defense enacted during operations, aligned with adversarial purification. Several state-of-the-art defenses can be recovered as limiting cases of the proposed framework. Consistent with this wider attack surface, our experiments assess both accuracy and the quality of predictive uncertainty under attack, and showcase the benefits of explicitly modeling adversarial uncertainty.

stat.ML↗

Learning with the Nash-Sutcliffe loss

Relative measures are often used to evaluate forecasts accross multiple time series because they are interpretable. Among them, the relative mean squared error ($\mathrm{MSE}$), known in positive orientation as the Nash-Sutcliffe efficiency ($\mathrm{NSE}$), is perhaps the most widely applied. We refer to the negatively oriented relative $\mathrm{MSE}$ as the Nash-Sutcliffe loss $L_\mathrm{NS} = 1 - \mathrm{NSE}$ and formulate a statistical decision-theoretic characterization of this loss. Under almost surely nonconstant observations and finite weighted-moment conditions, $L_\mathrm{NS}$ is strictly consistent for a multi-dimensional realization-weighted component-wise expectation, referred to as the Nash-Sutcliffe functional. Because the weight depends inversely on within-series spread, this functional generally differs from the component-wise expectation elicited by multi-dimensional squared error loss. As time series length (dimension) increases, we show under weighted inverse-spread concentration that $L_\mathrm{NS}$ converges in expectation to a constant multiple of average squared error on forecasts of bounded average squared norm, while coordinate-covariance or mean-norm conditions make fixed-coordinate differences or the average squared difference vanish, respectively. Supporting results include the construction of a strict identification function for the Nash-Sutcliffe functional, strongly consistent location \emph{M}-estimation under $L_\mathrm{NS}$, equality conditions (including central symmetry about a constant vector), and truncated distribution families satisfying the domain and moment assumptions of $L_\mathrm{NS}$.

stat.ML↗

Beyond Augmented-Action Surrogates for Multi-Expert Learning-to-Defer

A learning-to-defer (L2D) system decides, for each input, whether to predict on its own or defer to one of several experts. A widely used recipe trains the classifier and the router jointly by treating the $K$ classes and $J$ experts as competing actions in one shared $(K{+}J)$-action geometry. We analyze the population targets and optimization geometry of five representative surrogates and identify target distortion, gradient amplification, winner-take-all starvation, set-mass collapse, and class--expert coupling, which can persist alongside statistical consistency; shared competition and local overlap amplification also persist beyond log-softmax. We depart from the augmented-action formulation with a \emph{decoupled surrogate}, which pairs a softmax classifier head with an independent sigmoid head for each expert. Its population minimizer recovers the class posterior and expert utilities exactly, its coordinatewise expert updates avoid overlap amplification and starvation, and its mixed head Hessian block is zero even with a shared representation. We prove an excess-risk bound with calibration constant $\max\{\sqrt{2},\sqrt{2J/λ}\}$, which does not depend on the number of experts at fixed per-expert weight. In synthetic studies the decoupled surrogate preserves rare specialists, on CIFAR-10, CIFAR-10H, Covertype, and Fashion-MNIST it preserves classifier quality, and Fashion-MNIST ablations favor it over additive cross-entropy in all $36$ matched comparisons across head layouts and trunk choices. With disjoint networks, the same objective also supports two-stage training.

stat.ML↗