paper-with-me

홈 › Papers

MAPO: Boosting Large Language Model Performance with Model-Adaptive Prompt Optimization

2024-07-04 · Yuyan Chen, Zhihao Wen, Ge Fan, Zhengyu Chen, Wei Wu, Dayiheng Liu, Zhixu Li, Bang Liu, Yanghua Xiao

Prompt engineering, as an efficient and effective way to leverage Large Language Models (LLM), has drawn a lot of attention from the research community. The existing research primarily emphasizes the importance of adapting prompts to specific tasks, rather than specific LLMs. However, a good prompt is not solely defined by its wording, but also binds to the nature of the LLM in question. In this work, we first quantitatively demonstrate that different prompts should be adapted to different LLMs to enhance their capabilities across various downstream tasks in NLP. Then we novelly propose a model-adaptive prompt optimizer (MAPO) method that optimizes the original prompts for each specific LLM in downstream tasks. Extensive experiments indicate that the proposed method can effectively refine prompts for an LLM, leading to significant improvements over various downstream tasks.

📄 PDF Abstract BibTeX arXiv:2407.04118

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language ModelmodelPrompt Engineering

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

AMaPO: Adaptive Margin-attached Preference Optimization for Language Model Alignment

2025-11-12 · Ruibo Deng, Duanyu Feng, Wenqiang Lei arxiv

Offline preference optimization offers a simpler and more stable alternative to RLHF for aligning language models. However, their effectiveness is critically dependent on ranking accuracy, a metric where further gains ar…

Introducing MAPO: Momentum-Aided Gradient Descent Prompt Optimization

2024-10-25 · Anthony Cui, Pranav Nandyalam, Ethan Cheung, Kevin Zhu

Momentum-Aided Prompt Optimization (MAPO) enhances the efficiency and efficacy of prompt optimization for Large Language Models (LLMs). Building on ProTeGi, MAPO uses positive natural language "gradients" and a momentum-…

Prompt Engineering

MAPoRL: Multi-Agent Post-Co-Training for Collaborative Large Language Models with Reinforcement Learning

2025-02-25 · Chanwoo Park, Seungju Han, Xingzhi Guo, Asuman Ozdaglar 외

Leveraging multiple large language models (LLMs) to build collaborative multi-agentic workflows has demonstrated significant potential. However, most previous studies focus on prompting the out-of-the-box LLMs, relying o…

CoMaPOI: A Collaborative Multi-Agent Framework for Next POI Prediction Bridging the Gap Between Trajectory and Language

2025-05-28 · Lin Zhong, Lingzhi Wang, Xu Yang, Qing Liao

Large Language Models (LLMs) offer new opportunities for the next Point-Of-Interest (POI) prediction task, leveraging their capabilities in semantic understanding of POI trajectories. However, previous LLM-based methods,…

Memory Augmented Policy Optimization for Program Synthesis and Semantic Parsing

2018-07-06 · NeurIPS 2018 12 · Chen Liang, Mohammad Norouzi, Jonathan Berant, Quoc Le 외

We present Memory Augmented Policy Optimization (MAPO), a simple and novel way to leverage a memory buffer of promising trajectories to reduce the variance of policy gradient estimate. MAPO is applicable to deterministic…

Combinatorial OptimizationProgram SynthesisSemantic ParsingStructured Prediction