ProHD: Projection-Based Hausdorff Distance Approximation
Jiuzhou Fu, Luanzheng Guo, Nathan R. Tallent, Dongfang Zhao
TL;DR
ProHD addresses the computational bottleneck of exactly computing the Hausdorff distance for large, high-dimensional datasets by projecting the data onto a small set of informative directions and focusing on extreme points. The method forms tiny subsets via centroid and PCA directions, then computes the distance on these subsets using fast ANN back-ends, guaranteeing an underestimation with a deterministic additive bound and monotonic convergence as more directions are added. Theoretical bounds (e.g., $H_{\mathcal{U}}(A,B)\le H(A,B)\le H_{\mathcal{U}}(A,B)+2\min_{u\in\mathcal{U}}\delta(u)$) underpin reliability, while empirical results on image, physics, and synthetic data demonstrate up to $10$–$100\times$ speedups with significantly lower error than random sampling. This approach enables scalable HD estimation in large vector databases and streaming contexts, offering a practical balance between efficiency and accuracy with broad applicability to geometric analysis and similarity search.
Abstract
The Hausdorff distance (HD) is a robust measure of set dissimilarity, but computing it exactly on large, high-dimensional datasets is prohibitively expensive. We propose \textbf{ProHD}, a projection-guided approximation algorithm that dramatically accelerates HD computation while maintaining high accuracy. ProHD identifies a small subset of candidate "extreme" points by projecting the data onto a few informative directions (such as the centroid axis and top principal components) and computing the HD on this subset. This approach guarantees an underestimate of the true HD with a bounded additive error and typically achieves results within a few percent of the exact value. In extensive experiments on image, physics, and synthetic datasets (up to two million points in $D=256$), ProHD runs 10--100$\times$ faster than exact algorithms while attaining 5--20$\times$ lower error than random sampling-based approximations. Our method enables practical HD calculations in scenarios like large vector databases and streaming data, where quick and reliable set distance estimation is needed.
