A dual encoder pre-training small sample relation extraction method based on contrastive learning

CN117131873BActive Publication Date: 2024-09-06UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311096357.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-29
Publication Date
2024-09-06
Estimated Expiration
2043-08-29

Smart Images

  • Figure CN117131873B
    Figure CN117131873B
Patent Text Reader

Abstract

The present invention discloses a dual-encoding pre-trained small sample relationship extraction method based on contrastive learning, which belongs to the technical field of small sample relationship extraction. The method of the present invention is based on the knowledge base constructed by Wikipedia, and uses a dual encoder architecture to map text information and relationship information (type label, description) to the same vector representation space respectively; through contrastive learning, the similarity between the text semantic representation and its corresponding relationship representation is maximized to promote mutual learning between the text information encoder and the relationship information encoder, thereby generating better semantic representation and improving the performance of small sample relationship extraction. In addition, the two pre-trained encoders are also suitable for the field of zero-sample relationship extraction that does not require any specific data set training.
Need to check novelty before this filing date? Find Prior Art