CVAIJan 14, 2024

Efficient approximation of Earth Mover's Distance Based on Nearest Neighbor Search

arXiv:2401.07378v3h-index: 40IEEE transactions on multimedia
Originality Incremental advance
AI Analysis

This addresses scalability issues for EMD in computer vision and other domains, offering a practical solution for large-scale problems, though it is incremental as it builds on prior approximate methods.

The paper tackles the computational and memory inefficiency of Earth Mover's Distance (EMD) by proposing NNS-EMD, an approximate method using nearest neighbor search, which achieves 44x to 135x speedup over exact EMD with superior accuracy and memory efficiency compared to existing approximations.

Earth Mover's Distance (EMD) is an important similarity measure between two distributions, used in computer vision and many other application domains. However, its exact calculation is computationally and memory intensive, which hinders its scalability and applicability for large-scale problems. Various approximate EMD algorithms have been proposed to reduce computational costs, but they suffer lower accuracy and may require additional memory usage or manual parameter tuning. In this paper, we present a novel approach, NNS-EMD, to approximate EMD using Nearest Neighbor Search (NNS), in order to achieve high accuracy, low time complexity, and high memory efficiency. The NNS operation reduces the number of data points compared in each NNS iteration and offers opportunities for parallel processing. We further accelerate NNS-EMD via vectorization on GPU, which is especially beneficial for large datasets. We compare NNS-EMD with both the exact EMD and state-of-the-art approximate EMD algorithms on image classification and retrieval tasks. We also apply NNS-EMD to calculate transport mapping and realize color transfer between images. NNS-EMD can be 44x to 135x faster than the exact EMD implementation, and achieves superior accuracy, speedup, and memory efficiency over existing approximate EMD methods.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes