基于语义的软件项目主题推荐系统
Semantically-enhanced Topic Recommendation System for Software Projects
摘要:
软件相关的平台已经使得它们的用户能够协作地用主题来标记软件实体。用相关主题标记软件存储库可以用于促进各种下游任务。例如,为存储库分配一组正确且完整的主题可以提高其可见性。因此,这改善了诸如浏览、搜索、导航和组织存储库等任务的结果。不幸的是,分配的主题通常是非常嘈杂的,并且一些存储库没有良好分配的主题。因此,有努力推荐主题的软件项目,然而,这些主题之间的语义关系还没有被利用到目前为止。我们提出了两个推荐模型标记的软件项目,将主题之间的语义关系。我们的方法有两个主要阶段;(1)我们首先采取协作的方法来策划一个专门针对软件工程和开发领域的质量主题数据集。我们还丰富了这些数据与这些主题之间的语义关系,并封装在一个知识图谱,我们称之为SED-KGraph。然后,(2)我们建立了两个推荐系统;第一个系统只基于分配给知识库的原始主题列表和我们的知识图谱中指定的关系。然而,第二个预测模型假设没有主题可用于存储库,因此它继续基于软件项目的文本信息和SED-KGraph来预测相关主题。我们在一个众包项目中构建了SED-KGraph,有来自学术界和工业界的170名贡献者。实验结果表明,我们的解决方案优于基线,忽略主题之间的语义关系,至少有25%和23%的ASR和MAP指标。
英文摘要:
Software-related platforms have enabled their users to collaboratively label software entities with topics. Tagging software repositories with relevant topics can be exploited for facilitating various downstream tasks. For instance, a correct and complete set of topics assigned to a repository can increase its visibility. Consequently, this improves the outcome of tasks such as browsing, searching, navigation, and organization of repositories. Unfortunately, assigned topics are usually highly noisy, and some repositories do not have well-assigned topics. Thus, there have been efforts on recommending topics for software projects, however, the semantic relationships among these topics have not been exploited so far. We propose two recommender models for tagging software projects that incorporate the semantic relationship among topics. Our approach has two main phases; (1) we first take a collaborative approach to curate a dataset of quality topics specifically for the domain of software engineering and development. We also enrich this data with the semantic relationships among these topics and encapsulate them in a knowledge graph we call SED-KGraph. Then, (2) we build two recommender systems; The first one operates only based on the list of original topics assigned to a repository and the relationships specified in our knowledge graph. The second predictive model, however, assumes there are no topics available for a repository, hence it proceeds to predict the relevant topics based on both textual information of a software project and SED-KGraph. We built SED-KGraph in a crowd-sourced project with 170 contributors from both academia and industry. The experiment results indicate that our solutions outperform baselines that neglect the semantic relationships among topics by at least 25% and 23% in terms of ASR and MAP metrics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。