[Paper Review] SPARTA: Efficient Open-Domain Question Answering via Sparse Transformer Matching Retrieval
SPARTA introduces a sparse neural retrieval method for open-domain question answering that models token-level interactions between query and answer tokens, enabling efficient inverted index-based retrieval. It achieves state-of-the-art performance on 15 tasks across English and Chinese, with superior accuracy, interpretability, and efficiency compared to dense vector methods.
We introduce SPARTA, a novel neural retrieval method that shows great promise in performance, generalization, and interpretability for open-domain question answering. Unlike many neural ranking methods that use dense vector nearest neighbor search, SPARTA learns a sparse representation that can be efficiently implemented as an Inverted Index. The resulting representation enables scalable neural retrieval that does not require expensive approximate vector search and leads to better performance than its dense counterpart. We validated our approaches on 4 open-domain question answering (OpenQA) tasks and 11 retrieval question answering (ReQA) tasks. SPARTA achieves new state-of-the-art results across a variety of open-domain question answering tasks in both English and Chinese datasets, including open SQuAD, Natuarl Question, CMRC and etc. Analysis also confirms that the proposed method creates human interpretable representation and allows flexible control over the trade-off between performance and efficiency.
Motivation & Objective
- To address the limitations of dual-encoder models in open-domain question answering, particularly their reliance on approximate nearest neighbor search and weak query-answer interaction.
- To develop a neural retrieval method that enables fast, scalable, and interpretable ranking without expensive vector search or GPU dependency.
- To improve performance in low-resource domains and provide flexible trade-offs between efficiency and accuracy through sparsity.
- To explore whether token-level interaction can outperform sequence-level matching in open-domain QA.
- To create a retrieval system that is both highly accurate and human-interpretable through sparse, meaningful representations.
Proposed method
- SPARTA learns sparse representations for answer passages using a transformer-based model that computes token-level attention between every query token and answer token.
- The model computes a relevance score $ f(t, (a,c)) $ for each token $ t $ in the answer, capturing its contribution to matching with the query.
- The resulting sparse vectors are stored in an inverted index (e.g., Lucene), enabling fast CPU-based retrieval without approximate nearest neighbor search.
- The method uses a pre-trained language model to inject world knowledge, allowing it to predict synonyms and related terms not present in the answer.
- Sparsity is controlled by retaining only the top-K terms with highest $ f(t, (a,c)) $ scores, enabling memory-efficient deployment.
- The framework supports both phrase-level (OpenQA) and sentence-level (ReQA) answer retrieval, with end-to-end training on retrieval objectives.
Experimental results
Research questions
- RQ1Can token-level query-to-answer interaction outperform sequence-level matching in open-domain question answering?
- RQ2Can sparse neural representations enable both high performance and efficient CPU-based retrieval without approximate nearest neighbor search?
- RQ3Does the proposed method generalize better than dense baselines in low-resource domains?
- RQ4To what extent can sparsity be leveraged to balance performance and memory efficiency?
- RQ5Can the sparse representation be made interpretable and semantically meaningful through human inspection?
Key findings
- SPARTA achieves a new state-of-the-art MRR of 79.0 on SQuAD and 75.8 on NQ, outperforming all prior methods on these retrieval QA tasks.
- With only 50 top terms, SPARTA achieves 69.5 MRR on SQuAD, outperforming all baselines with just 1.6% of the memory footprint of Poly-Encoders.
- On the more challenging NQ dataset, SPARTA reaches 75.5 MRR with top-1000 terms, closely matching the best-performing models.
- Human evaluation confirms that SPARTA’s top terms are semantically meaningful, including keywords, synonyms, and related concepts such as 'Utah' for Yellowstone despite its absence in the answer.
- The model generalizes well to low-resource domains, outperforming both classic IR and neural baselines in such settings.
- The sparse representation allows flexible trade-offs between performance and efficiency, with minimal accuracy drop even at low sparsity levels (e.g., top-50 terms).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.