Probabilistic p-stable LSH query-failure step in \ell_2 and \ell_1 #
This module formalizes the ρ < 1 exponent bounds and probabilistic candidate-collision /
query-failure step on unbucketed point-set filtering for the p = 2 (Gaussian) and p = 1
(Cauchy) p-stable LSH families (after [DIIM04] and
[HPIM12], Section 3; not a bucketed sublinear approximate near-neighbour data
structure, tracked in #3361).
Because both p2StableProb w d and p1StableProb w d are strictly positive and strictly decreasing
in d ≥ 0 for any bucket width w > 0, choosing p₁ = p(d) and p₂ = p(c d) with 0 < d and
1 < c yields 0 < p₂ < p₁ ≤ 1, exponent ρ < 1, and unbucketed query failure at most
e⁻¹ + 1 / 3 using numHashes, numTables, and the 3 L candidate stopping rule. Word-RAM hash
buckets, seed storage, and sublinear O(n ^ ρ) query running time remain open in #3361.
Main results #
Cslib.DataStructure.NearNeighbor.rho_p2Stable_lt_one,Cslib.DataStructure.NearNeighbor.measureReal_query_p2Stable_eq_none_le: parameter-exponent stepρ < 1and probabilistic query-failure step≤ e⁻¹ + 1 / 3on unbucketedcandidatesin Euclidean space (p = 2).Cslib.DataStructure.NearNeighbor.rho_p1Stable_lt_one,Cslib.DataStructure.NearNeighbor.measureReal_query_p1Stable_eq_none_le: parameter-exponent stepρ < 1and probabilistic query-failure step≤ e⁻¹ + 1 / 3on unbucketedcandidatesin\ell_1(p = 1).
References #
p = 2: Euclidean query-failure step #
Probabilistic query-failure step for Gaussian p = 2 p-stable LSH on unbucketed point-set
filtering in Euclidean space (after [DIIM04] and
[HPIM12], Section 3; not a bucketed sublinear near-neighbour data structure,
#3361). Using p2StableHash w on E with 0 < w, 0 < d, 1 < c, p₁ = p2StableProb w d,
p₂ = p2StableProb w (c d), k = numHashes n p₂, L = numTables n p₁ p₂, and T = 3 L, if some
x₀ ∈ P is within distance d of q, query returns none with probability at most
e⁻¹ + 1 / 3; any returned point is within distance c d (query_eq_some).
p = 1: \ell_1 query-failure step #
Probabilistic query-failure step for Cauchy p = 1 p-stable LSH on unbucketed point-set
filtering in \ell_1 (after [DIIM04] and [HPIM12],
Section 3; not a bucketed sublinear near-neighbour data structure, #3361). Using p1StableHash w
on ι → ℝ with 0 < w, 0 < d, 1 < c, p₁ = p1StableProb w d, p₂ = p1StableProb w (c d),
k = numHashes n p₂, L = numTables n p₁ p₂, and T = 3 L, if some x₀ ∈ P has \ell_1 distance
at most d to q, query returns none with probability at most e⁻¹ + 1 / 3; any returned
point has \ell_1 distance below c d (query_eq_some).