Exploring and Mitigating the Impact of Popularity Bias for Dynamic API Composition RecommendationsOA
The rapid expansion of Web APIs presents developers with significant challenges in selecting optimal API compositions.To address this issue,keyword-based API composition recommendation techniques have been proposed.However,these methods often suffer from popularity bias due to the influence of historical datasets and recommendation models.This bias leads to the disproportionate recommendation of popular APIs over less popular ones,potentially causing the Matthew effect and impeding the balanced development of the API ecosystem.Although several studies have identified and attempted to mitigate popularity bias,they have largely relied on static analysis without accounting for the dynamic nature of API recommendations.In this paper,we introduce a dynamic simulation framework for API composition recommendations,designed to explore the evolution of popularity bias within recommendation results,and propose a debiasing method for dynamic recommendations by combining the enhanced API correlation graph with the Determinantal Point Process(DPP)method.Finally,extensive experiments on real datasets show that the algorithm effectively alleviates the popularity bias problem while guaranteeing high recommendation accuracy.
Weiyi Zhong;Dengshuai Zhai;Ali Khalili Fakhrabadi;Hani Attar;Yan Yan;Rong Jiang;Sifeng Wang
School of Engineering,Qufu Normal University,Rizhao 276800,ChinaSchool of Computer Science,Qufu Normal University,Rizhao 276800,ChinaDepartment of Electrical Engineering,Kerman Branch,Islamic Azad University,Kerman 7635131167,IranFaculty of Engineering,Zarqa University,Zarqa 13110,Jordan,and also with College of Engineering,University of Business and Technology,Jeddah 21432,Kingdom of Saudi ArabiaBusiness College,Qingdao University,Qingdao 266071,ChinaYunnan Key Laboratory of Service Computing,Yunnan University of Finance and Economics,Kunming 650221,ChinaSchool of Computer Science,Qufu Normal University,Rizhao 276800,China
信息技术与安全科学
debiasingpopularity biasdynamic recommendationAPI composition
《Tsinghua Science and Technology》 2026 (2)
P.1233-1247,15
supported by the Natural Science Foundation of Shandong Province(No.ZR2024MA004)the Teaching Reform Project of Qufu Normal University(No.SJG202227).
评论