cs.CLApr 9, 2026

LLMs Underperform Graph-Based Parsers on Supervised Relation Extraction for Complex Graphs

Authors: Paolo Gajo, Domenic Rosati, Hassan Sajjad, Alberto Barrón-Cedeño

Organizations: University of Bologna · Dalhousie University

Abstract

Relation extraction represents a fundamental component in the process of creating knowledge graphs, among other applications. Large language models (LLMs) have been adopted as a promising tool for relation extraction, both in supervised and in-context learning settings. However, in this work we show that their performance still lags behind much smaller architectures when the linguistic graph underlying a text has great complexity. To demonstrate this, we evaluate four LLMs against a graph-based parser on six relation extraction datasets with sentence graphs of varying sizes and complexities. Our results show that the graph-based parser increasingly outperforms the LLMs, as the number of relations in the input documents increases. This makes the much lighter graph-based parser a superior choice in the presence of complex linguistic graphs.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Are Large Language Models Suitable for Graph Computation? Progress and Prospects

    Jun 5, 2026Yuting Zhang, Yi Han, Kai Wang +3LLM Reasoning with GraphsLLM Tool Use

  2. GRAIN: Bridging Name and Narrative Shifts in Real-World Graph Reasoning through Invariance-Rewarded Agentic RL

    Aug 27, 2026Zike Yuan, Han Zhang, Jianzhi Yan +10LLM Reasoning with GraphsLanguage Model Robustness

  3. Position: How can Graphs Help Large Language Models?

    May 4, 2026Xiyuan Wang, Yi Hu, Yanbo Wang +2LLM GroundingKnowledge Augmentation for Language Models