Relation extraction (RE) plays a crucial role in extracting information from Chinese texts but faces notable challenges, including difficulty in accurately recognizing overlapping triples and balancing the modeling of global and local semantic features. To address these issues, we propose a novel RE method that integrates a global–local perception mechanism and contrastive learning. The proposed mechanism comprises a local feature extraction module designed to capture fine-grained semantic distinctions between entity pairs and a global semantic association module that encodes sentence-level contextual information, thereby improving the overall feature representation. Moreover, the method introduces a contrastive optimization strategy based on contrastive learning, which enhances the model’s ability to cluster semantically similar relations while effectively distinguishing dissimilar ones. This strategy further improves the model’s discriminative ability to relation. Experimental results on two public Chinese datasets indicate that our model outperforms previous methods, confirming the effectiveness of our proposed approach in RE.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Chinese Relation Extraction Based on Global–Local Perception and Contrastive Learning

  • Chengyuan Cao,
  • Mei Song,
  • Yi Zhu,
  • Li Zhao

摘要

Relation extraction (RE) plays a crucial role in extracting information from Chinese texts but faces notable challenges, including difficulty in accurately recognizing overlapping triples and balancing the modeling of global and local semantic features. To address these issues, we propose a novel RE method that integrates a global–local perception mechanism and contrastive learning. The proposed mechanism comprises a local feature extraction module designed to capture fine-grained semantic distinctions between entity pairs and a global semantic association module that encodes sentence-level contextual information, thereby improving the overall feature representation. Moreover, the method introduces a contrastive optimization strategy based on contrastive learning, which enhances the model’s ability to cluster semantically similar relations while effectively distinguishing dissimilar ones. This strategy further improves the model’s discriminative ability to relation. Experimental results on two public Chinese datasets indicate that our model outperforms previous methods, confirming the effectiveness of our proposed approach in RE.