English

SVD Provably Denoises Nearest Neighbor Data

Data Structures and Algorithms 2026-04-07 v1

Abstract

We study the Nearest Neighbor Search (NNS) problem in a high-dimensional setting where data lies in a low-dimensional subspace and is corrupted by Gaussian noise. Specifically, we consider a semi-random model in which nn points from an unknown kk-dimensional subspace of Rd\mathbb{R}^d (kdk \ll d) are perturbed by zero-mean dd-dimensional Gaussian noise with variance σ2\sigma^2 per coordinate. Assuming the second-nearest neighbor is at least a factor (1+ε)(1+\varepsilon) farther from the query than the nearest neighbor, and given only the noisy data, our goal is to recover the nearest neighbor in the uncorrupted data. We prove three results. First, for σO(1/k1/4)\sigma \in O(1/k^{1/4}), simply performing SVD denoises the data and provably recovers the correct nearest neighbor of the uncorrupted data. Second, for σ1/k1/4\sigma \gg 1/k^{1/4}, the nearest neighbor in the uncorrupted data is not even identifiable from the noisy data in general, giving a matching lower bound and showing the necessity of this threshold for NNS. Third, for σ1/k\sigma \gg 1/\sqrt{k}, the noise magnitude σd\sigma\sqrt d significantly exceeds inter-point distances in the unperturbed data, and the nearest neighbor in the noisy data generally differs from that in the uncorrupted data. Thus, the first and third results together imply that SVD can identify the correct nearest neighbor even in regimes where naive nearest neighbor search on the noisy data fails. Compared to \citep{abdullah2014spectral}, our result does not require σ\sigma to be at least an inverse polynomial in the ambient dimension dd. Our analysis uses perturbation bounds for singular spaces together with Gaussian concentration and spherical symmetry. We also provide empirical results on real datasets supporting our theory.

Keywords

Cite

@article{arxiv.2604.03831,
  title  = {SVD Provably Denoises Nearest Neighbor Data},
  author = {Ravindran Kannan and Kijun Shin and David Woodruff},
  journal= {arXiv preprint arXiv:2604.03831},
  year   = {2026}
}

Comments

Accepted at ICLR 2026

R2 v1 2026-07-01T11:54:02.470Z