Fast Approximate $\ell_p$ Chamfer Distance via Lopsided Embeddings and Structured JL
Ying Feng, David P. Woodruff
Key points
From the paper's conclusion- We also give additional results for the angular distance and upper and lower bounds in the streaming setting.
Abstract
For two $d$-dimensional point sets $A, B$ of size $n$, the Chamfer distance from $A$ to $B$ is defined as $\text{CH}(A,B)=\sum_{a \in A} \min_{b \in B} \mathsf{dist}(a, b)$, where $\mathsf{dist}$ is some underlying distance measure. We present efficient algorithms for approximating the Chamfer distance under the $\ell_p$ norm for $1 < p \le 2$. For the general case $1 < p < 2$, we utilize lopsided $\ell_p$ to $\ell_1$ embeddings with weak guarantees. We show that they are sufficient for preserving the Chamfer distance. In the high-dimensional regime, we use Fast Matrix Multiplication techniques to speed up the lopsided embeddings. These lead to $O(nd\cdot \mathrm{poly}(\log \log n, \log(1/\varepsilon))/\varepsilon^2)$ total time. For the specific Euclidean case ($p=2$), we leverage the Fast Johnson-Lindenstrauss Transform based on Toeplitz matrices and re-analyze the previous $\ell_1$-specific Chamfer algorithm in $\ell_2$. These achieve a runtime matching the recent state-of-the-art $\ell_1$ result of $O(nd(\log \log n + \log (1/\varepsilon))/\varepsilon^2)$, improving upon the previous $O(nd \log n/\varepsilon^2)$ bound for $\ell_2$. We also give additional results for the angular distance and upper and lower bounds in the streaming setting.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Lossless Compression of Proximity Graph Indexes for Efficient Approximate Nearest Neighbors SearcharXiv · 2026
- Approximate Nearest Neighbor in Ultra-High Dimensional $\ell_\infty$arXiv · 2026
- Faster Approximate Text-to-Pattern Hamming Distances via Near-Optimal Sumset EstimationarXiv · 2026
- Zarc: Exact Nearest Neighbors over a Billion Vectors in SecondsarXiv · 2026
- AdaMerge: Tuning-Free Patch Compression for Multi-Vector Visual Document RetrievalarXiv · 2026
- OctEx: Billion-Scale Vector Search by Precomputed Lattice Neighbor Lists on GPUsarXiv · 2026