ART: Automatic multi-step reasoning and tool-use for large language models

AI-generated keywords: Large Language Models

AI-generated Key Points

The license of the paper does not allow us to build upon its content and the key points are generated using the paper metadata rather than the full article.

  • Large language models (LLMs) can perform complex reasoning in few- and zero-shot settings by generating intermediate chain of thought (CoT) reasoning steps.
  • Automatic Reasoning and Tool-use (ART) is a framework that uses frozen LLMs to automatically generate intermediate reasoning steps as a program.
  • ART selects demonstrations of multi-step reasoning and tool use from a task library when given a new task to solve.
  • ART seamlessly pauses generation whenever external tools are called, integrates their output before resuming generation, and achieves substantial improvement over few-shot prompting and automatic CoT on unseen tasks in the BigBench and MMLU benchmarks.
  • ART matches performance of hand-crafted CoT prompts on a majority of these tasks.
  • The framework is also extensible, making it easy for humans to improve performance by correcting errors in task-specific programs or incorporating new tools.
  • ART represents an important step towards automating multi-step reasoning and tool-use for large language models without requiring extensive manual effort.
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Bhargavi Paranjape, Scott Lundberg, Sameer Singh, Hannaneh Hajishirzi, Luke Zettlemoyer, Marco Tulio Ribeiro

Abstract: Large language models (LLMs) can perform complex reasoning in few- and zero-shot settings by generating intermediate chain of thought (CoT) reasoning steps. Further, each reasoning step can rely on external tools to support computation beyond the core LLM capabilities (e.g. search/running code). Prior work on CoT prompting and tool use typically requires hand-crafting task-specific demonstrations and carefully scripted interleaving of model generations with tool use. We introduce Automatic Reasoning and Tool-use (ART), a framework that uses frozen LLMs to automatically generate intermediate reasoning steps as a program. Given a new task to solve, ART selects demonstrations of multi-step reasoning and tool use from a task library. At test time, ART seamlessly pauses generation whenever external tools are called, and integrates their output before resuming generation. ART achieves a substantial improvement over few-shot prompting and automatic CoT on unseen tasks in the BigBench and MMLU benchmarks, and matches performance of hand-crafted CoT prompts on a majority of these tasks. ART is also extensible, and makes it easy for humans to improve performance by correcting errors in task-specific programs or incorporating new tools, which we demonstrate by drastically improving performance on select tasks with minimal human intervention.

Submitted to arXiv on 16 Mar. 2023

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

The license of the paper does not allow us to build upon its content and the AI assistant only knows about the paper metadata rather than the full article.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2303.09014v1

This paper's license doesn't allow us to build upon its content and the summarizing process is here made with the paper's metadata rather than the article.

Large language models (LLMs) have demonstrated the ability to perform complex reasoning in few- and zero-shot settings by generating intermediate chain of thought (CoT) reasoning steps. To address the limitation of requiring hand-crafted task-specific demonstrations and carefully scripted interleaving of model generations with tool use, the authors introduce Automatic Reasoning and Tool-use (ART), a framework that uses frozen LLMs to automatically generate intermediate reasoning steps as a program. ART selects demonstrations of multi-step reasoning and tool use from a task library when given a new task to solve. At test time, ART seamlessly pauses generation whenever external tools are called, integrates their output before resuming generation, and achieves substantial improvement over few-shot prompting and automatic CoT on unseen tasks in the BigBench and MMLU benchmarks. Moreover, ART matches performance of hand-crafted CoT prompts on a majority of these tasks. The framework is also extensible, making it easy for humans to improve performance by correcting errors in task-specific programs or incorporating new tools. The authors demonstrate this capability by drastically improving performance on select tasks with minimal human intervention. Overall, ART represents an important step towards automating multi-step reasoning and tool-use for large language models without requiring extensive manual effort. This has significant implications for fields such as natural language processing, where LLMs have shown great promise but require further development to achieve their full potential.
Created on 17 Mar. 2023

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

The previous summary was created more than a year ago and can be re-run (if necessary) by clicking on the Run button below.

The license of this specific paper does not allow us to build upon its content and the summarizing tools will be run using the paper metadata rather than the full article. However, it still does a good job, and you can also try our tools on papers with more open licenses.

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.