Exact Selective Inference for Spectral Clustering via Piecewise-Constant Graph Perturbation
Naotoshi Nakamura
Key points
From the paper's conclusion- We show that, for spectral clustering based on unweighted $\varepsilon$- or $k$-nearest-neighbor graphs, the obstruction is the affinity construction rather than the eigendecomposition.
Abstract
Cluster labels are often used twice: first to discover groups, and then to test whether the discovered groups differ. This double use of the data makes ordinary two-sample $p$-values anti-conservative. Selective inference fixes this by conditioning on the clustering event, but for spectral clustering the event appears difficult because the algorithm combines an affinity map, an eigendecomposition, and a rounding step. We show that, for spectral clustering based on unweighted $\varepsilon$- or $k$-nearest-neighbor graphs, the obstruction is the affinity construction rather than the eigendecomposition. Along the one-dimensional perturbation used by the truncated-$\chi$ selective test, graph changes occur only at finitely many real roots of data-dependent quadratic distance comparisons. Between these breakpoints, the graph, Laplacian spectrum, embedding, rounding, and reported cluster pair are deterministic functions of a finite graph state. Consequently, in real arithmetic and under a known-scale spherical Gaussian model, the selection set is an exact finite union of intervals, yielding finite-sample selective $p$-values for selected spectral-cluster pairs. The same argument gives feature-wise truncated-normal tests. We also record direct extensions to known feature covariance, eigengap-selected $K$, and auxiliary-coordinate graphs. We validate null and partial-null calibration, operational power, numerical sensitivity, and model-scope diagnostics, and give a working-model PBMC algorithmic illustration. Smooth kernels such as RBF affinities fall outside the finite-state guarantee.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Inference after selection on randomized p-valuesarXiv · 2026
- On the Consistency of Spectral Clustering under Generalized Gaussian Mixture ModelsarXiv · 2026
- Finite-Sample Calibration and Power Benchmarks in Two-Sample Random-Integration TestsarXiv · 2026
- A Selective Review of Statistical Significance in Cluster AnalysisMethodology and Computing in Applied Probability · 2026
- A general framework for testing clustering significance and variable-level inference in high-dimensional data.Biometrics · 2026
- ProClust provides reliable statistical significance of clusters for single-cell transcriptomic databioRxiv · 2026