Entity-Relation Extraction as Multi-Turn Question Answering

Xiaoya Li, Fan Yin, Zijun Sun, Xiayu Li, Arianna Yuan, Duo Chai, Mingxin Zhou, Jiwei Li · DOI

Introduction

Extracting entities and their relations (ERE) is a fundamental task in transforming unstructured text into structured knowledge bases. Traditionally, this has been approached as a triplet extraction task, identifying sets of $(e_1, \text{relation}, e_2)$. However, standard triplet formats often fail to capture the hierarchical dependencies inherent in real-world data. For example, in a sentence describing a person's career, the "Time" of an appointment depends on the "Position," which in turn depends on the "Company."

To address these limitations, this paper introduces a novel paradigm that frames entity-relation extraction as a multi-turn machine reading comprehension (MRC) task. By asking a sequence of questions, the model can capture complex, overlapping, and hierarchical relationships that flat models struggle to resolve.

Methodology

The proposed framework treats ERE as a conversational extraction process. Instead of a single-pass labeling, the model engages in multiple turns of question answering:

  1. Entity Discovery (Turn 1): The model begins by asking a general question to identify "head" entities (e.g., "Who is mentioned in the text?").
  2. Relation Extraction (Subsequent Turns): For each entity found, the model generates follow-up questions based on predefined templates to identify "tail" entities and their specific relations (e.g., "Which company did [Entity] work for?").
The multi-turn QA framework illustrated through a sequence of questions (Q1-Q4) designed to extract a complete career history chain.

Model Architecture and Training

The system utilizes BERT as its core engine. To handle multiple answers to a single question (such as a person working for multiple companies), the authors implemented a BMEO (Beginning, Middle, End, Outside) tagging layer rather than simple start/end pointers.

A critical challenge in multi-turn systems is error propagation: a mistake in an early turn can derail the entire extraction chain. To mitigate this, the authors employed Reinforcement Learning (RL) using the REINFORCE algorithm. This optimizes the model based on the accuracy of the final extracted chain, encouraging the model to make early-turn decisions that lead to successful global extractions.

Experimental Results

The model was evaluated on standard benchmarks (ACE04, ACE05, CoNLL04) and a new Chinese dataset, RESUME, which features complex executive work histories requiring 4-5 turns of reasoning.

The multi-turn QA approach achieved new state-of-the-art (SOTA) results across all datasets. On ACE05, the model reached an F1 score of 60.2, a significant improvement over previous joint and pipeline models. The benefits of the RL-enhanced training were particularly evident in the RESUME dataset, where the model outperformed traditional tagging and dependency-based approaches in extracting complete entity chains.

Detailed performance metrics on the RESUME dataset, comparing the multi-turn QA approach with and without Reinforcement Learning against baseline tagging methods.

Key Insights and Future Work

The success of this approach highlights that questions act as powerful semantic priors. By framing the search for a relation as a natural language question, the model's attention is narrowed to a specific semantic class, leveraging the linguistic knowledge embedded in pre-trained models like BERT. Ablation studies confirmed that natural language questions significantly outperform simple keyword-based "pseudo-questions."

While the current system relies on manually defined templates, future research directions include automated template generation and learning the optimal order of questions dynamically. Despite the increased computational cost of multiple BERT passes, the gains in accuracy and the ability to handle complex dependencies represent a significant step forward for information extraction.

Summary updated

BibTeX
@inproceedings{li2019entity,
  author = {Xiaoya Li and Fan Yin and Zijun Sun and Xiayu Li and Arianna Yuan and Duo Chai and Mingxin Zhou and Jiwei Li},
  title = {{Entity-Relation Extraction as Multi-Turn Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-1129},
}
Figure