Lune

NeurIPS2025Top-tier venue

Fully Dynamic Algorithms for Chamfer Distance

Gramoz Goranci, Shaofeng H.-C. Jiang, Peter Kiss, Eva Szilagyi, Qiaoyuan Yang

2025Year
3Citations

Abstract

We study the problem of computing Chamfer distance in the fully dynamic setting, where two set of points A,B⊂RdA, B \subset \mathbb{R}^{d}, each of size up to nn, dynamically evolve through point insertions or deletions and the goal is to efficiently maintain an approximation to distCH(A,B)=∑a∈Amin⁡b∈Bdist(a,b)\mathrm{dist}_{\mathrm{CH}}(A,B) = \sum_{a \in A} \min_{b \in B} \textrm{dist}(a,b), where dist\textrm{dist} is a distance measure. Chamfer distance is a widely used dissimilarity metric for point clouds, with many practical applications that require repeated evaluation on dynamically changing datasets, e.g., when used as a loss function in machine learning. In this paper, we present the first dynamic algorithm for maintaining an approximation of the Chamfer distance under the ℓp\ell_p norm for p∈{1,2}p \in \{1,2 \}. Our algorithm reduces to approximate nearest neighbor (ANN) search with little overhead. Plugging in standard ANN bounds, we obtain (1+ϵ)(1+\epsilon)-approximation in O~(ϵ−d)\tilde{O}(\epsilon^{-d}) update time and O(1/ϵ)O(1/\epsilon)-approximation in O~(dnϵ2ϵ−4)\tilde{O}(d n^{\epsilon^2} \epsilon^{-4}) update time. We evaluate our method on real-world datasets and demonstrate that it performs competitively against natural baselines.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 97acc7a8-b62f-4df7-8fba-cbd6b9d8e11e

Builds on10

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines