Grips: Gradient-free, Edit-based Instruction Search For Prompting Large Language Models · The Large Language Model Bible Contribute to LLM-Bible

Grips: Gradient-free, Edit-based Instruction Search For Prompting Large Language Models

Prasad Archiki, Hase Peter, Zhou Xiang, Bansal Mohit. Arxiv 2022

[Paper] [Code]    
GPT Has Code Model Architecture Prompting RAG Tools

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 classification tasks from the Natural Instructions dataset (with similar improvements for OPT, BLOOM, and FLAN-T5). We see improvements for both instruction-only prompts and instruction

Similar Work