🌟 ギャル的キラキラポイント✨ ● API探しが秒速に!Mashup(色んなAPIの組み合わせ)したい時に超便利💖 ● 「なんでこのAPIが良いの?」って理由も教えてくれるから安心🫶 ● LLM(大規模言語モデル)様のおかげで、賢くAPIを選べるように!👏
詳細解説いくよ~!
背景 Web API(ウェブエーピーアイ)ってめっちゃ増えてるじゃん?🤯 自分で色々組み合わせられるから、色んなアプリ作れるけど、多すぎて何が良いのか分かんない!困っちゃう~😭
方法 そこで登場!WAR-Re(ウォーリ)!LLMっていう、すっごい頭の良いAIを使って、あなたにピッタリなAPIを教えてくれるんだって!😲 しかも、「なんでこれが良いのか」理由も教えてくれるから、納得して使える!
続きは「らくらく論文」アプリで
With the development of cloud computing, the number of Web APIs has increased dramatically, further intensifying the demand for efficient Web API recommendation. Despite the demonstrated success of previous Web API recommendation solutions, two critical challenges persist: 1) a fixed top-N recommendation that cannot accommodate the varying API cardinality requirements of different mashups, and 2) these methods output only ranked API lists without accompanying reasons, depriving users of understanding the recommendation. To address these challenges, we propose WAR-Re, an LLM-based model for Web API recommendation with semantic reasoning for justification. WAR-Re leverages special start and stop tokens to handle the first challenge and uses two-stage training: supervised fine-tuning and reinforcement learning via Group Relative Policy Optimization (GRPO) to enhance the model's ability in both tasks. Comprehensive experimental evaluations on the ProgrammableWeb dataset demonstrate that WAR-Re achieves a gain of up to 21.59\% over the state-of-the-art baseline model in recommendation accuracy, while consistently producing high-quality semantic reasons for recommendations.