From Summary to Action: Enhancing Large Language Models for Complex Tasks with Open World APIs
Yulong Liu1 Yunlong Yuan2∗∗{}^{\ast}start_FLOATSUPERSCRIPT ∗ end_FLOATSUPERSCRIPT Chunwei Wang3 Jianhua Han3 Yongqiang Ma1 Li Zhang2 Nanning Zheng1 Hang Xu3 1National Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Xi’an, China 2 School of Data Science, Fudan University 3 Huawei Noah’s Ark Lab Equal contributionCorresponding author
Abstract
The distinction between humans and animals lies in the unique ability of humans to use and create tools. Tools empower humans to overcome physiological limitations, fostering the creation of magnificent civilizations. Similarly, enabling foundational models like Large Language Models (LLMs) with the capacity to learn external tool usage may serve as a pivotal step toward realizing artificial general intelligence. Previous studies in this field have predominantly pursued two distinct approaches to augment the tool invocation capabilities of LLMs. The first approach emphasizes the construction of relevant datasets for model fine-tuning. The second approach, in contrast, aims to fully exploit the inherent reasoning abilities of LLMs through in-context learning strategies. In this work, we introduce a novel tool invocation pipeline designed to control massive real-world APIs. This pipeline mirrors the human task-solving process, addressing complicated real-life user queries. At each step, we guide LLMs to summarize the achieved results and determine the next course of action. We term this pipeline ‘from Summary to action’, Sum2Act for short. Empirical evaluations of our Sum2Act pipelin
原文 arXiv:2402.18157;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2402.18157v1