ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2401.07378
18
0

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

14 January 2024
Guangyu Meng
Ruyu Zhou
Liu Liu
Peixian Liang
Fang Liu
D. Z. Chen
M. Niemier
X.Sharon Hu
ArXivPDFHTML
Abstract

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.

View on arXiv
@article{meng2025_2401.07378,
  title={ Efficient approximation of Earth Mover's Distance Based on Nearest Neighbor Search },
  author={ Guangyu Meng and Ruyu Zhou and Liu Liu and Peixian Liang and Fang Liu and Danny Chen and Michael Niemier and X.Sharon Hu },
  journal={arXiv preprint arXiv:2401.07378},
  year={ 2025 }
}
Comments on this paper