Capturing Sentence Relations for Answer Sentence Selection with Multi-Perspective Graph Encoding

Zhixing Tian, Yuanzhe Zhang, Xinwei Feng, Wenbin Jiang, Yajuan Lyu, Kang Liu, Jun Zhao

Abstract

Traditional Answer Sentence Selection (AS) models often treat candidate sentences as independent units, failing to capture the rich contextual relationships within a passage. We present the Multi-Perspective Graph Encoder (MPGE), a novel framework that models inter-sentence relations using both static and dynamic graph construction strategies. By leveraging Graph Convolutional Networks to enrich sentence representations with contextual neighbors, MPGE achieves state-of-the-art results on WikiQA and SQuAD benchmarks, demonstrating significant improvements in accuracy and robustness against adversarial distractors.

Introduction

In the Answer Sentence Selection (AS) task, a system is tasked with identifying the specific sentence within a passage that correctly answers a given question. Historically, models have approached this by calculating matching scores between the question and each candidate sentence in isolation. However, this "independent island" methodology overlooks the intrinsic interconnectedness of natural language. Sentences in a coherent paragraph are linked through shared entities, physical proximity, and semantic flow.

Ignoring these relationships makes systems vulnerable to "distractor" sentences—candidates that share high keyword overlap with the question but are logically irrelevant. For example, resolving coreferences (e.g., knowing "the character" refers to "Superman" mentioned in a previous sentence) is impossible without cross-sentence context. This paper addresses these limitations by proposing a graph-based encoding scheme that captures multi-faceted sentence relations.

Methods

The authors introduce the Multi-Perspective Graph Encoder (MPGE), which represents candidate sentences as nodes in a graph rather than a simple linear sequence. The core innovation lies in the construction of edges through two distinct strategies:

  1. Static Building Strategy: This utilizes three pre-defined heuristics to link sentences:
  2. Entity Graph: Connects sentences sharing the same entities.
  3. Distance Graph: Connects sentences based on their physical proximity in the text.
  4. Similarity Graph: Connects sentences with high semantic similarity based on pre-trained embeddings.
  5. Dynamic Building Strategy: This employs a self-attention mechanism to learn instance-specific relations that may not be captured by static rules.
Architecture of the Multi-Perspective Graph Encoder (MPGE) module.

Once the graphs are constructed, the model uses Graph Convolutional Networks (GCNs) to perform message passing between nodes, allowing each sentence representation to be enriched by its neighbors' context. Finally, a Bi-directional GRU fuses these perspectives into a unified representation for final scoring. The MPGE module is versatile and was implemented atop both traditional RNN-based (TR-MPGE-AS) and BERT-based (BR-MPGE-AS) architectures.

Key Results and Insights

Evaluation on the WikiQA and SQuAD benchmarks shows that MPGE-enhanced models consistently outperform baseline and previous state-of-the-art (SOTA) approaches.

Comparison of MAP and MRR scores across different model configurations on the WikiQA dataset.

On the WikiQA dataset, the BERT-based model (BR-MPGE-AS) achieved a MAP of 86.7 and an MRR of 87.9, a significant improvement over models that do not account for sentence relations. Similarly, on SQuAD, the model reached a 95.0 MAP.

Beyond raw performance, a critical finding is the model's adversarial robustness. When tested against the "AddSent" and "AddOneSent" adversarial datasets—which insert misleading sentences designed to fool keyword-matching systems—the MPGE model maintained significantly higher accuracy than its counterparts. This confirms that modeling the internal logic of a passage allows the system to distinguish between true answers and sophisticated distractors.

Conclusion and Future Work

The success of the Multi-Perspective Graph Encoder highlights that context is paramount in answer selection. By treating a passage as a structured graph of ideas rather than a list of strings, the model achieves deeper comprehension and greater resilience to noise. While highly effective, future work could focus on optimizing the computational complexity of multi-graph encoding and incorporating more formal discourse structures, such as logical roles like "contrast" or "evidence," to further enhance reasoning capabilities.

Summary updated

BibTeX
@inproceedings{tian2020capturing,
  author = {Zhixing Tian and Yuanzhe Zhang and Xinwei Feng and Wenbin Jiang and Yajuan Lyu and Kang Liu and Jun Zhao},
  title = {{Capturing Sentence Relations for Answer Sentence Selection with Multi-Perspective Graph Encoding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6436},
}
Figure