Multi-level Collaborative Relation Graphs Enhanced LLM for Web Service Recommendation

Web Service (API) Recommendation enables intelligent selection of suitable APIs from large-scale repositories to compose mashup applications that satisfy complex user requirements. However, existing approaches face two critical limitations that affect further improvement in recommendation performance. First, the complementary synergy among multiple service relations has not been effectively exploited, particularly in cold-start scenarios where new mashups lack invocation history, making it difficult to obtain high-quality collaborative relation representations. Second, existing LLM-based approaches lack effective mechanisms for constructing and utilizing high-quality decision contexts specifically tailored for Web API recommendation, failing to fully unleash the potential of LLMs in Web API recommendation. To address these challenges, we propose LSFL, an LLM-enhanced Multi-level Service Collaborative Relation Graphs and Collaborative-Semantic Fusion Feature Learning framework. Specifically, LSFL constructs multi-level service collaborative relation graphs integrating invocation and category co-occurrence relations, and obtains high-quality collaborative relation embeddings through graph convolution and temperature-controlled attention. Furthermore, LSFL injects collaborative relation embeddings into the LLM as decision context via specially designed prompts, and employs Q-LoRA fine-tuning with a two-stage training strategy to extract deep collaborative-semantic fusion features for precise API recommendation. Extensive experiments against 15 baselines on a real-world dataset demonstrate that LSFL significantly outperforms existing state-of-the-art Web API recommendation approaches.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Knowledge Discovery from Data
Published
2026-11-17
DOI
https://doi.org/10.1145/3862764
Primary Topic
Recommender Systems and Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Multi-level Collaborative Relation Graphs Enhanced LLM for Web Service Recommendation

Bofeng Zhang, Guobing Zou, Shengye Pang, Yanglan Gan et al.
7 links
ACM Transactions on Knowledge Discovery from Data
Recommender Systems and Techniques
article

Multi-level Collaborative Relation Graphs Enhanced LLM for Web Service Recommendation

Bofeng Zhang, Guobing Zou, Shengye Pang, Yanglan Gan, Song Yang, Pengtao Li
article en

Abstract

Web Service (API) Recommendation enables intelligent selection of suitable APIs from large-scale repositories to compose mashup applications that satisfy complex user requirements. However, existing approaches face two critical limitations that affect further improvement in recommendation performance. First, the complementary synergy among multiple service relations has not been effectively exploited, particularly in cold-start scenarios where new mashups lack invocation history, making it difficult to obtain high-quality collaborative relation representations. Second, existing LLM-based approaches lack effective mechanisms for constructing and utilizing high-quality decision contexts specifically tailored for Web API recommendation, failing to fully unleash the potential of LLMs in Web API recommendation. To address these challenges, we propose LSFL, an LLM-enhanced Multi-level Service Collaborative Relation Graphs and Collaborative-Semantic Fusion Feature Learning framework. Specifically, LSFL constructs multi-level service collaborative relation graphs integrating invocation and category co-occurrence relations, and obtains high-quality collaborative relation embeddings through graph convolution and temperature-controlled attention. Furthermore, LSFL injects collaborative relation embeddings into the LLM as decision context via specially designed prompts, and employs Q-LoRA fine-tuning with a two-stage training strategy to extract deep collaborative-semantic fusion features for precise API recommendation. Extensive experiments against 15 baselines on a real-world dataset demonstrate that LSFL significantly outperforms existing state-of-the-art Web API recommendation approaches.

ACM Transactions on Knowledge Discovery from Data
Shanghai University (CN), Shanghai Polytechnic University (CN), Donghua University (CN)
Recommender Systems and Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon