Improving Open Information Extraction via Iterative Rank-Aware Learning
Zhengbao Jiang, Pengcheng Yin, Graham Neubig

TL;DR
This paper introduces an iterative, rank-aware learning approach to improve confidence calibration in open information extraction, enhancing the quality and comparability of extracted assertions.
Contribution
It proposes a novel binary classification loss and iterative training process to better calibrate confidence scores in open IE systems.
Findings
Improved confidence calibration on OIE2016 dataset
Enhanced extraction quality and ranking consistency
Effective iterative learning demonstrated through experiments
Abstract
Open information extraction (IE) is the task of extracting open-domain assertions from natural language sentences. A key step in open IE is confidence modeling, ranking the extractions based on their estimated quality to adjust precision and recall of extracted assertions. We found that the extraction likelihood, a confidence measure used by current supervised open IE systems, is not well calibrated when comparing the quality of assertions extracted from different sentences. We propose an additional binary classification loss to calibrate the likelihood to make it more globally comparable, and an iterative learning process, where extractions generated by the open IE model are incrementally included as training samples to help the model learn from trial and error. Experiments on OIE2016 demonstrate the effectiveness of our method. Code and data are available at…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3| Train | Dev. | Test | |
|---|---|---|---|
| # sentence | 1 688 | 560 | 641 |
| # extraction | 3 040 | 971 | 1 729 |
| sentence | old | new | label |
|---|---|---|---|
| rank | rank | ||
| A CEN forms an important but small part of a Local Strategic Partnership. | 3 | 1 | ✓ |
| An animal that cares for its young but shows no other sociality traits is said to be “subsocial”. | 2 | 2 | ✗ |
| A casting director at the time told Scott that he had wished that he’d met him a week before; he was casting for the “G.I. Joe” cartoon. | 1 | 3 | ✗ |
| System | AUC | F1 |
|---|---|---|
| Non-neural Systems | ||
| PropS (Stanovsky et al., 2016) | .006 | .065 |
| ClausIE (Corro and Gemulla, 2013) | .026 | .144 |
| OpenIE4 | .034 | .164 |
| Neural Systems | ||
| Base Model (RnnOIE Stanovsky et al. (2018)) | .050 | .204 |
| Binary loss (§ 3.1), Rerank Only | .091 | .225 |
| Binary loss (§ 3.1), Generate | .092 | .260 |
| Iterative Learning (§ 3.2) | .125 | .315 |
| overgenerated | wrong | missing |
| predicate | argument | argument |
| 41% | 38% | 21% |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Software Engineering Research
Improving Open Information Extraction
via Iterative Rank-Aware Learning
Zhengbao Jiang, Pengcheng Yin, Graham Neubig
Language Technologies Institute
Carnegie Mellon University
{zhengbaj, pcyin, gneubig}@cs.cmu.edu
Abstract
Open information extraction (IE) is the task of extracting open-domain assertions from natural language sentences. A key step in open IE is confidence modeling, ranking the extractions based on their estimated quality to adjust precision and recall of extracted assertions. We found that the extraction likelihood, a confidence measure used by current supervised open IE systems, is not well calibrated when comparing the quality of assertions extracted from different sentences. We propose an additional binary classification loss to calibrate the likelihood to make it more globally comparable, and an iterative learning process, where extractions generated by the open IE model are incrementally included as training samples to help the model learn from trial and error. Experiments on OIE2016 demonstrate the effectiveness of our method.111Code and data are available at https://github.com/jzbjyb/oie_rank
1 Introduction
Open information extraction (IE, Sekine (2006); Banko et al. (2007)) aims to extract open-domain assertions represented in the form of -tuples (e.g., was born in; Barack Obama; Hawaii) from natural language sentences (e.g., Barack Obama was born in Hawaii). Open IE started from rule-based (Fader et al., 2011) and syntax-driven systems (Mausam et al., 2012; Corro and Gemulla, 2013), and recently has used neural networks for supervised learning (Stanovsky et al., 2018; Cui et al., 2018; Sun et al., 2018; Duh et al., 2017; Jia et al., 2018).
A key step in open IE is confidence modeling, which ranks a list of candidate extractions based on their estimated quality. This is important for downstream tasks, which rely on trade-offs between the precision and recall of extracted assertions. For instance, an open IE-powered medical question answering (QA) system may require its assertions in higher precision (and consequently lower recall) than QA systems for other domains. For supervised open IE systems, the confidence score of an assertion is typically computed based on its extraction likelihood given by the model (Stanovsky et al., 2018; Sun et al., 2018). However, we observe that this often yields sub-optimal ranking results, with incorrect extractions of one sentence having higher likelihood than correct extractions of another sentence. We hypothesize this is due to the issue of a disconnect between training and test-time objectives. Specifically, the system is trained solely to raise likelihood of gold-standard extractions, and during training the model is not aware of its test-time behavior of ranking a set of system-generated assertions across sentences that potentially include incorrect extractions.
To calibrate open IE confidences and make them more globally comparable across different sentences, we propose an iterative rank-aware learning approach, as outlined in Fig. 1. Given extractions generated by the model as training samples, we use a binary classification loss to explicitly increase the confidences of correct extractions and decrease those of incorrect ones. Without adding additional model components, this training paradigm naturally leads to a better open IE model, whose extractions can be further included as training samples. We further propose an iterative learning procedure that gradually improves the model by incrementally adding extractions to the training data. Experiments on the OIE2016 dataset (Stanovsky and Dagan, 2016) indicate that our method significantly outperforms both neural and non-neural models.
2 Neural Models for Open IE
We briefly revisit the formulation of open IE and the neural network model used in our paper.
2.1 Problem Formulation
Given sentence , the goal of open IE is to extract assertions in the form of tuples , composed of a single predicate and arguments. Generally, these components in need not to be contiguous, but to simplify the problem we assume they are contiguous spans of words from and there is no overlap between them.
Methods to solve this problem have recently been formulated as sequence-to-sequence generation (Cui et al., 2018; Sun et al., 2018; Duh et al., 2017) or sequence labeling (Stanovsky et al., 2018; Jia et al., 2018). We adopt the second formulation because it is simple and can take advantage of the fact that assertions only consist of words from the sentence. Within this framework, an assertion can be mapped to a unique BIO (Stanovsky et al., 2018) label sequence by assigning to the words not contained in , / to the words in , and / to the words in respectively, depending on whether the word is at the beginning or inside of the span.
The label prediction is made by the model given a sentence associated with a predicate of interest . At test time, we first identify verbs in the sentence as candidate predicates. Each sentence/predicate pair is fed to the model and extractions are generated from the label sequence.
2.2 Model Architecture and Decoding
Our training method in § 3 could potentially be used with any probabilistic open IE model, since we make no assumptions about the model and only the likelihood of the extraction is required for iterative rank-aware learning. As a concrete instantiation in our experiments, we use RnnOIE (Stanovsky et al., 2018; He et al., 2017), a stacked BiLSTM with highway connections (Zhang et al., 2016; Srivastava et al., 2015) and recurrent dropout (Gal and Ghahramani, 2016). Input of the model is the concatenation of word embedding and another embedding indicating whether this word is predicate:
[TABLE]
The probability of the label at each position is calculated independently using a softmax function:
[TABLE]
where is the hidden state of the last layer. At decoding time, we use the Viterbi algorithm to reject invalid label transitions (He et al., 2017), such as followed by .222This formulation cannot easily handle coordination, where multiple instances of an argument are extracted for a single predicate, so we use a heuristic of keeping only the first instance of an argument.
We use average log probability of the label sequence (Sun et al., 2018) as its confidence:333The log probability is normalized by the length of the sentence to avoid bias towards short sentences. The original confidence score in RnnOIE is slightly different from ours. Empirically, we found them to perform similarly.
[TABLE]
The probability is trained with maximum likelihood estimation (MLE) of the gold extractions. This formulation lacks an explicit concept of cross-sentence comparison, and thus incorrect extractions of one sentence could have higher confidence than correct extractions of another sentence.
3 Iterative Rank-Aware Learning
In this section, we describe our proposed binary classification loss and iterative learning procedure.
3.1 Binary Classification Loss
To alleviate the problem of incomparable confidences across sentences, we propose a simple binary classification loss to calibrate confidences to be globally comparable. Given a model trained with MLE, beam search is performed to generate assertions with the highest probabilities for each predicate. Assertions are annotated as either positive or negative with respect to the gold standard, and are used as training samples to minimize the hinge loss:
[TABLE]
where is the training sentence collection, represents the candidate generation process, and is the binary annotation. is the confidence score calculated by average log probability of the label sequence.
The binary classification loss distinguishes positive extractions from negative ones generated across different sentences, potentially leading to a more reliable confidence measure and better ranking performance.
3.2 Iterative Learning
Compared to using external models for confidence modeling, an advantage of the proposed method is that the base model does not change: the binary classification loss just provides additional supervision. Ideally, the resulting model after one-round of training becomes better not only at confidence modeling, but also at assertion generation, suggesting that extractions of higher quality can be added as training samples to continue this training process iteratively. The resulting iterative learning procedure (Alg. 1) incrementally includes extractions generated by the current model as training samples to optimize the binary classification loss to obtain a better model, and this procedure is continued until convergence.
4 Experiments
4.1 Experimental Settings
Dataset
We use the OIE2016 dataset (Stanovsky and Dagan, 2016) to evaluate our method, which only contains verbal predicates. OIE2016 is automatically generated from the QA-SRL dataset (He et al., 2015), and to remove noise, we remove extractions without predicates, with less than two arguments, and with multiple instances of an argument. The statistics of the resulting dataset are summarized in Tab. 1.
Evaluation Metrics
We follow the evaluation metrics described by Stanovsky and Dagan (2016): area under the precision-recall curve (AUC) and F1 score. An extraction is judged as correct if the predicate and arguments include the syntactic head of the gold standard counterparts.444The absolute performance reported in our paper is much lower than the original paper because the authors use a more lenient lexical overlap metric in their released code: https://github.com/gabrielStanovsky/oie-benchmark.
Baselines
We compare our method with both competitive neural and non-neural models, including RnnOIE (Stanovsky et al., 2018), OpenIE4,555https://github.com/dair-iitd/OpenIE-standalone ClausIE (Corro and Gemulla, 2013), and PropS (Stanovsky et al., 2016).
Implementation Details
Our implementation is based on AllenNLP (Gardner et al., 2018) by adding binary classification loss function on the implementation of RnnOIE.666https://allennlp.org/models#open-information-extraction The network consists of 4 BiLSTM layers (2 forward and 2 backward) with 64-dimensional hidden units. ELMo (Peters et al., 2018) is used to map words into contextualized embeddings, which are concatenated with a 100-dimensional predicate indicator embedding. The recurrent dropout probability is set to 0.1. Adadelta (Zeiler, 2012) with and and mini-batches of size 80 are used to optimize the parameters. Beam search size is 5.
4.2 Evaluation Results
Tab. 4 lists the evaluation results. Our base model (RnnOIE, § 2) performs better than non-neural systems, confirming the advantage of supervised training under the sequence labeling setting. To test if the binary classification loss (E.q. 2, § 3) could yield better-calibrated confidence, we perform one round of fine-tuning of the base model with the hinge loss (Binary loss in Tab. 4). We show both the results of using the confidence (E.q. 1) of the fine-tuned model to rerank the extractions of the base model (Rerank Only), and the end-to-end performance of the fine-tuned model in assertion generation (Generate). We found both settings lead to improved performance compared to the base model, which demonstrates that calibrating confidence using binary classification loss can improve the performance of both reranking and assertion generation. Finally, our proposed iterative learning approach (Alg. 1, § 3) significantly outperforms non-iterative settings.
We also investigate the performance of our iterative learning algorithm with respect to the number of iterations in Fig. 2. The model obtained at each iteration is used to both rerank the extractions generated by the previous model and generate new extractions. We also report results of using only positive samples for optimization. We observe the AUC and F1 of both reranking and generation increases simultaneously for the first 6 iterations and converges after that, which demonstrates the effectiveness of iterative training. The best performing iteration achieves AUC of 0.125 and F1 of 0.315, outperforming all the baselines by a large margin. Meanwhile, using both positive and negative samples consistently outperforms only using positive samples, which indicates the necessity of exposure to the errors made by the system.
Case Study
Tab. 3 compares extractions from RnnOIE before and after reranking. We can see the order is consistent with the annotation after reranking, showing the additional loss function’s efficacy in calibrating the confidences; this is particularly common in extractions with long arguments. Tab. 3 shows a positive extraction discovered after iterative training (first example), and a wrong extraction that disappears (second example), which shows that the model also becomes better at assertion generation.
Error Analysis
Why is the performance still relatively low? We randomly sample 50 extractions generated at the best performing iteration and conduct an error analysis to answer this question. To count as a correct extraction, the number and order of the arguments should be exactly the same as the ground truth and syntactic heads must be included, which is challenging considering that the OIE2016 dataset has complex syntactic structures and multiple arguments per predicate.
We classify the errors into three categories and summarize their proportions in Tab. 5. “Overgenerated predicate” is where predicates not included in ground truth are overgenerated, because all the verbs are used as candidate predicates. An effective mechanism should be designed to reject useless candidates. “Wrong argument” is where extracted arguments do not coincide with ground truth, which is mainly caused by merging multiple arguments in ground truth into one. “Missing argument” is where the model fails to recognize arguments. These two errors usually happen when the structure of the sentence is complicated and coreference is involved. More linguistic information should be introduced to solve these problems.
5 Conclusion
We propose a binary classification loss function to calibrate confidences in open IE. Iteratively optimizing the loss function enables the model to incrementally learn from trial and error, yielding substantial improvement. An error analysis is performed to shed light on possible future directions.
Acknowledgements
This work was supported in part by gifts from Bosch Research, and the Carnegie Bosch Institute.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Banko et al. (2007) Michele Banko, Michael J. Cafarella, Stephen Soderland, Matthew Broadhead, and Oren Etzioni. 2007. Open information extraction from the web . In Proceedings of the 20th International Joint Conference on Artificial Intelligence , pages 2670–2676.
- 2Corro and Gemulla (2013) Luciano Del Corro and Rainer Gemulla. 2013. Clausie: clause-based open information extraction . In 22nd International World Wide Web Conference , pages 355–366. · doi ↗
- 3Cui et al. (2018) Lei Cui, Furu Wei, and Ming Zhou. 2018. Neural open information extraction . In Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics , pages 407–413.
- 4Duh et al. (2017) Kevin Duh, Benjamin Van Durme, and Sheng Zhang. 2017. MT/IE: cross-lingual open information extraction with neural sequence-to-sequence models . In Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics , pages 64–70.
- 5Fader et al. (2011) Anthony Fader, Stephen Soderland, and Oren Etzioni. 2011. Identifying relations for open information extraction . In Proceedings of the 2011 Conference on Empirical Methods in Natural Language Processing , pages 1535–1545.
- 6Gal and Ghahramani (2016) Yarin Gal and Zoubin Ghahramani. 2016. A theoretically grounded application of dropout in recurrent neural networks . In Advances in Neural Information Processing Systems 29: Annual Conference on Neural Information Processing Systems 2016 , pages 1019–1027.
- 7Gardner et al. (2018) Matt Gardner, Joel Grus, Mark Neumann, Oyvind Tafjord, Pradeep Dasigi, Nelson F. Liu, Matthew E. Peters, Michael Schmitz, and Luke Zettlemoyer. 2018. Allennlp: A deep semantic natural language processing platform . Co RR , abs/1803.07640.
- 8He et al. (2017) Luheng He, Kenton Lee, Mike Lewis, and Luke Zettlemoyer. 2017. Deep semantic role labeling: What works and what’s next . In Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics , pages 473–483. · doi ↗
