Auto-Demo Prompting: Leveraging Generated Outputs as Demonstrations for Enhanced Batch Prompting
Longyu Feng, Mengze Hong, Chen Jason Zhang

TL;DR
Auto-Demo Prompting enhances batch prompting in large language models by using previous outputs as demonstrations, improving performance and bridging the gap with few-shot prompting, as validated across multiple NLP tasks.
Contribution
The paper introduces Auto-Demo Prompting, a novel method that leverages earlier question-output pairs within a batch as demonstrations, addressing performance issues in large batch processing.
Findings
Mitigates performance degradation in large batch prompting
Occasionally outperforms single prompt methods
Enables few-shot learning techniques within batch prompting
Abstract
Batch prompting is a common technique in large language models (LLMs) used to process multiple inputs simultaneously, aiming to improve computational efficiency. However, as batch sizes increase, performance degradation often occurs due to the model's difficulty in handling lengthy context inputs. Existing methods that attempt to mitigate these issues rely solely on batch data arrangement and majority voting rather than improving the design of the batch prompt itself. In this paper, we address these limitations by proposing "Auto-Demo Prompting," a novel approach that leverages the question-output pairs from earlier questions within a batch as demonstrations for subsequent answer inference. We provide a formal theoretical analysis of how Auto-Demo Prompting functions within the autoregressive generation process of LLMs, illustrating how it utilizes prior outputs to optimize the model's…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEmbedded Systems Design Techniques · Simulation Techniques and Applications · Digital Filter Design and Implementation
