Adaptive Ordered Information Extraction with Deep Reinforcement Learning

Wenhao Huang, Jiaqing Liang, Zhixu Li, Yanghua Xiao, Chuanjun Ji

TL;DR

Traditional Information Extraction (IE) systems usually follow a rigid, pre-defined order when pulling facts from text. This paper introduces an Adaptive Ordered IE framework that uses Reinforcement Learning to dynamically decide which element to extract next, significantly improving accuracy on complex sentences where the "path of least resistance" varies from one instance to another.

The Challenge of Static Extraction Orders

In complex Information Extraction tasks—such as identifying all participants in a legal event or relationships in a news snippet—models must extract multiple related elements (e.g., Subject, Relation, Object). Most current state-of-the-art models use a static extraction order: for example, they always look for the "Subject" first, then the "Object."

The authors argue that this "one-size-fits-all" approach is flawed. In many sentences, one entity might be very famous (easy to find), while another is "long-tail" or obscure (hard to find). If a model tries to find the hard entity first, it might fail. However, if it extracts the easy entity first, that information provides context that makes the harder extraction much easier. Their analysis shows that in some datasets, over 64% of instances are sensitive to the order in which they are processed.

Figure 1: Examples of order sensitivity in information extraction. In sentence A, identifying "Mozart" first provides context for the rarer "Bassoon Concerto."

Methodology: Adaptive Ordered IE

The authors propose a framework that treats information extraction as a multi-step decision process involving an RL agent and a neural extractor.

Figure 4: The Adaptive Ordered IE framework. The Agent (Decision Model) selects the next role to extract, while the Environment (Extractor) performs the extraction and provides feedback.
  1. The Extractor (GlobalPointer): A BERT-based model that identifies entities or arguments based on a specific "role" (like Time, Publisher, or Product).
  2. The RL Agent (Double DQN): A Reinforcement Learning agent that looks at the sentence and the elements already extracted to decide which "role" the extractor should target next. It uses a Double Deep Q-Network (DDQN) with prioritized replay to learn the optimal policy.
  3. The Reward Function: Instead of just checking if the answer is right/wrong, the reward is based on the confidence score of the extractor. This encourages the agent to find an order that makes the extractor feel "certain" about its choices.
  4. Co-training Framework: To prevent the RL agent from becoming over-reliant on an "overfitting" extractor during training, the authors use a co-training strategy. They split the data, training the extractor on one half and the RL agent on the other, simulating the "unseen" nature of real-world inference.

Datasets and Evaluation

The model was evaluated on several challenging benchmarks across English and Chinese:

  • NYT & NYT10-HRL: Standard relation extraction datasets based on New York Times articles.
  • HacRED: A challenging dataset focused on "hard cases" in relation extraction.
  • SKE21: A large-scale Chinese relation extraction dataset.
  • DuIE & DuEE: Large-scale Chinese datasets for information and event extraction, respectively.

Key Insights

  • Order Sensitivity: The complexity of a task is directly correlated with how much the extraction order matters. In simple tasks, order is irrelevant; in complex event extraction, it is critical.
  • The "Mozart" Effect: If a sentence mentions "The Bassoon Concerto in B-flat major" and "Mozart," it is much easier to identify Mozart first (a common entity) and then use that context to identify the specific, rarer concerto, rather than vice-versa.
  • Dynamic vs. Static: By allowing the model to "look before it leaps," the system adapts to the linguistic structure of each specific sentence rather than following a hard-coded heuristic.

Performance Results

The "Adaptive Order" method consistently outperformed previous state-of-the-art models (like CasRel, TPLinker, and RERE) across all datasets.

  • HacRED: Achieved an F1 score of 64.64%, a significant improvement over the previous best of 57.33%.
  • Complex Cases: When the authors restricted the evaluation to "complicated" cases (sentences with 5+ triples or roles), the performance gap widened further, proving that the RL agent excels where traditional models struggle.
  • Precision/Recall Balance: The method showed improvements in both precision and recall, suggesting that a better order leads to fewer "hallucinations" and fewer missed entities.

Limitations and Future Work

  • Inference Speed: Because the model extracts elements in multiple rounds (one role at a time), it is inherently slower than "one-pass" parallel models.
  • Dependency on Pre-Classification: The current framework assumes a classification module has already identified the type of relation or event present. Integrating "type detection" directly into the RL process is a potential future direction.
  • Parallelism: Future work could explore "branching" extraction where the agent decides to extract multiple independent roles simultaneously while sequencing the dependent ones.

Summary updated

BibTeX
@inproceedings{huang2023adaptive,
  author = {Wenhao Huang and Jiaqing Liang and Zhixu Li and Yanghua Xiao and Chuanjun Ji},
  title = {{Adaptive Ordered Information Extraction with Deep Reinforcement Learning}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.863},
}
Figure