English

DESSERT: An Efficient Algorithm for Vector Set Search with Vector Set Queries

Data Structures and Algorithms 2023-10-27 v2

Abstract

We study the problem of vector set search\textit{vector set search} with vector set queries\textit{vector set queries}. This task is analogous to traditional near-neighbor search, with the exception that both the query and each element in the collection are sets\textit{sets} of vectors. We identify this problem as a core subroutine for semantic search applications and find that existing solutions are unacceptably slow. Towards this end, we present a new approximate search algorithm, DESSERT (D{\bf D}ESSERT E{\bf E}ffeciently S{\bf S}earches S{\bf S}ets of E{\bf E}mbeddings via R{\bf R}etrieval T{\bf T}ables). DESSERT is a general tool with strong theoretical guarantees and excellent empirical performance. When we integrate DESSERT into ColBERT, a state-of-the-art semantic search model, we find a 2-5x speedup on the MS MARCO and LoTTE retrieval benchmarks with minimal loss in recall, underscoring the effectiveness and practical applicability of our proposal.

Keywords

Cite

@article{arxiv.2210.15748,
  title  = {DESSERT: An Efficient Algorithm for Vector Set Search with Vector Set Queries},
  author = {Joshua Engels and Benjamin Coleman and Vihan Lakshman and Anshumali Shrivastava},
  journal= {arXiv preprint arXiv:2210.15748},
  year   = {2023}
}

Comments

Code available, https://github.com/ThirdAIResearch/Dessert

R2 v1 2026-06-28T04:40:38.000Z