LLM-assisted Vector Similarity Search

Md Riyadh, Muqi Li, Felix Haryanto Lie, Jia Long Loh, Haotian Mi +1 more
12/25/2024
cs.AIcs.IRcs.LG

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

Abstract

As data retrieval demands become increasingly complex, traditional search methods often fall short in addressing nuanced and conceptual queries. Vector similarity search has emerged as a promising technique for finding semantically similar information efficiently. However, its effectiveness diminishes when handling intricate queries with contextual nuances. This paper explores a hybrid approach combining vector similarity search with Large Language Models (LLMs) to enhance search accuracy and relevance. The proposed two-step solution first employs vector similarity search to shortlist potential matches, followed by an LLM for context-aware ranking of the results. Experiments on structured datasets demonstrate that while vector similarity search alone performs well for straightforward queries, the LLM-assisted approach excels in processing complex queries involving constraints, negations, or conceptual requirements. By leveraging the natural language understanding capabilities of LLMs, this method improves the accuracy of search results for complex tasks without sacrificing efficiency. We also discuss real-world applications and propose directions for future research to refine and scale this technique for diverse datasets and use cases. Original article: https://engineering.grab.com/llm-assisted-vector-similarity-search

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. 4 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{riyadh2024llmassisted,
  title  = {LLM-assisted Vector Similarity Search},
  author = {Md Riyadh and Muqi Li and Felix Haryanto Lie and Jia Long Loh and Haotian Mi and Sayam Bohra},
  year   = {2024},
  eprint = {2412.18819},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.18819v2}
}

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/2412.18819.svg)](https://codeofpaper.com/paper/2412.18819)

Discussion