mlsanityData to 7 Oct 2026

BatchPrompt: Accomplish more with less

arXiv 2309.00384 ↗First posted 1 Sep 2023cs.CLcited by 16

Not on the map. Why?

Abstract (arXiv)

As the ever-increasing token limits of large language models (LLMs) have enabled long context as input, prompting with single data samples might no longer an efficient way. A straightforward strategy improving efficiency is to batch data within the token limit (e.g., 8k for gpt-3.5-turbo; 32k for GPT-4), which we call BatchPrompt. We have two initial observations for prompting with batched data. First, we find that prompting with batched data in longer contexts will inevitably lead to worse performance, compared to single-data prompting. Second, the performance of the language model is significantly correlated with the positions and order of the batched data, due to the corresponding change in decoder context. To retain efficiency and overcome performance loss, we propose Batch Permutation and Ensembling (BPE), and a novel Self-reflection-guided EArly Stopping (SEAS) technique. Our comprehensive experimental evaluation demonstrates that BPE can boost the performance of BatchPrompt with a striking margin on a range of popular NLP tasks, including question answering (Boolq), textual entailment (RTE), and duplicate questions identification (QQP). These performances are even competitive with/higher than single-data prompting(SinglePrompt), while BatchPrompt requires much fewer LLM calls and input tokens (For SinglePrompt v.s. BatchPrompt with batch size 32, using just 9%-16% the number of LLM calls, Boolq accuracy 90.6% to 90.9% with 27.4% tokens, QQP accuracy 87.2% to 88.4% with 18.6% tokens, RTE accuracy 91.5% to 91.1% with 30.8% tokens). To the best of our knowledge, this is the first work to technically improve prompting efficiency of large language models. We hope our simple yet effective approach will shed light on the future research of large language models. The code will be released.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 31 of its 43 references that are in the map. First posted on arXiv 1 Sep 2023.

Builds on

31 of 43 references.

References · 31

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  5. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  7. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  8. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  9. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  10. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  11. 2019Language Models as Knowledge Bases?cited by 1,922
  12. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
19 more
  1. 2023Teaching Large Language Models to Self-Debugcited by 963
  2. 2019How Can We Know What Language Models Know?cited by 953
  3. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  4. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  5. 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
  6. 2020Towards a Human-like Open-Domain Chatbotcited by 467
  7. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
  8. 2021Dealing with Disagreements: Looking Beyond the Majority Vote in Subjective Annotationscited by 306
  9. 2021ERNIE 3.0: Large-scale Knowledge Enhanced Pre-training for Language Understanding and Generationcited by 258
  10. 2023MathPrompter: Mathematical Reasoning using Large Language Modelscited by 236
  11. 2019Commonsense Knowledge Mining from Pretrained Modelscited by 189
  12. 2017Bilateral Multi-Perspective Matching for Natural Language Sentencescited by 120
  13. 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
  14. 2021Improving Coherence and Consistency in Neural Sequence Models with Dual-System, Neuro-Symbolic Reasoningcited by 85
  15. 2023Batch Prompting: Efficient Inference with Large Language Model APIscited by 84
  16. 2021BERTese: Learning to Speak to BERTcited by 82
  17. 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
  18. 2019Make Up Your Mind! Adversarial Generation of Inconsistent Natural Language Explanationscited by 71
  19. 2016Prediction with a Short Memorycited by 13

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 5; 2025: 4; 2026: 4.

16 papers.

Sort:

By area:

  1. 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 140
  2. 2024Many-Shot In-Context Learning in Multimodal Foundation Modelscited by 64
  3. 2024Demystifying Chains, Trees, and Graphs of Thoughtscited by 63
  4. 2023EcoAssistant: Using LLM Assistant More Affordably and Accuratelycited by 47
  5. 2024Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimizationcited by 29
  6. 2023Just Ask One More Time! Self-Agreement Improves Reasoning of Language Models in (Almost) All Scenarioscited by 18
  7. 2024Affordable Generative Agentscited by 8
  8. 2026Same Scores, Different Decisions: Evaluating JEV and Language Models for Legal Document Understandingcited by 8
  9. 2026ConPress: Learning Efficient Reasoning from Multi-Question Contextual Pressurecited by 4
  10. 2024Auto-Demo Prompting: Leveraging Generated Outputs as Demonstrations for Enhanced Batch Promptingcited by 3
  11. 2025MAC-Tuning: LLM Multi-Compositional Problem Reasoning with Enhanced Knowledge Boundary Awarenesscited by 3
  12. 2025DRQA: Dynamic Reasoning Quota Allocation for Controlling Overthinking in Reasoning Large Language Modelscited by 3
4 more
  1. 2025MachineLearningLM: Scaling Many-shot In-context Learning via Continued Pretrainingcited by 3
  2. 2025Chain of Unit-Physics: A Primitive-Centric Approach to Scientific Code Synthesiscited by 0
  3. 2026SCBO: Semantically Coherent Batching and Ordering for LLM-Based Social Surveyscited by 0
  4. 2026Reliable but Design-Sensitive: Instrument Uncertainty in LLM Annotationcited by 0