arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.01525cs.DB
收藏

VectorMaton: 通过增强后缀自动机实现高效的向量搜索与模式约束

VectorMaton: Efficient Vector Search with Pattern Constraints via an Enhanced Suffix Automaton

Nanyang Technological University(南洋理工大学)

Haoxuan Xie, Siqiang Luo

AI总结:

VectorMaton通过增强后缀自动机实现高效的向量搜索与模式约束,显著提升查询吞吐量并减小索引规模。

摘要:

近似最近邻搜索(ANNS)已成为现代向量数据库系统中的基石。给定一个查询向量,ANNS从一组基础向量中检索最接近的向量。在现实应用中,向量通常伴随额外信息,如序列或结构化属性,这促使了对具有辅助数据约束的细粒度向量搜索的需求。现有方法支持基于属性的过滤或基于范围的过滤,但不支持对序列属性的模式谓词。在关系数据库中,LIKE和CONTAINS等谓词是基于子串模式过滤记录的基本运算符。随着向量数据库越来越多地采用SQL风格的查询接口,使基于序列属性(如文本和生物序列)的模式谓词与向量相似性搜索相结合变得至关重要。在本文中,我们提出一个新问题:给定一组每个都关联有序列的向量,检索其序列包含给定查询模式的最接近向量。为了解决这一挑战,我们提出了VectorMaton,一种基于自动机的索引,它集成了模式过滤与高效的向量搜索,同时保持索引大小与数据集大小相当。在真实世界数据集上的大量实验表明,VectorMaton在相同准确性下实现了高达10倍的查询吞吐量,并且索引大小减少了高达18倍。

英文摘要:

Approximate nearest neighbor search (ANNS) has become a cornerstone in modern vector database systems. Given a query vector, ANNS retrieves the closest vectors from a set of base vectors. In real-world applications, vectors are often accompanied by additional information, such as sequences or structured attributes, motivating the need for fine-grained vector search with constraints on this auxiliary data. Existing methods support attribute-based filtering or range-based filtering on categorical and numerical attributes, but they do not support pattern predicates over sequence attributes. In relational databases, predicates such as LIKE and CONTAINS are fundamental operators for filtering records based on substring patterns. As vector databases increasingly adopt SQL-style query interfaces, enabling pattern predicates over sequence attributes (e.g., texts and biological sequences) alongside vector similarity search becomes essential. In this paper, we formulate a novel problem: given a set of vectors each associated with a sequence, retrieve the nearest vectors whose sequences contain a given query pattern. To address this challenge, we propose VectorMaton, an automaton-based index that integrates pattern filtering with efficient vector search, while maintaining an index size comparable to the dataset size. Extensive experiments on real-world datasets demonstrate that VectorMaton consistently outperforms all baselines, achieving up to 10x higher query throughput at the same accuracy and up to 18x reduction in index size.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