Deconstructing In-Context Learning: Understanding Prompts via Corruption
Namrata Shivagunde, Vladislav Lialin, Sherin Muckatira, Anna Rumshisky

TL;DR
This paper investigates how different types of prompt corruption affect large language model performance across various sizes and tasks, revealing that repetition boosts performance and larger models are more sensitive to semantic changes.
Contribution
It provides a comprehensive analysis of prompt component corruption effects on LLMs, covering a wide range of model sizes and tasks, and offers insights into prompt robustness and design.
Findings
Repeating text within prompts improves performance.
Models with ≥30B parameters are more sensitive to semantic prompt corruption.
Adding instructions enhances performance even when instructions are corrupted.
Abstract
The ability of large language models (LLMs) to learn in context based on the provided prompt has led to an explosive growth in their use, culminating in the proliferation of AI assistants such as ChatGPT, Claude, and Bard. These AI assistants are known to be robust to minor prompt modifications, mostly due to alignment techniques that use human feedback. In contrast, the underlying pre-trained LLMs they use as a backbone are known to be brittle in this respect. Building high-quality backbone models remains a core challenge, and a common approach to assessing their quality is to conduct few-shot evaluation. Such evaluation is notorious for being highly sensitive to minor prompt modifications, as well as the choice of specific in-context examples. Prior work has examined how modifying different elements of the prompt can affect model performance. However, these earlier studies…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEthics in Business and Education
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · {Dispute@FaQ-s}How to file a dispute with Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Attention Is All You Need · Linear Layer · Dropout · Layer Normalization · Multi-Head Attention · Weight Decay · Adam
