Pruning the Index Contents for Memory Efficient Open-Domain QA
- URL: http://arxiv.org/abs/2102.10697v1
- Date: Sun, 21 Feb 2021 21:56:38 GMT
- Title: Pruning the Index Contents for Memory Efficient Open-Domain QA
- Abstract summary: This work presents a novel pipeline that demonstrates what is achievable with a combined effort of state-of-the-art approaches.
It proposes the novel R2-D2 pipeline composed of retriever, reranker, extractive reader, generative reader and a simple way to combine them.
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.
- Score: 0.1529342790344802
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: This work presents a novel pipeline that demonstrates what is achievable with
a combined effort of state-of-the-art approaches, surpassing the 50% exact
match on NaturalQuestions and EfficentQA datasets. Specifically, it proposes
the novel R2-D2 (Rank twice, reaD twice) pipeline composed of retriever,
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.
Related papers
- Hierarchical Abstract Tree for Cross-Document Retrieval-Augmented Generation [3.338186852016847]
$$-RAG is a tree-RAG framework with two key components.<n>It supports diverse tasks from token-level question answering to document-level summarization.<n>It outperforms RAPTOR by 25.9% and HippoRAG 2 by 7.4% in average F1 score.
arXiv Detail & Related papers (2026-05-01T09:06:23Z) - Multi-Vector Index Compression in Any Modality [73.7330345057813]
Late interaction has emerged as a dominant paradigm for information retrieval in text, images, visual documents, and videos.<n>We introduce four approaches for index compression: sequence resizing, memory tokens, hierarchical pooling, and a novel attention-guided clustering (AGC)<n>AGC uses an attention-guided mechanism to identify the most semantically salient regions of a document as cluster centroids and to weight token aggregation.
arXiv Detail & Related papers (2026-02-24T18:57:33Z) - Beyond Patch Aggregation: 3-Pass Pyramid Indexing for Vision-Enhanced Document Retrieval [0.0]
Document centric RAG pipelines usually begin with OCR, followed by brittles for chunking, table parsing, and layout reconstruction.<n>We introduce VisionRAG, a multimodal retrieval system that is OCR free and model agnostic.<n> VisionRAG indexes documents directly as images, preserving layout, tables, and spatial cues, and builds semantic vectors without committing to a specific extraction.
arXiv Detail & Related papers (2025-11-26T07:18:06Z) - TeaRAG: A Token-Efficient Agentic Retrieval-Augmented Generation Framework [62.66056331998838]
TeaRAG is a token-efficient agentic RAG framework capable of compressing both retrieval content and reasoning steps.<n>Our reward function evaluates the knowledge sufficiency by a knowledge matching mechanism, while penalizing excessive reasoning steps.
arXiv Detail & Related papers (2025-11-07T16:08:34Z) - Enhancing Document VQA Models via Retrieval-Augmented Generation [1.6769365072542683]
Document VQA must cope with documents that span dozens of pages, yet leading systems still rely on very large vision-language models.<n>Retrieval-Augmented Generation (RAG) offers an attractive alternative, first retrieving a concise set of relevant segments before generating answers.
arXiv Detail & Related papers (2025-08-26T12:32:55Z) - Chain of Retrieval: Multi-Aspect Iterative Search Expansion and Post-Order Search Aggregation for Full Paper Retrieval [68.71038700559195]
Chain of Retrieval(COR) is a novel iterative framework for full-paper retrieval.<n>We present SCIBENCH, a benchmark providing both complete and segmented contexts of full papers for queries and candidates.
arXiv Detail & Related papers (2025-07-14T08:41:53Z) - Hierarchical Lexical Graph for Enhanced Multi-Hop Retrieval [22.33550491040999]
RAG grounds large language models in external evidence, yet it still falters when answers must be pieced together across semantically distant documents.<n>We build two plug-and-play retrievers: StatementGraphRAG and TopicGraphRAG.<n>Our methods outperform naive chunk-based RAG achieving an average relative improvement of 23.1% in retrieval recall and correctness.
arXiv Detail & Related papers (2025-06-09T17:58:35Z) - BRIEF: Bridging Retrieval and Inference for Multi-hop Reasoning via Compression [91.23933111083389]
Retrieval-augmented generation (RAG) can supplement large language models (LLMs) by integrating external knowledge.
This paper presents BRIEF, a lightweight approach that performs query-aware multi-hop reasoning.
Based on our synthetic data built entirely by open-source models, BRIEF generates more concise summaries.
arXiv Detail & Related papers (2024-10-20T04:24:16Z) - xRAG: Extreme Context Compression for Retrieval-augmented Generation with One Token [108.7069350303884]
xRAG is an innovative context compression method tailored for retrieval-augmented generation.
xRAG seamlessly integrates document embeddings into the language model representation space.
Experimental results demonstrate that xRAG achieves an average improvement of over 10% across six knowledge-intensive tasks.
arXiv Detail & Related papers (2024-05-22T16:15:17Z) - OARelatedWork: A Large-Scale Dataset of Related Work Sections with Full-texts from Open Access Sources [3.371205304404334]
This paper introduces OARelatedWork, the first large-scale multi-document summarization dataset for related work generation.
It includes 94 450 papers and 5 824 689 unique referenced papers.
We show that the estimated upper bound for extractive summarization increases by 217% in the ROUGE-2 score, when using full content instead of abstracts.
arXiv Detail & Related papers (2024-05-03T08:49:22Z) - Semi-Parametric Retrieval via Binary Token Index [71.78109794895065]
Semi-parametric Vocabulary Disentangled Retrieval (SVDR) is a novel semi-parametric retrieval framework.
It supports two types of indexes: an embedding-based index for high effectiveness, akin to existing neural retrieval methods; and a binary token index that allows for quick and cost-effective setup, resembling traditional term-based retrieval.
It achieves a 3% higher top-1 retrieval accuracy compared to the dense retriever DPR when using an embedding-based index and a 9% higher top-1 accuracy compared to BM25 when using a binary token index.
arXiv Detail & Related papers (2024-05-03T08:34:13Z) - Multi-view Content-aware Indexing for Long Document Retrieval [19.74258792456242]
Long document question answering (DocQA) aims to answer questions from long documents over 10k words.
We propose the Multi-view Content-aware indexing (MC-indexing) for more effective long DocQA.
MC-indexing has significantly increased the recall by 42.8%, 30.0%, 23.9%, and 16.3% via top k= 1.5, 3, 5, and 10 respectively.
arXiv Detail & Related papers (2024-04-23T14:55:32Z) - SPRINT: A Unified Toolkit for Evaluating and Demystifying Zero-shot
Neural Sparse Retrieval [92.27387459751309]
We provide SPRINT, a unified Python toolkit for evaluating neural sparse retrieval.
We establish strong and reproducible zero-shot sparse retrieval baselines across the well-acknowledged benchmark, BEIR.
We show that SPLADEv2 produces sparse representations with a majority of tokens outside of the original query and document.
arXiv Detail & Related papers (2023-07-19T22:48:02Z) - Query2doc: Query Expansion with Large Language Models [69.9707552694766]
The proposed method first generates pseudo- documents by few-shot prompting large language models (LLMs)
query2doc boosts the performance of BM25 by 3% to 15% on ad-hoc IR datasets.
Our method also benefits state-of-the-art dense retrievers in terms of both in-domain and out-of-domain results.
arXiv Detail & Related papers (2023-03-14T07:27:30Z) - Grape: Knowledge Graph Enhanced Passage Reader for Open-domain Question
Answering [36.85435188308579]
A common thread of open-domain question answering (QA) models employs a retriever-reader pipeline that first retrieves a handful of relevant passages from Wikipedia.
We propose a novel knowledge Graph enhanced passage reader, namely Grape, to improve the reader performance for open-domain QA.
arXiv Detail & Related papers (2022-10-06T14:06:04Z) - Generate rather than Retrieve: Large Language Models are Strong Context
Generators [74.87021992611672]
We present a novel perspective for solving knowledge-intensive tasks by replacing document retrievers with large language model generators.
We call our method generate-then-read (GenRead), which first prompts a large language model to generate contextutal documents based on a given question, and then reads the generated documents to produce the final answer.
arXiv Detail & Related papers (2022-09-21T01:30:59Z) - R2-D2: A Modular Baseline for Open-Domain Question Answering [0.1529342790344802]
This work presents a novel four-stage open-domain QA pipeline R2-D2 (Rank twice, reaD twice).
The pipeline is composed of a retriever, passage reranker, extractive reader, generative reader and a mechanism that aggregates the final prediction from all system's components.
arXiv Detail & Related papers (2021-09-08T08:51:27Z) - Dense Passage Retrieval for Open-Domain Question Answering [49.028342823838486]
We show that retrieval can be practically implemented using dense representations alone.
Our dense retriever outperforms a strong Lucene-BM25 system largely by 9%-19% absolute in terms of top-20 passage retrieval accuracy.
arXiv Detail & Related papers (2020-04-10T04:53:17Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.