arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.07115cs.LGcs.CLcs.SEstat.ML
收藏

HiGitClass:基于关键词驱动的 GitHub 仓库层次化分类

HiGitClass: Keyword-Driven Hierarchical Classification of GitHub Repositories

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Carnegie Mellon University(卡内基梅隆大学);Iowa State University(爱荷华州立大学)

Yu Zhang, Frank F. Xu, Sha Li, Yu Meng, Xuan Wang, Qi Li, Jiawei Han

AI总结:

针对GitHub仓库缺乏标签的问题,提出基于关键词驱动的层次化分类框架HiGitClass,通过异构信息网络嵌入、关键词扩充和主题建模整合多模态数据,在弱监督下实现了优于现有方法的分类性能。

摘要:

GitHub已成为代码共享和科学交流的重要平台。随着可用仓库数量庞大,基于主题的搜索需求迫切。尽管已引入主题标签功能,但大多数GitHub仓库没有任何标签,阻碍了搜索和基于主题分析的实用性。本工作将自动仓库分类问题定位为关键词驱动的层次化分类。具体而言,用户只需提供带有关键词的标签层次结构作为监督。此设置灵活、适应性强,能适应不同粒度的主题标签,且需最少人工努力。我们识别出该问题的三个关键挑战,即(1)多模态信号的存在;(2)监督稀缺与偏差;(3)监督格式不匹配。针对这些挑战,我们提出HiGitClass框架,包含三个模块:异构信息网络嵌入;关键词扩充;主题建模与伪文档生成。在两个GitHub仓库集合上的实验结果证实,HiGitClass优于现有的弱监督和无数据层次化分类方法,尤其在整合结构化和非结构化数据进行仓库分类的能力上表现突出。

英文摘要:

GitHub has become an important platform for code sharing and scientific exchange. With the massive number of repositories available, there is a pressing need for topic-based search. Even though the topic label functionality has been introduced, the majority of GitHub repositories do not have any labels, impeding the utility of search and topic-based analysis. This work targets the automatic repository classification problem as keyword-driven hierarchical classification. Specifically, users only need to provide a label hierarchy with keywords to supply as supervision. This setting is flexible, adaptive to the users' needs, accounts for the different granularity of topic labels and requires minimal human effort. We identify three key challenges of this problem, namely (1) the presence of multi-modal signals; (2) supervision scarcity and bias; (3) supervision format mismatch. In recognition of these challenges, we propose the HiGitClass framework, comprising of three modules: heterogeneous information network embedding; keyword enrichment; topic modeling and pseudo document generation. Experimental results on two GitHub repository collections confirm that HiGitClass is superior to existing weakly-supervised and dataless hierarchical classification methods, especially in its ability to integrate both structured and unstructured data for repository classification.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