Manifold Approximation leads to Robust Kernel Alignment
Mohammad Tariqul Islam, Du Liu, Deblina Sarkar
TL;DR
This work addresses the fragility of Centered Kernel Alignment (CKA) to data scale and manifold structure by introducing Manifold-approximated Kernel Alignment (MKA), a manifold-aware, non-Mercer kernel method. MKA uses a UMAP-inspired KNN graph to define a sparse, inductive kernel $K_U$ and computes alignment with $L_U$ via a row-centered HSIC-based ratio, yielding a symmetric, robust similarity measure even with non-symmetric kernels. The paper provides a theoretical framework, a fast computation route, and extensive empirical validation across synthetic shapes, rings/clusters, ReSi benchmarks, neural networks, and different domains (vision, NLP, graphs), showing MKA often outperforms or matches alternatives with far less sensitivity to hyperparameters. The findings suggest manifold-aware alignment provides a more stable foundation for comparing representations and can benefit diverse areas such as representation learning, neuroscience, and graph-based learning. The authors also release code for MKA and discuss avenues for future work, including exploring other kernels and debiasing strategies.
Abstract
Centered kernel alignment (CKA) is a popular metric for comparing representations, determining equivalence of networks, and neuroscience research. However, CKA does not account for the underlying manifold and relies on numerous heuristics that cause it to behave differently at different scales of data. In this work, we propose Manifold approximated Kernel Alignment (MKA), which incorporates manifold geometry into the alignment task. We derive a theoretical framework for MKA. We perform empirical evaluations on synthetic datasets and real-world examples to characterize and compare MKA to its contemporaries. Our findings suggest that manifold-aware kernel alignment provides a more robust foundation for measuring representations, with potential applications in representation learning.
