EHI: End-to-end Learning of Hierarchical Index for Efficient Dense Retrieval

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kumar, Ramnath, Mittal, Anshul, Gupta, Nilesh, Kusupati, Aditya, Dhillon, Inderjit, Jain, Prateek
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910646959865856
author Kumar, Ramnath
Mittal, Anshul
Gupta, Nilesh
Kusupati, Aditya
Dhillon, Inderjit
Jain, Prateek
author_facet Kumar, Ramnath
Mittal, Anshul
Gupta, Nilesh
Kusupati, Aditya
Dhillon, Inderjit
Jain, Prateek
contents Dense embedding-based retrieval is widely used for semantic search and ranking. However, conventional two-stage approaches, involving contrastive embedding learning followed by approximate nearest neighbor search (ANNS), can suffer from misalignment between these stages. This mismatch degrades retrieval performance. We propose End-to-end Hierarchical Indexing (EHI), a novel method that directly addresses this issue by jointly optimizing embedding generation and ANNS structure. EHI leverages a dual encoder for embedding queries and documents while simultaneously learning an inverted file index (IVF)-style tree structure. To facilitate the effective learning of this discrete structure, EHI introduces dense path embeddings that encodes the path traversed by queries and documents within the tree. Extensive evaluations on standard benchmarks, including MS MARCO (Dev set) and TREC DL19, demonstrate EHI's superiority over traditional ANNS index. Under the same computational constraints, EHI outperforms existing state-of-the-art methods by +1.45% in MRR@10 on MS MARCO (Dev) and +8.2% in nDCG@10 on TREC DL19, highlighting the benefits of our end-to-end approach.
format Preprint
id arxiv_https___arxiv_org_abs_2310_08891
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle EHI: End-to-end Learning of Hierarchical Index for Efficient Dense Retrieval
Kumar, Ramnath
Mittal, Anshul
Gupta, Nilesh
Kusupati, Aditya
Dhillon, Inderjit
Jain, Prateek
Machine Learning
Information Retrieval
Dense embedding-based retrieval is widely used for semantic search and ranking. However, conventional two-stage approaches, involving contrastive embedding learning followed by approximate nearest neighbor search (ANNS), can suffer from misalignment between these stages. This mismatch degrades retrieval performance. We propose End-to-end Hierarchical Indexing (EHI), a novel method that directly addresses this issue by jointly optimizing embedding generation and ANNS structure. EHI leverages a dual encoder for embedding queries and documents while simultaneously learning an inverted file index (IVF)-style tree structure. To facilitate the effective learning of this discrete structure, EHI introduces dense path embeddings that encodes the path traversed by queries and documents within the tree. Extensive evaluations on standard benchmarks, including MS MARCO (Dev set) and TREC DL19, demonstrate EHI's superiority over traditional ANNS index. Under the same computational constraints, EHI outperforms existing state-of-the-art methods by +1.45% in MRR@10 on MS MARCO (Dev) and +8.2% in nDCG@10 on TREC DL19, highlighting the benefits of our end-to-end approach.
title EHI: End-to-end Learning of Hierarchical Index for Efficient Dense Retrieval
topic Machine Learning
Information Retrieval
url https://arxiv.org/abs/2310.08891