Large Language Models as Optimizers
원문 초록
Optimization is ubiquitous. While derivative-based algorithms have been powerful tools for various problems, the absence of gradient imposes challenges on many real-world applications. In this work, we propose Optimization by PROmpting (OPRO), a simple and effective approach to leverage large language models (LLMs) as optimizers, where the optimization task is described in natural language. In each optimization step, the LLM generates new solutions from the prompt that contains previously generated solutions with their values, then the new solutions are evaluated and added to the prompt for the next optimization step. We first showcase OPRO on linear regression and traveling salesman problems, then move on to our main application in prompt optimization, where the goal is to find instructions that maximize the task accuracy. With a variety of LLMs, we demonstrate that the best prompts optimized by OPRO outperform human-designed prompts by up to 8% on GSM8K, and by up to 50% on Big-Bench Hard tasks. Code at https://github.com/google-deepmind/opro.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
DAC: A Dynamic Attention-aware Approach for Task-Agnostic Prompt Compression
any4: Learned 4-bit Numeric Representation for LLMs
IRanker: Towards Ranking Foundation Model
CommVQ: Commutative Vector Quantization for KV Cache Compression
AgentGroupChat-V2: Divide-and-Conquer Is What LLM-Based Multi-Agent System Need
Re-Initialization Token Learning for Tool-Augmented Large Language Models
토론
이 논문과 연결된 포럼 글이 아직 없습니다.