Black-box prompt optimization: aligning large language models without model trainingBlack-Box Prompt Optimization: Aligning Large Language Models without Model Training
AI summary
The paper proposes black-box prompt optimization (BPO), which aligns large language models by optimizing user prompts without updating model parameters. The method uses human preferences to optimize prompts; the paper states that as a prompt engineer it outperforms LLMs such as ChatGPT and is not tied to a specific model. Experimental results show that ChatGPT aligned with BPO improves its win rate against the original version by 22%, and GPT-4 by 10%; models aligned with BPO can surpass the same model aligned with PPO and DPO, and combining with PPO or DPO brings additional performance gains. The code and dataset have been released on GitHub.