Dynamic Graph Indexing for Label-Filtered Approximate Nearest Neighbor Search
Mengxu Jiang, Zhi Yang, Fangyuan Zhang, Yin Yang, Sibo Wang
Abstract
Approximate nearest neighbor search (ANNS) over high-dimensional vectors is a core primitive in modern retrieval systems. In practice, objects are often also associated with labels (e.g., attributes or keywords), and retrieval must combine vector similarity with explicit label-based filtering, giving rise to label-filtered ANNS. This task is challenging because label filtering and ANNS favor very different index structures, selective filters fragment the admissible search space, and updates complicate index maintenance. To address these challenges, we propose DYLAN, a dynamic composite index for label-filtered ANNS supporting containment, overlap, and their conjunctions and disjunctions. DYLAN organizes label sets by shared prefixes in a frequency-ordered trie and selectively shares HNSW-style graph indices across trie-induced subsets, so that each trie region has a constant-factor covering index while each object participates in only logarithmically many indices. To mitigate fragmentation, DYLAN performs a cross-region multi-graph search that exploits ancestor-level indices as bridges between otherwise isolated trie regions. To support insertions, it adopts a threshold-based maintenance scheme that rebuilds shared indices only when necessary, yielding low amortized update cost. Extensive experiments with real data show that DYLAN consistently improves query throughput at comparable recall, by up to two orders of magnitude on challenging label-rich datasets, while retaining competitive memory, construction, and update costs.
Create a lesson
Related papers
AskWise: Execution-Guided Clarification of Intent and Data in Text-to-SQL
Yuru Liang, Guangyinan Mei, Miles Fan
Bounded Treewidth Rulesets Are Not Finitely Controllable
Piotr Ostropolski-Nalewaja, Michaël Thomazo
Highly Efficient Vertical Federated Clustering with Triangle-Inequality-based Pruning
Feiteng Nie, Shengkun Zhu, Zepeng Liu et al.
Testability of Homomorphism Inadmissibility: Property Testing Meets Database Theory
Hubie Chen, Yuichi Yoshida
Federated KPI Aggregation with Local Privacy Constraints and Coordinated OLAP Roll-Ups
Felix Härer
Bridging the Discovery Gap in Solid Dataspaces with a Semantic Data Catalog
Florian Hölken, Alexander Paulus, Tobias Meisen et al.