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

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

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

  • Comprehensive Summary
  • Key points
  • Layman's Summary
  • Blog 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.
AI-generated keywords: Large Language Models

AI-generated Key Points

  • 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.

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

Tools for this paper

Explain it differently 3 free rewrites left today
Export BibTeX · RIS (Zotero, Mendeley, EndNote) · Markdown (Notion, Obsidian) · Premium
Citation alerts Premium
Journal club Slides to present it Premium
For journalists Press kit and hype check Premium

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.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

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.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

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.