Skip to main content
QUICK REVIEW

[Paper Review] A Neural Corpus Indexer for Document Retrieval

Yujing Wang, Yingyan Hou|arXiv (Cornell University)|Jun 6, 2022
Topic ModelingComputer Science49 citations
TL;DR

Neural Corpus Indexer (NCI) is an end-to-end sequence-to-sequence model that generates semantic document identifiers for queries, using a prefix-aware weight-adaptive decoder and auxiliary techniques to outperform traditional index-retrieve baselines on NQ320k and TriviaQA.

ABSTRACT

Current state-of-the-art document retrieval solutions mainly follow an index-retrieve paradigm, where the index is hard to be directly optimized for the final retrieval target. In this paper, we aim to show that an end-to-end deep neural network unifying training and indexing stages can significantly improve the recall performance of traditional methods. To this end, we propose Neural Corpus Indexer (NCI), a sequence-to-sequence network that generates relevant document identifiers directly for a designated query. To optimize the recall performance of NCI, we invent a prefix-aware weight-adaptive decoder architecture, and leverage tailored techniques including query generation, semantic document identifiers, and consistency-based regularization. Empirical studies demonstrated the superiority of NCI on two commonly used academic benchmarks, achieving +21.4% and +16.8% relative enhancement for Recall@1 on NQ320k dataset and R-Precision on TriviaQA dataset, respectively, compared to the best baseline method.

Motivation & Objective

  • Demonstrate that an end-to-end differentiable model can surpass inverted-index and dense retrieval baselines for document retrieval.
  • Design NCI to generate document identifiers directly from queries using a semantic hierarchical ID scheme.
  • Introduce a prefix-aware weight-adaptive decoder and compatibility techniques to improve decoding over hierarchical identifiers.

Proposed method

  • Represent documents with hierarchical semantic identifiers via hierarchical k-means clustering.
  • Generate training queries for each document using DocT5Query and document-derived queries.
  • Propose a Prefix-Aware Weight-Adaptive (PAWA) decoder that assigns unique classifier weights per prefix and position in the hierarchical identifier.
  • Apply consistency-based regularization to encoder/decoder representations to mitigate overfitting.
  • Constrain beam search during inference with a prefix tree to generate only valid identifiers.

Experimental results

Research questions

  • RQ1Can an end-to-end neural model generate document identifiers that outperform traditional index-based retrieval methods?
  • RQ2Do semantic hierarchical identifiers and a PAWA decoder improve recall and ranking metrics for document retrieval?
  • RQ3How much do auxiliary components (query generation, semantic IDs, regularization) contribute to performance gains?
  • RQ4What is the impact of model capacity and PAWA adapter depth on retrieval performance?
  • RQ5How does NCI perform on standard benchmarks (NQ320k and TriviaQA) compared with baselines like BM25, DSI, SEAL, and ANCE?

Key findings

  • NCI outperforms baselines across Recall@1, Recall@10, Recall@100, and MRR@100 on both NQ320k and TriviaQA.
  • Ensemble NCI achieves Recall@1 of 70.46 on NQ320k and Recall@5 of 94.60 on TriviaQA, surpassing SEAL and other baselines.
  • Query generation and semantic identifiers substantially boost performance, with w/o_docT5Query and w/o semantic id ablations showing notable declines.
  • PAWA decoder is crucial; removing PAWA significantly lowers several metrics relative to the full model.
  • Constrained beam search on a prefix tree improves results; unconstrained decoding degrades performance.
  • Large model variants yield higher performance than small, with diminishing returns beyond a certain PAWA depth (4 layers recommended).

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.