A Toolbox for Improving Evolutionary Prompt Search
By: Daniel Grießhaber , Maximilian Kimmich , Johannes Maucher and more
Potential Business Impact:
Makes AI better at understanding and following instructions.
Evolutionary prompt optimization has demonstrated effectiveness in refining prompts for LLMs. However, existing approaches lack robust operators and efficient evaluation mechanisms. In this work, we propose several key improvements to evolutionary prompt optimization that can partially generalize to prompt optimization in general: 1) decomposing evolution into distinct steps to enhance the evolution and its control, 2) introducing an LLM-based judge to verify the evolutions, 3) integrating human feedback to refine the evolutionary operator, and 4) developing more efficient evaluation strategies that maintain performance while reducing computational overhead. Our approach improves both optimization quality and efficiency. We release our code, enabling prompt optimization on new tasks and facilitating further research in this area.
Similar Papers
Beyond Algorithm Evolution: An LLM-Driven Framework for the Co-Evolution of Swarm Intelligence Optimization Algorithms and Prompts
Neural and Evolutionary Computing
Helps computers find better solutions to hard problems.
MOPrompt: Multi-objective Semantic Evolution for Prompt Optimization
Computation and Language
Makes AI smarter and use less computer power.
Tournament of Prompts: Evolving LLM Instructions Through Structured Debates and Elo Ratings
Artificial Intelligence
Teaches AI to write better answers without rules.