Probabilistic LSH query-failure step in Hamming space #
This module formalizes the LSH exponent bound ρ ≤ 1 / c and probabilistic candidate-collision /
query-failure step on unbucketed point-set filtering for bit sampling in Hamming space (after
[IM98] and [HPIM12], Section 3.2.1; not a bucketed sublinear
approximate near-neighbour data structure, tracked in #3361).
Bit sampling is (r, c r, 1 - r / d, 1 - c r / d)-sensitive for Hamming distance on words of
length d (Cslib.Probability.isLocalitySensitive_bitSampling). Concavity of t ↦ log (1 - t) at
0 gives ρ ≤ 1 / c (Cslib.DataStructure.NearNeighbor.rho_one_sub_le), table count
L < n ^ (1 / c) / p₁ + 1 (numTables_bitSampling_lt), and unbucketed query failure at most
e⁻¹ + 1 / 3 (toOuterMeasure_query_bitSampling_eq_none_le). Word-RAM hash buckets, seed storage,
and native O(n ^ (1 / c)) query running time remain open in #3361.
Main results #
Cslib.DataStructure.NearNeighbor.rho_one_sub_le: parameter-exponent stepρ(1 - a, 1 - c a) ≤ 1 / c.Cslib.DataStructure.NearNeighbor.toOuterMeasure_query_bitSampling_eq_none_le: probabilistic query-failure step≤ e⁻¹ + 1 / 3on unbucketedcandidatesfor bit sampling.Cslib.DataStructure.NearNeighbor.numTables_bitSampling_lt: table-count boundL < n ^ (1 / c) / p₁ + 1.
References #
Probabilistic query-failure step for bit sampling on unbucketed point-set filtering in Hamming
space (after [IM98] and [HPIM12], Section 3.2.1; not a bucketed
sublinear near-neighbour data structure, #3361). On words of length d = |κ| with 0 < r, 1 < c,
c r < d, p₁ = 1 - r / d, p₂ = 1 - c r / d, k = numHashes n p₂, L = numTables n p₁ p₂, and
T = 3 L, if some x₀ ∈ P is within Hamming distance r of q, query returns none with
probability at most e⁻¹ + 1 / 3; any returned word is within distance c r (query_eq_some).