Efficient multi-step query processing for EMD-based similarity

Ira Assent, Thomas Seidl

TL;DR

This paper tackles the challenge of efficiently searching large multimedia databases using the Earth Mover's Distance (EMD), a powerful but computationally expensive similarity measure. The authors propose a multi-step query processing approach that leverages novel lower-bounding filter functions to drastically reduce the number of EMD computations needed, achieving significant speedups without sacrificing accuracy.

What Problem Does This Paper Address?

Content-based multimedia retrieval relies on similarity models to find objects that are alike. A key component of these models is the distance metric used to quantify similarity. The Earth Mover's Distance (EMD) is a highly effective metric, known for its ability to capture perceptual similarity in multimedia data like images. However, EMD is computationally intensive, making its direct application to large, high-dimensional databases infeasible. This creates a bottleneck: how can we harness the power of EMD for similarity search without incurring prohibitive computational costs?

Methods

The core contribution of this paper is the development of a multi-step query processing framework designed to make EMD-based similarity search efficient. This framework operates in two main stages:

  1. Filtering: An initial "filter" step uses a lower-bounding distance function to quickly identify a subset of candidate objects. The key innovation here is the design of several novel lower bounds for EMD. These bounds are computationally much cheaper than EMD itself and are designed to be "complete," meaning they will never discard an object that is truly similar (no false negatives). The paper explores various Lp-norm based lower bounds (weighted Manhattan, weighted maximum, weighted Euclidean) and a more advanced "Independent Minimization" (LBIM) bound.
  2. Exact Calculation: For the candidate objects identified by the filter, the exact EMD is computed.

The paper also discusses the integration of these filters with indexing structures (like R-trees) to further accelerate the filtering stage, especially in high-dimensional spaces where traditional indexing can struggle. They propose combining multiple filters sequentially to achieve better selectivity.

Datasets

The experiments were conducted on large color image databases with high-dimensional features. Specific database sizes mentioned range from 25,000 to 200,000 images. The paper does not introduce new datasets but uses existing ones to evaluate the proposed methods.

Key Insights and Ideas

  • EMD's power vs. its cost: EMD is great for perceptual similarity but too slow for large-scale search. This paper bridges that gap.
  • Lower bounds as filters: The clever idea is to use cheaper, "easier-to-compute" distances that are guaranteed to be less than or equal to the true EMD. This allows us to quickly rule out many dissimilar items.
  • Completeness is crucial: The filters must be "complete" (no false negatives) to ensure we don't miss any relevant results. This is a key theoretical guarantee.
  • Combining filters for synergy: Using multiple filters sequentially, each with different strengths, can dramatically improve selectivity and speed.
  • Dimensionality matters: As dimensionality increases, the effectiveness of simpler filters can decrease, necessitating more sophisticated bounds like LBIM.

Key Results

The experiments demonstrate significant improvements in query processing efficiency:

  • Dramatic speedups: For 64-dimensional histograms, the proposed multi-step approach (specifically, a combination of filters) reduces query response times from approximately 1000 seconds (for direct EMD computation) to less than one second, achieving over three orders of magnitude improvement.
  • High Selectivity: The LBIM filter, in particular, showed superior selectivity, outputting far less than 0.1% of the data as candidates for EMD computation, an improvement of more than two orders of magnitude over the next best lower bound.
  • No loss of accuracy: The multi-step algorithms are proven to be complete, meaning they produce no false drops (false negatives), ensuring that users receive all relevant results.

Limitations and Future Work

  • High-dimensional challenges: While the proposed LBIM filter is more selective in high dimensions, the paper notes that selectivity of filters can still drop as dimensionality increases, and indexing structures also lose pruning power. This suggests a need for even more selective complex filters in very high-dimensional settings.
  • Filter combination: The paper suggests that combining filters further reduces computation time by dismissing different sets of objects as non-candidates. This hints at future work in optimizing the order and selection of filters for different scenarios.
  • Adaptation to other similarity measures: While focused on EMD, the multi-step query processing paradigm and the concept of lower-bounding filters could potentially be adapted to other complex similarity measures.

Summary updated

BibTeX
@inproceedings{assent2006efficient,
  author = {Ira Assent and Thomas Seidl},
  title = {{Efficient multi-step query processing for EMD-based similarity}},
  booktitle = {Content-Based Retrieval},
  year = {2006},
  url = {https://openreview.net/forum?id=DUWm8Sfgwt},
}
Figure