Principled Instructions Are All You Need

Distills effective LLM prompting into 26 guiding principles and validates them across multiple model families.
Ask this paper
26 principles: Covers prompt structure, audience specification, example selection, formatting, role assignment, and stepwise decomposition.
Broad model validation: Tested on LLaMA-1/2 (7B, 13B, 70B) and GPT-3.5/4, finding the principles generalize across scales and families.
Both small and large benefits: Smaller models benefit more from structured prompting (higher variance reduction), while larger models benefit in absolute accuracy on harder tasks.
Practical reference: Functions as a cheat-sheet for practitioners, converting scattered prompting folklore into testable recipes.
Abstract
This paper introduces 26 guiding principles designed to streamline the process of querying and prompting large language models. Our goal is to simplify the underlying concepts of formulating questions for various scales of large language models, examining their abilities, and enhancing user comprehension on the behaviors of different scales of large language models when feeding into different prompts. Extensive experiments are conducted on LLaMA-1/2 (7B, 13B and 70B), GPT-3.5/4 to verify the effectiveness of the proposed principles on instructions and prompts design. We hope that this work can provide a better guide for researchers working on the prompting of large language models. Project page is available at https://github.com/VILA-Lab/ATLAS.