Skip to main content
QUICK REVIEW

[Paper Review] Ultron: An Ultimate Retriever on Corpus with a Model-based Indexer

Yujia Zhou, Jing Yao|arXiv (Cornell University)|Aug 19, 2022
Topic ModelingComputer Science15 citations
TL;DR

Ultron proposes a model-centric document retrieval system that encodes document knowledge directly into a generative transformer model, eliminating the need for separate indexes. By using semantic docids (URL/title or product quantization codes) and a three-stage training strategy, Ultron achieves state-of-the-art retrieval performance with significantly reduced memory and latency compared to dual-encoder baselines like DPR.

ABSTRACT

Document retrieval has been extensively studied within the index-retrieve framework for decades, which has withstood the test of time. Unfortunately, such a pipelined framework limits the optimization of the final retrieval quality, because indexing and retrieving are separated stages that can not be jointly optimized in an end-to-end manner. In order to unify these two stages, we explore a model-based indexer for document retrieval. Concretely, we propose Ultron, which encodes the knowledge of all documents into the model and aims to directly retrieve relevant documents end-to-end. For the model-based indexer, how to represent docids and how to train the model are two main issues to be explored. Existing solutions suffer from semantically deficient docids and limited supervised data. To tackle these two problems, first, we devise two types of docids that are richer in semantics and easier for model inference. In addition, we propose a three-stage training workflow to capture more knowledge contained in the corpus and associations between queries and docids. Experiments on two public datasets demonstrate the superiority of Ultron over advanced baselines for document retrieval.

Motivation & Objective

  • To overcome the limitations of pipelined index-retrieve frameworks in document retrieval, which separate indexing and retrieval and prevent end-to-end optimization.
  • To design richer, semantically meaningful docids that enhance model learning and inference efficiency.
  • To address the scarcity of supervised data in retrieval by introducing a three-stage training workflow that pre-trains on general and search-oriented data before supervised fine-tuning.
  • To enable end-to-end document retrieval via sequence-to-sequence generation, directly outputting ranked docids from queries without external indexes.

Proposed method

  • Uses a T5-based encoder-decoder model to treat document retrieval as a sequence-to-sequence generation task from query to docid list.
  • Introduces two types of semantic docids: keyword-based (URL and title) and semantic-based (product quantization codes of document embeddings).
  • Employs a three-stage training pipeline: general pre-training on doc-content and docid pairs, search-oriented pre-training using pseudo-queries, and supervised fine-tuning on relevance-labeled data.
  • Applies constrained beam search at inference to generate top-k docid rankings directly from the model's autoregressive probabilities.
  • Stores only a prefix tree of docid sequences, drastically reducing memory overhead compared to vectorized indexes.
  • Leverages product quantization (PQ) to create compact, semantically consistent identifiers that group similar documents under shared prefixes.

Experimental results

Research questions

  • RQ1Can a model-based indexer outperform traditional index-retrieve pipelines in document retrieval accuracy?
  • RQ2How do different docid representations (keyword vs. semantic) affect retrieval performance and model convergence?
  • RQ3To what extent does a three-stage training strategy improve model generalization and retrieval performance with limited supervised data?
  • RQ4Can end-to-end retrieval via sequence generation achieve lower memory and latency than dual-encoder methods like DPR?

Key findings

  • Ultron-PQ achieves an MRR@10 of 0.3155 on MS MARCO, outperforming DPR (0.2908) and other baselines despite using only 69.6MB of memory.
  • Ultron reduces inference latency from 18.87ms (DPR) to 8.90ms on a 320K-document corpus, demonstrating superior efficiency.
  • Memory cost is reduced by 90% compared to DPR’s vectorized index, as Ultron stores only a prefix tree of docids.
  • The three-stage training strategy significantly improves performance, with supervised fine-tuning contributing most to final gains.
  • Semantic-based docids (PQ) show higher similarity consistency among documents with shared prefixes, aiding model convergence.
  • Ablation studies confirm that removing supervised fine-tuning causes a substantial drop in retrieval performance, validating its necessity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.