MOPrompt: Multi-objective Semantic Evolution for Prompt Optimization
Sara C\^amara, Eduardo Luz, Val\'eria Carvalho, Ivan Meneghini, Gladston Moreira

TL;DR
MOPrompt introduces a multi-objective evolutionary framework to optimize prompts for both accuracy and context size in LLMs, providing a set of trade-offs for better deployment in real-world tasks.
Contribution
The paper presents MOPrompt, the first multi-objective evolutionary approach for prompt optimization balancing accuracy and prompt length.
Findings
MOPrompt outperforms baseline methods in prompt efficiency.
Achieves same accuracy with 31% fewer tokens on Sabiazinho model.
Effectively maps Pareto front for trade-off analysis.
Abstract
Prompt engineering is crucial for unlocking the potential of Large Language Models (LLMs). Still, since manual prompt design is often complex, non-intuitive, and time-consuming, automatic prompt optimization has emerged as a research area. However, a significant challenge in prompt optimization is managing the inherent trade-off between task performance, such as accuracy, and context size. Most existing automated methods focus on a single objective, typically performance, thereby failing to explore the critical spectrum of efficiency and effectiveness. This paper introduces the MOPrompt, a novel Multi-objective Evolutionary Optimization (EMO) framework designed to optimize prompts for both accuracy and context size (measured in tokens) simultaneously. Our framework maps the Pareto front of prompt solutions, presenting practitioners with a set of trade-offs between context size and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
