GLiREL -- Generalist Model for Zero-Shot Relation Extraction

Jack Boylan, Chris Hokamp, Demian Gholipour Ghalandari
1/6/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: jackboyla/GLiREL (285 stars, last commit 2026-03-30).

Abstract

We introduce GLiREL (Generalist Lightweight model for zero-shot Relation Extraction), an efficient architecture and training paradigm for zero-shot relation classification. Inspired by recent advancements in zero-shot named entity recognition, this work presents an approach to efficiently and accurately predict zero-shot relationship labels between multiple entities in a single forward pass. Experiments using the FewRel and WikiZSL benchmarks demonstrate that our approach achieves state-of-the-art results on the zero-shot relation classification task. In addition, we contribute a protocol for synthetically-generating datasets with diverse relation labels.

View on arXivView PDF

Code Implementations(1)

jackboyla/GLiRELCommunity100%

Generalist and Lightweight Model for Relation Extraction (Extract any relationship types from text)

28524Python, MakefileApr 25, 20246 months ago
bertinformation-extractionnatural-language-processingrelation-extractionzero-shot-learning

Similar Papers

Cite this paper

@article{boylan2025glirel,
  title  = {GLiREL -- Generalist Model for Zero-Shot Relation Extraction},
  author = {Jack Boylan and Chris Hokamp and Demian Gholipour Ghalandari},
  year   = {2025},
  eprint = {2501.03172},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.03172v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.03172.svg)](https://codeofpaper.com/paper/2501.03172)

Discussion