LRNNet: Complementary Cloud API Recommendation With Abductive Correction via Logical Reasoning Neural Network

IF 6 1区 计算机科学 Q1 COMPUTER SCIENCE, SOFTWARE ENGINEERING
IEEE Transactions on Software Engineering Pub Date : 2026-10-01 Epub Date: 2026-06-18 DOI:10.1109/TSE.2026.3705144
Zhen Chen;Haonan Liao;Mengmeng Sun;Dianlong You;Yueshen Xu;Xindong Wu
{"title":"LRNNet: Complementary Cloud API Recommendation With Abductive Correction via Logical Reasoning Neural Network","authors":"Zhen Chen;Haonan Liao;Mengmeng Sun;Dianlong You;Yueshen Xu;Xindong Wu","doi":"10.1109/TSE.2026.3705144","DOIUrl":null,"url":null,"abstract":"Cloud API recommendation systems play a vital role in tackling cloud API overloading issue and promoting a healthy API ecosystem. Recent studies mainly focus on user preferences, search keywords, and QoS, yielding API recommendations that satisfy single functional requirements or optimize non-functional QoS requirements in service-oriented software development. However, existing cloud API recommendation methods still face three key limitations: 1) insufficient support for practical complementary cloud API requirements in service-oriented software development; 2) inability to handle weak complementary relations and filter out substitute noise in modeling complementary relationships; and 3) lack of a post-recommendation verification and refinement mechanism to further improve recommendation results. To address these issues, we propose LRNNet, a Logical Reasoning Neural Network for complementary cloud API recommendation with abductive correction. LRNNet works in two phases: complementary recommendation and abductive correction. In the complementary recommendation phase, Beta probability embedding encodes query cloud APIs to facilitate logical reasoning. Subsequently, a logical reasoning unit, composed of projection, negation, and intersection logic operators, captures complementary relationships and mitigates substitute noise, and yields results complementary to the query. In the abductive correction phase, an abductive task is formulated to deduce potential reasons behind recommendation results. By backpropagating an abductive loss signal, the results are refined by minimizing the difference between predicted and true reasons. We conducted extensive experiments using two real-world cloud API datasets, demonstrating that LRNNet outperforms comparative SOTA baselines. Ablation studies and hyperparameter sensitivity analyses also confirm LRNNet’s effectiveness and practicality. The implementation code is publicly available at <uri>https://github.com/lhnngp/LRNNet</uri>.","PeriodicalId":13324,"journal":{"name":"IEEE Transactions on Software Engineering","volume":"52 10","pages":"2913-2932"},"PeriodicalIF":6.0000,"publicationDate":"2026-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Software Engineering","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/11570143/","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/6/18 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Cloud API recommendation systems play a vital role in tackling cloud API overloading issue and promoting a healthy API ecosystem. Recent studies mainly focus on user preferences, search keywords, and QoS, yielding API recommendations that satisfy single functional requirements or optimize non-functional QoS requirements in service-oriented software development. However, existing cloud API recommendation methods still face three key limitations: 1) insufficient support for practical complementary cloud API requirements in service-oriented software development; 2) inability to handle weak complementary relations and filter out substitute noise in modeling complementary relationships; and 3) lack of a post-recommendation verification and refinement mechanism to further improve recommendation results. To address these issues, we propose LRNNet, a Logical Reasoning Neural Network for complementary cloud API recommendation with abductive correction. LRNNet works in two phases: complementary recommendation and abductive correction. In the complementary recommendation phase, Beta probability embedding encodes query cloud APIs to facilitate logical reasoning. Subsequently, a logical reasoning unit, composed of projection, negation, and intersection logic operators, captures complementary relationships and mitigates substitute noise, and yields results complementary to the query. In the abductive correction phase, an abductive task is formulated to deduce potential reasons behind recommendation results. By backpropagating an abductive loss signal, the results are refined by minimizing the difference between predicted and true reasons. We conducted extensive experiments using two real-world cloud API datasets, demonstrating that LRNNet outperforms comparative SOTA baselines. Ablation studies and hyperparameter sensitivity analyses also confirm LRNNet’s effectiveness and practicality. The implementation code is publicly available at https://github.com/lhnngp/LRNNet.
LRNNet:基于逻辑推理神经网络的溯因校正的互补云API推荐
云API推荐系统在解决云API过载问题和促进健康的API生态系统方面发挥着至关重要的作用。最近的研究主要集中在用户偏好、搜索关键字和QoS方面,在面向服务的软件开发中,给出了满足单一功能需求或优化非功能QoS需求的API建议。然而,现有的云API推荐方法仍然面临三个关键的局限性:1)对面向服务的软件开发中实际的互补云API需求支持不足;2)在互补关系建模中,无法处理弱互补关系和滤除替代噪声;3)缺乏推荐后的验证和细化机制来进一步提高推荐效果。为了解决这些问题,我们提出了LRNNet,一个逻辑推理神经网络,用于补充云API推荐和溯因校正。LRNNet工作分为两个阶段:补充推荐和外展矫正。在补充推荐阶段,Beta概率嵌入对查询云api进行编码,以方便逻辑推理。随后,由投影、否定和交集逻辑运算符组成的逻辑推理单元捕获互补关系并减轻替代噪声,并产生与查询互补的结果。在溯因修正阶段,制定溯因任务来推断推荐结果背后的潜在原因。通过反向传播可溯损失信号,通过最小化预测原因与真实原因之间的差异来改进结果。我们使用两个真实的云API数据集进行了广泛的实验,证明LRNNet优于SOTA基线。消融研究和超参数敏感性分析也证实了LRNNet的有效性和实用性。实现代码可在https://github.com/lhnngp/LRNNet上公开获得。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
IEEE Transactions on Software Engineering
IEEE Transactions on Software Engineering 工程技术-工程:电子与电气
CiteScore
9.70
自引率
10.80%
发文量
724
审稿时长
6 months
期刊介绍: IEEE Transactions on Software Engineering seeks contributions comprising well-defined theoretical results and empirical studies with potential impacts on software construction, analysis, or management. The scope of this Transactions extends from fundamental mechanisms to the development of principles and their application in specific environments. Specific topic areas include: a) Development and maintenance methods and models: Techniques and principles for specifying, designing, and implementing software systems, encompassing notations and process models. b) Assessment methods: Software tests, validation, reliability models, test and diagnosis procedures, software redundancy, design for error control, and measurements and evaluation of process and product aspects. c) Software project management: Productivity factors, cost models, schedule and organizational issues, and standards. d) Tools and environments: Specific tools, integrated tool environments, associated architectures, databases, and parallel and distributed processing issues. e) System issues: Hardware-software trade-offs. f) State-of-the-art surveys: Syntheses and comprehensive reviews of the historical development within specific areas of interest.
×
引用
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学术官方微信
小红书