Laplacian Eigenvector Gradient Orthogonalization (LEGO)
- Laplacian Eigenvector Gradient Orthogonalization (LEGO) is a spectral method that estimates tangent spaces by orthogonalizing gradients of low-frequency graph Laplacian eigenvectors.
- It employs a local SVD-based orthogonalization of the gradient matrix, using global spectral geometry to overcome the scale trade-offs inherent in local PCA.
- LEGO shows improved performance in manifold learning, boundary detection, and intrinsic dimension estimation compared to traditional methods.
Laplacian Eigenvector Gradient Orthogonalization (LEGO) is a spectral method for tangent-space estimation on noisy point clouds and sampled manifolds. It was introduced as an alternative to Local PCA (LPCA), with the central premise that tangent directions can be recovered more robustly by orthogonalizing the gradients of low-frequency graph Laplacian eigenvectors than by relying solely on local covariance structure. In this formulation, global spectral geometry is used to guide local differential estimation, and the resulting tangent spaces are reported to improve downstream tasks including manifold learning, boundary detection, and local intrinsic dimension estimation (Kohli et al., 2 Oct 2025).
1. Problem setting and motivation
The target problem is the estimation of tangent spaces from noisy samples of an underlying manifold. The standard baseline is LPCA: for each data point, one finds its -nearest neighbors, computes the local covariance, and uses the top eigenvectors as a tangent basis. The difficulty is the classical scale trade-off: small neighborhoods reduce curvature bias but are noisy, whereas large neighborhoods suppress noise but incur bias from curvature, reach, and nonlinearity. The optimal neighborhood size depends on geometric quantities and noise level that are typically unknown (Kohli et al., 2 Oct 2025).
LEGO replaces this purely local strategy with a spectral one. Its key observation is that graph Laplacian eigenvectors encode global structure of the data, and that the gradients of low-frequency eigenvectors can be used as tangent features. The paper identifies a specific spectral phenomenon: low-frequency Laplacian eigenvectors tend to have gradients aligned with the manifold tangent bundle, while eigenvectors deeper in the spectrum are more likely to vary in normal or noise directions. On that basis, LEGO estimates the tangent space at each point by computing gradients of low-frequency eigenvectors and orthogonalizing them (Kohli et al., 2 Oct 2025).
This changes the locus of regularization. LPCA regularizes by neighborhood size; LEGO regularizes by spectral truncation, through the choice of how many low-frequency eigenvectors are retained. A plausible implication is that LEGO trades local scale sensitivity for spectral model selection.
2. Graph Laplacian construction and spectral coordinates
Let
be the noisy point cloud. The method uses kernel-based graph Laplacians, including the random walk kernel, self-tuned kernel, and doubly stochastic kernel. In the random-walk construction used in the theory section, the Gaussian-kernel adjacency is
with clean-data analogue
The degree variables are
with corresponding degree matrices and . The normalized adjacency matrices are
and the random-walk graph Laplacians are
The method then computes the first 0 eigenvectors of the graph Laplacian and retains the first 1 low-frequency eigenvectors 2 for tangent estimation (Kohli et al., 2 Oct 2025).
The role of these eigenvectors is not to provide a final embedding directly, but to furnish scalar fields whose gradients reflect local geometric directions. In that sense, LEGO uses spectral coordinates as differential probes rather than as clustering coordinates or as a basis for graph signal decomposition.
3. Gradient estimation and orthogonalization
For each eigenvector 3, the objective is to estimate the gradient at each data point: 4 Using the 5-nearest neighbors 6 of 7, LEGO fits a local linear model based on centered neighbors 8 and centered eigenvector values 9: 0
The paper represents the gradient estimate as
1
where 2 is an orthonormal basis for the span of the first 3 Laplacian eigenvectors, and 4 is found by least squares. The optimization problem is
5
subject to
6
Using orthonormality 7, the least-squares solution is
8
so the gradient estimate becomes 9 (Kohli et al., 2 Oct 2025).
At each point 0, the estimated gradients of the retained eigenvectors are stacked into
1
LEGO then computes the singular value decomposition
2
and defines the tangent estimator as the matrix of the top 3 left singular vectors,
4
If 5 is unknown, the method estimates it through an explained-variance threshold: 6 Algorithmically, the procedure is: compute the first 7 Laplacian eigenvectors; estimate gradients of the first 8 low-frequency eigenvectors; stack these gradients into 9; and take the top 0 left singular vectors as the tangent basis (Kohli et al., 2 Oct 2025).
The term “orthogonalization” in LEGO refers to this SVD-based extraction of an orthonormal basis from a matrix of estimated gradients. It is therefore a local orthogonalization of gradient information, not an additional orthogonality condition imposed on the Laplacian eigenvectors themselves.
4. Theoretical basis
The first theoretical justification is differential geometric and is formulated on a tubular neighborhood 1 of a manifold 2. The noisy observations are modeled as lying in the tube, with perturbations in normal directions. The analysis distinguishes the horizontal space, which approximates the true tangent space of the clean manifold, from the vertical space, which corresponds to normal or noise directions. For 3, with 4 denoting derivatives along manifold coordinates and 5 derivatives along normal coordinates, the horizontal and vertical energies are
6
The normalized versions are
7
Theorem 3 is summarized as saying that the Laplacian eigenvalue 8 of an eigenfunction on the tube is controlled by horizontal and vertical energies, with the vertical term weighted more heavily when the tube is thin. After simplification, the paper states that if 9 and suitable bounds on 0 hold, then
1
The stated consequence is that if an eigenfunction has large variation in normal directions, its eigenvalue must be large; therefore, low eigenvalues correspond to eigenfunctions whose gradients are mostly horizontal, hence aligned with the manifold tangent bundle. A converse-type result extends eigenfunctions of the base manifold to the tube with controlled Dirichlet energy, and Corollary 7 ensures the existence of tube eigenfunctions with small vertical energy when the manifold has small eigenvalues (Kohli et al., 2 Oct 2025).
The second justification is random-matrix theoretic and addresses robustness to sub-Gaussian noise. The observed data satisfy
2
where 3 are clean points and 4 are i.i.d. centered sub-Gaussian noise vectors with variance proxy 5, satisfying
6
for all 7. The paper states that this generalizes tubular normal noise when 8 is supported in the normal directions. Under the condition
9
Theorem 10 proves, for large 0, that
1
with high probability. Lemma 11 shows that under bounded support of clean points,
2
with high probability. Theorem 12 gives
3
and Theorem 13 yields
4
with high probability. By Davis–Kahan, if the eigengaps of the clean Laplacian do not shrink too fast, then the eigenvectors of 5 and 6 remain close; Corollary 14 states that for fixed 7, if
8
then
9
up to a sign choice, with high probability (Kohli et al., 2 Oct 2025).
Together, these arguments support the paper’s central claim: low-frequency eigenvectors are geometrically tangent-aligned and statistically stable, while deeper eigenvectors are more sensitive to normal variation and spectral instability.
5. Empirical behavior and downstream tasks
The empirical evaluation compares LEGO against LPCA on noisy synthetic and real datasets. Tangent-space accuracy is measured using principal angles between estimated and true tangent subspaces: 0 The experiments also assess manifold learning or intrinsic parameterization, boundary detection, and local intrinsic dimension estimation (Kohli et al., 2 Oct 2025).
On a high-aspect-ratio Swiss roll, the dataset has 1 points in 2 with additive uniform noise in the normal direction, and LEGO uses 3, 4, and 5. The reported result is that LEGO yields much lower tangent-space discrepancy than LPCA. LPCA degrades rapidly with noise, whereas LEGO remains stable. The downstream effects include better 2D parameterization, better boundary detection, and better local intrinsic dimension estimates. The paper further states that LEGO concentrates variance in the first two principal directions, while LPCA spreads variance into spurious normal directions (Kohli et al., 2 Oct 2025).
On a truncated torus with 6 and heteroskedastic normal noise, LEGO again significantly outperforms LPCA in tangent-space accuracy and in downstream tasks. On the Puppets dataset, a real image dataset with two rotating objects, the data are first reduced by PCA to 7, and tangent spaces are estimated in the 2D torus setting. The reported result is that LEGO produces a coherent torn 2D embedding with correct gluing structure, whereas LPCA yields a less interpretable embedding. LEGO also better concentrates functional variance in the first two directions (Kohli et al., 2 Oct 2025).
The paper also reports a noise-ablation and hyperparameter-robustness study. Tangent-space error versus noise level shows LPCA deteriorating quickly, while LEGO remains robust. LEGO is reported to be stable over a broad range of 8 and 9. A stated limitation is that if 0 is too small on a high-aspect-ratio manifold, the gradients may span only a lower-dimensional subspace; this point is highlighted in the Swiss roll example (Kohli et al., 2 Oct 2025).
6. Relation to adjacent Laplacian-eigenvector methods
LEGO belongs to a broader literature that uses graph Laplacian eigenvectors for geometric inference, but it is methodologically distinct from earlier approaches. One nearby line of work addresses the organization of graph Laplacian eigenvectors themselves. The paper "How can we naturally order and organize graph Laplacian eigenvectors?" argues that graph Laplacian eigenvalues should not generally be interpreted as “frequencies” except on very special graphs such as paths and cycles. It proposes organizing eigenvectors by a transport-based notion of similarity: convert each eigenvector 1 into a probability mass function
2
define pairwise distances using Ramified Optimal Transport, and embed the resulting distance matrix into a low-dimensional Euclidean space using classical MDS. That paper is explicit that it does not develop a separate theory of gradient orthogonalization; the orthogonality present there is only the standard 3-orthogonality of Laplacian eigenvectors, and the organizational principle is transport-based geometry rather than orthogonality (Saito, 2018).
A second adjacent line of work concerns scalable computation of Laplacian eigenvectors for spectral embedding. "Stochastic Gradient Descent for Spectral Embedding with Implicit Orthogonality Constraint" reformulates the standard problem
4
by writing 5 and replacing the constrained formulation with
6
Here orthogonality is handled implicitly through the Cholesky factor 7 of 8, which makes mini-batch stochastic optimization over edges possible. Its objective is scalable spectral embedding and graph clustering, with the rows of the recovered 9 passed to 0-means; it is not a tangent-space estimator based on gradient orthogonalization at each data point (Gheche et al., 2018).
These comparisons clarify two common points of confusion. First, LEGO should not be identified with any use of Laplacian eigenvectors plus an orthogonality operation: in LEGO, the crucial object is the local gradient matrix 1, and the orthogonalization step is its SVD. Second, “low-frequency” in LEGO is tied to the low end of the graph-Laplacian spectrum used for tangent recovery, but adjacent literature shows that graph Laplacian eigenvalues are not universally interpretable as physical frequencies on arbitrary graphs. This suggests that LEGO’s spectral truncation is best understood as a data-geometric selection principle rather than as a direct analogue of Euclidean Fourier frequency ordering.