Reproduce “GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Archiki Prasad, Peter Hase, Xiang Zhou, Mohit Bansal
GRIPS is a gradient-free, edit-based search algorithm that automatically refines natural language instructions for large language models (LLMs). The method consistently improves task accuracy across various LLMs, including API-only models like InstructGPT, and reveals that semantically incoherent instructions can surprisingly enhance model performance.
Key insights
- LLMs can achieve better performance with instructions that appear semantically incoherent or misleading to human users, challenging assumptions about human-like understanding.
- A gradient-free, discrete instruction search can achieve performance comparable to, and in some cases surpass, gradient-based prompt tuning and even direct fine-tuning.
- Optimizing natural language instructions proves more effective than optimizing in-context examples for instruction-tuned models like InstructGPT.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.