We introduce EchoPrompt, a simple yet effective approach that prompts the language model to rephrase its queries before answering them. Just like humans, reminding the model of the question at hand by rephrasing it seems to help preserve context and reinforce connections across tokens. Through extensive experimentation with four causal model families across various tasks—including numerical reasoning (GSM8K, SVAMP, MultiArith, SingleOp), reading comprehension (DROP), and logical reasoning (tracking shuffled objects)—we demonstrate that EchoPrompt introduces substantial improvements in zero-shot and few-shot in-context learning performance without requiring any additional training or external tools. Specifically, EchoPrompt improves Zero-Shot-CoT performance on code-davinci-002 by 5% on numerical reasoning and 13% on reading comprehension tasks on average, and yields consistent gains across GPT-3.5-turbo, Llama-2, and Starcoder.
@inproceedings{mekala2024echoprompt,
title={EchoPrompt: Instructing the Model to Rephrase Queries for Improved In-Context Learning},
author={Mekala, Rajasekhar Reddy and Razeghi, Yasaman and Singh, Sameer},
booktitle={Findings of the Association for Computational Linguistics: NAACL 2024},
year={2024},
url={https://arxiv.org/abs/2309.10687}
}