mlsanityData to 7 Oct 2026

Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizers

arXiv 2402.17564 ↗First posted 27 Feb 2024cs.CLcited by 33

Not on the map. Why?

Abstract (arXiv)

Automatic prompt optimization is an important approach to improving the performance of large language models (LLMs). Recent research demonstrates the potential of using LLMs as prompt optimizers, which can generate improved task prompts via iterative refinement. In this paper, we propose a novel perspective to investigate the design of LLM-based prompt optimizers, by drawing an analogy with gradient-based model optimizers. To connect these two approaches, we identify two pivotal factors in model parameter learning: update direction and update method. By systematically analyzing a rich set of improvement strategies on the two aspects, we further develop a capable Gradient-inspired LLM-based Prompt Optimizer called GPO. At each step, it first retrieves relevant prompts from the optimization trajectory as the update direction. Then, it utilizes the generation-based refinement strategy to perform the update, while controlling the edit distance through a cosine-based decay strategy. Extensive experiments demonstrate the effectiveness and efficiency of GPO. In particular, GPO brings an additional improvement of up to 56.8% on Big-Bench Hard and 62.6% on MMLU compared to baseline methods. The code is available at https://github.com/RUCAIBox/GPO.

Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). Builds on 29 of its 46 references that are in the map. First posted on arXiv 27 Feb 2024.

Builds on

29 of 46 references.

References · 29

  1. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  2. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  5. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  7. 2021Convex optimizationcited by 2,479
  8. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  9. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  10. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  11. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  12. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
17 more
  1. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  2. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 965
  3. 2022Super-NaturalInstructions: Generalization via Declarative Instructions on 1600+ NLP Taskscited by 858
  4. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  5. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  6. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
  7. 2023Larger language models do in-context learning differentlycited by 386
  8. 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
  9. 2016Solving General Arithmetic Word Problemscited by 353
  10. 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
  11. 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
  12. 2018A Closer Look at Deep Learning Heuristics: Learning rate restarts, Warmup and Distillationcited by 110
  13. 2019A Survey of Optimization Methods from a Machine Learning Perspectivecited by 90
  14. 2024Prompt Design and Engineering: Introduction and Advanced Methodscited by 45
  15. 2022GPS: Genetic Prompt Search for Efficient Few-shot Learningcited by 37
  16. 2023Agent Instructs Large Language Models to be General Zero-Shot Reasonerscited by 32
  17. 2023InstOptima: Evolutionary Multi-objective Instruction Optimization via Large Language Model-based Instruction Operatorscited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 9; 2025: 15; 2026: 9.

33 papers.

Sort:

By area:

  1. 2024FinCon: A Synthesized LLM Multi-Agent System with Conceptual Verbal Reinforcement for Enhanced Financial Decision Makingcited by 112
  2. 2025X-Teaming: Multi-Turn Jailbreaks and Defenses with Adaptive Multi-Agentscited by 112
  3. 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 65
  4. 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 62
  5. 2024Efficient Prompting Methods for Large Language Models: A Surveycited by 46
  6. 2024Efficient and Accurate Prompt Optimization: the Benefit of Memory in Exemplar-Guided Reflectioncited by 18
  7. 2024StraGo: Harnessing Strategic Guidance for Prompt Optimizationcited by 16
  8. 2024RePrompt: Planning by Automatic Prompt Engineering for Large Language Models Agentscited by 15
  9. 2025LongReD: Mitigating Short-Text Degradation of Long-Context Large Language Models via Restoration Distillationcited by 14
  10. 2025DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspectivecited by 7
  11. 2025A Survey of Automatic Prompt Optimization with Instruction-focused Heuristic-based Search Algorithmcited by 6
  12. 2025Analytical Survey of Learning with Low-Resource Data: From Analysis to Investigationcited by 5
21 more
  1. 2026Adaptive Prompt Structure Factorization: A Framework for Self-Discovering and Optimizing Compositional Prompt Programscited by 5
  2. 2025Local Prompt Optimizationcited by 4
  3. 2025Unveiling Knowledge Utilization Mechanisms in LLM-based Retrieval-Augmented Generationcited by 4
  4. 2025ACEvo: Adversarial Co-Evolution of Problem Distributions and Solvers for Combinatorial Optimizationcited by 4
  5. 2026Generalizable Self-Evolving Memory for Automatic Prompt Optimizationcited by 4
  6. 2025GREATERPROMPT: A Unified, Customizable, and High-Performing Open-Source Toolkit for Prompt Optimizationcited by 3
  7. 2025Prompt Smart, Pay Less: Cost-Aware APO for Real-World Applicationscited by 2
  8. 2026Learning How and What to Memorize: Cognition-Inspired Two-Stage Optimization for Evolving Memorycited by 2
  9. 2025CUFG: Curriculum Unlearning Guided by the Forgetting Gradientcited by 1
  10. 2026Efficient Multi-objective Prompt Optimization via Pure-exploration Banditscited by 1
  11. 2026When Gradients Collide: Failure Modes of Multi-Objective Prompt Optimization for LLM Judgescited by 1
  12. 2024Enhancing AI-Driven Psychological Consultation: Layered Prompts with Large Language Modelscited by 0
  13. 2024TP-Eval: Tap Multimodal LLMs' Potential in Evaluation by Customizing Promptscited by 0
  14. 2025OmniReflect: Discovering Transferable Constitutions for LLM agents via Neuro-Symbolic Reflectionscited by 0
  15. 2025Prompt reinforcing for long-term planning of large language modelscited by 0
  16. 2025PromptFlow: Training Prompts Like Neural Networkscited by 0
  17. 2025ELPO: Ensemble Learning Based Prompt Optimization for Large Language Modelscited by 0
  18. 2026Training-Free Test-Time Contrastive Learning for Large Language Modelscited by 0
  19. 2026Prompt Segmentation and Annotation Optimisation: Controlling LLM Behaviour via Optimised Segment-Level Annotationscited by 0
  20. 2026SafeCtrl-RL: Inference-Time Adaptive Behaviour Control for LLM Dialogue via RL-Driven Prompt Optimisationcited by 0
  21. 2026Efficient Task Adaptation in Large Language Models: A Survey of Weight-Based, Prompt-Based, and Embedding-Based Adaptationscited by 0