Skip to main content
QUICK REVIEW

[Paper Review] Phrase-Indexed Question Answering: A New Challenge for Scalable Document Comprehension

Minjoon Seo, Tom Kwiatkowski|arXiv (Cornell University)|Apr 20, 2018
Topic ModelingComputer Science30 references3 citations
TL;DR

This paper introduces Phrase-Indexed Question Answering (PIQA), a new extractive QA task that decouples document and question encoding, enabling standalone, pre-computed phrase representations for scalable retrieval. Despite achieving reasonable accuracy, baseline models significantly underperform unconstrained QA systems, highlighting a large research gap to close through community engagement.

ABSTRACT

We formalize a new modular variant of current question answering tasks by enforcing complete independence of the document encoder from the question encoder. This formulation addresses a key challenge in machine comprehension by requiring a standalone representation of the document discourse. It additionally leads to a significant scalability advantage since the encoding of the answer candidate phrases in the document can be pre-computed and indexed offline for efficient retrieval. We experiment with baseline models for the new task, which achieve a reasonable accuracy but significantly underperform unconstrained QA models. We invite the QA research community to engage in Phrase-Indexed Question Answering (PIQA, pika) for closing the gap. The leaderboard is at: nlp.cs.washington.edu/piqa

Motivation & Objective

  • To formalize a new extractive QA task that enforces complete independence between document and question encoders, promoting standalone document comprehension.
  • To enable scalable QA by pre-computing and indexing phrase-level representations offline, reducing inference latency.
  • To address the lack of standalone document representations in current attention-based QA models that condition on the question during encoding.
  • To invite the research community to close the performance gap between constrained PIQA models and unconstrained state-of-the-art QA systems.
  • To establish a public leaderboard at nlp.cs.washington.edu/piqa to track progress on the new task.

Proposed method

  • Formalize PIQA as a retrieval-based QA task where document phrases are encoded into fixed vectors independently of any question.
  • Use a dual-encoder architecture: separate encoders for documents and questions, with inference based on cosine similarity (inner product) between query and indexed phrase vectors.
  • Pre-compute and store phrase embeddings offline, enabling fast similarity search at inference time.
  • Apply a filtering mechanism using a learned classifier to reduce storage cost by retaining only high-quality candidate phrase vectors.
  • Use a simple baseline model combining LSTM with self-attention (LSTM+SA) to encode phrases and questions into 1024-dimensional vectors.
  • Leverage similarity search libraries like Faiss for efficient approximate nearest neighbor retrieval in the embedding space.

Experimental results

Research questions

  • RQ1Can a modular QA system with completely independent document and question encoders achieve meaningful document comprehension without question conditioning?
  • RQ2To what extent does the PIQA formulation enable scalable, low-latency inference through pre-computed phrase indexing?
  • RQ3How do the learned phrase representations capture semantic and contextual similarity across different documents?
  • RQ4What is the trade-off between model accuracy and storage cost when filtering low-quality phrase vectors for indexing?
  • RQ5How does the performance of constrained PIQA models compare to unconstrained state-of-the-art QA models on standard benchmarks?

Key findings

  • The PIQA task successfully induces standalone, context-aware phrase representations that capture semantic and syntactic similarity across lexical variations.
  • Phrase representations learned via PIQA exhibit meaningful typing and contextual characteristics, such as grouping organizational constructs, mechanical engines, and mechanical properties.
  • The LSTM+SA baseline model achieves over 98% of its maximum F1 score with only 1.3 phrase vectors per document word on average, significantly reducing storage requirements.
  • Exact search over 1 million document words per second is achievable on a consumer-grade CPU using NumPy, outperforming BiDAF by over 1,000x in throughput.
  • Despite reasonable performance, baseline PIQA models significantly underperform unconstrained QA models, indicating a large gap for future research.
  • The task enables sublinear scalability, as document encoding is decoupled and reusable across multiple questions, unlike end-to-end QA models requiring reprocessing per query.

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.