Q-REFormer: Aligning Q-Former with LLM for Text-based data Relation Extraction

Relation extraction aims to identify semantic associations between entities in text, serving as a fundamental task for constructing knowledge graphs and enhancing information retrieval. Traditional methods that rely on local contextual analysis exhibit limitations in capturing implicit relationships between distantly located entities, particularly when entity pairs are separated by long syntactic dependencies. To address this challenge, this paper proposes Q-REFormer, a BLIP-2 framework-based relation extraction model featuring two core innovations: (1) The integration of learnable query vectors (Q-former) to align structured relation descriptions generated by large language models (LLMs) with sentence encodings, thereby enhancing cross-entity semantic reasoning capabilities; (2) A novel entity-aware attention mechanism that dynamically allocates interaction weights among entity pairs to resolve long-range dependency issues. Experimental evaluations on ACE 2005 and SemEval 2010 datasets demonstrate that Q-REFormer achieves F1 scores of 88.02% and 92.08% respectively, showing significant superiority over existing models. Ablation studies further validate the effectiveness of LLM-generated relation descriptions and the query learning module.

Authors

Institutions

Publication Details

Published
2025-05-23
DOI
https://doi.org/10.1109/ecis65594.2025.11087023
Citations
1
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Q-REFormer: Aligning Q-Former with LLM for Text-based data Relation Extraction

W. Lei, Haowen Wang, Ning Zhang, Qinqin Yang
1 citations
Natural Language Processing Techniques
2.48
article

Q-REFormer: Aligning Q-Former with LLM for Text-based data Relation Extraction

W. Lei, Haowen Wang, Ning Zhang, Qinqin Yang
article en
1 citations

Abstract

Relation extraction aims to identify semantic associations between entities in text, serving as a fundamental task for constructing knowledge graphs and enhancing information retrieval. Traditional methods that rely on local contextual analysis exhibit limitations in capturing implicit relationships between distantly located entities, particularly when entity pairs are separated by long syntactic dependencies. To address this challenge, this paper proposes Q-REFormer, a BLIP-2 framework-based relation extraction model featuring two core innovations: (1) The integration of learnable query vectors (Q-former) to align structured relation descriptions generated by large language models (LLMs) with sentence encodings, thereby enhancing cross-entity semantic reasoning capabilities; (2) A novel entity-aware attention mechanism that dynamically allocates interaction weights among entity pairs to resolve long-range dependency issues. Experimental evaluations on ACE 2005 and SemEval 2010 datasets demonstrate that Q-REFormer achieves F1 scores of 88.02% and 92.08% respectively, showing significant superiority over existing models. Ablation studies further validate the effectiveness of LLM-generated relation descriptions and the query learning module.

Tianjin University (CN), China General Nuclear Power Corporation (China) (CN), State Nuclear Power Technology Company (China) (CN), Renmin University of China (CN)
Openalex Percentile: Top 9%
Natural Language Processing Techniques
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.