ASE 2023
Mon 11 - Fri 15 September 2023 Kirchberg, Luxembourg
Tue 12 Sep 2023 16:30 - 16:42 at Room D - Web Development 1 Chair(s): Ben Hermann

API recommendation methods have evolved from literal and semantic keyword matching to query expansion and query clarification. The latest query clarification method is knowledge graph (KG)-based, but limitations include out-of-vocabulary (OOV) failures and rigid question templates. To address these limitations, we propose a novel knowledge-guided query clarification approach for API recommendation that leverages a large language model (LLM) guided by KG. We utilize the LLM as a neural knowledge base to overcome OOV failures, generating fluent and appropriate clarification questions and options. We also leverage the structured API knowledge and entity relationships stored in the KG to filter out noise, and transfer the optimal clarification path from KG to the LLM, increasing the efficiency of the clarification process. Our approach is designed as an AI chain that consists of five steps, each handled by a separate LLM call, to improve accuracy, efficiency, and fluency for query clarification in API recommendation. We verify the usefulness of each unit in our AI chain, which all received high scores close to a perfect 5. When compared to the baselines, our approach shows a significant improvement in MRR, with a maximum increase of 63.9% higher when the query statement is covered in KG and 37.2% when it is not. Ablation experiments reveal that the guidance of knowledge in the KG and the knowledge-guided pathfinding strategy are crucial for our approach’s performance, resulting in a 19.0% and 22.2% increase in MAP, respectively. Our approach demonstrates a way to bridge the gap between KG and LLM, effectively compensating for the strengths and weaknesses of both.

Tue 12 Sep

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

15:30 - 17:00
15:30
12m
Talk
Adaptive REST API Testing with Reinforcement Learning
Research Papers
Myeongsoo Kim Georgia Institute of Technology, Saurabh Sinha IBM Research, Alessandro Orso Georgia Institute of Technology
Pre-print File Attached
15:42
12m
Talk
Zero-Config Fuzzing for Microservices
Industry Showcase (Papers)
Wei Wang Google, Inc., Andrei Benea Google, Franjo Ivančić Google
Pre-print File Attached
15:54
12m
Talk
Automatic Extraction of Security-Rich Dataflow Diagrams for Microservice Applications written in Java
Journal-first Papers
Simon Schneider Hamburg University of Technology, Riccardo Scandariato Hamburg University of Technology
16:06
12m
Talk
Increasing the Responsiveness of Web Applications by Introducing Lazy Loading
Research Papers
Alexi Turcotte Northeastern University, Satyajit Gokhale Northeastern University, Frank Tip Northeastern University
16:18
12m
Talk
SLocator: Localizing the Origin of SQL Queries in Database-Backed Web ApplicationsRecorded talk
Journal-first Papers
Wei Liu Concordia University, Montreal, Canada, Tse-Hsun (Peter) Chen Concordia University
Media Attached
16:30
12m
Talk
Let's Chat to Find the APIs: Connecting Human, LLM and Knowledge Graph through AI ChainRecorded talk
Research Papers
Qing Huang School of Computer Information Engineering, Jiangxi Normal University, Zhenyu Wan Jiangxi Normal University, Zhenchang Xing , Changjing Wang Jiangxi Normal University, Jieshan Chen CSIRO's Data61, Xiwei (Sherry) Xu CSIRO’s Data61, Qinghua Lu CSIRO’s Data61
Media Attached