The exact equivalence of distance and kernel methods in hypothesis testing
Open accessThe DOI matches its Crossref record; 54 of the 57 references it cites were found in a registry or an index.
Abstract
Distance correlation and Hilbert-Schmidt independence criterion are widely used for independence testing, two-sample testing, and many inference tasks in statistics and machine learning. These two methods are tightly related, yet are treated as two different entities in the majority of existing literature. In this paper, we propose a simple and elegant bijection between metric and kernel. The bijective transformation better preserves the similarity structure, allows distance correlation and Hilbert-Schmidt independence criterion to be always the same for hypothesis testing, streamlines the code base for implementation, and enables a rich literature of distance-based and kernel-based methodologies to directly communicate with each other.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Advances in neural information processing systems 7
Cios, K., & Shields, M. (1997) · Neurocomputing · doi:10.1016/s0925-2312(97)90018-7 · Cited by 22,059
Normalized cuts and image segmentation
Shi, J., & Malik, J. (2000) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/34.868688 · Cited by 15,502
A tutorial on spectral clustering
von Luxburg, U. (2007) · Statistics and Computing · doi:10.1007/s11222-007-9033-z · Cited by 10,349
Domain-Adversarial Training of Neural Networks
Ganin, Y., Ustinova, E., Ajakan, H., Germain, P., Larochelle, H., Laviolette, F., Marchand, M., & Lempitsky, V. (2017) · Advances in Computer Vision and Pattern Recognition · doi:10.1007/978-3-319-58347-1_10 · Cited by 8,318
On Spectral Clustering: Analysis and an algorithm
Ng, A. Y., Jordan, M. I., & Weiss, Y. (2001) · Cited by 8,159
VII. Note on regression and inheritance in the case of two parents
Pearson, K. (1895) · Proceedings of the Royal Society of London · doi:10.1098/rspl.1895.0041 · Cited by 3,424
Sure Independence Screening for Ultrahigh Dimensional Feature Space
Fan, J., & Lv, J. (2008) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.1467-9868.2008.00674.x · Cited by 2,711
Measuring and testing dependence by correlation of distances
Székely, G. J., Rizzo, M. L., & Bakirov, N. K. (2007) · The Annals of Statistics · doi:10.1214/009053607000000505 · Cited by 2,684 · cited 1×
“Distance correlation is a distance-based method initially proposed for testing independence [28, 30].”
MethodSzékely, G. J., & Rizzo, M. L. (2009) · The Annals of Applied Statistics · doi:10.1214/09-aoas312 · Cited by 841 · cited 9×
“̂Hsic(X, Y) = Dcov(X, Y) = E[k(X,X�)k(Y , Y �)] + E[k(X,X�)]E[k(Y , Y �)] − 2E[k(X,X�)k(Y , Y ��)], 402 C. Shen, J. T. Vogelstein 1 3”
InfluentialFeature Screening via Distance Correlation Learning
Li, R., Zhong, W., & Zhu, L. (2012) · Journal of the American Statistical Association · doi:10.1080/01621459.2012.695654 · Cited by 747
Research works printed but not linked: 1
- [18] Panda, S., C. Shen, C. E. Priebe, and J. T. Vogelstein (2020). Multivariate multisample multiway nonparametric manova. https://arxiv.org/abs/1910.08883 . - · arXiv
Cited by
The Chi-Square Test of Distance Correlation
Shen, C., Panda, S., & Vogelstein, J. T. (2021) · Journal of Computational and Graphical Statistics · doi:10.1080/10618600.2021.1938585 · Cited by 119
“They share the same formulation and properties [17], except one operates on distance matrices and another on kernel matrices.”
BackgroundInfluentialSelf-citationA Spectral Energy Distance for Parallel Speech Synthesis
Gritsenko, A. A., Salimans, T., van den Berg, R., Snoek, J., & Kalchbrenner, N. (2020) · neural information processing systems · doi:10.48550/arxiv.2008.01160 · Cited by 93
“To address these limitations we propose a new training method based on the generalized energy distance [10, 32, 33], which enables the learning of implicit density models without the use of adversarial training or requiring a tractable likelihood.”
Discovering and deciphering relationships across disparate data modalities
Vogelstein, J. T., Bridgeford, E., Wang, Q., Priebe, C. E., Maggioni, M., & Shen, C. (2019) · eLife · doi:10.7554/elife.41690 · Cited by 37
“In fact, Mgc can also implement a two-sample (or generally the K-sample) test [18, 60, 61], so further comparisons of Mgc to standard methods for two-sample testing will be interesting.”
MethodSelf-citationBridgeford, E., Wang, S., Yang, Z., Wang, Z., Xu, T., Craddock, C., Dey, J. K., Kiar, G., Gray-Roncal, W., Colantuoni, C., et al. (2019) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/802629 · Cited by 22
Self-citationReview of end-to-end speech synthesis technology based on deep learningPreprint
Mu, Z., Yang, X., & Dong, Y. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2104.09995 · Cited by 46
“The main difference from other spectrogram-based losses is that, in addition to the attractive term between the generated data and the actual data, GED also adds a repulsive term between generated data to the training loss to avoid generated samples collapsing to a single point, thus capturing the full data distributi…”
MethodInfluentialIntegrative Spatial Single-cell Analysis with Graph-based Feature LearningPreprint
Zhu, J., & Sabatti, C. (2020) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/2020.08.12.248971 · Cited by 24
Edelmann, D., & Goeman, J. J. (2022) · Statistical Science · doi:10.1214/21-sts841 · Cited by 22
“Moreover, it is straightforward to show the equality of the corresponding empirical versions given in Equations (10) and (2), see [51] for details.”
BackgroundEmbedded in context: How time and distance affect the convergence of personnel selection practices
Biemann, T., Mayrhofer, W., & Koch‐Bayram, I. (2021) · Human Resource Management Journal · doi:10.1111/1748-8583.12339 · Cited by 18
hyppo: A Multivariate Hypothesis Testing Python Package
Panda, S., Palaniappan, S., Xiong, J., Bridgeford, E., Mehta, R., Shen, C., & Vogelstein, J. T. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1907.02088 · Cited by 28
“…sample sizes, the energy package’s Dcorr is faster than kernlab ’s implementation of Mmd ( Dcorr is equivalent to Mmd for all finite sample sizes [10]) even at a sample size of 10,000. hyppo ’s Fast Dcorr , which uses a fast statistic [33] and p-value approximation [35] is the fastest, even…”
BackgroundMethodSelf-citationMatabuena, M., Félix, P., Ditzhaus, M., Vidal, J. C., & Gudé, F. (2023) · The American Statistician · doi:10.1080/00031305.2023.2200512 · Cited by 12
“The energy distance and MMD are two equivalent statistical metrics with the ability to detect distributional differences between random samples (Székely and Rizzo 2013; Shen and Vogelstein 2021).”
BackgroundAdaptive Reliability for the Automated Control of Human–Robot Collaboration in Beyond-5G Networks
Bolla, R., Bruschi, R., Davoli, F., Lombardo, C., Mohammadpour, A., Trivisonno, R., & Poe, W. Y. (2023) · IEEE Transactions on Network and Service Management · doi:10.1109/tnsm.2023.3298171 · Cited by 8
“Moreover, the HSIC can be thought of as a kernel version of distance correlation and vice versa [27], [28] and the multiscale graph correlation is an optimal local version of distance correlation.”
BackgroundSynergistic graph fusion via encoder embedding
Shen, C., Priebe, C. E., Larson, J., & Trinh, H. (2024) · Information Sciences · doi:10.1016/j.ins.2024.120912 · Cited by 10
“This transformation ensures that the resulting matrix is a valid kernel or similarity matrix [29].”
BackgroundSelf-citationSimilarity-based multimodal regression
Chen, A. A., Weinstein, S. M., Adebimpe, A., Gur, R. C., Gur, R. E., Merikangas, K. R., Satterthwaite, T. D., Shinohara, R. T., & Shou, H. (2024) · Biostatistics · doi:10.1093/biostatistics/kxad033 · Cited by 6
Universally consistent K-sample tests via dependence measures
Panda, S., Shen, C., Perry, R., Zorn, J. V., Lutz, A., Priebe, C. E., & Vogelstein, J. T. (2024) · Statistics & Probability Letters · doi:10.1016/j.spl.2024.110278 · Cited by 27
“…distance covariance ( Dcov ) and distance correlation ( Dcor ) can be computed by: By default, distance correlation utilizes the Euclidean distance as its metric, but it can be any metric of strong negative type [12], or a characteristic kernel upon a kernel to metric transformation [19, 27].”
BackgroundSelf-citationAlyakin, A., Agterberg, J., Helm, H. S., & Priebe, C. E. (2024) · Applied Network Science · doi:10.1007/s41109-023-00607-x · Cited by 10
“For more on this procedure, sometimes called k -sample transform, see Shen and Vogelstein (2021).”
BackgroundMethodCompositional Data Analysis using Kernels in mass cytometry data
Rudra, P., Baxter, R. M., Hsieh, E. W. Y., & Ghosh, D. (2022) · Bioinformatics Advances · doi:10.1093/bioadv/vbac003 · Cited by 9
“The equivalence of the two approaches was shown by Sejdinovic et al. (2013) and Shen and Vogelstein (2020).”
Discovering the signal subgraph: An iterative screening approach on graphs
Shen, C., Wang, S., Badea, A., Priebe, C. E., & Vogelstein, J. T. (2024) · Pattern Recognition Letters · doi:10.1016/j.patrec.2024.06.011 · Cited by 11
“The distance correlation is a computationally e ffi cient method [30], and has been shown to be equivalent to kernel correlation [33].”
MethodSelf-citationEncoder embedding for general graph and node classification
Shen, C. (2024) · Applied Network Science · doi:10.1007/s41109-024-00678-4 · Cited by 7
“We construct the general graph A by first calculating pairwise Euclidean distances and then applying a distance-to-kernel transformation (Shen and Vogelstein, 2021).”
Self-citationBöttcher, B. (2019) · Open Statistics · doi:10.1515/stat-2020-0001 · Cited by 3
Energy distance and kernel mean embeddings for two-sample survival testingPreprint
Matabuena, M., & Padilla, O. H. M. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1912.04160 · Cited by 7
Learning Interpretable Characteristic Kernels via Decision ForestsPreprint
Panda, S., Shen, C., & Vogelstein, J. T. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1812.00029 · Cited by 10
“Interestingly, these two methods can be seen as equivalent because distances and kernels are interchangeable with proper transformations [38, 39].”
BackgroundSelf-citationTest of conditional independence in factor models via Hilbert–Schmidt independence criterion
Xu, K., & Cheng, Q. (2023) · Journal of Multivariate Analysis · doi:10.1016/j.jmva.2023.105241 · Cited by 2
Fast and Scalable Multi-Kernel Encoder Classifier
Shen, C. (2024) · Lecture notes in networks and systems · doi:10.1007/978-3-031-73125-9_10 · Cited by 2
“Te multi-kernel encoder classifier utilizes the same algorithm with three distinct kernel choices: the inner product, the Euclidean distance-induced kernel (based on the distance-to-kernel transformation in [34]), and the Spearman rank correlation [14].”
Self-citationIndependence Testing for Multivariate Time SeriesPreprint
Mehta, R., Chung, J., Shen, C., Xu, T., & Vogelstein, J. T. (2019) · arXiv (Cornell University) · Cited by 2
Self-citationA kernel-based test for the first-order separability of spatio-temporal point processes
Ghorbani, M., Vafaei, N., & Myllymäki, M. (2025) · Test · doi:10.1007/s11749-025-00972-y · Cited by 1
“…an alternative approach is to employ the correlation distance approximation, which offers an efficient and scalable method by computing the correlation distance between the kernel matrices associated with the joint and marginal distributions (Edelmann and Goeman 2022; Shen and Vogelstein 2021).”
Process Mining as a Time Series Analysis Tool via Graph Kernels
Valdés, J. J., Céspedes-González, Y., & Pou, A. (2021) · Lecture notes in networks and systems · doi:10.1007/978-3-030-89906-6_53 · Cited by 1
A nonparametric test for comparing survival functions based on restricted distance correlation
Zhang, Q. (2023) · Dependence Modeling · doi:10.1515/demo-2023-0108 · Cited by 1
Multiscale comparative connectomics
Gopalakrishnan, V., Chung, J., Bridgeford, E., Pedigo, B. D., Arroyo, J., Upchurch, L., Johnson, G. A., Wang, N., Park, Y., Priebe, C. E., et al. (2025) · Imaging Neuroscience · doi:10.1162/imag.a.2 · Cited by 2
“Finally, recent statistical results have shown that distance-and kernel-based methods are equivalent, allowing any independence test to be reformulated as a k -sample test for equality in distribution [43].”
Self-citationValdés, J. J., Pou, A., & Céspedes-González, Y. (2021) · Lecture notes in networks and systems · doi:10.1007/978-3-030-89906-6_43 · Cited by 1
mgcpy: A Comprehensive High Dimensional Independence Testing Python Package.Preprint
Panda, S., Palaniappan, S., Xiong, J., Swaminathan, A., Ramachandran, S., Bridgeford, E., Shen, C., & Vogelstein, J. T. (2019) · arXiv (Cornell University) · Cited by 2
Self-citationNonpar MANOVA via Independence TestingPreprint
Panda, S., Shen, C., Perry, R., Zorn, J. V., Lutz, A., Priebe, C. E., & Vogelstein, J. T. (2019) · arXiv (Cornell University) · Cited by 3
Self-citationEnergy ClusteringPreprint
França, G., & Vogelstein, J. T. (2017) · arXiv (Cornell University) · Cited by 1
Self-citationPrivate measurement of nonlinear correlations between data hosted across multiple partiesPreprint
Vepakomma, P., Pushpita, S. N., & Raskar, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.09670 · Cited by 1
Independence Testing for Time Series
Mehta, R. (2019)
Chung, J., Varjavand, B., Arroyo, J., Alyakin, A., Agterberg, J., Tang, M., Priebe, C. E., & Vogelstein, J. T. (2021) · Stat · doi:10.1002/sta4.429
“MMD has been shown to be equivalent to the Energy distance two-sample test, the Hilbert-Schmidt independence criterion (HSic), and the distance correlation test for independence (DCorr) [16, 17].”
MethodSelf-citationSpatial association between distributed β-amyloid and tau varies with cognitionPreprint
Carbonell, F., McNicoll, C., Zijdenbos, A. P., Bedell, B. J., & Initiative, A. D. N. (2023) · bioRxiv (Cold Spring Harbor Laboratory) · doi:10.1101/2023.09.27.559737
On the connections between Chatterjee's correlation and rank distance correlation
Zhang, Q. (2025) · Journal of nonparametric statistics · doi:10.1080/10485252.2025.2587095
“By Sejdinovic et al. (2013) and Shen and Vogelstein (2020), since Gaussian kernel is characteristic, its induced distance metric d X is asymptotically of strong negative type.”
Distillation-Free, Stable Training of Clarinet Vocoder with Spectral Energy Distance
Sisamaki, E., Pantazis, Y., Tsiaras, V., & Stylianou, Y. (2025) · European Signal Processing Conference (EUSIPCO) · doi:10.23919/eusipco63237.2025.11226608
A Graph-Based Framework for Nonparametric Tests of Multivariate Independence
Li, Y. N., Tian, Y., & Wang, J. (2026) · Journal of Computational and Graphical Statistics · doi:10.1080/10618600.2026.2627465
A Nonparametric Test of Multivariate Independence Using Graphs
Li, Y., Tian, Y., & Wang, J. (2026) · Stat · doi:10.1002/sta4.70146
“Pfister et al. (2018) proposed the d - variable Hilbert–Schmidt independence criterion (dHSIC), which quantifies association relationships via measuring the distance between the joint distribution and the product of marginal distributions within a reproducing kernel Hilbert space.”
Zhang, Q. (2026) · Journal of Statistical Theory and Practice · doi:10.1007/s42519-026-00583-2
“First, while we have primarily utilized Euclidean distance to define spacings between categories ( D X and D Y ) for illustrativepurposes,itisnoteworthythatdistancecorrelationmaintainsitsconsistency (i.e.,itiszeroifandonlyifindependenceholds)acrossanymetricspaceofstrong negativetype[11,14].”
Metadata
- Authors
- Shen, C., & Vogelstein, J. T.
- Affiliations
- University of Delaware (US)
- Johns Hopkins University (US)
- Corresponding author
- Shen, Cencheng
- Venue
- AStA Advances in Statistical Analysis
- Published
- 2020-09-30
- Volume
- 105
- Issue
- 3
- Pages
- 385-403
- ISSN
- 1863-8171 (ISSN-L)
- 1863-818X
- OpenAlex
- W3089526752
- Cited by
- 41
- References
- 57
- Citations by year
- 2026: 3 · 2025: 4 · 2024: 6 · 2023: 6 · 2022: 2 · 2021: 7 · 2020: 2
- FWCI
- 3.01
- Type
- journal article
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- www.springer.com/tdm (tdm)
- www.springer.com/tdm (vor)
- Locations
- AStA Advances in Statistical Analysis (publishedVersion)
- arXiv (Cornell University) (submittedVersion)
- RePEc: Research Papers in Economics (submittedVersion)
- arXiv (Cornell University)
- Funders
- Microsoft Research
- Directorate for Mathematical and Physical Sciences (DMS-1921310)
- Defense Advanced Research Projects Agency (N66001-15-C-4041, FA8650-18-2-7834)
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Applications
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Inference
- Physical Sciences › Mathematics › Statistics and Probability › Probability and Statistical Research
- Keywords
- distance correlation, Hilbert-Schmidt independence criterion, kernel methods, distance method, independence testing, two-sample test, hypothesis testing
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.