Efficient Data Access Paths for Mixed Vector-Relational Search

Viktor Sanca, Anastasia Ailamaki
3/23/2024
cs.DBcs.AIcs.AR

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

The rapid growth of machine learning capabilities and the adoption of data processing methods using vector embeddings sparked a great interest in creating systems for vector data management. While the predominant approach of vector data management is to use specialized index structures for fast search over the entirety of the vector embeddings, once combined with other (meta)data, the search queries can also become selective on relational attributes - typical for analytical queries. As using vector indexes differs from traditional relational data access, we revisit and analyze alternative access paths for efficient mixed vector-relational search. We first evaluate the accurate but exhaustive scan-based search and propose hardware optimizations and alternative tensor-based formulation and batching to offset the cost. We outline the complex access-path design space, primarily driven by relational selectivity, and the decisions to consider when selecting an exhaustive scan-based search against an approximate index-based approach. Since the vector index primarily avoids expensive computation across the entire dataset, contrary to the common relational knowledge, it is better to scan at lower selectivity and probe at higher, with a cross-point between the two approaches dictated by data dimensionality and the number of concurrent search queries.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sanca2024efficient,
  title  = {Efficient Data Access Paths for Mixed Vector-Relational Search},
  author = {Viktor Sanca and Anastasia Ailamaki},
  year   = {2024},
  eprint = {2403.15807},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.15807v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.15807.svg)](https://codeofpaper.com/paper/2403.15807)

Discussion