paper-with-me

Papers

MOPrompt: Multi-objective Semantic Evolution for Prompt Optimization

2025-08-03 · Sara Câmara, Eduardo Luz, Valéria Carvalho, Ivan Meneghini, Gladston Moreira arxiv

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 performance, a crucial tool for deploying Large Language Models (LLMs) in real-world applications. We evaluate MOPrompt on a sentiment analysis task in Portuguese, using Gemma-2B and Sabiazinho-3 as evaluation models. Our findings show that MOPrompt substantially outperforms the baseline framework. For the Sabiazinho model, MOPrompt identifies a prompt that achieves the same peak accuracy (0.97) as the best baseline solution, but with a 31% reduction in token length.

📄 PDF Abstract BibTeX arXiv:2508.01541

Code (0)

등록된 구현이 없습니다.

Tasks

Sentiment AnalysisPrompt Engineering

Similar Papers 제목 키워드 기반

EmoLLM: Multimodal Emotional Understanding Meets Large Language Models

2024-06-24 · Qu Yang, Mang Ye, Bo Du

Multi-modal large language models (MLLMs) have achieved remarkable performance on objective multimodal perception tasks, but their ability to interpret subjective, emotionally nuanced multimodal content remains largely u…

Emotional Intelligence

Survival of the Safest: Towards Secure Prompt Optimization through Interleaved Multi-Objective Evolution

2024-10-12 · Ankita Sinha, Wendi Cui, Kamalika Das, Jiaxin Zhang

Large language models (LLMs) have demonstrated remarkable capabilities; however, the optimization of their prompts has historically prioritized performance metrics at the expense of crucial safety and security considerat…

EvoJail: Evolutionary Diverse Jailbreak Prompt Generation for Large Language Models

2026-04-22 · Rui Tang, Kaiyu Xu, Pengsen Cheng, Hao Ren 외 arxiv

As LLMs continue to shape real-world applications, automated jailbreak generation becomes essential to reveal safety weaknesses and guide model improvement. Existing automatic jailbreak generation methods have not yet fu…

Evolutionary Multi-Objective Optimization of Large Language Model Prompts for Balancing Sentiments

2024-01-18 · Jill Baumann, Oliver Kramer

The advent of large language models (LLMs) such as ChatGPT has attracted considerable attention in various domains due to their remarkable performance and versatility. As the use of these models continues to grow, the im…

Evolutionary AlgorithmsLanguage ModelingLanguage ModellingLarge Language Model+2

Prompt Evolution for Generative AI: A Classifier-Guided Approach

2023-05-24 · Melvin Wong, Yew-Soon Ong, Abhishek Gupta, Kavitesh K. Bali 외

Synthesis of digital artifacts conditioned on user prompts has become an important paradigm facilitating an explosion of use cases with generative AI. However, such models often fail to connect the generated outputs and …