基于知识增强自适应原型网络的小样本关系分类  

Few-Shot Relation Classification Based on Knowledge-Enhanced Adaptive Prototype Networks

在线阅读下载全文

作  者:张河萍 方志军[1] 卢俊鑫 高永彬 ZHANG Heping;FANG Zhijun;LU Junxin;GAO Yongbin(School of Electronics and Electrical Engineering,Shanghai University of Engineering Science,Shanghai 201620,China;School of Computer Science and Technology,East China Normal University,Shanghai 20024l,China)

机构地区:[1]上海工程技术大学电子电气工程学院,上海201620 [2]华东师范大学计算机科学与技术学院,上海200241

出  处:《计算机工程》2025年第4期129-136,共8页Computer Engineering

基  金:科技创新2030—“新一代人工智能”重大项目(2020AAA0109300)。

摘  要:小样本关系分类(FSRC)是指在任务中使用少量标注实例对各种关系进行分类,可快速适用于对全新的类别进行归类。然而,当测试域与训练域之间存在分布差异时,现有的小样本分类算法泛化能力有限,导致分类性能下降。针对该问题,提出一种适用于领域适应任务的知识增强自适应原型网络。通过探索实例之间的联系以提高模型的鲁棒性,同时学习关于关系的先验知识和内在语义以获得可解释原型。通过引入交互注意力机制来捕捉支持实例与查询实例之间的相关性,突出关键实例,并生成交互实例。同时,自适应原型融合机制以关系信息为锚点生成自适应混合系数,通过特征融合将实例与关系信息相结合,从而生成混合原型。在公开数据集FewRel 1.0和FewRel 2.0上的实验结果验证了该网络的有效性。实验结果表明,与基线模型相比,所提网络模型的分类准确率取得了显著提升,具有更好的分类效果与稳定性。Few-Shot Relation Classification(FSRC)refers to the use of a small number of labeled instances to classify various relations within a task,and it can be quickly applied to categorize completely new classes.However,existing few-shot classification algorithms show limited generalization capabilities when distributional differences exist between the test and training domains,which leads to significant performance degradation.Therefore,a knowledge-enhanced adaptive prototyping network is proposed for domain adaptation tasks,which helps improve the robustness of the model by exploring connections between instances while learning a priori knowledge about relations and intrinsic semantics to obtain interpretable prototypes.Specifically,the correlations between supporting and query instances are captured by introducing an interactive attention mechanism to highlight key instances and generate interactive instances.The adaptive prototype fusion mechanism generates adaptive hybrid coefficients using relational information as anchors and combines instances with relational information through feature fusion to generate hybrid prototypes.Experiments are conducted on FewRel 1.O and FewRel 2.O datasets,and the effectiveness of the method is demonstrated.The experimental results show that the classification accuracy of the proposed network model is significantly higher compared to that of the baseline model.The proposed model has better classification performance and stability.

关 键 词:关系分类 小样本学习 小样本关系分类 原型网络 知识增强 

分 类 号:TP391.1[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象