Harnessing the Power of Large Language Model for Effective Web API Recommendation
Various Web API Recommendation (AR) techniques have assisted developers in efficiently identifying suitable APIs for mashup creation. With the emergence of large language models (LLMs), there has been increasing interest in leveraging LLMs for recommender systems. Although several approaches have attempted to utilize LLMs by framing recommendations as prompts, this approach is not ideally suited for AR due to fundamental differences in the training processes of LLMs and AR models. Consequently, it's crucial to conduct further research to identify effective applications of LLMs in AR. To this end, we propose a novel <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">LLM</u>-based generative solution for <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">A</u>PI <underline xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">R</u>ecommendation (LLMAR) that combines instruction learning of multitask and multistage Low-Rank Adaptation fine-tuning based on LLaMA models. Experimental results on the ProgrammableWeb dataset show that LLMAR significantly outperforms representative methods in regular and data-limited scenarios.
Authors
- Hao Wu (ORCID: https://orcid.org/0000-0002-3696-9281)
- Qiang He (ORCID: https://orcid.org/0000-0002-2607-4556)
- Shaowei Qin (ORCID: https://orcid.org/0000-0002-9774-0851)
- Yiji Zhao (ORCID: https://orcid.org/0000-0001-8248-9441)
- Lei Zhang (ORCID: https://orcid.org/0000-0001-8749-7459)
Institutions
- Nanjing Normal University (CN)
- Yunnan University (CN)
- Huazhong University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Industrial Informatics
- Published
- 2025-04-03
- DOI
- https://doi.org/10.1109/tii.2025.3552722
- Citations
- 3
- Primary Topic
- Web Data Mining and Analysis
- Type
- article
- Field-Weighted Citation Impact
- 9.74
Funders
- National Natural Science Foundation of China