Reproduce “DIMS: Distributed Index for Similarity Search in Metric Spaces” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Yifan Zhu, Chengyang Luo, Tang Qian, Lu Chen, Yunjun Gao, Baihua Zheng

DIMS presents a general-purpose distributed index for similarity search in metric spaces, employing a novel three-stage partitioning and indexing strategy. The system achieves up to 2x faster performance for Metric Range Queries and 50x faster for Metric k-Nearest Neighbor Queries compared to existing general distributed methods, while ensuring superior workload balance across computing resources.

Key insights

  • Intelligently combining homogeneous partitioning (for pruning) and heterogeneous partitioning (for workload balancing) within a multi-stage framework effectively addresses critical trade-offs in distributed metric indexing.
  • A hierarchical, multi-level indexing structure, leveraging different index types (M-tree, B+-tree, M-forest), can efficiently manage complex distributed data partitions and facilitate query processing.
  • Optimizing the number of data partitions through a cost model is crucial for balancing the benefits of finer-grained pruning against the increased communication overhead in distributed similarity search.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.