GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Models
Archiki Prasad, Peter Hase, Xiang Zhou, Mohit Bansal

TL;DR
GrIPS is a gradient-free, edit-based method that automatically improves large language model prompts, enhancing task performance without requiring gradient access or extensive manual rewriting.
Contribution
Introduces GrIPS, a novel gradient-free, edit-based prompt optimization technique that outperforms manual rewriting and matches gradient-based methods in improving large language model tasks.
Findings
Improves task accuracy by up to 4.30 percentage points on classification tasks.
Outperforms manual rewriting and example-based prompts.
Comparable to gradient-based tuning approaches.
Abstract
Providing natural language instructions in prompts is a useful new paradigm for improving task performance of large language models in a zero-shot setting. Recent work has aimed to improve such prompts via manual rewriting or gradient-based tuning. However, manual rewriting is time-consuming and requires subjective interpretation, while gradient-based tuning can be extremely computationally demanding for large models and may not be feasible for API-based models. In this work, we introduce Gradient-free Instructional Prompt Search (GrIPS), a gradient-free, edit-based search approach for improving task instructions for large language models. GrIPS takes in instructions designed for humans and automatically returns an improved, edited prompt, while allowing for API-based tuning. With InstructGPT models, GrIPS improves the average task performance by up to 4.30 percentage points on eight…
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
TopicsTopic Modeling · Natural Language Processing Techniques · Multimodal Machine Learning Applications
MethodsAttention Is All You Need · Linear Layer · Cosine Annealing · Byte Pair Encoding · Softmax · Refunds@Expedia|||How do I get a full refund from Expedia? · Linear Warmup With Cosine Annealing · Multi-Head Attention · Dropout · Dense Connections
