Recent availability of Large Language Models (LLMs) has led to the development of numerous LLM-based approaches aimed at providing natural language interfaces for various end-user tasks. These end-user tasks in turn can typically be accomplished by orchestrating a given set of APIs. In practice, natural language task requests (user queries) are often incomplete, i.e., they may not contain all the information required by the APIs. While LLMs excel at natural language processing (NLP) tasks, they frequently hallucinate on missing information or struggle with orchestrating the APIs. The key idea behind our proposed approach is to leverage logical reasoning and classical AI planning along with an LLM for accurately answering user queries including identification and gathering of any missing information in these queries. Our approach uses an LLM and ASP (Answer Set Programming) solver to translate a user query to a representation in Planning Domain Definition Language (PDDL) via an intermediate representation in ASP. We introduce a special API "get_info_api" for gathering missing information. We model all the APIs as PDDL actions in a way that supports dataflow between the APIs. Our approach then uses a classical AI planner to generate an orchestration of API calls (including calls to get_info_api) to answer the user query. Our evaluation results show that our approach significantly outperforms a pure LLM based approach by achieving over 95% success rate in most cases on a dataset containing complete and incomplete single goal and multi-goal queries where the multi-goal queries may or may not require dataflow among the APIs.
Leveraging Large Language Models to Build and Execute Computational Workflows
Universidad San Francisco de Quito(基多圣弗朗西斯科大学);University of Missouri(密苏里大学);National Center for Supercomputing Applications(美国国家超级计算应用中心);University of Illinois Urbana Champaign(伊利诺伊大学厄巴纳-香槟分校)
Improving Scientific Document Retrieval with Concept Coverage-based Query Set Generation
Korea University(高丽大学);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Pohang University of Science and Technology(浦项科技大学);Texas A&M University(德克萨斯农工大学);Yonsei University(延世大学)
Clone What You Can't Steal: Black-Box LLM Replication via Logit Leakage and Distillation
Department of Electrical Engineering and Computer Science(电气工程与计算机科学系);Embry-Riddle Aeronautical University(埃姆布里-里德尔航空大学);Department of Mathematics(数学系)
Extending Complex Logical Queries on Uncertain Knowledge Graphs
Department of Mathematical Sciences, Tsinghua University, Beijing, China(清华大学数学科学系);CSE, HKUST, HKSAR, China(香港科技大学计算机科学与工程系);Department of Computer Science, Princeton University, Princeton, United States(普林斯顿大学计算机科学系)
Multi-Masked Querying Network for Robust Emotion Recognition from Incomplete Multi-Modal Physiological Signals
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences, Shenzhen 518055, China(深圳先进技术研究院,中国科学院,深圳518055,中国);Southern University of Science and Technology, Shenzhen 518055, China(南方科技大学,深圳518055,中国)
Vrije Universiteit Amsterdam(阿姆斯特丹自由大学);Elsevier Discovery Lab(爱思唯尔发现实验室);University of Copenhagen(哥本哈根大学);Ludwig-Maximilians-Universität München(慕尼黑大学);Mila Quebec(魁北克米拉研究所);McGill University(麦吉尔大学);University of Edinburgh(爱丁堡大学);University of Stuttgart(斯图加特大学);Stanford University(斯坦福大学)
ShortcutsBench: A Large-Scale Real-world Benchmark for API-based Agents
Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);School of Computer Science, Peking University(北京大学计算机学院);School of Software & Microelectronics, Peking University(北京大学软件与微电子学院);School of Electronics Engineering and Computer Science, Peking University(北京大学电子工程与计算机科学学院);Beijing University of Posts and Telecommunications(北京邮电大学)
Neural-Symbolic Logic Query Answering in Non-Euclidean Space
Institute for Clarity in Documentation(清晰文档研究所);Inria Paris-Rocquencourt(巴黎-罗克琴堡研究所);Rajiv Gandhi University(拉朱·甘地大学);Tsinghua University(清华大学);Palmer Research Laboratories(帕勒尔研究实验室)
In-N-Out: A Parameter-Level API Graph Dataset for Tool Agents
Department of Industrial Engineering, Seoul National University(首尔国立大学工业工程系);Graduate School of Data Science, Seoul National University(首尔国立大学数据科学研究生院)