GReaTer: Gradients over Reasoning Makes Smaller Language Models Strong Prompt Optimizers
Sarkar Snigdha Sarathi Das, Ryo Kamoi, Bo Pang, Yusen Zhang, Caiming, Xiong, Rui Zhang

TL;DR
GReaTer introduces a gradient-based prompt optimization method that enhances small language models' reasoning capabilities, outperforming existing techniques and reducing reliance on large, costly LLMs.
Contribution
The paper presents GReaTer, a novel approach that leverages gradient information over reasoning to optimize prompts for lightweight models, bridging the performance gap with larger models.
Findings
GReaTer outperforms previous prompt optimization methods across multiple reasoning tasks.
Optimized prompts by GReaTer achieve transferability and sometimes surpass larger models.
Gradient-based prompt optimization reduces dependence on expensive large language models.
Abstract
The effectiveness of large language models (LLMs) is closely tied to the design of prompts, making prompt optimization essential for enhancing their performance across a wide range of tasks. Many existing approaches to automating prompt engineering rely exclusively on textual feedback, refining prompts based solely on inference errors identified by large, computationally expensive LLMs. Unfortunately, smaller models struggle to generate high-quality feedback, resulting in complete dependence on large LLM judgment. Moreover, these methods fail to leverage more direct and finer-grained information, such as gradients, due to operating purely in text space. To this end, we introduce GReaTer, a novel prompt optimization technique that directly incorporates gradient information over task-specific reasoning. By utilizing task loss gradients, GReaTer enables self-optimization of prompts for…
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
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques
