Query-Dependent Prompt Evaluation and Optimization with Offline Inverse RL
Hao Sun, Alihan H\"uy\"uk, Mihaela van der Schaar

TL;DR
This paper introduces Prompt-OIRL, a method that uses offline inverse reinforcement learning to optimize prompts for large language models in arithmetic reasoning tasks, addressing evaluation and resource challenges.
Contribution
It presents a novel offline RL-based approach for query-dependent prompt optimization that does not require access to the LLM during evaluation.
Findings
Effective prompt evaluation without golden answers
Resource-efficient prompt optimization via offline learning
Improved arithmetic reasoning performance across datasets
Abstract
In this study, we aim to enhance the arithmetic reasoning ability of Large Language Models (LLMs) through zero-shot prompt optimization. We identify a previously overlooked objective of query dependency in such optimization and elucidate two ensuing challenges that impede the successful and economical design of prompt optimization techniques. One primary issue is the absence of an effective method to evaluate prompts during inference when the golden answer is unavailable. Concurrently, learning via interactions with the LLMs to navigate the expansive natural language prompting space proves to be resource-intensive. To address this, we introduce Prompt-OIRL, which harnesses offline inverse reinforcement learning to draw insights from offline prompting demonstration data. Such data exists as by-products when diverse prompts are benchmarked on open-accessible datasets. With Prompt-OIRL,…
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 · Machine Learning and Algorithms
