<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>Guillaume Guex</title>
<link>https://guillaumeguex.ch/research/</link>
<atom:link href="https://guillaumeguex.ch/research/index.xml" rel="self" type="application/rss+xml"/>
<description>Papers and short notes about my research, written for colleagues who are not specialists.</description>
<image>
<url>https://guillaumeguex.ch/assets/profile.jpg</url>
<title>Guillaume Guex</title>
<link>https://guillaumeguex.ch/research/</link>
</image>
<generator>quarto-1.9.36</generator>
<lastBuildDate>Tue, 10 Nov 2026 00:00:00 GMT</lastBuildDate>
<item>
  <title>The Kernel Inner Product Space: Dimensionality Reduction as Kernel Alignment</title>
  <dc:creator>Guillaume Guex</dc:creator>
  <link>https://guillaumeguex.ch/research/kernel_alignment/</link>
  <description><![CDATA[ 





<div class="callout callout-style-simple callout-note">
<div class="callout-body d-flex">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-body-container">
<p><strong>Published in <em>Transactions on Machine Learning Research</em> (11/2026).</strong> Paper, reviews and discussion on <a href="https://openreview.net/forum?id=UxUdmXFV0Z">OpenReview</a>; code, zoo of methods, gallery and tutorial on <a href="https://github.com/gguex/rv_dimred">GitHub</a> (MIT licence). The paper holds the statements and the proofs; this page gives the idea, then the abstract and how to cite.</p>
</div>
</div>
</div>
<section id="the-idea-in-five-paragraphs" class="level2">
<h2 class="anchored" data-anchor-id="the-idea-in-five-paragraphs">The idea in five paragraphs</h2>
<p><strong>The problem.</strong> 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.</p>
<p><strong>The idea.</strong> The paper looks at both families through their <em>kernels</em>, 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 <em>input kernel</em>, the target, which says what should be preserved. An embedding is represented by an <em>output kernel</em>, computed from its coordinates by an <em>output similarity</em>: 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 <img src="https://latex.codecogs.com/png.latex?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.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://guillaumeguex.ch/research/kernel_alignment/figures/kernel_geometry_overview.png" class="img-fluid figure-img" alt="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."></p>
<figcaption>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 <img src="https://latex.codecogs.com/png.latex?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 (<img src="https://latex.codecogs.com/png.latex?JJ%5E*g">), not necessarily along the orthogonal projection of the gradient <img src="https://latex.codecogs.com/png.latex?g">.</figcaption>
</figure>
</div>
<p><strong>The linear case.</strong> 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 <img src="https://latex.codecogs.com/png.latex?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 <img src="https://latex.codecogs.com/png.latex?%5Cmathrm%7BRV%7D_%7B%5Cmax%7D(q)">, can be computed before any optimization, and it is an exact ceiling on what any linear embedding in <img src="https://latex.codecogs.com/png.latex?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.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://guillaumeguex.ch/research/kernel_alignment/figures/spectral_gallery.png" class="img-fluid figure-img" alt="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."></p>
<figcaption>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.</figcaption>
</figure>
</div>
<p><strong>The non-linear case, and mixtures.</strong> 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 <a href="https://github.com/gguex/rv_dimred#a-zoo-of-methods">code repository</a> 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 <em>supervised interpolation</em>: 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.</p>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://guillaumeguex.ch/research/kernel_alignment/figures/interpolation_scatter.png" class="img-fluid figure-img" alt="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."></p>
<figcaption>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, <img src="https://latex.codecogs.com/png.latex?n%20=%202000">) and on single-cell data (bottom, <img src="https://latex.codecogs.com/png.latex?n%20=%202638">).</figcaption>
</figure>
</div>
<div class="callout callout-style-simple callout-note callout-titled" title="The numbers behind the picture">
<div class="callout-header d-flex align-content-center collapsed" data-bs-toggle="collapse" data-bs-target=".callout-1-contents" aria-controls="callout-1" aria-expanded="false" aria-label="Toggle callout">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
<span class="screen-reader-only">Note</span>The numbers behind the picture
</div>
<div class="callout-btn-toggle d-inline-block border-0 py-1 ps-1 pe-0 float-end"><i class="callout-toggle"></i></div>
</div>
<div id="callout-1" class="callout-1-contents callout-collapse collapse">
<div class="callout-body-container callout-body">
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://guillaumeguex.ch/research/kernel_alignment/figures/supervised_interpolation_figure.png" class="img-fluid figure-img" alt="Four line charts: ARI and trustworthiness as functions of the dial beta, for MNIST and single-cell data, train and test curves."></p>
<figcaption>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 β.</figcaption>
</figure>
</div>
</div>
</div>
</div>
<div class="quarto-figure quarto-figure-center">
<figure class="figure">
<p><img src="https://guillaumeguex.ch/research/kernel_alignment/figures/montage_mnist_tsne.png" class="img-fluid figure-img" alt="Grid of twenty-five scatter plots of MNIST embeddings, five perplexities by four exponents plus a reference column, each coloured by digit."></p>
<figcaption>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.</figcaption>
</figure>
</div>
<p><strong>What the method does not do, and where to read more.</strong> 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 <img src="https://latex.codecogs.com/png.latex?n">, so it stops at a few thousand points. The paper, its reviews and the discussion are on <a href="https://openreview.net/forum?id=UxUdmXFV0Z">OpenReview</a>; the code is on <a href="https://github.com/gguex/rv_dimred">GitHub</a>, with a zoo of methods, a gallery and a tutorial.</p>
</section>
<section id="abstract" class="level2">
<h2 class="anchored" data-anchor-id="abstract">Abstract</h2>
<p>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 <em>kernels</em>, 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 <em>RV coefficient</em>, a cosine between matrices. Dimensionality reduction thus becomes a search for the best alignment between the input kernel and the output kernels that a <img src="https://latex.codecogs.com/png.latex?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 <img src="https://latex.codecogs.com/png.latex?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.</p>
</section>
<section id="links" class="level2">
<h2 class="anchored" data-anchor-id="links">Links</h2>
<ul>
<li><strong>Paper</strong>: <a href="https://openreview.net/forum?id=UxUdmXFV0Z">OpenReview forum</a>, with the published PDF, the reviews and the author responses.</li>
<li><strong>Code</strong>: <a href="https://github.com/gguex/rv_dimred">gguex/rv_dimred</a> on GitHub, under the MIT licence. The README presents the zoo of methods, a gallery of embeddings and a tutorial.</li>
</ul>
</section>
<section id="how-to-cite" class="level2">
<h2 class="anchored" data-anchor-id="how-to-cite">How to cite</h2>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode bibtex code-with-copy"><code class="sourceCode bibtex"><span id="cb1-1"><span class="va" style="color: #111111;
background-color: null;
font-style: inherit;">@article</span>{<span class="ot" style="color: #003B4F;
background-color: null;
font-style: inherit;">guex2026the</span>,</span>
<span id="cb1-2">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">title</span>={The Kernel Inner Product Space: Dimensionality Reduction as Kernel Alignment},</span>
<span id="cb1-3">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">author</span>={Guillaume Guex},</span>
<span id="cb1-4">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">journal</span>={Transactions on Machine Learning Research},</span>
<span id="cb1-5">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">issn</span>={2835-8856},</span>
<span id="cb1-6">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">year</span>={2026},</span>
<span id="cb1-7">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">url</span>={https://openreview.net/forum?id=UxUdmXFV0Z},</span>
<span id="cb1-8">  <span class="dt" style="color: #AD0000;
background-color: null;
font-style: inherit;">note</span>={}</span>
<span id="cb1-9">}</span></code></pre></div></div>


</section>

 ]]></description>
  <category>Paper</category>
  <category>Dimensionality Reduction</category>
  <category>Kernels</category>
  <guid>https://guillaumeguex.ch/research/kernel_alignment/</guid>
  <pubDate>Tue, 10 Nov 2026 00:00:00 GMT</pubDate>
  <media:content url="https://guillaumeguex.ch/research/kernel_alignment/figures/spectral_gallery.png" medium="image" type="image/png" height="72" width="144"/>
</item>
</channel>
</rss>
