atlas

Research map / Large language models / Language, safety and interpretability

Agent Instructs Large Language Models to be General Zero-Shot Reasoners

ICML 2024 · Large language models › Language, safety and interpretability · approach: Faithfulness of LLM explanations · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Zero-shot AgentInstruct, where a GPT-4 ReAct-style agent with web search generates one set of task-specific instructions per dataset, which are prepended to zero-shot chain-of-thought prompts for smaller LLMs (Vicuna-13b, Llama-2-70b-chat, GPT-3.5 Turbo) to improve zero-shot reasoning across 29 datasets.

Problem

Zero-shot reasoning of LLMs is well studied for arithmetic tasks, but unclear for general language understanding tasks spanning generation, classification, and reasoning.

Approach

An agent (GPT-4 with ReAct and web-retrieval tools) generates a single task-level set of step-by-step instructions once per dataset, and these instructions replace zero-shot CoT's fixed "Let's think step by step" prompt for reasoning LLMs, decoupling agent planning from per-instance reasoning and acting as a cost-effective distillation setup.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add task-specific agent instructions instead of using zero-shot CoT (ablation)Llama-2-70b-chat · AddSubQEM: 73.2 -> 79.5Helped
add task-specific agent instructions instead of using zero-shot CoT (ablation)Llama-2-70b-chat · IMDBQEM: 89.0 -> 94.0Helped
add task-specific agent instructions instead of using zero-shot CoT (ablation)Llama-2-70b-chat · NarrativeQAF1: 62.3 -> 65.0Helped
include input-only examples in the agent input (ablation)AgentInstruct with Llama-2-70b-chat · AddSubQEM: 72.4 -> 79.5Helped
include input-only examples in the agent input (ablation)AgentInstruct with Llama-2-70b-chat · IMDBQEM: 88.0 -> 94.0Helped
include input-only examples in the agent input (ablation)AgentInstruct with Llama-2-70b-chat · NarrativeQAF1: 60.1 -> 65.0Helped
include label descriptions in the agent input (ablation)AgentInstruct with Llama-2-70b-chat · AddSubQEM: 74.9 -> 79.5Helped
include label descriptions in the agent input (ablation)AgentInstruct with Llama-2-70b-chat · IMDBQEM: 93.8 -> 94.0No clear effect
include label descriptions in the agent input (ablation)AgentInstruct with Llama-2-70b-chat · NarrativeQAF1: 63.9 -> 65.0Helped
use GPT-4 rather than GPT-3.5 Turbo to generate instructions (ablation)AgentInstruct with Llama-2-70b-chat · AddSubQEM: 75.2 -> 79.5Helped
use GPT-4 rather than GPT-3.5 Turbo to generate instructions (ablation)AgentInstruct with Llama-2-70b-chat · IMDBQEM: 92.6 -> 94.0Helped
use GPT-4 rather than GPT-3.5 Turbo to generate instructions (ablation)AgentInstruct with Llama-2-70b-chat · NarrativeQAF1: 63.5 -> 65.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: HELM core scenarios AddSub AQuA BoolQ CivilComments CNN/Daily Mail Coin Flip CommonsenseQA Date Understanding GSM8K HellaSwag IMDB

Benchmarks: AddSub AQuA BoolQ CivilComments CNN/Daily Mail Coin Flip CommonsenseQA Date Understanding GSM8K HellaSwag IMDB Last Letter Concatenation

Metrics: accuracy quasi-exact match quasi-prefix exact match F1 ROUGE-2

Baselines: zero-shot prompting zero-shot chain-of-thought few-shot prompting self-consistency ReAct zero-shot GPT-4

Builds on: ReAct zero-shot chain-of-thought self-consistency

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy