Abstract
Open Information Extraction (OpenIE) extracts meaningful structured tuples from free-form text. Most previous work on OpenIE considers extracting data from one sentence at a time. We describe NeurON, a system for extracting tuples from question-answer pairs. Since real questions and answers often contain precisely the information that users care about, such information is particularly desirable to extend a knowledge base with. NeurON addresses several challenges. First, an answer text is often hard to understand without knowing the question, and second, relevant information can span multiple sentences. To address these, NeurON formulates extraction as a multi-source sequence-to-sequence learning task, wherein it combines distributed representations of a question and an answer to generate knowledge facts. We describe experiments on two real-world datasets that demonstrate that NeurON can find a significant number of new and interesting facts to extend a knowledge base compared to state-of-the-art OpenIE methods.
Introduction
Traditional Open Information Extraction (OpenIE) systems are often "sentence-blind," processing text in isolation and failing to capture context that spans multiple utterances. This limitation is particularly problematic in conversational data, such as customer service logs or e-commerce FAQs, where the most valuable information is distributed across a question and its corresponding answer. For instance, if a guest asks, "Does the hotel have a gym?" and receives the reply, "It is located on the third floor," a standard extractor might produce the vague tuple (It, is located on, third floor). To be useful for a Knowledge Base (KB), the system must link the subject from the question to the detail in the answer to produce (gym, is located on, third floor).
This paper introduces NEURON (Multi-Encoder Constrained-Decoder), a novel framework designed to extract structured triples from QA pairs by treating the task as a multi-source sequence-to-sequence learning problem.
Methodology
NEURON models the extraction process by translating a QA pair into a structured triple using a specialized architecture.
Multi-Source Encoding
Rather than concatenating the question and answer into a single input string, NEURON employs two separate Recurrent Neural Network (RNN) encoders. This dual-encoder approach allows the model to capture the distinct linguistic patterns and vocabularies characteristic of questions versus answers.
Constrained Decoding
To ensure the generated output adheres to the required triple format and remains grounded in the input text, the system implements two types of constraints:
- Hard Constraints: A "vocab-mask" restricts the model to words present in the input, while a "tag-mask" (implemented via a finite state transducer) enforces the
(arg1, relation, arg2)structure. - Soft Constraints: The model leverages Knowledge Embeddings (e.g., TransE) to score candidate facts based on their relevance to the existing KB. Facts that align with the domain's known entities and relations receive higher priority.
Experimental Setup
The performance of NEURON was evaluated on two distinct real-world datasets:
- ConciergeQA: An internal dataset comprising approximately 33,000 QA pairs from hotel guest-staff interactions, characterized by short, goal-oriented dialogue.
- AmazonQA: A public dataset containing over 314,000 QA pairs related to electronic products. This dataset presents a greater challenge due to its noise, longer sentences, and a vast vocabulary exceeding 50,000 unique tokens.
Key Insights and Results
Analysis of the model's behavior revealed several critical findings regarding the necessity of cross-sentence context. In the ConciergeQA dataset, nearly 80% of extracted facts required information from both the question and the answer, highlighting the inadequacy of single-sentence extractors.
NEURON demonstrated superior performance across multiple metrics compared to state-of-the-art sentence-based models like StanfordIE and NeuralOpenIE:
- Accuracy and Precision: NEURON achieved a relative improvement in extraction accuracy of up to 13.3%. On ConciergeQA, it reached a precision of 0.807, surpassing the NeuralOpenIE baseline of 0.769.
- Novelty: The system successfully discovered 15-25% more unique tuples that were invisible to baseline methods.
- Human Evaluation: In crowdsourced tests, NEURON extracted at least one useful, concrete fact for 83% of the provided QA pairs.
Conclusion and Limitations
While NEURON significantly advances OpenIE for conversational data, it faces challenges with very long utterances (averaging 54+ tokens) and role-based ambiguity. Future research will focus on scaling the system to open-domain QA pairs where a pre-existing domain-specific KB may not be available to provide soft constraints.
Summary updated