NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Matrix-Free Stochastic Training of Low-Rank Spectral Graph Learning via Randomized Adaptive Spectral Estimation

Mingqi Yang, Yanming ShenNeurIPS 2026

TL;DR

Spectral Graph Neural Networks (GNNs) are great at seeing the "big picture" across massive networks, but they usually require precomputing expensive graph eigenvectors and processing the entire graph at once. Randomized Adaptive Spectral Estimation (RASE) breaks this bottleneck by replacing exact eigendecomposition with quick, randomized matrix sketches and introducing a clever variance-reduction trick for mini-batch training. The result? You can train flexible, global spectral models on massive graphs in seconds rather than hours, matching the accuracy of exact methods without the computational headache.

What Problem Does This Paper Address?

Standard message-passing GNNs pass notes between immediate neighbors. To learn long-range patterns, you have to stack many layers, which often mushes signals together (oversmoothing) and explodes training costs.

Spectral GNNs bypass this by operating on the graph’s frequencies—allowing a layer to act globally in one step. However, practitioners usually face an annoying trade-off:

  1. Polynomial filters (like ChebNet) avoid heavy preprocessing and train easily in mini-batches, but lock you into rigid, finite-order polynomial approximations.
  2. Explicit spectral-subspace models (like Specformer) give you a compact, low-rank coordinate system ($\mathbf{U}$) where you can apply flexible, transformer-style filters.

The catch with that second option is what the authors call the spectralization–context bottleneck. First, finding the exact basis $\mathbf{U}$ requires running an eigensolver on the whole graph, which can take hours on million-edge networks. Second, using that basis requires a global "spectral context" ($\mathbf{C} = \mathbf{U}^\top \mathbf{H}$), which aggregates hidden states from every node in the graph—dragging you right back into full-batch training.

Table 1: Three requirements for scalable explicit spectral learning. Matrix-free basis means no precomputed original-graph eigenbasis or equivalent spectralization step; flexible response means not restricted to a fixed finite-order polynomial in the graph operator; explicit context in mini-batch means supporting U⊤H inside mini-batch training. Methods that do not maintain such a context are marked –.

Methods

RASE isn't a new GNN architecture; it's a matrix-free, stochastic training framework that makes existing explicit spectral layers scalable. It swaps out the heavy linear algebra for three lightweight ingredients:

  • Randomized Block-Krylov/Ritz Basis: Instead of an exact eigensolver, RASE multiplies a block of random Gaussian "probe" vectors ($\mathbf{\Omega}$) through the sparse graph operator $K$ times (via block Lanczos with reorthogonalization). This builds an orthonormal Ritz basis $\mathbf{Q}_K$ using only fast sparse matrix–vector products. Crucially, RASE treats this basis as a non-differentiable input, completely sidestepping the nightmare of backpropagating through the Lanczos algorithm.
  • Control-Variate Mini-Batch Context Estimator: To train in mini-batches, RASE needs to estimate the global context $\mathbf{Q}_K^\top \mathbf{H}$ from just a batch of nodes. Naive uniform sampling (Horvitz–Thompson estimation) is unbiased, but way too noisy. Here’s the neat trick: RASE reuses the probe alignment computed during basis construction alongside a lazily updated feature sketch ($\mathbf{\Omega}^\top \mathbf{H}$) as a control variate—a deterministic baseline that correlates with the mini-batch noise and cancels out most of the variance for free.
  • Modular Responses & Optional Refresh: Inside this randomized coordinate system, you can plug in whatever learnable filter you want (monomial, Chebyshev, or a transformer-style attention module). You can also periodically refresh the random probes during training, though the authors find a single pass at the start is usually enough.

Datasets

The authors evaluate RASE across 14 standard node-classification benchmarks (no new datasets are introduced):

  • Homophilous graphs (connected nodes share labels): Cora, Citeseer, PubMed, Photo, Computers.
  • Heterophilous graphs (connected nodes differ, requiring non-smooth/high-frequency signals): Chameleon, Squirrel, Actor, Penn94.
  • Large web/social & OGB graphs: Flickr, Reddit, Yelp, ogbn-arxiv, and ogbn-products.

