Leverage Score Sampling Overview
- Leverage Score Sampling is a method that uses projection metrics to select data points based on their influence in the underlying subspace.
- It reduces problem size for tasks like least squares and kernel regression while preserving essential spectral and geometric structures.
- Extensions to ridge regularization, neural tangent kernels, and dynamic data enable scalable learning across diverse applications.
Searching arXiv for recent and foundational papers on leverage score sampling to ground the article. Leverage score sampling is a family of importance-sampling methods that select rows, columns, data points, features, or neurons according to quantities derived from projection matrices or their regularized analogues. In its classical matrix form, the statistical leverage score of a row measures how strongly that row participates in the relevant subspace of the data matrix, and leverage-based sampling yields smaller sketches that preserve the geometry of the original problem for least squares and related tasks (Lee et al., 2020). Subsequent work extends this principle to ridge-regularized kernel methods, random features, neural tangent kernels, active learning, distributed optimization, generative modeling, streaming algorithms, and explainable machine learning, with the common goal of biasing computation toward directions that are structurally important rather than uniformly frequent (Chen et al., 2021).
1. Classical definition and geometric interpretation
For a data matrix , with rows , the statistical leverage scores are defined through the orthogonal projector onto the column space of . Writing
the -th leverage score is
If is a thin singular value decomposition, then and
These scores lie in , sum to 0, and the coherence is 1 (Lee et al., 2020).
This formulation identifies leverage as a measure of alignment with the principal subspace. High-leverage rows contain directions that are poorly represented by other rows; low-leverage rows are near-redundant. The same interpretation appears in matrix and kernel settings: ALEVS defines leverage scores for a symmetric positive semidefinite kernel matrix 2 using the top 3 eigenvectors 4, with
5
so a point has high leverage when it strongly participates in the top 6 eigendirections of the kernel matrix (Orhan et al., 2015).
Leverage score sampling converts these scores into a probability distribution. In the matrix case,
7
Sampling rows according to 8 and rescaling each selected row by 9 produces a sketch 0 that preferentially retains high-leverage structure while reducing the problem size (Lee et al., 2020). A closely related deterministic variant selects the columns with the largest leverage scores until their cumulative mass exceeds a threshold, and can achieve relative-error guarantees under a power-law decay assumption on leverage scores (Papailiopoulos et al., 2014).
2. Matrix sketching, regression, and deterministic variants
Leverage score sampling originated in numerical linear algebra and theoretical computer science, where it underlies randomized algorithms for least squares, low-rank approximation and CUR decompositions, linear programming, semidefinite programming, graph sparsification, maximum matching, max-flow, and random spanning trees (Lee et al., 2020). The common pattern is to replace a large matrix or graph by a sampled and rescaled subset whose spectral or geometric properties approximate the original.
For overdetermined least squares,
1
one forms a sampling matrix 2, obtains 3 and 4, and solves
5
With high probability, leverage-score-based sampling yields a solution 6 satisfying
7
when 8 or 9 (Lee et al., 2020). These sketches also preserve quadratic forms and spectral structure through subspace embedding bounds of the form 0.
Deterministic leverage-score selection replaces randomized sampling by thresholding the largest rank-1 leverage scores 2. If the selected columns capture all but 3 of the total leverage, then
4
and under power-law decay of the leverage scores, the number of selected columns is polynomial in 5 and 6 (Papailiopoulos et al., 2014). This provides relative-error guarantees in both Frobenius and spectral norm for a purely deterministic column subset selection rule.
Ridge leverage scores regularize the classical notion by replacing 7 with 8. For a matrix 9, the ridge leverage score of column 0 is
1
A deterministic ridge leverage score sampler selects columns until the leftover ridge leverage mass is below 2, producing a column subset 3 that satisfies additive-multiplicative spectral bounds, 4 error column subset selection, 5 error projection-cost preservation, and a 6 bound on statistical risk for ridge regression under the prescribed regularization (McCurdy, 2018). This suggests a direct connection between leverage-based sampling and sparse, interpretable feature selection in regularized regression.
A separate line of work uses leverage-aware sampling to accelerate iterative solvers rather than merely reduce matrix dimension. For regression 7, leverage-score sampling combined with proximal point methods and accelerated coordinate descent yields a running time
8
improving over the previous 9, where 0 and 1 is the maximum number of non-zero entries in a row of 2 (Agarwal et al., 2017). In that framework, leverage scores act as a preconditioning device that balances coordinate-wise smoothness constants.
3. Ridge leverage scores in kernel methods and random features
In kernel ridge regression, with kernel matrix 3, labels 4, and regularization 5, one solves
6
or equivalently predicts at a new point 7 via
8
The cubic cost of forming 9 motivates random feature and Nyström approximations (Lee et al., 2020).
For kernels admitting a random feature representation
0
ridge leverage scores quantify the importance of random features relative to the regularized kernel matrix. Defining
1
the ridge leverage function is
2
Its total mass
3
is the statistical dimension of 4 at regularization 5 (Lee et al., 2020).
Sampling random features according to
6
and reweighting by 7 yields a feature matrix 8 satisfying the spectral approximation
9
with 0 samples, rather than a feature count tied directly to 1 (Lee et al., 2020). This extends earlier Fourier-feature results to any kernel representable as an expectation over finite-dimensional features, including random Fourier features, dot-product kernels, and neural tangent kernels (Lee et al., 2020).
A separate line investigates approximation of the diagonal entries of
2
which are the statistical leverage scores for KRR in Nyström methods. For stationary kernels, an analytic approximation uses the input density 3 and the spectral density 4 of the kernel. The central approximation is
5
which approximates the rescaled leverage score 6 in large samples (Chen et al., 2021). This gives a linear-time, modulo poly-log terms, algorithm for stationary-kernel-based KRR, with asymptotic relative error guarantees and Nyström risk guarantees matching full KRR up to constants (Chen et al., 2021). Conceptually, it shows that leverage-score non-uniformity is governed by local input density and kernel smoothness.
Random-feature leverage scores can also be approximated empirically. Given 7 candidate features and 8 data points, the empirical matrix
9
induces a discrete distribution
0
Sampling features from this empirical leverage distribution yields improved out-of-sample performance over vanilla Monte Carlo sampling, with a generalization bound that separates a kernel approximation term from a spectral term involving the smallest eigenvalue of the feature Gram matrix 1 (Shahrampour et al., 2019). This suggests a trade-off: increasing the initial feature pool improves approximation of the target kernel but can worsen conditioning in feature space.
4. Neural tangent kernels and neural-network initialization
Leverage score sampling has been extended to deep learning theory through the neural tangent kernel (NTK). For a two-layer ReLU network
2
with fixed second-layer weights 3, the NTK with respect to 4 can be written for two-layer ReLU as
5
Thus the NTK is a kernel of the same random-feature form addressed by generalized leverage score sampling (Lee et al., 2020).
From this viewpoint, finite-width network initialization selects a finite set of random features that approximates the continuous NTK. The initial kernel 6 is a Monte Carlo approximation of the continuous NTK matrix 7. Replacing Gaussian initialization by leverage-score-based initialization samples first-layer weights from
8
and reweights neurons by 9 (Lee et al., 2020). Under this initialization,
0
with 1 neurons (Lee et al., 2020).
The same work establishes equivalence between 2-regularized training of a two-layer ReLU network and NTK kernel ridge regression under both classical Gaussian initialization and leverage-score-based initialization (Lee et al., 2020). For Gaussian initialization, the neural network predictions converge to the NTK KRR solution in the infinite-width limit, on both training data and test points, under appropriate width and gradient-flow assumptions. With leverage-score-based initialization, an analogous training-data equivalence theorem holds, with the theoretical advantage that the required width can scale with the statistical dimension 3 rather than a worst-case dimension (Lee et al., 2020).
This suggests a reinterpretation of initialization in the NTK regime: initialization is not merely a random seed but a feature-sampling mechanism. Under that interpretation, leverage score sampling identifies neurons that are important for approximating the regularized NTK, thereby reducing the width needed to emulate NTK ridge-regression dynamics (Lee et al., 2020).
5. Sampling data points, coalitions, and partitions
Leverage score sampling has also been adapted to settings where the sampled objects are data points, active-learning queries, Shapley coalitions, or data partitions rather than matrix rows in a classical least-squares sketch.
In active learning, ALEVS computes leverage scores on class-specific kernel matrices. At each round, a classifier 4 partitions data into predicted-positive and predicted-negative subsets; for each class-specific kernel matrix, the top 5 eigenvectors are computed, and the leverage score of point 6 is
7
The query rule is deterministic: 8 On ten binary classification tasks, ALEVS outperforms the baselines on most datasets for a substantial portion of the query range, particularly in early iterations, while class-wise leverage scores outperform leverage scores computed on all data at once (Orhan et al., 2015). The method is structure-based rather than margin-based: it queries points that are influential in the top eigenspaces of their predicted class manifolds.
In explainable machine learning, Leverage SHAP formulates Shapley value estimation as a linearly constrained weighted least-squares problem and applies leverage score sampling to the projected design matrix arising in Kernel SHAP. After reducing the constraint, the projected matrix 9 has analytically tractable leverage scores: 00 for any coalition indicator 01 with 02 (Musco et al., 2024). Thus the leverage score depends only on coalition size, and the total leverage mass is identical across each size level. This induces a sampling rule that first chooses a subset size uniformly from 03 and then chooses a coalition uniformly within that size class. Combined with paired sampling and without-replacement selection, the resulting Leverage SHAP algorithm estimates Shapley values with
04
model evaluations in expectation while providing non-asymptotic regression-error guarantees and an 05-error bound for the Shapley vector (Musco et al., 2024).
In distributed optimization, weighted leverage score sampling is performed on data partitions rather than individual rows. Given row-level leverage probabilities 06, partition-level probabilities are defined by aggregation: 07 The algorithm samples 08 partitions with replacement according to 09, records multiplicities in a weight vector 10, rescales selected partitions by 11, and integrates these weights into a gradient coding scheme via a modified coding matrix 12 (Charalambides et al., 2020). A central theorem shows that the resulting weighted coded gradient coincides with the gradient of the leverage-score-sketched objective, thereby preserving approximation guarantees while maintaining straggler resilience (Charalambides et al., 2020).
These examples illustrate that leverage score sampling is not restricted to classical row-sketching. The sampled objects may be data instances, feature functions, neurons, coalitions, or partitions, provided there is a projection-based or ridge-regularized notion of influence that can be translated into a sampling distribution.
6. Generative modeling, continual learning, and streaming settings
Several later developments use leverage scores to bias learning toward rare, informative, or dynamically updated structure.
For complete mode coverage in generative adversarial networks, ridge leverage scores are used to reweight the empirical data distribution so that underrepresented modes are sampled more frequently during GAN training. Given a feature map 13, kernel matrix 14, covariance 15, and ridge parameter 16, the ridge leverage scores are
17
Training samples are then drawn with probability
18
The paper studies Gaussian-kernel feature maps, fixed explicit feature maps from a pre-trained network, and discriminator-based feature maps recomputed online (Schreurs et al., 2021). On Ring, Grid, unbalanced MNIST, and unbalanced CIFAR10 setups, leverage-score sampling improves mode coverage and often improves FID and Inception Score relative to standard baselines; discriminator-based or classifier-based feature maps produce especially strong rebalancing of minority modes (Schreurs et al., 2021). A plausible implication is that leverage scores identify minority-mode points because those points occupy sparse or structurally distinct regions in feature space.
In continual learning, online leverage score sampling maintains a fixed-size buffer of examples across tasks. At each task, the current sketch 19 is concatenated with the new task data 20, the SVD of the enlarged matrix is computed, leverage scores
21
are formed, and 22 rows are sampled without replacement with probabilities proportional to the normalized scores. The retained sketch then serves as the training set for the next stage (Teng et al., 2019). This uses leverage scores as a criterion for which examples to remember and which to forget, with the rationale that high-leverage samples preserve the covariance structure of all data seen so far. On Rotated MNIST, Permuted MNIST, and Incremental CIFAR-100, the method is competitive with GEM and more efficient in wall-clock time than replay methods with more expensive gradient constraints (Teng et al., 2019).
In the turnstile streaming model, leverage-score ideas are generalized to 23 settings. For 24, the 25 leverage score of row 26 is
27
The paper first develops an 28 sampler for row norms under arbitrary turnstile updates, based on randomized scaling and CountSketch, and then converts it into an 29 leverage score sampler through preconditioning with an 30 well-conditioned basis 31 (Munteanu et al., 2024). The resulting sketch returns sampled indices, slightly perturbed sampled rows 32, and approximate inclusion probabilities, enabling simulation of leverage-score-based coreset constructions for 33, logistic, ReLU, and probit-like regression in turnstile streams (Munteanu et al., 2024). Notably, for logistic regression the framework yields the first turnstile-stream algorithm achieving a 34-approximation with polynomial sketch or subsample size (Munteanu et al., 2024).
These developments shift the role of leverage scores from static matrix compression to dynamic data management: rare modes are oversampled, important past examples are retained, and high-sensitivity rows are extracted from fully dynamic streams.
7. Dependence structures, efficiency, and broader significance
A recurring theme in recent work is that leverage-based marginals can be combined with nontrivial dependence structures or domain-specific approximations without losing theoretical control.
In active learning for linear regression, dependent leverage score sampling via pivotal sampling preserves leverage-based marginals while enforcing negative dependence and spatial coverage. If the sampling distribution is 35-homogeneous, has marginals proportional to leverage scores, and satisfies a one-sided 36-independence condition, then linear functions can still be actively learned with 37 samples, matching independent sampling (Shimizu et al., 2023). For polynomial regression on an interval, the pivotal method improves this to 38 samples (Shimizu et al., 2023). Empirically, the method reduces the number of samples needed to reach a target accuracy by up to 39, which the authors attribute to improved spatial coverage relative to independent leverage sampling (Shimizu et al., 2023). This suggests that leverage score sampling need not be independent to retain subspace-embedding behavior.
In high-dimensional geometric optimization, leverage score sampling has been used for the minimum volume covering ellipsoid problem. A deterministic top-leverage subset of rows of the data matrix 40 is selected until the cumulative leverage mass exceeds 41; the resulting sampled matrix 42 satisfies
43
which yields explicit bounds on the D-optimal design objective and allows the overall complexity to drop from 44 to 45 under power-law decay of leverage scores (Harris et al., 2024). Here leverage scores play a geometric role: points with high leverage are also those most important for the enclosing ellipsoid.
Across these domains, several limitations recur. Exact ridge leverage functions are often expensive to compute because they require access to 46 or its inverse; in NTK settings, the true leverage distribution is primarily of theoretical interest because approximating it remains costly (Lee et al., 2020). In active learning, ALEVS provides no formal label-complexity guarantee and can be computationally heavy because eigendecompositions are repeated every round (Orhan et al., 2015). In GAN training, effectiveness depends strongly on the chosen feature map and incurs additional cost from repeated leverage-score computation or dimension reduction (Schreurs et al., 2021). In kernel methods, analytic approximations are currently specialized to stationary kernels and moderate-dimensional regimes (Chen et al., 2021). In turnstile 47 streaming, polynomial dependence on 48 and 49 remains substantial, and extending small-sketch guarantees to 50 faces lower bounds (Munteanu et al., 2024).
Even with these limitations, a unifying pattern is evident. Leverage scores, whether classical, ridge-regularized, empirical, continuous, or 51-generalized, measure how much a sampled object contributes to the effective subspace or function class relevant to the task. Sampling according to those scores yields approximation guarantees that depend on effective rank, statistical dimension, or leverage decay rather than on ambient problem size. In this sense, leverage score sampling functions as a common principle linking matrix sketching, kernel approximation, neural tangent theory, active data acquisition, robust distributed learning, mode-balanced generative modeling, continual learning, and dynamic-stream coresets (Lee et al., 2020).