- Rating
- 3
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 1
Read review
Summary
The manuscript considers locality sensitive hashing for p-exponential kernels on bounded regions with a focus on the high-dimensional setting for . The suggested hashing scheme is based on a Poisson hyperplane process for which a sampling algorithm is developed. Numerical benchmarks illustrate the approach.
Strengths and weaknesses
The manuscript is relatively well written but could profit from some streamlining. The cost of the proposed hashing scheme depends quadratically on the dimension, which is prohibitive in the targeted high-dimensional regime. This severely weakens the initial claim relating LSHability and efficient kernel methods in high-dimensional settings. It is not clearly explained why existing approaches based on randomly shifted grids and projections onto p-stable directions are not applicable to Kernel LSH for . A numerical comparison to this class of hashing schemes is missing.
Questions
Can the quadratic cost of the algorithm be improved? Would it be possible to provide a numerical comparison with randomly shifted grids? The linear scale in the error plots is not convincing. Would it be possible to switch to a logarithmic scale?
Limitations
The quadratic dependence of the proposed algorithm on the dimension is not adequately addressed.
Paper formatting concerns
--
Final justification
The authors have addressed my concerns to a certain extent. The quadratic runtime of the proposed method remains problematic to me.
Thank you for your review and feedback.
d2 runtime dependence
While we have acknowledged this limitation, we note that the empirical running time of mosaic LSH is more favorable than the asymptotic analysis implies. The d2 runtime term in mosaic LSH comes from a single Θ(d)×d matrix multiplication operation, with the matrix whose rows are the sampled LSH hyperplanes. Matmul is a highly parallelizable and highly optimized operation in modern hardware and software packages, and d×d matmul operations are often used in applications with d typically in the hundreds or thousands. It may be expensive, but not strictly prohibitive.
The O(d) running time in the p=1 case is highly specialized to properties of the ℓ1 norm: namely, it decomposes additively over the coordinates, making it possible to handle each coordinate independently of the others, which is how ℓ1-LSH schemes work. This property does not extend to ℓp>1-norms. We currently have no indication whether better running time than O(d2) is possible or not for p>1, and it is an interesting open problem.
These LSH schemes have the wrong collision probability: ES∼Dp[max(1−w∣S∣∥x−y∥p,0)] rather than exp(−∥x−y∥p/σ). This is sufficient for metric LSH, which needs only a coarse near/far probability gap, but not for kernel LSH (neither exact nor approximate) which requires a tighter relationship between the collision probability and the target similarity measure.
Below is a numerical comparison of the p-exponential kernel to the collision probability of randomly shifted grids over p-stable projections, for various values of p and ∥x−y∥p/σ. Although both quantities decrease monotonically as the distance grows, they differ substantially and do not approximate one another well.
While we cannot attach new plots to the rebuttal, we are happy to add this to a revision.
Comparison to FJL (AC question): It is correct that the approximate LSH via FJL is effective in downstream KDE (as our experiments show) and its running time is nearly linear rather than quadratic in d. However:
(1) It is only valid for p=2. For p∈(1,2), there is no FJL analog for ℓp→ℓ1.
(2) The running time of ℓ2→ℓ1 FJL is O~(d+η−3), where η is the JL distortion parameter. This is asymptotically faster than mosaic LSH only for η≳σ1/3/d2/3; otherwise mosaic LSH is asymptotically faster.
(3) The runtime gap between the methods may be smaller in practice than the asymptotics imply, mostly due to the inherent systems advantage of dense matmul as discussed above. Specifically, in our KDE experiments, both methods had essentially the same accuracy while the exact mosaic LSH was actually somewhat faster than the approximate FJL-based LSH (38.36$\pm$5.71 vs. 48.38$\pm$5.19 ms on Covertype, 23.58$\pm$3.51 vs. 28.48$\pm$1.8 ms on Census).
(4) We view the exact LSHability question for p=2 has having inherent theoretical significance. FJL doesn’t address it since it introduces approximation. It is a baseline for downstream KDE, though not for the core notion of exact kernel LSH.
Summary of the comparison to prior methods (AC question):
For p=2, FJL gives a near-linear in d time approximate kernel LSH, while mosaic LSH gives the first exact kernel LSH (with running time quadratic in d). Empirically in downstream KDE, their accuracy is highly similar, while running time comparison is regime-dependent.
For 1<p<2, no provable kernel LSH scheme with bounded running time was previously known, neither exact nor approximate. Heuristics based on p-stable projections and/or randomly shifted grids do not approximate the kernel well theoretically nor empirically.