MAPGD: Multi-Agent Prompt Gradient Descent for Collaborative Prompt Optimization
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks
Abstract (arXiv)
Prompt engineering is crucial for fully leveraging large language models (LLMs), yet most existing optimization methods follow a single trajectory, resulting in limited adaptability, gradient conflicts, and high computational overhead. We propose MAPGD (Multi-Agent Prompt Gradient Descent), a novel framework that reconceptualizes prompt optimization as a collaborative process among specialized agents. Each agent focuses on a distinct refinement dimension, such as instruction clarity, example selection, format structure, or stylistic adaptation, and their contributions are coordinated through semantic gradient embedding, conflict detection, and fusion. To further enhance robustness and stability, MAPGD introduces two new mechanisms: Hypersphere Constrained Gradient Clustering (HCGC), which enforces angular margin constraints for compact and well-separated clusters, and Channel Adaptive Agent Weighting (CAAW), which dynamically reweights agent contributions based on validation performance. Experiments on classification and reasoning benchmarks show that MAPGD consistently surpasses single-agent and random baselines in both accuracy and efficiency. Ablation studies confirm the effectiveness of gradient fusion, agent specialization, and conflict resolution. Together, these components establish MAPGD as a unified, gradient-based, and interpretable framework for robust prompt optimization with theoretical convergence guarantees.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 27 of its 70 references that are in the map. First posted on arXiv 14 Sep 2025.
Builds on
27 of 70 references.
Closest ancestors · 1
Same direction, newest first
Other references · 26
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2017Squeeze-and-Excitation Networkscited by 4,789
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,988
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,784
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2016Optimization Methods for Large-Scale Machine Learningcited by 1,150
- 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 1,011
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 971
- 2021Are NLP Models really able to Solve Simple Math Word Problems?cited by 878
14 more
- 2017SphereFace: Deep Hypersphere Embedding for Face Recognitioncited by 737
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 650
- 2021Prompt Programming for Large Language Models: Beyond the Few-Shot Paradigmcited by 606
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
- 2024A Systematic Survey of Prompt Engineering in Large Language Models: Techniques and Applicationscited by 431
- 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 377
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 366
- 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
- 2020ETHOS: an Online Hate Speech Detection Datasetcited by 66
- 2025Self-Supervised Prompt Optimizationcited by 37
- 2024PromptWizard: Task-Aware Prompt Optimization Frameworkcited by 36
- 2023SimCSE++: Improving Contrastive Learning for Sentence Embeddings from Two Perspectivescited by 15
- 2025eSapiens's DEREK Module: Deep Extraction & Reasoning Engine for Knowledge with LLMscited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2026When Gradients Collide: Failure Modes of Multi-Objective Prompt Optimization for LLM Judgescited by 3
- 2025MA-SAPO: Multi-Agent Reasoning for Score-Aware Prompt Optimizationcited by 1
- 2026UPA: Unsupervised Prompt Agent via Tree-Based Search and Selectioncited by 1
- 2026CineForge: Self-Improving Agents for Long-Horizon Video Generationcited by 1
- 2026C-MOP: Integrating Momentum and Boundary-Aware Clustering for Enhanced Prompt Evolutioncited by 0
- 2026Optimizing Multi-Agent Weather Captioning via Text Gradient Descent: A Training-Free Approach with Consensus-Aware Gradient Fusioncited by 0
- 2026CineForge: Self-Improving Agents for Long-Horizon Video Generation30 Aug 2026
- 2026When Gradients Collide: Failure Modes of Multi-Objective Prompt Optimization for LLM Judges25 May 2026
- 2026Optimizing Multi-Agent Weather Captioning via Text Gradient Descent: A Training-Free Approach with Consensus-Aware Gradient Fusion23 Mar 2026
- 2026C-MOP: Integrating Momentum and Boundary-Aware Clustering for Enhanced Prompt Evolution11 Feb 2026
- 2026UPA: Unsupervised Prompt Agent via Tree-Based Search and Selection30 Jan 2026
- 2025MA-SAPO: Multi-Agent Reasoning for Score-Aware Prompt Optimization18 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026AgentGrad: Intervention-guided Prompt Optimization for Multi Agent Systems
- 2025MAPRO: Recasting Multi-Agent Prompt Optimization as Maximum a Posteriori Inference
- 2026Agent-GWO: Collaborative Agents for Dynamic Prompt Optimization in Large Language Models
- 2025GreenTEA: Gradient Descent with Topic-modeling and Evolutionary Auto-prompting
- 2026Coding Agents are Strong Prompt Optimizers
- 2025MARS: Multi-Agent Adaptive Reasoning with Socratic Guidance for Automated Prompt Optimization
- 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networks
- 2026Prompt Codebooks: Discrete Compositional Optimization for Language Model Instruction Refinement