arrow
Return

Neural Library Recommendation by Embedding Project-Library Knowledge Graph

delete2024-06-01
delete0
PRE
AI
B
Bo Li
H
Haowei Quan
J
Jiawei Wang
P
Pei Liu
H
Haipeng Cai
Y
Yuan Miao
Y
Yun Yang
L
Li Li *
DOI:10.1109/TSE.2024.3393504delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The prosperity of software applications brings fierce market competition to developers. Employing third-party libraries (TPLs) to add new features to projects under development and to reduce the time to market has become a popular way in the community. However, given the tremendous TPLs ready for use, it is challenging for developers to effectively and efficiently identify the most suitable TPLs. To tackle this obstacle, we propose an innovative approach named PyRec to recommend potentially useful TPLs to developers for their projects. Taking Python project development as a use case, PyRec embeds Python projects, TPLs, contextual information, and relations between those entities into a knowledge graph. Then, it employs a graph neural network to capture useful information from the graph to make TPL recommendations. Different from existing approaches, PyRec can make full use of not only project-library interaction information but also contextual information to make more accurate TPL recommendations. Comprehensive evaluations are conducted based on 12,421 Python projects involving 963 TPLs, 9,675 extra entities, 121,474 library usage records, and 73,277 contextual records. Compared with five representative approaches, PyRec improves the recommendation performance significantly in all cases.
Keywords:
Python
Libraries
Vectors
Software
Mobile applications
Knowledge graphs
Graph neural networks
Third-party library
recommendation
knowledge graph
graph neural network

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
2.8K
Citations:
1.1W

Organization

M
Monash University
Scholars:
5.4W
Papers: 5.4W
Citations: 79
B
Beihang University
Scholars:
5.2W
Papers: 4.1W
Citations: 37
S
Swinburne University of Technology
Scholars:
9.3K
Papers: 1.2W
Citations: 2.0W
V
Victoria University
Scholars:
3.1K
Papers: 3.8K
Citations: 22
W
washington state university
Scholars:
1.8W
Papers: 1.6W
Citations: 114
researcher View more organizations