The Kernel Inner Product Space: Dimensionality Reduction as Kernel Alignment

My paper in Transactions on Machine Learning Research (11/2026), explained in five paragraphs for researchers outside machine learning: one space in which the kernels of PCA, Isomap, t-SNE and UMAP can be compared, one criterion to align them, and a zoo of methods that follows. Abstract, links and citation at the end.
Paper
Dimensionality Reduction
Kernels
Author
Affiliation

Guillaume Guex

Department of Language and Information Sciences, University of Lausanne

Published

November 10, 2026

Published in Transactions on Machine Learning Research (11/2026). Paper, reviews and discussion on OpenReview; code, zoo of methods, gallery and tutorial on GitHub (MIT licence). The paper holds the statements and the proofs; this page gives the idea, then the abstract and how to cite.

The idea in five paragraphs

The problem. Reducing dimension means summarizing data described by many variables into a few coordinates, typically a two-dimensional map on which each observation is a point. The methods for doing so fall into two families that hardly speak to each other. Spectral methods such as PCA, kernel PCA or Isomap come from linear algebra: they diagonalize a matrix and have a closed-form solution. Neighbor embeddings such as t-SNE or UMAP come from a different tradition: they minimize a probabilistic divergence between neighborhoods, by iterative descent, with no closed form. Each family has its own objective and its own solver, so a t-SNE map and a PCA map of the same data cannot be compared directly: they do not optimize the same thing, and their scores are not expressed in the same units.

The idea. The paper looks at both families through their kernels, the matrices of pairwise similarities between observations that every method manipulates, explicitly or not. Once centered, all these matrices live in one vector space, and in that space the RV coefficient, a classical measure of agreement between two matrices, is simply a cosine. The data are represented by a fixed input kernel, the target, which says what should be preserved. An embedding is represented by an output kernel, computed from its coordinates by an output similarity: the dot product, or the Student-t function used by t-SNE, for instance. Reducing dimension then becomes a geometric question: among all the output kernels that an embedding in \(q\) dimensions can reach, which one is best aligned with the target? A method is a choice of input kernel and of output similarity, and RV replaces whatever objective the method originally had. To our knowledge, the pair of distinct input and output kernels that neighbor embeddings rely on had not been placed in the geometry of the space of centered kernels, nor studied there.

Two schematic panels: on the left, a cone of reachable kernels and the target kernel outside it, with the nearest point on the cone; on the right, a curved sheet of reachable kernels, the target, the gradient and the velocity induced along the sheet.

Figure 1 of the paper. (a) With a linear output, the reachable kernels form a cone, shown here as a schematic slice; since RV is the cosine of the angle θ with the target \(K_X\), the best embedding is the point of the cone closest to the target. (b) With a non-linear output, the reachable kernels form locally a smooth sheet, and a gradient step on the coordinates moves the kernel along this sheet (\(JJ^*g\)), not necessarily along the orthogonal projection of the gradient \(g\).

The linear case. When the output kernel is the dot product of the coordinates, the reachable kernels are exactly the centered positive semi-definite matrices of rank at most \(q\). This set is a cone, in general not a convex one, and the best alignment on it has a closed form: the classical spectral truncation, that is, the leading eigenvectors of the target. Its RV value, written \(\mathrm{RV}_{\max}(q)\), can be computed before any optimization, and it is an exact ceiling on what any linear embedding in \(q\) dimensions can capture; its square reads as a share of explained variance. In this picture, PCA, kernel PCA and Isomap are not different algorithms but different targets, each aligned with the same cone, and the gallery below is one and the same computation applied six times. Mixing the target with a kernel built from class centroids, with no other change, gives a supervised version of each of them.

Grid of eighteen scatter plots: six spectral methods in columns, three datasets in rows, each panel a two-dimensional embedding coloured by class or by position on the manifold.

Six spectral methods, one computation. Every panel is the best RV alignment of an input kernel with a linear output, in closed form, on three datasets: handwritten digits (MNIST), single-cell gene expression and a Swiss roll. PCA, kernel PCA, Isomap and diffusion maps use eigenvalue-scaled axes and attain the alignment ceiling; LLE and Laplacian eigenmaps use balanced axes and recover the same leading eigenspace without generally attaining it. From the code repository.

The non-linear case, and mixtures. When the output similarity is non-linear, for instance the Student-t function of t-SNE applied to dot products or distances, the reachable kernels no longer form a cone. Around a suitable embedding, small changes of the coordinates reach a smooth sheet of kernels, whose dimension the paper computes, and the gradient of RV with respect to the coordinates becomes a sum of forces between pairs of observations, which is how neighbor embeddings are usually understood. With the Student-t similarity, the force coming from the numerator of RV is a close relative of the attraction in t-SNE, although the two objectives differ: RV alignment uses the kernels of t-SNE and UMAP, not their objectives, and does not reproduce either of them. Because kernels live in a vector space, they can also be mixed linearly, in input and in output, and every input kernel can be paired with every output similarity: the code repository lists nine input kernels and five output similarities, forty-five pairs solved by the same two functions, with mixtures filling the gaps between them. The paper uses one such mixture for a supervised interpolation: a single dial β moves the input kernel from t-SNE’s neighborhood affinities towards a class kernel built from the training labels only, and at the same time moves the output similarity from Student-t to linear.

