paper-with-me

Papers

InstructZero: Efficient Instruction Optimization for Black-Box Large Language Models

2023-06-05 · Lichang Chen, Jiuhai Chen, Tom Goldstein, Heng Huang, Tianyi Zhou

Large language models~(LLMs) are instruction followers, but it can be challenging to find the best instruction for different situations, especially for black-box LLMs on which backpropagation is forbidden. Instead of directly optimizing the discrete instruction, we optimize a low-dimensional soft prompt applied to an open-source LLM to generate the instruction for the black-box LLM. On each iteration of the proposed method, which we call InstructZero, a soft prompt is converted into an instruction using the open-source LLM, which is then submitted to the black-box LLM for zero-shot evaluation, and the performance is sent to Bayesian optimization to produce new soft prompts improving the zero-shot performance. We evaluate InstructZero on different combinations of open-source LLMs and APIs including Vicuna and ChatGPT. Our results show that InstructZero outperforms SOTA auto-instruction methods across a variety of downstream tasks. Our code and data are publicly available at https://github.com/Lichang-Chen/InstructZero.

📄 PDF Abstract BibTeX arXiv:2306.03082

Code (2)

lichang-chen/instructzero 공식 구현 pytorch
ruocwang/mixture-of-prompts pytorch

Tasks

Bayesian Optimization

Similar Papers 제목 키워드 기반

DRO-InstructZero: Distributionally Robust Prompt Optimization for Large Language Models

2025-10-17 · Yangyang Li arxiv

Large language models are highly sensitive to prompt wording. However, popular automatic prompt search methods, including InstructZero, often degrade under distribution shift and adversarial evaluation because they optim…

ACING: Actor-Critic for Instruction Learning in Black-Box Large Language Models

2024-11-19 · Salma Kharrat, Fares Fourati, Marco Canini

The effectiveness of Large Language Models (LLMs) in solving tasks vastly depends on the quality of the instructions, which often require fine-tuning through extensive human effort. This highlights the need for automated…

Reinforcement Learning (RL)

PRESTO: Preimage-Informed Instruction Optimization for Prompting Black-Box LLMs

2025-10-29 · Jaewon Chu, Seunghun Lee, Hyunwoo J. Kim arxiv

Large language models (LLMs) have achieved remarkable success across diverse domains, due to their strong instruction-following capabilities. This has led to increasing interest in optimizing instructions for black-box L…

Use Your INSTINCT: INSTruction optimization for LLMs usIng Neural bandits Coupled with Transformers

2023-10-02 · Xiaoqiang Lin, Zhaoxuan Wu, Zhongxiang Dai, Wenyang Hu 외

Large language models (LLMs) have shown remarkable instruction-following capabilities and achieved impressive performances in various applications. However, the performances of LLMs depend heavily on the instructions giv…

Bayesian OptimizationInstruction Following

Hyperparameter Optimization for Large Language Model Instruction-Tuning

2023-12-01 · Christophe Tribes, Sacha Benarroch-Lelong, Peng Lu, Ivan Kobyzev

The fine-tuning of Large Language Models (LLMs) has enabled them to recently achieve milestones in natural language processing applications. The emergence of ever larger LLMs has paved the way for more efficient fine-tun…

Hyperparameter OptimizationLanguage ModelingLanguage ModellingLarge Language Model+1