Peeking inside the Black-Box: Reinforcement Learning for Explainable and Accurate Relation Extraction
Guo, Xinyu, Shi, Zhengliang, Yang, Minglai, Rahimi, Mahdi, Surdeanu, Mihai
–arXiv.org Artificial Intelligence
This paper introduces a framework for relation extraction (RE) that enhances both accuracy and explainability. The framework has two key components: (i) a reasoning mechanism that formulates relation extraction as a series of text-processing steps inspired by cognitive science, and (ii) an optimization process driven by reinforcement learning (RL) with a novel reward function designed to improve both task accuracy and explanation quality. We call our approach CogRE. Our framework addresses the lack of supervision for language-based explanations in traditional RE by promoting outputs that include important relation keywords. These keywords are drawn from a high-quality dictionary that is automatically constructed using an LLM. We evaluate our approach for the task of one-shot RE using two LLMs and two RE datasets. Our experiments show that CogRE improves explanation quality by addressing two common failure patterns in one-shot RE: poor attention focus and limited one-shot learning capability. For example, our cognitive-structured reasoning with Qwen2.5-15B-Instruct on One-shot NYT29 achieves 24.65% F1, surpassing prior reasoning-based designs. Optimizing this approach with RL using our reward further improves performance by +23.46% (absolute). Finally, human evaluation shows that our best model generates relational keywords closely aligned with gold labels, increasing human explanation quality ratings by 54% (relative).
arXiv.org Artificial Intelligence
Oct-8-2025
- Country:
- Asia
- Afghanistan (0.04)
- Central Asia (0.04)
- China > Shandong Province
- Qingdao (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Pakistan (0.04)
- South Korea (0.04)
- Vietnam (0.04)
- Europe
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Finland (0.04)
- Belgium > Brussels-Capital Region
- North America
- Haiti > Ouest
- Port-au-Prince (0.04)
- United States
- Arizona > Pima County
- Tucson (0.14)
- Illinois > Cook County
- Chicago (0.04)
- Texas (0.05)
- Arizona > Pima County
- Haiti > Ouest
- Oceania (0.05)
- Asia
- Genre:
- Research Report > New Finding (0.67)
- Industry:
- Banking & Finance (0.92)
- Government > Regional Government (0.46)
- Law (1.00)
- Technology: