atlas

Research map / Large language models / Reasoning and chain of thought

BatchPrompt: Accomplish more with less

ICLR 2024 · Large language models › Reasoning and chain of thought · approach: Routing, pruning and distillation for reasoning · 1 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 BatchPrompt, which batches multiple data points per LLM prompt, and adds Batch Permutation and Ensembling (BPE) plus Self-reflection-guided Early Stopping (SEAS) to recover accuracy while cutting LLM calls and input tokens.

Problem

Single-data prompting wastes input tokens and LLM calls when the instructions and few-shot examples dominate the prompt, but naively batching multiple data points degrades accuracy, especially as batch size grows and with position-dependent answers.

Approach

Batch many data points per prompt, then recover quality via majority voting over repeated random permutations of the batch (self-ensembling), and use the LLM's own self-reported confidence to stop voting early on samples that are consistently answered as confident.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply BatchPrompt + BPE with majority voting at batch size 32 and 9 voting rounds instead of SinglePromptGPT-4 · BoolQaccuracy: 90.6% → 90.9%Helped
Add confidence-guided early stopping (ablation)BatchPrompt + BPE · BoolQaccuracy: 90.6% → 90.9%Mixed
Add confidence-guided early stopping instead of continuing voting for all examples (ablation)BatchPrompt + BPE · BoolQtokens: 384946 → 107957Helped
Use negative few-shot examples with self-weighted voting (ablation)BatchPrompt + BPE (sw-mv) · BoolQaccuracyHurt
Increase batch size to 64 with one voting round (ablation)BatchPrompt + BPE · BoolQaccuracy: 90.6% → 72.8%Hurt
Increase voting rounds from 1 to 5 (ablation)BatchPrompt + BPE, batch size 32 · GSM8Kaccuracy: 89.1% to 92.0%Helped
Use batch size 32 and 5 voting rounds instead of SinglePromptBatchPrompt + BPE · GSM8Kaccuracy: 94.9% → 92.0%Hurt
Replace self-reflection-based early stopping with random dropping (ablation)BatchPrompt + BPE · BoolQ, QQP, and RTEaccuracyHelped
Increase voting rounds for batch size 32 (ablation)BatchPrompt + BPE + SEAS · RTEaccuracy: 88.10 → 91.08 → 90.70Mixed

Surprising findings

Limitations

Experimental setup

Datasets: BoolQ QQP RTE GSM8K COPA MNLI

Benchmarks: BoolQ QQP RTE GSM8K COPA MNLI

Metrics: accuracy input token count number of LLM calls

Baselines: SinglePrompt naive BatchPrompt (no BPE) random drop

Builds on: self-consistency chain-of-thought reflexion

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