Phrase Retrieval for Open Domain Conversational Question Answering with Conversational Dependency Modeling via Contrastive Learning

Soyeong Jeong, Jinheon Baek, Sung Ju Hwang, Jong Park · DOI

Abstract

Open-Domain Conversational Question Answering (ODConvQA) traditionally relies on complex two-stage "retriever-reader" pipelines that suffer from high latency and error propagation. This paper presents PRO-ConvQA, a streamlined framework that replaces the two-stage process with a single-stage direct phrase retrieval mechanism. By incorporating a novel turn-based contrastive learning strategy to model conversational dependencies, PRO-ConvQA achieves state-of-the-art accuracy on the OR-QuAC and TopiOCQA benchmarks while delivering a 15x to 30x speedup in inference time compared to traditional pipelines. This approach makes real-time conversational AI over massive datasets significantly more viable.

Introduction

In Open-Domain Conversational Question Answering (ODConvQA), systems must answer a sequence of interrelated questions by searching through massive corpora like Wikipedia. For instance, a user might ask, "Who directed Inception?" followed by "What other movies did he make?" To answer the second question, the system must resolve the pronoun "he" to "Christopher Nolan" and search the entire corpus for his filmography.

Historically, this has been addressed using a Retriever-Reader pipeline. In this setup, a retriever first identifies the top-$K$ relevant passages, and a reader then scans those passages to extract the specific answer phrase. However, this sequential process introduces a significant bottleneck: if the retriever fails to find the correct passage, the reader cannot recover the answer. Furthermore, the computational cost of running two distinct models sequentially creates a latency that is often too high for natural human-computer interaction.

PRO-ConvQA: Streamlining the Pipeline

The authors propose PRO-ConvQA (Phrase Retrieval for Open-domain Conversational QA), which collapses the traditional two-step process into a single "direct phrase retrieval" step. Instead of indexing passages, PRO-ConvQA indexes dense representations of every possible phrase in the corpus. The system finds the answer by calculating the inner product between the conversation context and the phrase embeddings, effectively finding the answer in one pass.

Core Innovations

To make this single-stage approach effective for conversational contexts, the authors introduced several key technical innovations:

  1. Conversational Dependency Modeling: To ensure the model understands the context of previous turns, the authors introduced a turn-based contrastive loss ($\mathcal{L}_{turn}$). This loss function forces the vector representation of the current turn to be similar to the previous turn while pushing it away from irrelevant turns within the same batch. This "bakes" semantic continuity directly into the embedding space.
  2. Knowledge Distillation: To refine the precision of phrase boundaries (identifying exactly where an answer starts and ends), the system distills knowledge from a pre-trained reading comprehension model into the phrase retriever.
  3. Query-Side Fine-Tuning: The question encoder is specifically optimized to maximize the similarity between the conversational context and the correctly retrieved phrases.
  4. Maximum Inner Product Search (MIPS): By using a decomposable encoder architecture, the model can leverage MIPS to search billions of phrases in milliseconds, ensuring high-speed performance.

Experimental Evaluation

The model was evaluated on two major ODConvQA benchmarks: OR-QuAC (an open-domain version of Question Answering in Context) and TopiOCQA (a challenging dataset featuring frequent topic switching).

Accuracy and Robustness

PRO-ConvQA demonstrated significant improvements over existing baselines:

  • OR-QuAC: Achieved an F1 score of 36.84, significantly outperforming the ORConvQA baseline of 28.86.
  • TopiOCQA: Achieved an Exact Match (EM) score of 20.38, a massive leap from the baseline score of 2.36.

The model proved particularly robust to topic shifts in the TopiOCQA dataset, suggesting that phrase-level retrieval is more resilient than passage-level retrieval when the conversation moves rapidly between subjects.

Efficiency and Speed

The most striking result of PRO-ConvQA is its efficiency. By eliminating the reader stage, the model achieved a nearly 30x speedup in inference time. While a standard BM25+DPR pipeline managed only 1.74 queries per second, PRO-ConvQA processed 29.6 queries per second. In terms of total wall-clock time, the system is 15x to 30x faster than traditional two-stage models.

Discussion and Future Work

While PRO-ConvQA represents a major step forward, the authors identify areas for further refinement. The current contrastive strategy, which aligns the current turn with the immediate previous one, may struggle with abrupt, unrelated topic shifts. Future iterations could benefit from more sophisticated "history filtering" to determine which parts of a long conversation remain relevant.

Additionally, the authors highlight the ethical considerations of direct phrase retrieval. Retrieving raw phrases from a large corpus carries the risk of surfacing biased or toxic content. Implementing safety mechanisms for retrieved phrases is a necessary step before these systems can be deployed in real-world applications.

Conclusion

PRO-ConvQA demonstrates that a single-stage phrase retrieval architecture, supported by contrastive learning for context modeling, can outperform complex two-stage pipelines in both accuracy and speed. By removing the retriever-reader bottleneck, this research paves the way for more responsive and accurate conversational AI systems capable of operating over vast knowledge bases in real-time.

Summary updated

BibTeX
@inproceedings{jeong2023phrase,
  author = {Soyeong Jeong and Jinheon Baek and Sung Ju Hwang and Jong Park},
  title = {{Phrase Retrieval for Open Domain Conversational Question Answering with Conversational Dependency Modeling via Contrastive Learning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.374},
}
Figure