Two rows of five scatter plots showing embeddings for beta equal to 0, 0.25, 0.5, 0.75 and 1; the clusters of colours become tighter and more separated from left to right.

The supervised interpolation on the training points (Figure 3 of the paper, upper rows). As the dial β goes from 0, the neighborhood affinities of t-SNE, to 1, the class kernel, the classes contract and separate, on MNIST (top, \(n = 2000\)) and on single-cell data (bottom, \(n = 2638\)).

Four line charts: ARI and trustworthiness as functions of the dial beta, for MNIST and single-cell data, train and test curves.

Figure 3 of the paper. ARI (agreement with the classes) and trustworthiness (preservation of neighborhoods) as functions of the dial β, for the training points (solid) and for test points placed afterwards, whose labels are never used (dashed). On single-cell, the ARI of the test points rises from 0.50 to 0.92 between β = 0 and β = 1 while their trustworthiness drops from 0.842 to 0.822; on MNIST it peaks at 0.54 for β = 0.75. The figure shows a trade-off, not an optimal value of β.

Grid of twenty-five scatter plots of MNIST embeddings, five perplexities by four exponents plus a reference column, each coloured by digit.

Outside the paper: the kernels of t-SNE under RV alignment, on MNIST. The input affinity of t-SNE is paired with a Student-t output, for five perplexities (rows) and four softening exponents γ (columns); every panel is Procrustes-aligned to the library t-SNE shown in the last column, with Δ its disparity to it. These embeddings align kernels, they do not optimize the t-SNE objective: the clusters are there, the compactness of t-SNE is not. From the code repository.

What the method does not do, and where to read more. RV alignment is not a replacement for t-SNE or UMAP, and the paper recommends no particular algorithm; which pair of kernels suits a given dataset remains an empirical question. Outside the linear case, the results are local: they describe the reachable kernels and the gradient around a configuration, not a global optimum. RV ignores the scale of a kernel; a penalty on the kernel trace controls it, but it guarantees neither bounded coordinates nor the existence of an optimum. The theory allows arbitrary weights while the experiments use uniform ones, and most of the non-linear experiments optimize a variant of RV without the diagonal, whereas the spectral and regularization theorems are stated for the full coefficient. The experiments themselves are of limited scope, with one training/test split and no supervised baseline for the interpolation, and the dense implementation has quadratic memory and cost in \(n\), so it stops at a few thousand points. The paper, its reviews and the discussion are on OpenReview; the code is on GitHub, with a zoo of methods, a gallery and a tutorial.

Abstract

Dimensionality reduction methods fall into two families, each with its own objectives and solvers: on one side, spectral methods such as PCA, kernel PCA or Isomap; on the other, neighbor embeddings such as t-SNE or UMAP. We study both through their kernels, matrices of pairwise similarities that, once centered, live in a single vector space. The data are represented by a fixed input kernel, and an embedding by an output kernel computed from its coordinates. Their agreement is scored by the RV coefficient, a cosine between matrices. Dimensionality reduction thus becomes a search for the best alignment between the input kernel and the output kernels that a \(q\)-dimensional embedding can reach. A method is then a choice of input kernel and of the way the output kernel is computed, with RV replacing any original objective. Since kernels can also be combined linearly, this view opens up a wide range of methods, all of which maximize one criterion in one space. When the output kernel comes from the dot product of the coordinates (the linear case), the reachable kernels form a generally non-convex cone of low-rank matrices. The best alignment on this cone is the classical spectral truncation, which gives an exact bound on what a linear embedding can capture in \(q\) dimensions. Spectral methods correspond to different input kernels aligned with this same cone, and mixing the input kernel with a kernel of class centroids gives a supervised variant. For non-linear output similarities based on dot products or distances, small changes around a suitable embedding reach a smooth manifold of kernels, whose dimension we compute. The gradient of RV is then a sum of pairwise terms. With the Student-t similarity of t-SNE, the pairwise force from the numerator of RV is a close relative of t-SNE’s attraction, although the two objectives differ. We also show that keeping or removing the kernel diagonal amounts to comparing the off-diagonal entries under two different metrics, and that centering loses no information for similarities with a known fixed diagonal. Finally, since RV ignores the scale of a kernel, we control this scale with a penalty on the kernel trace, which preserves the spectral solution up to scale but does not by itself bound the embedding. Experiments check the main results.

How to cite

@article{guex2026the,
  title={The Kernel Inner Product Space: Dimensionality Reduction as Kernel Alignment},
  author={Guillaume Guex},
  journal={Transactions on Machine Learning Research},
  issn={2835-8856},
  year={2026},
  url={https://openreview.net/forum?id=UxUdmXFV0Z},
  note={}
}