LM-Tree: A Hybrid Learned Index for Similarity Search in Metric Spaces
Yaqi Wang, Bin Wang, Rui Zhu, Wenli Sun, Xiaochun Yang
Abstract
Similarity search in metric spaces is a fundamental problem in data management with many applications. While numerous indices have been proposed to support similarity search, most existing approaches rely on pivot-based strategies that suffer from critical limitations. Traditional single-pivot methods offer limited pruning power, while multi-pivot techniques often become inefficient as data evolves, since pivot updates incur substantial computational overhead. In this paper, we propose LM-Tree (short for Learned M-Tree), a hybrid learned index that combines pivots and learning models with M-Tree to address the above problems. LM-Tree's key innovation lies in its self-adaptive node architecture, where each node dynamically selects an appropriate number of pivots and incorporates lightweight learning models to enhance pruning efficiency. This design enables each node to maintain a relatively large number of child nodes (or objects for leaf nodes) while consistently delivering strong pruning performance, thereby enabling LM-Tree to use a small number of nodes to index objects in metric spaces. Furthermore, we develop an efficient maintenance algorithm that handles dynamic updates, including pivot adjustments, model reforms, node splits, and merges with low overhead. Extensive experiments on both real and synthetic datasets demonstrate that LM-Tree significantly outperforms state-of-the-art methods.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get 4d772ab1-a8e3-4f9e-86ab-cafd0abd4410Related papers
- LeaderKV: Improving Read Performance of KV Stores via Learned Index and Decoupled KV TableYi Wang, Jianan Yuan, Shangyu Wu, Huan Liu et al.ICDE 2024 · 12 citations
- LeaFi: Data Series Indexes on Steroids with Learned FiltersQitong Wang, Ioana Ileana, Themis PalpanasSIGMOD 2025 · 9 citations
- LUCID: An Updatable and Concurrent Learned Index for Larger-Than-Memory Data ManagementChaohong Ma, Xiaohui Yu, Yifan Li, Aishan Maoliniyazi et al.ICDE 2026
- Updatable Learned Index with Precise PositionsJiacheng Wu, Yong Zhang, Shimin Chen, Yu Chen et al.VLDB 2021 · 160 citations
- Adaptive Indexing in High-Dimensional Metric SpacesKonstantinos Lampropoulos, Fatemeh Zardbani, Nikos Mamoulis, Panagiotis KarrasVLDB 2023 · 18 citations
