Oblivious Sparse Norm-Approximating Projections (OSNAP) for Fast Numerical Linear Algebra
Mathematical Methods AIMech:ObliviousSparseNormApproximatingProjectionsForNumericalLinearAlgebra DRAFT
Aliases: OSNAP, Oblivious Sparse Norm-Approximating Projection, Nelson-Nguyen Sparse Oblivious Subspace Embedding
An Oblivious Sparse Norm-Approximating Projection (OSNAP) is a distribution over sparse sketching matrices Pi in {0, +1/sqrt(s), -1/sqrt(s)}^{m x n}, introduced and analyzed by Nelson and Nguyen (2013), that forms an oblivious subspace embedding (OSE) preserving (1 - varepsilon)*||x||_2 <= ||Pi x||_2 <= (1 + varepsilon)*||x||_2 simultaneously for all vectors x in any fixed d-dimensional subspace W subset R^n with probability at least 1 - delta. Writing Pi_{i,j} = delta_{i,j} * sigma_{i,j} / sqrt(s) with random signs sigma_{i,j} in {-1, +1} and column-sparsity indicators delta_{i,j} in {0, 1}, an OSNAP satisfies two structural properties: (1) every column j in [n] has exactly sum_{i=1}^m delta_{i,j} = s non-zero entries with probability 1, and (2) the indicators delta_{i,j} are negatively correlated such that E[prod_{(i,j) in S} delta_{i,j}] <= (s/m)^{|S|} for all S subseteq [m] x [n].
Identity Notes & Concept Scope
Distinct from AIMech:ProjectionCostPreservingSketchesForKMeansAndConstrainedLowRankApproximation (Round 364), which preserves rank-k left projection costs ||(I - P)A||_F^2 + c in O(k/varepsilon^2) dimensions (and uses OSNAP as an underlying sketching primitive), whereas OSNAP is a sparse oblivious subspace embedding preserving ||Pi U y||_2 in (1 +- varepsilon)*||y||_2 for all y in R^d simultaneously—equivalently bounding all singular values of Pi U in [1 - varepsilon, 1 + varepsilon] via a Bai-Yin moment method on generalized dot-product multigraphs. Also distinct from AIMech:FrequentDirectionsDeterministicMatrixSketching (Round 363), which is a deterministic SVD-shrinkage sketch requiring O(n*d*ell) time rather than O(s*nnz(A)) sparse hashing time.
Claims & Grounded Evidence
3 Claims
Mechanism
#r365-claim-optimal-s1-countsketch-subspace-embedding-second-moment-bound
For any orthonormal basis U in R^{n x d} of a d-dimensional subspace W subset R^n and an OSNAP Pi with s = 1 non-zero per column (the CountSketch / Thorup-Zhang sketch) specified by a pairwise-independent hash h : [n] -> [m] and 4-wise independent signs sigma in {-1, +1}^n, the Gram error matrix S - I = (Pi U)^* (Pi U) - I_d has entries (S - I)_{k,k'} = sum_{r=1}^m sum_{i != j} delta_{r,i} delta_{r,j} sigma_{r,i} sigma_{r,j} u_i^k u_j^{k'} (Eq. 3), diagonal variance E[(S - I)_{k,k}^2] <= 2/m, and off-diagonal variance E[(S - I)_{k,k'}^2] = (1/m)*sum_{i != j} ((u_i^k)^2 (u_j^{k'})^2 + u_i^k u_i^{k'} u_j^k u_j^{k'}) <= 1/m (since sum_{i != j} u_i^k u_i^{k'} u_j^k u_j^{k'} = -sum_i (u_i^k)^2 (u_i^{k'})^2 <= 0 by orthogonality <u^k, u^{k'}> = 0), yielding E||S - I||_F^2 <= (d^2 + d)/m and guaranteeing via Weyl's inequality (Theorem 2) that all singular values of Pi U lie in [1 - varepsilon, 1 + varepsilon] with probability >= 1 - delta for m >= delta^{-1}*(d^2 + d)/(2*varepsilon - varepsilon^2)^2 = O(d^2 / (delta * varepsilon^2)) (Theorem 3).
Mechanism
#r365-claim-high-moment-multigraph-bai-yin-bound-for-subquadratic-osnap
For general OSNAPs with s > 1, expanding the even trace moment E[tr((S - I)^ell)] (Eq. 6-7) over 3-layered multigraphs G in G with even bond multiplicities in MR(G) and recursively reducing each induced Eulerian dot-product multigraph G_hat via minimum 2-edge cuts into 4-edge-connected components possessing two edge-disjoint spanning trees T_1, T_2 (Theorem 6, Corollary 7, Lemmas 10-11, Eq. 15-19) bounds the graph product by y! * d^{y - w + 1} and E[tr((S - I)^ell)] <= e*d*ell^{4.5} * max_{2 <= b <= ell} (b^3 / s)^{ell - b} * ((b^4 / e)*sqrt(d/m))^b (Eq. 20); this proves that all singular values of Pi U lie in [1 - varepsilon, 1 + varepsilon] with probability >= 1 - delta either for m = Omega(d * log^8(d/delta) / varepsilon^2) and s = Theta(log^3(d/delta) / varepsilon) (Theorem 9) or for m = Omega(d^{1 + gamma} / varepsilon^2) and s = Theta(1/varepsilon) for any constant gamma > 0 using only Omega(log(d/delta))-wise independent hash functions (Theorem 12).
Application
#r365-claim-input-sparsity-leverage-scores-regression-and-low-rank-approximation
Plugging OSNAPs into randomized numerical linear algebra pipelines yields (1 +- varepsilon) approximation of all n leverage scores of a rank-r matrix A in O_tilde(nnz(A)/varepsilon^2 + r^omega * varepsilon^{-2*omega}) time (Theorem 14), (1 + varepsilon)-approximate least-squares regression min_x ||Ax - b||_2 in O(nnz(A) + d^3 log(d/varepsilon)/varepsilon^2) time via Theorem 3 (Theorem 15) or O(nnz(A)*((log r)^{O(1)} + log(n/varepsilon)) + r^omega*(log r)^{O(1)} + r^2 log(1/varepsilon)) time via Theorem 9 (Theorem 16), and (1 + varepsilon) Frobenius-norm rank-k approximation in O(nnz(A) + O_tilde(n*k^2 + n*k^{omega-1}*varepsilon^{-1-omega} + k^omega*varepsilon^{-2-omega})) or O(nnz(A)*log^{O(1)} k + O_tilde(n*k^{omega-1}*varepsilon^{-1-omega} + k^omega*varepsilon^{-2-omega})) time (Theorems 17-18).
⚠️ Curated Limitations & Negative Results
- Achieving s = 1 non-zero per column necessarily requires quadratic sketch dimension m = Omega(d^2 / varepsilon^2) (Theorem 3 and [NN12] sparsity lower bound, p. 3), while reducing sketch dimension to nearly linear m = O_tilde(d / varepsilon^2) increases column sparsity to s = Theta(log^3(d/delta) / varepsilon) and requires O(log(d/delta))-wise independent hash functions (Theorem 9, p. 8).
Artificial Intelligence Ontology (AIO) Grounding
Mapped AIO Classes
| AIO Target Class | Mapping Relation | Mapping Rationale |
|---|---|---|
AIO:DimensionalityReduction
Dimensionality Reduction
|
broad_match | OSNAP constructs sparse oblivious subspace embeddings for linear dimensionality reduction. |
AIO:LinearRegression
Linear Regression
|
related_match | Accelerates overdetermined least-squares linear regression to input-sparsity time O_tilde(nnz(A) + r^omega). |
AIO:PrincipalComponentAnalysis
Principal Component Analysis
|
related_match | Accelerates low-rank matrix approximation and leverage-score estimation. |
Evidence Sources & Primary Literature
3 Sources| Source ID | Publication / Document | Type / Access | Reference & Checksum |
|---|---|---|---|
r365-primary-pdf
|
Jelani Nelson, Huy L. Nguyen
|
primary paper
full_text
|
ID: https://api.crossref.org/works/10.1109/focs.2013.21
sha256:cc4448e6a2be…
|
r365-arxiv-abs
|
Jelani Nelson, Huy L. Nguyen
|
primary paper
abstract_only
|
ID: https://arxiv.org/abs/1211.1002
sha256:6d3cf4f80e81…
|
r365-metadata-cr
|
Jelani Nelson, Huy L. Nguyen
|
primary paper
abstract_only
|
ID: https://api.crossref.org/works/10.1109/focs.2013.21
sha256:003bf09532f5…
|
Ontology & Grounding Topology
Open in interactive network graph →Curation Provenance
Curator: Antigravity
Method: ai_assisted
Model: Gemini
Created: 2026-10-19T07:28:00Z
Updated: 2026-10-19T07:28:00Z
Explore across X-Mech
Related computational & biological Mechs:
Embedding Map
Network Graph
ProteinTraitsMech (ESM-2 pLM)
DUFMech (Domain pLM)
TraitMech
CultureMech
All 14 X-Mech Repositories