Key Insights and Ideas

  • Orthonormality matters more than exact eigenvectors: The compact algebra of a spectral layer doesn't actually need the true eigenvectors of the graph—it just needs an orthonormal basis that captures the right subspace. RASE proves theoretically that its Krylov/Ritz basis is exact for polynomial actions along the probed directions.
  • Recycling math to kill variance: Building the basis naturally produces an alignment matrix between random probes and Ritz vectors. Realizing this byproduct can double as a variance-reducing control variate for mini-batching is the glue that makes stochastic training work here.
  • One-and-done basis construction: Although RASE supports refreshing its random basis mid-training, experiments show that freezing the initial randomized basis ($\tau = 0$) performs virtually identically to periodic refreshes, saving even more compute.

Key Results

  • Massive Preprocessing Speedups: On PubMed, RASE builds its basis in 15.3 seconds versus 17.1 minutes for an eigensolver (~67$\times$ faster), leading to a 5.6$\times$ end-to-end training speedup. On the 6 largest graphs (like Reddit, Yelp, and ogbn-products), standard eigensolvers time out past a 30-minute budget, whereas RASE finishes basis construction in 3.2 to 33.8 seconds.
Figure 1: Basis-construction cost of RASE versus eigensolver preprocessing. Each row compares the wall-clock time needed to obtain the spectral basis used for training. Hollow eigensolver markers indicate runs that exceeded the 30-minute budget. Numerical detail is in Table 4.
  • Eigenbasis Parity: Wherever the exact eigensolver actually finishes, RASE matches (or slightly beats within seed noise) the exact eigenbasis-trained reference (RASE-Eig), while using less peak GPU memory (e.g., 2.84 GB vs. 5.55 GB on Computers).
  • Strong Heterophilous & Large-Graph Accuracy: RASE shines where non-local, high-frequency signals matter—beating Specformer on Squirrel (64.71% vs. 63.11%) and Chameleon (74.97% vs. 74.72%). At scale, it matches or edges out scalable baselines like GraphFM-GCNII on Flickr (56.39%) and ogbn-arxiv (72.90%), though simpler propagation-only methods like C&S still win on massive homophilous graphs like ogbn-products (85.11% vs. RASE's 78.62%).

Limitations and Future Work

  • Symmetric Operators Only: The current theoretical guarantees assume an undirected graph with a symmetric operator (like a normalized Laplacian) and bounded filters. Extending to directed graphs is left for future work.
  • Memory Overhead: Storing the $n \times p$ basis grows with the chosen rank $p$, requiring more memory than pure neighborhood-sampling methods, and the mini-batch estimator is only reliable when $p \ll n$.
  • Theory-Practice Gap on Full Loop: The authors prove basis exactness and variance reduction as separate primitives rather than giving a unified convergence proof for the entire end-to-end SGD loop, and plan to explore adaptive refresh schedules next.

Summary updated

Abstract

Large-graph spectral learning promises global, trainable propagation beyond local neighborhoods, but explicit spectral layers remain difficult to use in stochastic large-graph training: their bases are commonly obtained by a full-graph spectralization step and their graph-wide contexts are naturally full-batch. Matrix-free polynomial filters avoid eigensolvers and train stochastically, but tie the response to finite propagation bases; explicit spectral-subspace models offer more flexible global responses, but usually pay for full-graph basis construction and context evaluation. We introduce Randomized Adaptive Spectral Estimation (RASE), a matrix-free stochastic training framework for explicit low-rank spectral-context layers. RASE constructs a refreshable randomized block-Krylov/Ritz basis from probe vectors and sparse matrix-vector products, reuses probe-derived summaries as control variates for mini-batch estimates of the spectral context, and keeps the response module replaceable across polynomial, Chebyshev, and transformer-style instantiations. We analyze Krylov/Ritz polynomial-action exactness for the probe-generated subspace and a control-variate variance identity that isolates when the mini-batch context estimator reduces variance. Across 14 node-classification benchmarks, RASE matches its eigenbasis-trained reference within seed noise where the eigensolver is feasible, and trains the same backbone on the largest graphs, where eigensolver preprocessing exceeds a 30-minute budget. The contribution is therefore not a new spectral filter family, but a training route that makes explicit low-rank spectral-context layers matrix-free and mini-batch trainable.
BibTeX
@inproceedings{yang2026matrix,
  author = {Mingqi Yang and Yanming Shen},
  title = {{Matrix-Free Stochastic Training of Low-Rank Spectral Graph Learning via Randomized Adaptive Spectral Estimation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=0F08MV66N8},
}
Figure