DocOIE: A Document-level Context-Aware Dataset for OpenIE

Kuicai Dong, Yilin Zhao, Aixin Sun, Jung-Jae Kim, Xiaoli Li

Introduction

Open Information Extraction (OpenIE) aims to extract structured relational tuples—typically in the form of (subject; relation; object)—from unstructured text. While traditional systems operate on isolated sentences, this approach often fails when encountering linguistic ambiguities that require broader context to resolve. This paper introduces DocOIE, the first document-level context-aware dataset for OpenIE, and DocIE, a neural model designed to leverage neighboring sentences to improve extraction accuracy.

The Challenge of Sentence-Level OpenIE

Sentence-level models face two primary hurdles: part-of-speech (POS) ambiguity and syntactic ambiguity. For instance, in the phrase "Data transfers to a single target...", a model might struggle to determine if "transfers" is a verb or a noun. Similarly, complex technical sentences often lack the explicit punctuation needed to delineate entities clearly.

Figure 1: Examples of POS and syntactic ambiguity in sentence-level OpenIE, resolvable with document context.

As shown in Figure 1, surrounding sentences (Context S1-S4) provide the necessary cues to resolve these ambiguities. Until now, the lack of datasets providing full document context has hindered the development of models capable of utilizing this information.

The DocIE Model Architecture

To address these limitations, the authors propose DocIE, a neural OpenIE model that processes both a source sentence and its surrounding context window.

Figure 2: The DocIE architecture featuring a Source-Context Encoder and an LSTM Decoder with CopyAttention.

The model's Source-Context Encoder utilizes a hybrid approach:

  • Bottom Layers: Pre-trained BERT blocks process the concatenated source and context sentences, using segment embeddings to distinguish between them.
  • Top Layers: Additional Transformer blocks are applied exclusively to the source sentence's representation. This design ensures that the specific meaning of the source sentence is preserved and not "washed out" by the surrounding context.

The decoding phase employs an LSTM-based decoder integrated with a CopyAttention mechanism. This allows the model to either generate words from a fixed vocabulary or copy technical terms and entities directly from the input, which is crucial for the patent domain.

The DocOIE Dataset

The DocOIE dataset serves as a high-quality benchmark for evaluating context-aware OpenIE. It consists of 800 sentences sampled from 80 patent documents across the Healthcare and Transportation domains. Unlike previous benchmarks like OIE2016 or CaRB, DocOIE provides the full source documents. Expert annotators produced 2,122 relational tuples, creating a rigorous "stress test" for systems due to the formal and syntactically diverse nature of patent text.

Key Results and Insights

Experimental results demonstrate that DocIE consistently outperforms state-of-the-art sentence-level baselines. In the Healthcare domain, DocIE achieved an F1 score of 60.8 (vs. 59.8 for the baseline), and in the Transportation domain, it reached 56.9 (vs. 56.1).

A critical finding was the impact of the context window size. The authors identified a "sweet spot" of 4 to 5 sentences. Smaller windows provide insufficient information to resolve ambiguity, while larger windows introduce noise that can degrade the representation of the source sentence.

Conclusion

DocOIE and DocIE represent a significant step toward more robust, context-aware information extraction. By moving beyond the sentence level, models can better handle the complexities of technical and formal documents. Future work will focus on reducing the dependency on "pseudo-labels" from sentence-level models during training and optimizing the computational efficiency of processing multi-sentence inputs.

Summary updated

BibTeX
@inproceedings{dong2021docoie,
  author = {Kuicai Dong and Yilin Zhao and Aixin Sun and Jung-Jae Kim and Xiaoli Li},
  title = {{DocOIE: A Document-level Context-Aware Dataset for OpenIE}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.findings-acl.210},
}
Figure