paper-with-me

홈 › Papers

PhaseEvo: Towards Unified In-Context Prompt Optimization for Large Language Models

2024-02-17 · Wendi Cui, Jiaxin Zhang, Zhuohang Li, Hao Sun, Damien Lopez, Kamalika Das, Bradley Malin, Sricharan Kumar

Crafting an ideal prompt for Large Language Models (LLMs) is a challenging task that demands significant resources and expert human input. Existing work treats the optimization of prompt instruction and in-context learning examples as distinct problems, leading to sub-optimal prompt performance. This research addresses this limitation by establishing a unified in-context prompt optimization framework, which aims to achieve joint optimization of the prompt instruction and examples. However, formulating such optimization in the discrete and high-dimensional natural language space introduces challenges in terms of convergence and computational efficiency. To overcome these issues, we present PhaseEvo, an efficient automatic prompt optimization framework that combines the generative capability of LLMs with the global search proficiency of evolution algorithms. Our framework features a multi-phase design incorporating innovative LLM-based mutation operators to enhance search efficiency and accelerate convergence. We conduct an extensive evaluation of our approach across 35 benchmark tasks. The results demonstrate that PhaseEvo significantly outperforms the state-of-the-art baseline methods by a large margin whilst maintaining good efficiency.

📄 PDF Abstract BibTeX arXiv:2402.11347

Code (0)

등록된 구현이 없습니다.

Tasks

Computational EfficiencyIn-Context Learning

Similar Papers 제목 키워드 기반

UniAPO: Unified Multimodal Automated Prompt Optimization

2025-08-25 · Qipeng Zhu, Yanzhe Chen, Huasong Zhong, Yan Li 외 arxiv

Prompting is fundamental to unlocking the full potential of large language models. To automate and enhance this process, automatic prompt optimization (APO) has been developed, demonstrating effectiveness primarily in te…

Spoofing-aware Prompt Learning for Unified Physical-Digital Facial Attack Detection

2025-12-06 · Jiabao Guo, Yadian Wang, Hui Ma, Yuhao Fu 외 arxiv

Real-world face recognition systems are vulnerable to both physical presentation attacks (PAs) and digital forgery attacks (DFs). We aim to achieve comprehensive protection of biometric data by implementing a unified phy…

Face Recognition

Context Tuning for In-Context Optimization

2025-07-06 · Jack Lu, Ryan Teehan, Zhenbang Yang, Mengye Ren arxiv

We introduce Context Tuning, a simple and effective method to significantly enhance few-shot adaptation of large language models (LLMs) without weight updates. In-Context Learning (ICL) forms a memory representation of t…

JailbreakOPT: Tool-Assisted Iterative Jailbreak Prompt Optimization

2026-06-09 · Ge Shi, Jun Yin, Donglin Xie, Fangyi Liu 외 arxiv

Jailbreak attacks expose persistent safety weaknesses in large language models (LLMs), but existing stateless single-turn methods face a trade-off: hand-crafted prompts are expressive but static, while iterative prompt o…

vMFCoOp: Towards Equilibrium on a Unified Hyperspherical Manifold for Prompting Biomedical VLMs

2025-11-12 · Minye Shao, Sihan Guo, Xinrun Li, Xingyu Miao 외 arxiv

Recent advances in context optimization (CoOp) guided by large language model (LLM)-distilled medical semantic priors offer a scalable alternative to manual prompt engineering and full fine-tuning for adapting biomedical…

Prompt Engineering