Fastere: a fast framework for entity relation extractions

Published: 01 Jan 2025, Last Modified: 05 Nov 2025Data Min. Knowl. Discov. 2025EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: Entity Relation Extraction (ERE) aims to identify semantic relations between entities from unstructured texts. Despite achieving promising results, existing methods face significant efficiency challenges due to the overwhelming presence of irrelevant candidate entity pairs–with over 96% of candidate pairs lacking meaningful relations in typical datasets. This computational burden severely limits the practical applicability of ERE systems. To address these limitations, we propose FastERE, a fast framework that introduces three key innovations: (1) a pruner-based Entity Pairs Selection Module that dynamically filters irrelevant entity pairs before relation extraction, reducing computational overhead while improving sample quality; (2) an efficient task reformulation that frames NER as sequence tagging with adjacent attention mechanisms and RE as grouped triplet prediction with masked parallel packing; and (3) a multi-task learning framework with prefix-enhanced shared encoders that enables effective feature interaction while maintaining task independence. Experimental results on benchmark datasets demonstrate that FastERE achieves 6-20\(\times \) speedup over state-of-the-art methods while maintaining competitive accuracy, with F1 scores of 69.9% and 67.0% on ACE05 and ACE04 respectively. Our code is available at https://github.com/xerrors/FastERE.
Loading