Improving Relation Extraction with Contrastive Learning-Based Named Entity Recognition
Named Entity Recognition (NER) and Relation Extraction (RE) are core tasks in information extraction. Pipeline approaches such as PURE insert special markers around entities to guide relation modeling, achieving strong performance with a clear and flexible structure. However, they often transfer NER information only at the output level, lacking model-level integration. This paper proposes a two-stage pipeline framework that introduces a contrastive learning-based bi-encoder in the NER stage to jointly learn span and type representations. The learned encoders are then transferred to the RE stage: the text encoder improves span representation, while the type encoder provides soft-label type information through weighted fusion with type embeddings. This enriched type representation is injected into the RE model for better relation prediction. Experiments on nested NER datasets show that the proposed method outperforms existing pipeline baselines, and ablation studies confirm the effectiveness of model-level knowledge transfer.
Authors
- Yuexing Han (ORCID: https://orcid.org/0000-0002-1170-202X)
- Qiaochuan Chen (ORCID: https://orcid.org/0000-0002-6630-5339)
- Rui Zhang (ORCID: https://orcid.org/0000-0002-6001-3167)
- Chenfan Ling
Institutions
- Shanghai University (CN)
Publication Details
- Published
- 2025-04-25
- DOI
- https://doi.org/10.1109/iccea65460.2025.11102984
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00