Relevance Filtering for Embedding-based Retrieval

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Rossi, Nicholas, Lin, Juexin, Liu, Feng, Yang, Zhen, Lee, Tony, Magnani, Alessandro, Liao, Ciya
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913463056465920
author Rossi, Nicholas
Lin, Juexin
Liu, Feng
Yang, Zhen
Lee, Tony
Magnani, Alessandro
Liao, Ciya
author_facet Rossi, Nicholas
Lin, Juexin
Liu, Feng
Yang, Zhen
Lee, Tony
Magnani, Alessandro
Liao, Ciya
contents In embedding-based retrieval, Approximate Nearest Neighbor (ANN) search enables efficient retrieval of similar items from large-scale datasets. While maximizing recall of relevant items is usually the goal of retrieval systems, a low precision may lead to a poor search experience. Unlike lexical retrieval, which inherently limits the size of the retrieved set through keyword matching, dense retrieval via ANN search has no natural cutoff. Moreover, the cosine similarity scores of embedding vectors are often optimized via contrastive or ranking losses, which make them difficult to interpret. Consequently, relying on top-K or cosine-similarity cutoff is often insufficient to filter out irrelevant results effectively. This issue is prominent in product search, where the number of relevant products is often small. This paper introduces a novel relevance filtering component (called "Cosine Adapter") for embedding-based retrieval to address this challenge. Our approach maps raw cosine similarity scores to interpretable scores using a query-dependent mapping function. We then apply a global threshold on the mapped scores to filter out irrelevant results. We are able to significantly increase the precision of the retrieved set, at the expense of a small loss of recall. The effectiveness of our approach is demonstrated through experiments on both public MS MARCO dataset and internal Walmart product search data. Furthermore, online A/B testing on the Walmart site validates the practical value of our approach in real-world e-commerce settings.
format Preprint
id arxiv_https___arxiv_org_abs_2408_04887
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Relevance Filtering for Embedding-based Retrieval
Rossi, Nicholas
Lin, Juexin
Liu, Feng
Yang, Zhen
Lee, Tony
Magnani, Alessandro
Liao, Ciya
Information Retrieval
H.3.3
In embedding-based retrieval, Approximate Nearest Neighbor (ANN) search enables efficient retrieval of similar items from large-scale datasets. While maximizing recall of relevant items is usually the goal of retrieval systems, a low precision may lead to a poor search experience. Unlike lexical retrieval, which inherently limits the size of the retrieved set through keyword matching, dense retrieval via ANN search has no natural cutoff. Moreover, the cosine similarity scores of embedding vectors are often optimized via contrastive or ranking losses, which make them difficult to interpret. Consequently, relying on top-K or cosine-similarity cutoff is often insufficient to filter out irrelevant results effectively. This issue is prominent in product search, where the number of relevant products is often small. This paper introduces a novel relevance filtering component (called "Cosine Adapter") for embedding-based retrieval to address this challenge. Our approach maps raw cosine similarity scores to interpretable scores using a query-dependent mapping function. We then apply a global threshold on the mapped scores to filter out irrelevant results. We are able to significantly increase the precision of the retrieved set, at the expense of a small loss of recall. The effectiveness of our approach is demonstrated through experiments on both public MS MARCO dataset and internal Walmart product search data. Furthermore, online A/B testing on the Walmart site validates the practical value of our approach in real-world e-commerce settings.
title Relevance Filtering for Embedding-based Retrieval
topic Information Retrieval
H.3.3
url https://arxiv.org/abs/2408.04887