Question-Answer Sentence Graph for Joint Modeling Answer Selection

Roshni G. Iyer, Thuy Vu, Alessandro Moschitti, Yizhou Sun · DOI

Introduction

In retrieval-based Question Answering (QA), the Answer Sentence Selection (AS2) task is a critical component. Given a user's query and a set of candidate sentences, the system must identify the most accurate answer. Traditional state-of-the-art models typically employ "pointwise" reranking, evaluating each question-answer pair in isolation. However, this approach fails to leverage contextual relationships between similar questions or structural patterns across different answers.

Methodology: The EQAG-GNN Framework

To address these limitations, researchers introduced EQAG-GNN (Effective QA Graphs - Graph Neural Network). This framework shifts the paradigm from independent pair evaluation to joint modeling via a graph-based structure.

Graph Construction

The core innovation lies in the definition of nodes and edges:

  • Nodes as (Q, A) Pairs: Each node represents a specific question-answer pair, initialized with features from a pre-trained cross-encoder (e.g., TANDA-RoBERTa).
  • Multi-faceted Dependencies: Edges are established based on three primary relationships:
  • QA Dependency: Links a question to its own set of candidate answers.
  • QQ (Question-Question) Dependency: Connects nodes with semantically similar questions, allowing the model to "borrow" confidence from previously solved similar queries.
  • AA (Answer-Answer) Dependency: Connects nodes with similar answer structures.
The EQAG-GNN architecture utilizes intra-row (QA) and inter-row (QQ, AA) connections to model dependencies between question-answer pairs.

Information Propagation

A 2-layer Graph Convolutional Network (GCN) is applied to this sparse graph. This allows the model to refine the initial prediction scores by aggregating information from neighboring nodes. During inference, the system dynamically constructs a small-scale graph by retrieving the top-K most similar questions from the training set, ensuring that new queries benefit from the existing knowledge base.

Experimental Setup and Datasets

The model was rigorously tested on three diverse benchmarks: WikiQA (academic queries), TREC-QA (classic retrieval benchmark), and WQA (a large-scale, real-world dataset from a commercial virtual assistant). These datasets represent a range from clean academic data to noisy, industrial-scale customer interactions.

Key Results

EQAG-GNN demonstrates a significant performance leap over existing baselines. On the TREC-QA benchmark, the model achieved a P@1 of 0.985, representing a substantial error reduction compared to the TANDA baseline of 0.912.

Performance comparison of EQAG-GNN against state-of-the-art models across WikiQA, TREC-QA, and WQA datasets.

As shown in the results table, the EQAG-GNN variants consistently outperform other models like PWIM, HyperQA, and TANDA across all datasets. Notably, the model's success on the WQA dataset (improving P@1 from 0.651 to 0.679) underscores its robustness in handling real-world data. Despite the graph overhead, the GNN itself is minimal (only 2 layers), making it computationally efficient once the graph is constructed.

Conclusion and Future Directions

By moving from pointwise to joint modeling, EQAG-GNN effectively utilizes the structural and semantic context inherent in QA tasks. While the current bottleneck involves the latency of graph construction during inference, future work aims to integrate techniques like Dense Passage Retrieval (DPR) to enable sub-second response times. This advancement would make EQAG-GNN highly suitable for live production environments in virtual assistants and search engines.

Summary updated

BibTeX
@misc{iyer2022question,
  author = {Roshni G. Iyer and Thuy Vu and Alessandro Moschitti and Yizhou Sun},
  title = {{Question-Answer Sentence Graph for Joint Modeling Answer Selection}},
  year = {2022},
  eprint = {2203.03549},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.03549},
}
Figure