Journal article
LIMR: Intent-Aware Mashup API Recommendation via LLM-Augmented Multi-Scale Fusion
IEEE transactions on services computing, Vol.First online(3), pp.1-16
2026
Metrics
1 Record Views
Abstract
The increasing availability of Web APIs has amplified the complexity of mashup creation, where developers must identify compatible and functionally relevant APIs based on often ambiguous natural language descriptions. Traditional methods also fall short in capturing hierarchical semantic cues, modeling compatibility, and aligning with developer intent. Although large language models (LLMs) offer strong generalization capabilities, they remain unreliable in mashup recommendation due to hallucinated outputs, limited controllability, and token-length constraints when dealing with large-scale API repositories. To overcome these limitations, we introduce LIMR, an intent-aware mashup recommendation framework that combines LLM-augmented semantic reasoning with structured, multi-scale neural modeling. LIMR first prompts a LLM to extract high-level intent from user requirements, which serves as a global semantic signal. This intent is fused with low-level, multi-scale features extracted by a convolutional encoder, which are designed to capture fine-grained lexical/phrasal patterns at different granularities and provide precise semantic grounding for API matching. These heterogeneous representations are further contextually refined through a Transformer-based interaction module. To handle nonlinear semantic dependencies and compositional complexity, LIMR integrates a Kolmogorov-Arnold Network (KAN) with learnable activation functions, enhancing the model's capacity to capture intricate feature interactions. The entire framework is optimized via LLM, incorporating auxiliary objectives such as mashup category prediction and API quality estimation to guide generalization and reduce overfitting. Comprehensive experiments on the ProgrammableWeb and APIBench datasets show that LIMR significantly outperforms state-of-the-art baselines, which the ranking-oriented metrics, including NDCG and mAP, achieves improvements of 17.1%–34.2% over the strongest competitors. These results confirm the effectiveness of LIMR's hybrid design in delivering precise, robust, and intent-aware mashup API recommendations, especially in scenarios where LLMs alone fail to meet accuracy and scalability demands.
Details
- Title
- LIMR: Intent-Aware Mashup API Recommendation via LLM-Augmented Multi-Scale Fusion
- Creators
- Yao Zhang - Tianjin UniversityYude Bai - Tiangong UniversityMinhong Dong - Tianjin UniversityKeqing Cen - Guangxi Guiguan Electric Power Co.,Ltd (China)Ji Zhang - University of Southern QueenslandQiang Hu - Tianjin UniversityWei Ma - Singapore Management UniversityYongqiang Lyu - SBS CyberSecurity (United States)Ruitao Feng - Southern Cross UniversityXiaohong Li - Tianjin UniversityJunjie Wang - Tianjin UniversityLingxiao Jiang - Singapore Management UniversityYang Liu - Nanyang Technological University
- Publication Details
- IEEE transactions on services computing, Vol.First online(3), pp.1-16
- Publisher
- IEEE Computer Society; LOS ALAMITOS
- Grant note
- National Natural Science Foundation of China: 62332005 Key Program Project: Trustworthiness Analysis and Assurance Methods for Open Source Software: U24A6009, U22B2027, U2436208, 62272311, 62172297 Beijing-Tianjin-Hebei Natural Science Foundation Cooperation Special Project: 25JJJJC0034 Joint Research Center for System Security, Tsinghua University: 62332005, U24A6009 Science City (Guangzhou) Digital Technology Group Co., Ltd.: U22B2027, U2436208, 62272311, 62172297, 25JJJJC0034
This work was partially supported by the National Natural Science Foundation of China under Grant 62332005, in part by the Key Program Project: Trustworthiness Analysis and Assurance Methods for Open Source Software undr Grant U24A6009, Grant U22B2027, Grant U2436208, Grant 62272311, Grant 62172297, in part by the Beijing-Tianjin-Hebei Natural Science Foundation Cooperation Special Project under Grant 25JJJJC0034, in part by the Joint Research Center for System Security, Tsinghua University (Institute for Network Sciences and Cyberspace), and in part by the Science City (Guangzhou) Digital Technology Group Co., Ltd.
- Identifiers
- 991013370358902368
- Academic Unit
- Faculty of Science and Engineering
- Language
- English
- Resource Type
- Journal article