GLiNER-Relex: A Unified Framework for Joint Named Entity Recognition and Relation Extraction

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Stepanov, Ihor, Lukashov, Oleksandr, Shtopko, Mykhailo, Kalyanarangan, Vivek
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866918494072733696
author Stepanov, Ihor
Lukashov, Oleksandr
Shtopko, Mykhailo
Kalyanarangan, Vivek
author_facet Stepanov, Ihor
Lukashov, Oleksandr
Shtopko, Mykhailo
Kalyanarangan, Vivek
contents Joint named entity recognition (NER) and relation extraction (RE) is a fundamental task in natural language processing for constructing knowledge graphs from unstructured text. While recent approaches treat NER and RE as separate tasks requiring distinct models, we introduce GLiNER-Relex, a unified architecture that extends the GLiNER framework to perform both entity recognition and relation extraction in a single model. Our approach leverages a shared bidirectional transformer encoder to jointly represent text, entity type labels, and relation type labels, enabling zero-shot extraction of arbitrary entity and relation types specified at inference time. GLiNER-Relex constructs entity pair representations from recognized spans and scores them against relation type embeddings using a dedicated relation scoring module. We evaluate our model on four standard relation extraction benchmarks: CoNLL04, DocRED, FewRel, and CrossRE, and demonstrate competitive performance against both specialized relation extraction models and large language models, while maintaining the computational efficiency characteristic of the GLiNER family. The model is released as an open-source Python package with a simple inference API that allows users to specify arbitrary entity and relation type labels at inference time and obtain both entities and relation triplets in a single call. All models and code are publicly available.
format Preprint
id arxiv_https___arxiv_org_abs_2605_10108
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle GLiNER-Relex: A Unified Framework for Joint Named Entity Recognition and Relation Extraction
Stepanov, Ihor
Lukashov, Oleksandr
Shtopko, Mykhailo
Kalyanarangan, Vivek
Computation and Language
Machine Learning
Joint named entity recognition (NER) and relation extraction (RE) is a fundamental task in natural language processing for constructing knowledge graphs from unstructured text. While recent approaches treat NER and RE as separate tasks requiring distinct models, we introduce GLiNER-Relex, a unified architecture that extends the GLiNER framework to perform both entity recognition and relation extraction in a single model. Our approach leverages a shared bidirectional transformer encoder to jointly represent text, entity type labels, and relation type labels, enabling zero-shot extraction of arbitrary entity and relation types specified at inference time. GLiNER-Relex constructs entity pair representations from recognized spans and scores them against relation type embeddings using a dedicated relation scoring module. We evaluate our model on four standard relation extraction benchmarks: CoNLL04, DocRED, FewRel, and CrossRE, and demonstrate competitive performance against both specialized relation extraction models and large language models, while maintaining the computational efficiency characteristic of the GLiNER family. The model is released as an open-source Python package with a simple inference API that allows users to specify arbitrary entity and relation type labels at inference time and obtain both entities and relation triplets in a single call. All models and code are publicly available.
title GLiNER-Relex: A Unified Framework for Joint Named Entity Recognition and Relation Extraction
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2605.10108