Skip to main content
QUICK REVIEW

[Paper Review] Pruning the Index Contents for Memory Efficient Open-Domain QA

Martin Fajčík, Martin Dočekal|arXiv (Cornell University)|Jan 1, 2021
Topic ModelingComputer Science45 references4 citations
TL;DR

This paper introduces R2-D2, a memory-efficient open-domain QA pipeline that reduces a massive knowledge base by 92% through content-based pruning using a binary relevance classifier, achieving state-of-the-art performance on NaturalQuestions with only a 3% drop in EM accuracy while fitting into a 6GB Docker image.

ABSTRACT

This work presents a novel pipeline that demonstrates what is achievable with a combined effort of state-of-the-art approaches. Specifically, it proposes the novel R2-D2 (Rank twice, reaD twice) pipeline composed of retriever, passage reranker, extractive reader, generative reader and a simple way to combine them. Furthermore, previous work often comes with a massive index of external documents that scales in the order of tens of GiB. This work presents a simple approach for pruning the contents of a massive index such that the open-domain QA system altogether with index, OS, and library components fits into 6GiB docker image while retaining only 8% of original index contents and losing only 3% EM accuracy.

Motivation & Objective

  • To address the high memory footprint of open-domain QA systems, which often require tens of GiB for massive document indexes.
  • To investigate whether a significant portion of indexed passages is redundant or irrelevant to factoid QA tasks.
  • To develop a memory-efficient QA pipeline that maintains high performance while drastically reducing index size.
  • To create a benchmark system combining retriever, reranker, extractive reader, and generative reader for future research.
  • To explore whether current open-domain QA datasets are truly 'open' given strong prior relevance patterns in passages.

Proposed method

  • Proposes a binary apriori relevance classifier (pruner) that scores passages based on title and content concatenation without question context, using binary cross-entropy loss on golden vs. non-golden passages.
  • Applies a threshold τ to retain only passages with P(r|pi) > τ, reducing index size while preserving retrieval quality.
  • Introduces the R2-D2 pipeline: retriever → passage reranker → extractive reader → generative reader, with two-stage aggregation.
  • Employs a cross-encoder transformer for passage reranking with fine-grained question-passage interaction.
  • Uses a novel extractive reader loss that marginalizes over target passages independently, improving span prediction.
  • Combines extractive and generative reader outputs via score aggregation, enhancing robustness and accuracy.

Experimental results

Research questions

  • RQ1Can a large portion of passages in open-domain QA indexes be pruned without significant performance degradation?
  • RQ2Does an apriori relevance classifier based on passage content alone capture meaningful signal for QA relevance?
  • RQ3To what extent can index size be reduced while maintaining competitive EM accuracy in open-domain QA?
  • RQ4How does a multi-component pipeline with both extractive and generative readers improve performance compared to single-reader systems?
  • RQ5Does the strong prior relevance in passages suggest that current open-domain QA datasets are less 'open' than assumed?

Key findings

  • The proposed pruning method reduces the index size by 92%, retaining only 8% of the original passages, while losing only 3% in EM accuracy on NaturalQuestions.
  • The pruned index fits within a 6GB Docker image, including the OS, libraries, and all system components, enabling deployment on standard GPUs.
  • The R2-D2 pipeline achieves state-of-the-art performance on the NaturalQuestions benchmark, outperforming prior systems.
  • The system ranked among the top performers in the EfficientQA competition, validating its robustness and efficiency.
  • Passage embeddings from Karpukhin et al. (2020) were found to inherently encode the same apriori relevance signal as the pruner, validating the method's consistency.
  • The apriori relevance classifier successfully identifies relevant passages without question context, suggesting that passage content alone carries strong predictive signal for QA relevance.

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.