Complex & Intelligent Systems (Nov 2024)

Enhancing zero-shot relation extraction with a dual contrastive learning framework and a cross-attention module

  • Diyou Li,
  • Lijuan Zhang,
  • Jie Huang,
  • Neal Xiong,
  • Lei Zhang,
  • Jian Wan

DOI
https://doi.org/10.1007/s40747-024-01642-6
Journal volume & issue
Vol. 11, no. 1
pp. 1 – 15

Abstract

Read online

Abstract Zero-shot relation extraction (ZSRE) is essential for improving the understanding of natural language relations and enhancing the accuracy and efficiency of natural language processing methods in practical applications. However, the existing ZSRE models ignore the importance of semantic information fusion and possess limitations when used for zero-shot relation extraction tasks. Thus, this paper proposes a dual contrastive learning framework and a cross-attention network module for ZSRE. First, our model designs a dual contrastive learning framework to compare the input sentences and relation descriptions from different perspectives; this process aims to achieve better separation between different relation categories in the representation space. Moreover, the cross-attention network of our model is introduced from the computer vision field to enhance the attention paid by the input instance to the relevant information of the relation description. The experimental results obtained on the Wiki-ZSL and FewRel datasets fully demonstrate the effectiveness of our approach.

Keywords