GenRES: Rethinking Evaluation for Generative Relation Extraction in the Era of Large Language Models

Pengcheng Jiang, Jiacheng Lin, Zifeng Wang, Jimeng Sun, Jiawei Han

Introduction

Traditional Relation Extraction (RE) has long been treated as a "closed-world" task, where models are tasked with identifying a predefined set of relations between specific entities. Evaluation in this paradigm is straightforward: a model's output is compared against a human-annotated "gold standard" using exact-match metrics like Precision, Recall, and F1-score. However, the advent of Large Language Models (LLMs) has shifted the landscape toward Generative Relation Extraction (GRE). LLMs can perform "Open" extraction, uncovering complex, nuanced connections without being restricted to a fixed schema.

This shift reveals a critical flaw in traditional evaluation: rigid metrics fail to account for factually correct but differently phrased extractions. For instance, if an LLM identifies [Marie Curie, is married to, Pierre] but the reference only contains [Marie Curie, spouse, Pierre], the model receives a score of zero. To address this, we introduce GENRES (GENerative Relation Extraction Scoring), a multi-dimensional framework designed to assess topicality, factualness, and granularity.

Comparison of Closed, Semi-open, and Open GRE paradigms and their evaluation challenges.

The GENRES Framework

GENRES moves beyond string matching by evaluating GRE across five distinct dimensions, leveraging both statistical methods and LLM-based verification:

  1. Topical Similarity (TS): Employs Latent Dirichlet Allocation (LDA) to ensure the extracted triples maintain the same topic distribution as the source text.
  2. Uniqueness Score (US): Utilizes word embeddings to penalize redundancy, ensuring the model provides a diverse set of unique insights.
  3. Factualness Score (FS): Uses an LLM (specifically GPT-3.5-Turbo-Instruct) as an automated fact-checker to verify if each triple is explicitly supported by the source document.
  4. Granularity Score (GS): Measures the precision of information. It penalizes overly broad triples by checking if they can be decomposed into more atomic, specific statements.
  5. Completeness Score (CS): Acts as a "soft-match" recall metric. By using cosine similarity of embeddings, it determines how much of the gold-standard information was captured, regardless of exact phrasing.
The five dimensions of the GENRES evaluation framework.

Experimental Setup

The framework was benchmarked using 14 leading LLMs across three levels of complexity:

  • Document-level: CDR and DocRED datasets.
  • Bag-level: NYT10m and Wiki20m datasets.
  • Sentence-level: TACRED and Wiki80 datasets.

To validate the framework, human evaluations were conducted on 100 samples from Wiki20m to establish Elo Ratings, providing a baseline for alignment between GENRES and human judgment.

Key Insights and Results

Our analysis yielded several significant findings regarding the current state of GRE:

  • The "Zero Score" Paradox: In Open GRE settings, models frequently receive a 0% F1 score from traditional metrics despite achieving high Factualness and Completeness scores under GENRES. This highlights that traditional benchmarks are often "blind" to valid open-domain intelligence.
  • Human Annotation Fallibility: Human-annotated datasets are not perfect. We observed instances where LLMs outperformed the "gold standard" in factual accuracy, identifying errors in human labels (e.g., miscategorizing entities).
  • Constraints vs. Hallucinations: Interestingly, forcing LLMs into "Closed GRE" constraints often increases hallucinations. Models tend to shoehorn complex relationships into ill-fitting predefined categories.
  • Model Performance: GPT-4-Turbo and LLaMA-2-70B were the most robust performers. Notably, the 7B OpenChat-3.5 model outperformed significantly larger models like Vicuna-33B, suggesting that fine-tuning strategies are as critical as scale.

Conclusion and Future Work

GENRES demonstrates that LLMs often extract valid information that traditional benchmarks ignore. While the framework currently relies on LLMs as judges—introducing potential "evaluator bias"—it provides a much-needed nuanced perspective on generative capabilities. Future work will focus on mitigating evaluator hallucination through reasoning chains and developing intermediary layers for post-processing Open GRE results to filter for relevance while maintaining the high factualness and diversity that GENRES rewards.

Summary updated

BibTeX
@inproceedings{jiang2024genres,
  author = {Pengcheng Jiang and Jiacheng Lin and Zifeng Wang and Jimeng Sun and Jiawei Han},
  title = {{GenRES: Rethinking Evaluation for Generative Relation Extraction in the Era of Large Language Models}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.naacl-long.155},
}
Figure