Correction is all you need: Towards high-order complementary cloud API recommendation correction with abductive reasoning

IF 6.2 2区 计算机科学 Q1 COMPUTER SCIENCE, THEORY & METHODS
Zhen Chen , Haonan Liao , Jingkun Yang , Mengyao Wu , Dianlong You
{"title":"Correction is all you need: Towards high-order complementary cloud API recommendation correction with abductive reasoning","authors":"Zhen Chen ,&nbsp;Haonan Liao ,&nbsp;Jingkun Yang ,&nbsp;Mengyao Wu ,&nbsp;Dianlong You","doi":"10.1016/j.future.2025.108072","DOIUrl":null,"url":null,"abstract":"<div><div>In the cloud era, cloud Application Programming Interfaces (APIs) are the best carriers for service delivery, data exchange, and capability replication. The continuously growing number of cloud APIs in dynamic open networks provides developers with more choices but also overwhelms them with a vast array of options. Existing researches primarily use invocation preferences, search keywords, and quality of service modeling to generate a single function cloud API recommendation list. However, these methods face two problems: (1) In service-oriented software development, developers’ needs for high-order complementary cloud APIs are often overlooked. (2) Current cloud API recommendation methods generate recommendation results in a one-shot manner without further correcting them to enhance performance. To tackle these problems, we propose high-order complementary cloud API recommendation correction with abductive reasoning, named HCCR-CAR. HCCR-CAR comprises of two stages: HCCR and CAR. In HCCR, the complementary scores of candidate cloud APIs is determined by taking into account both the explicit and fine-grained complementary relationships between the cloud API query set and the candidate APIs. Subsequently, the candidate cloud APIs are ranked based on these complementary scores in order to generate high-order complementary recommendation results. In CAR, a reasonable abductive task is designed and an abductive model is utilized to infer the most probable complementary reason for the recommendation results produced by HCCR. By minimizing the abductive loss signal between inferred reason and real reason through back-propagation, the recommendation results are corrected. Experiments are conducted on two real-world cloud API datasets which demonstrate that compared to traditional heuristic recommendation methods and deep learning recommendation methods, HCCR-CAR exhibits superior performance in high-order complementary cloud API recommendation. Furthermore, hyperparameter sensitivity experiments and case analysis validate the effectiveness and practicality of this method. HCCR-CAR is more likely to yield satisfactory results for developers while also ensuring the effectiveness of high-order complementary cloud API recommendation in practical service-oriented software development, thereby effectively enhancing revenue of cloud API providers.</div></div>","PeriodicalId":55132,"journal":{"name":"Future Generation Computer Systems-The International Journal of Escience","volume":"175 ","pages":"Article 108072"},"PeriodicalIF":6.2000,"publicationDate":"2025-08-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Future Generation Computer Systems-The International Journal of Escience","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0167739X25003668","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

Abstract

In the cloud era, cloud Application Programming Interfaces (APIs) are the best carriers for service delivery, data exchange, and capability replication. The continuously growing number of cloud APIs in dynamic open networks provides developers with more choices but also overwhelms them with a vast array of options. Existing researches primarily use invocation preferences, search keywords, and quality of service modeling to generate a single function cloud API recommendation list. However, these methods face two problems: (1) In service-oriented software development, developers’ needs for high-order complementary cloud APIs are often overlooked. (2) Current cloud API recommendation methods generate recommendation results in a one-shot manner without further correcting them to enhance performance. To tackle these problems, we propose high-order complementary cloud API recommendation correction with abductive reasoning, named HCCR-CAR. HCCR-CAR comprises of two stages: HCCR and CAR. In HCCR, the complementary scores of candidate cloud APIs is determined by taking into account both the explicit and fine-grained complementary relationships between the cloud API query set and the candidate APIs. Subsequently, the candidate cloud APIs are ranked based on these complementary scores in order to generate high-order complementary recommendation results. In CAR, a reasonable abductive task is designed and an abductive model is utilized to infer the most probable complementary reason for the recommendation results produced by HCCR. By minimizing the abductive loss signal between inferred reason and real reason through back-propagation, the recommendation results are corrected. Experiments are conducted on two real-world cloud API datasets which demonstrate that compared to traditional heuristic recommendation methods and deep learning recommendation methods, HCCR-CAR exhibits superior performance in high-order complementary cloud API recommendation. Furthermore, hyperparameter sensitivity experiments and case analysis validate the effectiveness and practicality of this method. HCCR-CAR is more likely to yield satisfactory results for developers while also ensuring the effectiveness of high-order complementary cloud API recommendation in practical service-oriented software development, thereby effectively enhancing revenue of cloud API providers.
纠正是所有你需要的:向高阶补充云API建议纠正溯因推理
在云时代,云api (Application Programming interface)是服务交付、数据交换和能力复制的最佳载体。动态开放网络中不断增长的云api为开发人员提供了更多的选择,但也让他们面临着大量的选择。现有研究主要使用调用首选项、搜索关键字和服务质量建模来生成单一功能云API推荐列表。然而,这些方法面临两个问题:(1)在面向服务的软件开发中,开发人员对高阶互补云api的需求往往被忽视。(2)目前的云API推荐方法都是一次性生成推荐结果,不需要进一步校正以提高性能。为了解决这些问题,我们提出了采用溯因推理的高阶互补云API推荐校正,命名为HCCR-CAR。HCCR-CAR包括两个阶段:HCCR和CAR。在HCCR中,候选云API的互补分数是通过考虑云API查询集和候选API之间显式和细粒度的互补关系来确定的。随后,根据这些互补分数对候选云api进行排序,以生成高阶互补推荐结果。在CAR中,设计了合理的溯因任务,并利用溯因模型对HCCR产生的推荐结果推断出最可能的互补原因。通过反向传播最小化推理推理与真实推理之间的溯因损失信号,对推荐结果进行修正。在两个真实云API数据集上进行的实验表明,与传统的启发式推荐方法和深度学习推荐方法相比,HCCR-CAR在高阶互补云API推荐中表现出更优越的性能。超参数灵敏度实验和实例分析验证了该方法的有效性和实用性。HCCR-CAR更有可能为开发人员带来满意的结果,同时也保证了高阶互补云API推荐在实际面向服务的软件开发中的有效性,从而有效提高云API提供商的收益。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
19.90
自引率
2.70%
发文量
376
审稿时长
10.6 months
期刊介绍: Computing infrastructures and systems are constantly evolving, resulting in increasingly complex and collaborative scientific applications. To cope with these advancements, there is a growing need for collaborative tools that can effectively map, control, and execute these applications. Furthermore, with the explosion of Big Data, there is a requirement for innovative methods and infrastructures to collect, analyze, and derive meaningful insights from the vast amount of data generated. This necessitates the integration of computational and storage capabilities, databases, sensors, and human collaboration. Future Generation Computer Systems aims to pioneer advancements in distributed systems, collaborative environments, high-performance computing, and Big Data analytics. It strives to stay at the forefront of developments in grids, clouds, and the Internet of Things (IoT) to effectively address the challenges posed by these wide-area, fully distributed sensing and computing systems.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信