Multi-Head Self-Attention-Enhanced Prototype Network with Contrastive–Center Loss for Few-Shot Relation Extraction

Author:

Ma Jiangtao12ORCID,Cheng Jia1,Chen Yonggang3,Li Kunlin1,Zhang Fan4,Shang Zhanlei1

Affiliation:

1. College of Computer and Communication Engineering, Zhengzhou University of Light Industry, Zhengzhou 450002, China

2. Songshan Laboratory, Zhengzhou 450046, China

3. The State Information Center, Beijing 100045, China

4. China National Digital Switching System Engineering and Technology R&D Center, Zhengzhou 450001, China

Abstract

Few-shot relation extraction (FSRE) constitutes a critical task in natural language processing (NLP), involving learning relationship characteristics from limited instances to enable the accurate classification of new relations. The existing research primarily concentrates on using prototype networks for FSRE and enhancing their performance by incorporating external knowledge. However, these methods disregard the potential interactions among different prototype networks, and each prototype network can only learn and infer from its limited instances, which may limit the robustness and reliability of the prototype representations. To tackle the concerns outlined above, this paper introduces a novel prototype network called SACT (multi-head self-attention and contrastive-center loss), aimed at obtaining more comprehensive and precise interaction information from other prototype networks to bolster the reliability of the prototype network. Firstly, SACT employs a multi-head self-attention mechanism for capturing interaction information among different prototypes from traditional prototype networks, reducing the noise introduced by unknown categories with a small sample through information aggregation. Furthermore, SACT introduces a new loss function, the contrastive–center loss function, aimed at tightly clustering samples from a similar relationship category in the center of the feature space while dispersing samples from different relationship categories. Through extensive experiments on FSRE datasets, this paper demonstrates the outstanding performance of SACT, providing strong evidence for the effectiveness and practicality of SACT.

Funder

Songshan Laboratory Pre-research Project

Henan Province Science Foundation

Henan Province Collaborative Innovation Center for Internet Medical and Health Services

Zhengzhou University of Light Industry

Open Foundation of Henan Key Laboratory of Cyberspace Situation Awareness

Science and Technology Innovation Project of Zhengzhou University of Light Industry

Publisher

MDPI AG

Subject

Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science

Reference54 articles.

1. An introduction to deep learning in natural language processing: Models, techniques, and tools;Lauriola;Neurocomputing,2022

2. Ontology-Mediated SPARQL Query Answering over Knowledge Graphs;Xiao;Big Data Res.,2021

3. Garcia, X., Bansal, Y., Cherry, C., Foster, G., Krikun, M., Johnson, M., and Firat, O. (2023, January 23–29). The Unreasonable Effectiveness of Few-shot Learning for Machine Translation. Proceedings of the 40th International Conference on Machine Learning, Honolulu, HI, USA.

4. Kamps, J., Goeuriot, L., Crestani, F., Maistro, M., Joho, H., Davis, B., Gurrin, C., Kruschwitz, U., and Caputo, A. (2023). Advances in Information Retrieval, ECIR.

5. A Survey on the Fairness of Recommender Systems;Wang;ACM Trans. Inf. Syst.,2023

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3