SCL-SKG:Software Knowledge Triplet Extraction with Span-level Contrastive Learning

Author:

Tang Mingjing1,Zhang Shu1,Zheng Ming2,Ma Zifei3,Gao Wei1

Affiliation:

1. Yunnan Normal University

2. Anhui Normal University

3. Yunnan Agriculture University

Abstract

Abstract The text of software knowledge community contains abundant knowledge of software engineering field. The software knowledge triplet can be extracted automatically and efficiently to form the software knowledge graph, which is helpful for software knowledge-centric intelligent applications, such as intelligent question answering, automatic document generation and software expert recommendation. Most existing methods are confronted with problems of task dependence and entity overlap. In this paper, we propose a software knowledge triplet extraction method based on span-level contrastive learning. From the level of sentence sequence modelling, we model the sentence sequence with span as a unit, and generate abundant positive and negative samples of entity span through the span representation layer to avoid the problem that the token-level method cannot select overlapping entities. From the level of feature learning, we propose supervised entity contrastive learning and relation contrastive learning, which obtain enhanced feature representation of entity span and entity pair through positive and negative sample enhancement and contrastive loss function construction. Experiments are conducted on the dataset which is constructed based on texts of the StackOverflow, and show that our approach achieves a better performance than baseline models.

Publisher

Research Square Platform LLC

Reference42 articles.

1. Survey of Software Data Mining for Open Source Ecosystem[J];Yin G;J Softw,2018

2. Tabassum J, Maddela M, Xu W, Ritter A (2020) Code and Named Entity Recognition in StackOverflow[C]. Proc. 58th Annual Meeting of the Association for Computational Linguistics (ACL), Online, : 4913–4926

3. Ye DH, Xing ZC, Foo CY et al (2016) Software-Specific Named Entity Recognition in Software Engineering Social Content[C]. Proc. 23th International Conference on Software Analysis, Evolution, and Reengineering (SNER), Osaka, Japan, : 90–101

4. Reddy MVPR, Prasad PVRD, Chikkamath M et al (2019) NERSE: named entity recognition in software engineering as a service[C]. Proc. Australian Symposium on Service Research and Innovation, : 65–80

5. MEIM: a multi-source software knowledge entity extraction integration model[J];Lv WQ;Computers Mater Continua,2021

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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