Homogeneous graph neural networks for third-party library recommendation

被引:2
作者
Li, Duantengchuan [1 ]
Gao, Yuxuan [1 ]
Wang, Zhihao [1 ]
Qiu, Hua [1 ]
Liu, Pan [2 ]
Xiong, Zhuoran [3 ]
Zhang, Zilong [1 ]
机构
[1] Wuhan Univ, Sch Comp Sci, Wuhan 430072, Peoples R China
[2] Cent China Normal Univ, Natl Engn Res Ctr E Learning, Wuhan 430079, Peoples R China
[3] McGill Univ, Elect & Comp Engn, Montreal, PQ, Canada
关键词
Recommender system; Graph neural network; Mobile application; Third-party library;
D O I
10.1016/j.ipm.2024.103831
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
During mobile application development, developers often use various third-party libraries to expedite the development process and enhance application functionality. Real datasets often show significant long-tailed distribution characteristics, where a few third-party libraries are widely adopted, while most are seldom used, leading to extreme data sparsity. This distribution phenomenon challenges recommendation algorithms, which typically recommend widely used third-party libraries for basic functionality, failing to meet developers' specific feature needs. To address these limitations, we propose HGNRec, a third-party library recommendation model based on a homogeneous graph neural network. First, to overcome the limitations of fusing heterogeneous node information, we decompose the heterogeneous graph network into two homogeneous graph networks using a statistical method. Second, the two constructed GNN models use separate aggregation and nonlinear transformation network structures for adaptive aggregation, along with edge-level and feature-level constraint methods to optimize model performance. In homogeneous graph networks, low-order and high-order neighbor information of nodes are propagated and aggregated in the same knowledge space, capturing the complex interactions among homogeneous nodes. Furthermore, we validate the superiority of HGNRec compared to several state-of-the-art methods using real datasets. Source code will be available at https://github.com/dacilab/HGNRec.
引用
收藏
页数:17
相关论文
共 41 条
  • [1] Learning to recommend third-party library migration opportunities at the API level
    Alrubaye, Hussein
    Mkaouer, Mohamed Wiem
    Khokhlov, Igor
    Reznik, Leon
    Ouni, Ali
    Mcgoff, Jason
    [J]. APPLIED SOFT COMPUTING, 2020, 90
  • [2] Neural Collaborative Reasoning
    Chen, Hanxiong
    Shi, Shaoyun
    Li, Yunqi
    Zhang, Yongfeng
    [J]. PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2021 (WWW 2021), 2021, : 1516 - 1527
  • [3] Emerging Trends Word2Vec
    Church, Kenneth Ward
    [J]. NATURAL LANGUAGE ENGINEERING, 2017, 23 (01) : 155 - 162
  • [4] Diversified Third-Party Library Prediction for Mobile App Development
    He, Qiang
    Li, Bo
    Chen, Feifei
    Grundy, John
    Xia, Xin
    Yang, Yun
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2022, 48 (01) : 150 - 165
  • [5] He RN, 2016, IEEE DATA MINING, P191, DOI [10.1109/ICDM.2016.88, 10.1109/ICDM.2016.0030]
  • [6] LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation
    He, Xiangnan
    Deng, Kuan
    Wang, Xiang
    Li, Yan
    Zhang, Yongdong
    Wang, Meng
    [J]. PROCEEDINGS OF THE 43RD INTERNATIONAL ACM SIGIR CONFERENCE ON RESEARCH AND DEVELOPMENT IN INFORMATION RETRIEVAL (SIGIR '20), 2020, : 639 - 648
  • [7] Neural Collaborative Filtering
    He, Xiangnan
    Liao, Lizi
    Zhang, Hanwang
    Nie, Liqiang
    Hu, Xia
    Chua, Tat-Seng
    [J]. PROCEEDINGS OF THE 26TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'17), 2017, : 173 - 182
  • [8] Recurrent Neural Networks with Top-k Gains for Session-based Recommendations
    Hidasi, Balazs
    Karatzoglou, Alexandros
    [J]. CIKM'18: PROCEEDINGS OF THE 27TH ACM INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE MANAGEMENT, 2018, : 843 - 852
  • [9] API Method Recommendation without Worrying about the Task-API Knowledge Gap
    Huang, Qiao
    Xia, Xin
    Xing, Zhenchang
    Lo, David
    Wang, Xinyu
    [J]. PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 293 - 304
  • [10] Neighbor Library-Aware Graph Neural Network for Third Party Library Recommendation
    Jin, Ying
    Zhang, Yi
    Zhang, Yiwen
    [J]. TSINGHUA SCIENCE AND TECHNOLOGY, 2023, 28 (04): : 769 - 785