Open Information Extraction from Question-Answer Pairs

Nikita Bhutani, Yoshihiko Suhara, Wang-Chiew Tan, Alon Y. Halevy, H. V. Jagadish

Abstract

Traditional Open Information Extraction (OpenIE) systems typically operate on individual sentences, often failing to capture the rich, structured knowledge embedded within conversational exchanges. We present NEURON, an end-to-end system specifically designed for discourse-aware extraction from question-answer (QA) pairs. By employing a multi-encoder architecture and a constrained decoder, NEURON effectively leverages the context provided by questions to interpret answers. Our evaluation on real-world datasets demonstrates that NEURON significantly outperforms sentence-level extractors, yielding a 13.3% relative improvement in precision and capturing up to 25% more valid tuples.

Introduction: The Challenge of Conversational Context

Open Information Extraction (OpenIE) aims to transform unstructured text into structured triples, typically in the form of (subject, relation, object). While effective for declarative prose, traditional OpenIE systems struggle with dialogue. In a conversation, the meaning of a response is often inextricably linked to the preceding question.

For instance, if a hotel guest asks, "What time does the pool open?" and receives the reply, "6:00am daily," a standard extractor looking only at the answer would find no entities or relations to extract. To identify that "6:00am" refers to the "pool" and the relation is "open," the system must process the QA pair as a single unit of discourse. This paper introduces NEURON to address this gap in discourse-aware extraction.

Methodology: The NEURON Architecture

NEURON treats OpenIE as a multi-source sequence-to-sequence (Seq2Seq) generation task. Unlike standard models that might simply concatenate the question and answer, NEURON utilizes a specialized architecture to preserve the distinct roles of each participant in the dialogue.

The NEURON architecture featuring dual encoders for questions and answers, a combiner, and a constrained decoder.

Multi-Encoder Design

The system employs two separate Recurrent Neural Network (RNN) encoders: one for the question and one for the answer. This dual-encoder approach allows the model to capture the unique semantic signatures of words based on their context. For example, the word "ready" carries different implications when used in a query versus a confirmation.

Constrained Decoding

To ensure the generated triples are both syntactically valid and factually relevant, NEURON incorporates a constrained decoder:

  • Hard Constraints: These include a "vocab-mask" to restrict the output to words present in the input QA pair and a "tag-mask" to enforce the structural requirements of a valid triple (e.g., ensuring arguments and relations appear in the correct order).
  • Soft Constraints: The model uses Knowledge Embeddings (such as TransE) to perform relevance scoring. This helps the system prioritize "plausible" facts that align with a known Knowledge Base, effectively filtering out conversational filler like "I'm sorry" or "No problem."

Evaluation and Results

The researchers evaluated NEURON on two large-scale datasets: ConciergeQA (~33k pairs from hotel communications) and AmazonQA (~314k pairs regarding electronics). Training was facilitated through a bootstrapping method, using noisy labels generated by existing tools like StanfordIE to initialize the model.

Comparison of extractions between StanfordIE and NEURON across various QA examples.

Performance Gains

NEURON demonstrated a clear advantage over sentence-based baselines:

  • Precision: On the ConciergeQA dataset, NEURON achieved a precision of 0.807, a 13.3% relative improvement over standard neural OpenIE models.
  • Recall and Yield: The system successfully extracted 15-25% more tuples than state-of-the-art methods. Analysis showed that 22% to 38% of ground-truth facts in these datasets require the context of both the question and the answer to be identified.
  • Human Validation: Crowdsourced evaluations confirmed that NEURON provided at least one concrete, useful fact for 83% of the tested QA pairs.

Key Insights

A primary finding of the study is the necessity of the dual-encoder approach. By analyzing word embeddings, the researchers found that subjective terms like "time" or "available" occupy different spaces in the vector model depending on whether they originate from the question or the answer encoder. Furthermore, the inclusion of soft constraints proved vital for noise reduction, preventing the model from extracting technically correct but semantically empty triples.

Limitations and Future Directions

While NEURON represents a significant step forward, challenges remain. The model's performance degrades on exceptionally long utterances (averaging over 50 tokens), where long-range dependencies become difficult to track. Additionally, the informal nature of chat data—including slang and non-standard grammar—can still lead to extraction errors.

Future work will focus on extending NEURON to open-domain QA pairs and exploring its potential for autonomously populating massive knowledge bases from the vast repositories of forum and chat logs available on the web.

Summary updated

BibTeX
@inproceedings{bhutani2019open,
  author = {Nikita Bhutani and Yoshihiko Suhara and Wang-Chiew Tan and Alon Y. Halevy and H. V. Jagadish},
  title = {{Open Information Extraction from Question-Answer Pairs}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  url = {https://openreview.net/forum?id=rkNckXZOWB},
}
Figure