Efficient Data Learning for Open Information Extraction with Pre-trained Language Models

Zhiyuan Fan, Shizhu He

Abstract

Open Information Extraction (OpenIE) is a fundamental yet challenging task in Natural Language Processing, which involves extracting all triples (subject, predicate, object) from a given sentence. While labelling-based methods have their merits, generation-based techniques offer unique advantages, such as the ability to generate tokens not present in the original sentence. However, these generation-based methods often require a significant amount of training data to learn the task form of OpenIE and substantial training time to overcome slow model convergence due to the order penalty. In this paper, we introduce a novel framework, OK-IE, that ingeniously transforms the task form of OpenIE into the pre-training task form of the T5 model, thereby reducing the need for extensive training data. Furthermore, we introduce an innovative concept of 'anchors' to control the sequence of model outputs, effectively eliminating the impact of order penalty on model convergence and significantly reducing training time. Experimental results indicate that, compared to previous SOTA methods, OK-IE requires only 1/100 of the training data (900 instances) and 1/120 of the training time (3 minutes) to achieve comparable results.

Introduction

Open Information Extraction (OpenIE) aims to pull structured triples—(subject, predicate, object)—out of unstructured text. While modern generation-based models like T5 are flexible, they typically suffer from high data requirements and the "order penalty." This penalty occurs because sentences often contain multiple triples with no natural sequence; standard training, however, forces a specific order, penalizing models for correct extractions that appear in the "wrong" position. This leads to slow convergence and requires massive labeled datasets.

Methodology: The OK-IE Framework

The authors propose OK-IE (Order Agnostic Knowledge Embedded Information Extraction), which introduces two primary innovations to bridge the gap between pre-training and fine-tuning:

  1. Task Format Alignment: Standard T5 models are pre-trained using "span corruption." OK-IE transforms the OpenIE task into this exact format. Instead of generating a sequence from scratch, the model fills in sentinels marking the subject, predicate, and object, allowing it to leverage its existing pre-trained knowledge immediately.
  2. Anchors for Order Control: To solve the order penalty, the framework introduces "Anchors"—semantic markers (like [S], [P], and [O]) that wrap around sentinels. This explicitly instructs the model on which element to generate at each position, turning an implicit ordering problem into an explicit instruction-following task.
The OK-IE framework architecture illustrating task alignment and the use of anchors in the embedding layer.

Key Results and Efficiency

The quantitative results of OK-IE are striking, particularly regarding resource efficiency and training speed.

Extreme Data Efficiency

OK-IE achieves performance comparable to previous state-of-the-art (SOTA) models using only 900 training instances (approximately 0.9% of the full dataset). As shown in the performance comparison, OK-IE reaches near-peak performance almost immediately, whereas baseline models like IMOJIE require significantly more data to begin converging.

Performance of OK-IE vs. IMOJIE relative to the percentage of training data used.

Speed and Performance

Training OK-IE took only 3 minutes, representing a 120x speedup over previous methods that required hours. On the standard CaRB benchmark, OK-IE achieved an F1 score of 53.2, which is highly competitive with the best-performing models (such as CIGL-OIE at 54.0) that require substantially more training resources.

Conclusion

OK-IE demonstrates that by aligning fine-tuning tasks with pre-training objectives and using explicit anchors to control output order, researchers can drastically reduce the data and time requirements for complex extraction tasks. This framework makes high-performance OpenIE accessible even in low-resource or time-constrained environments.

Summary updated

BibTeX
@inproceedings{fan2023efficient,
  author = {Zhiyuan Fan and Shizhu He},
  title = {{Efficient Data Learning for Open Information Extraction with Pre-trained Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=BGsssE3E4i},
}
Figure