FlashDiffusion: Fused Tiled Kernel Spectral Decomposition
Anonymous authors
ICLR 2027
TL;DR. FlashDiffusion scales dense diffusion maps with matrix-free GPU tiling, adaptive bandwidth selection, and Lanczos eigensolvers.
Abstract. Diffusion maps, and kernel methods more generally, provide an interpretable nonlinear spectral representation basis for geometric learning. In the geometric limit, small bandwidth, these matrices tend to be high rank and thus require materializing dense Gaussian kernels requires memory. We introduce \textsc{FlashDiffusion}, a matrix-free method that evaluates dense Gaussian kernel blocks in fused GPU tiles and couples the eigensolver to an empirical -flow that selects the finite-sample resolution scale. A continuation over sample size and bandwidth warm-starts increasingly expensive spectral solves from coarser resolutions.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 24 Nov 2026, 16:52 UTC.
- Rating
- 1/4
- Confidence
- 2/4
- Soundness
- 1/3
- Presentation
- 1/3
- Informativeness
- 1/3
Read review
Summary
In this paper, the authors observe that kernel matrix is too large to be stored or computed. Therefore, they propose to adopt a matrix-free method to avoid storing the whole matrix. However, since the authors do not provide clear experimental evaluation and methodology discussion, I cannot understand how this method can advance the state of the art.
Strengths
S1: Storing kernel matrix is definitely the bottleneck in many tasks of kernel methods. This has also been studied extensively in the literature.
S2: It sounds interesting to avoid storing the kernel matrix in the machine learning tasks because this approach can potentially avoid the time and space.
Weaknesses
W1: The authors do not provide the clear problem definition for what they want to solve. Do they want to optimize the time or space (or both)? Which task do they intend to handle? Without clear definition, I cannot understand this paper.
W2: To my understanding, I can only see that the authors only demonstrate the performance of their methods. No competitor has been provided for comparison.
W3: There is a lack of experimental comparison in this work. Many kernel matrix compression techniques and feature approximation techniques have been proposed in the literature. Howeer, the authors do not have any comparison in the experimental evaluation. Therefore, I cannot judge whether it can really advance the state of the art.
W4: I do not know how this method can be applied to some machine learning task. I think the authors should provide some case studies for illustration.
Questions for the authors
Q1: What is the optimization objective of this work? (Reducing the time/space or both.)
Q2: Is there any formal problem definition?
Q3: Can kernel matrix compression/feature approximation methods be used as competitors?
Q4: Can the authors provide the case study to illustrate whether the proposed method can be adopted in some machine learning tasks?
2 comments
Reply to the comment
I have read the rebuttal. However, I still think the authors do not address (or partially address) my comments. As an example, they still do not provide any new experimental results related to W3. As another example, the reply is too brief related to my comment regarding the case studies (W4). Therefore, I do not change the scores.
- Rating
- 1/4
- Confidence
- 3/4
- Soundness
- 3/3
- Presentation
- 1/3
- Informativeness
- 1/3
- Flag for ethics review
- Yes
Read review
Summary
This manuscript proposes computing relevant eigenpairs for diffusion maps via a "matrix free" (in the sense that the full matrix is never materialized) method for computing the requisite matrix vector products. This is coupled with an efficient method for identification of a reasonable bandwidth parameter.
Strengths
None
Weaknesses
There are two fundamental issues with this manuscript.
First, it is not clear that there is a substantive contribution here. As alluded to by appendix B there are existing codes/methods (e.g., KeOps) that achieve the same goal and there is no convincing argument that the presented method is, in any way, preferable. While the parameter sweep is structured sensibly for the computational problem and warm-starts can make sense, it is not clear there is anything particularly interesting added over prior work.
The second issue is that the manuscript is essentially one large non-sequitur. There is no flow, a concrete statement of the problem being solved is never really provided, details are introduced haphazardly and for seemingly no reason or out of order (e.g., at the top of page four "first term" of what). This is perhaps best exemplified by the random, out of place comment at the bottom of page three about how something "is retained for API compatibility."
Relevant to the above is that the manuscript is ripe with "Cladueisms" (replace with whatever model was actually used) to the point of being distracting. I have no issue with the use of LLM tools if the resulting manuscript is well written and structured, but this one is not. Notably, the required AI disclosure is not present.
Questions for the authors
None
Ethics concerns
Lack of an AI disclosure (as is required for all manuscripts) for what is, in my estimation, a nearly entirely LLM written manuscript.
2 comments
We thank the reviewer for the frank assessment.
AI disclosure. The reviewer is right that the original submission omitted the required disclosure; this was our error. The revision includes it (§4): we used Claude Opus for [describe accurately, e.g. "drafting and editing prose, debugging code, and suggesting related literature"]. The authors checked every derivation, line of code and reference, and take full responsibility for the content.
Presentation. We agree the original lacked a clear structure. The revision is rewritten around a stated problem (§1): given data and a normalization, select the bandwidth and compute the leading eigenpairs of the exact diffusion operator in memory.
Contribution. We agree that matrix-free evaluation is not new, and the revision says so: KeOps, GPyTorch and EigenPro are cited in §1, and Appendix B shows our primitive matches KeOps. Our contribution is unsupervised bandwidth selection by the Dirichlet energy, with an analytic gradient, and its coupling to a warm-started continuation. On a Swiss roll with analytic eigenfunctions, the selected bandwidth recovers the harmonics with , against at another stationary point.
I have perused the revision and the authors’ responses. While minor improvements have been made they do no appreciably address my concerns with the manuscript.
- Rating
- 2/4
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 3/3
Read review
Summary
Diffusion maps require the dense Gaussian kernel, whose memory is prohibitive at large , and a bandwidth that sets how many eigenmodes are resolved. The paper computes kernel blocks on the fly in GPU tiles that feed a block Lanczos solver, as in FlashAttention and KeOps. Its proposed "-flow" doubles from a variance-based estimate, solves for the requested eigenpairs at each step, and stops at the minimum of a potential that sums a spectral bias term, a finite-sample term, and a barrier against the leading spectral gap reaching floating-point precision. Subsample solves can warm-start larger ones. Experiments cover four million points on a flat six-torus with known eigenfunctions and 256 modes on 750k alanine-dipeptide configurations, from which a linear decoder recovers the backbone dihedrals with errors below .
Strengths
- Exact dense spectra at the scale of millions of points. The method reaches in h on four GPUs, avoiding a ~70 TB kernel, and computes modes on k configurations in h on eight GPUs (L309–L314, L366–L368).
- Evidence for a high-rank representation. On the alanine dataset, held-out dihedral error keeps falling beyond , from to for and from to for between and , and (L420–L428), consistent with a useful representation beyond a low-rank approximation of the 80-dimensional input (L429–L431). On the dataset, the selected bandwidth recovers the analytic eigenspace to at without access to the ground truth (L255–L257, L354–L355).
- A spectrum-based bandwidth criterion. The median rule, self-tuning bandwidths [1], the kernel-sum criterion [2], and dimension-based selection [3] set from distances, kernel sums, or intrinsic-dimension estimates. The -flow instead scores each bandwidth by the requested eigenvalues, an effective neighbor count, and the Perron gap relative to dtype precision, so the selected adapts to the number of modes, the sample size, and the arithmetic precision.
[1] NeurIPS 2004, Zelnik-Manor, Self-Tuning Spectral Clustering.
[2] IEEE TIP 2008, Coifman, Graph Laplacian Tomography from Unknown Random Projections.
[3] DMKD 2020, Lindenbaum, Gaussian Bandwidth Selection for Manifold Learning and Classification.
Weaknesses
The -flow could be more fully validated. Tiled dense evaluation already exists in KeOps [4], as the conclusion acknowledges (L435–L437) but the introduction omits, so the contribution rests on the -flow. However, all results are reported only at the selected bandwidth. The existing metrics, subspace error on and held-out dihedral error on alanine, could score the other probed bandwidths and those given by the median rule, [1], and [2].
Comparison with approximate methods would strengthen the case for the dense kernel. kNN graphs, Nyström [5], and random Fourier features [6] are not compared in eigenspace error at matched time or memory. Appendix A reports only retained row mass (L796–L798), and Appendix B compares with KeOps only in a timing plot, concluding that both "achieve similar results" (L946).
Ablations would isolate the role of the ladder and the potential. The ladder, which the paper names as its difference from prior work (L437–L439), is neither ablated nor used on alanine (L369–L370). The form of , the equal weights, and , (L188) are not justified.
Some reported values need clarification. The value is given both as the runtime exponent (L309) and as the slope of (L345). Eight dyadic probes from reach at most , not (L371). No code is provided.
[4] JMLR 2021, Charlier, Kernel Operations on the GPU, with Autodiff, without Memory Overflows.
[5] NeurIPS 2000, Williams, Using the Nyström Method to Speed Up Kernel Machines.
[6] NeurIPS 2007, Rahimi, Random Features for Large-Scale Kernel Machines.
Questions for the authors
- The -flow targets the largest bandwidth at which the requested spectrum remains resolvable (L251–L253), but the benefit of this choice is not measured. On alanine, is selected after eight probes and remains admissible (L371–L372), while decoder errors are reported only at . What are the held-out dihedral errors at the earlier probes and at ? On , how does the subspace error vary with at fixed , and where do the median rule, [1], and [2] fall on that curve?
- The selection rule requires to fall while or rises (L202–L205), but no term values are reported. Could the authors plot the three terms and their sum against for both experiments and state which term determines ?
- Each probe is a full eigensolve, and the alanine sweep runs at least ten probes, including and (L371–L372). Does the reported s (L367) cover the whole sweep or only the final solve? How many Lanczos iterations does each probe take, and how much do warm starts between probes and the ladder on save compared with cold starts at full ?
1 comment
We sincerely thank the reviewer for the most detailed and constructive review we received; it shaped the revision directly.
We substantially reworked the paper and formalized the -flow: the three-term potential is replaced by a single loss, , the Dirichlet energy, with an analytic gradient and no tunable weights (Q1, Q2). For alanine dipeptide, Table 1 now separates the bandwidth search from the eigensolve for every staging schedule (Q3).
We also thank the reviewer for pointing us to Lindenbaum et al. (DMKD 2020), whose implied dimension is our energy computed on the unnormalized kernel; we will cite and discuss it.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the reviewer for their time and for the clear, direct questions. We agree with the central criticism: the original submission did not state its problem, its competitors or its applications clearly enough.
W1: The authors do not provide the clear problem definition for what they want to solve.
We agree that the original submission did not state the problem clearly. The revised introduction (§1) now does so explicitly. We quote the relevant passages here.:
In summary. in kernel methods we need to solve the bandwidth β>0 (solved by beta-flow) and large N datasets (this is O(N^2) in space (which we solve matrix-free tech.) and O(N^2) in time (solved by using GPUs). caution is its easy to cheat small \beta\to0 implies easy to solve (not our objective).
W2: To my understanding, I can only see that the authors only demonstrate the performance of their methods. No competitor has been provided for comparison.
We (in appendix) compared our matrix-free primitive XGEMM to KeOPs, both methods were on par. Now we also have, a brute-force full-N scan in §2.1 as a reference to the ladder is evaluated against in Table 1.
$\color{red}{\text{W3: There is a lack of experimental comparison in this work. Many kernel matrix compression techniques and feature approximation techniques have been proposed in the literature. Howeer, the authors do not have any comparison in the experimental evaluation. Therefore, I cannot judge whether it can really advance the state of the art.}}$
We agree that the paper should make this comparison explicit. These methods target a different regime from ours, and the revision explains why (§1, App.A).
Low-rank methods (Nyström, RFF) are accurate at small β, but resolving many harmonics requires large β, where the kernel is high-rank and compression discards the higher modes (§1). Our ladder uses Nyström only to warm-start each rung; the final solve is exact.
kNN/ANN methods do not provide a true comparison for reasons listed in (App.A).
Existing scalable kernel solvers (KeOps, EigenPro) leave β to the user; GP frameworks (GPyTorch, gp2Scale) do learn it, but by marginal likelihood, which requires labels. We know of no scalable method that selects β without supervision, so our comparisons are against the same exact operator: KeOps for evaluation (App.B; comparable timings, agreement to ∼10−6 in fp32), and a brute-force scan of 240 bandwidths at full N for the ladder (\S2.1, Table~1). We will add a quantitative comparison against Nyström and random features in the final version.
W4: I do not know how this method can be applied to some machine learning task. I think the authors should provide some case studies for illustration.
Our primary experiment in the past and current work was Alanine-Dipeptide for use in Molecular Dynamics (MD) simulations. Dynamical systems more generally, finding exact harmonics on empirical data.
Q1: What is the optimization objective of this work? (Reducing the time/space or both.)
Eq. 1 and 2 of the revised work.
Q2: Is there any formal problem definition?
Our objective is to find the "best" harmonics of a kernel matrix. We define "best" as given: X⊂RD and α, find β⋆, the largest-β local maximum of E(β) before the graph fissions. The leading k eigenpairs of Pα,β⋆ satisfying ∥Pψj−λjψj∥2≤ε, using O(ND+Nk) memory and no approximation of the kernel.
Q3: Can kernel matrix compression/feature approximation methods be used as competitors?
Yes. Low-rank methods are accurate at small β, and our ladder in fact uses the Nystr"om extension to warm-start each rung; but at the β⋆ needed to resolve many harmonics the kernel is high-rank, so we keep the exact operator for the final solve (\S1, App.~A).
Q4: Can the authors provide the case study to illustrate whether the proposed method can be adopted in some machine learning tasks?
See W4.