AI
LLMs Learn to Extract Relations Better by Deriving Their Own Reward Signals
Researchers developed a framework using reinforcement learning and self-derived rewards to help large language models perform more accurate and explainable relation extraction from text.
Large language models excel at many reasoning tasks, but struggle to identify relationships between entities in text when labels aren't provided upfront—and their reasoning often lacks the clarity humans expect. A team of researchers has now introduced a framework addressing both problems simultaneously.
The Problem#
Current approaches to one-shot relation extraction (learning from just one example) face two critical issues: models get distracted by surface-level tokens rather than focusing on semantic clues that actually signal a relationship, and their reasoning patterns diverge from how human annotators conceptualize the task. This gap makes it hard to trust or verify the model's reasoning.
COGRE: A Cognitively-Inspired Framework#
The researchers developed COGRE, a reasoning structure that mirrors how humans process text for relation extraction. Rather than treating the problem as a black box, it breaks extraction down into a series of interpretable cognitive steps, guiding the model toward more human-aligned reasoning.
HIT@DICT: Learning from Success#
The framework pairs with HIT@DICT, a reinforcement learning strategy that rewards the model when it highlights relation-relevant phrases during reasoning. Crucially, the reward signals themselves come from a credit dictionary automatically built from the model's own correct predictions—the answer truly does lie within.
Results#
Testing on one-shot NYT29 data, COGRE with Qwen2.5-14B-Instruct achieved 24.65% F1 score, surpassing earlier reasoning-based approaches. Adding reinforcement learning optimization with HIT@DICT boosted performance by an additional 23.46 percentage points. Human evaluators confirmed that the model's extracted relational phrases now align far more closely with gold-standard labels, with explanation quality improving by 54% in relative terms.

