Prompt Optimization via Retrieved Reasoning Assets and Multi-Agent Analysis

Wonduk Seo, Juhyeon Lee, Junseo Koh, Hyunjin An, Jian Park +3 more
10/18/2025
cs.MAcs.AIcs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Prompt optimization has emerged as an effective alternative to retraining for improving the performance of Large Language Models (LLMs). However, most existing approaches treat evaluation as a black box, relying solely on numerical scores while offering limited insight into why a prompt succeeds or fails. They also depend heavily on trial-and-error refinements, which are difficult to interpret and control. In this paper, we introduce MA-SAPO, a Multi-Agent framework for Score-Aware Prompt Optimization. Compared to prior methods, MA-SAPO explicitly couples evaluation outcomes with structured reasoning to guide systematic edits. The framework specifically consists of two stages: during the Reasoning Phase, agents collaboratively explain metric scores, diagnose weaknesses, and synthesize targeted refinements that are stored as reusable reasoning assets; during the Test Phase, agents retrieve these assets to analyze optimized prompts and apply only evidence-grounded edits. By turning evaluation signals into interpretable reasoning chains, MA-SAPO produces prompt refinements that are more transparent, auditable, and controllable. Experiments on the HelpSteer1/2 benchmarks demonstrate consistent improvements over single-pass prompting, retrieval-augmented baselines, and prior multi-agent strategies, validating the effectiveness of our approach.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{seo2025prompt,
  title  = {Prompt Optimization via Retrieved Reasoning Assets and Multi-Agent Analysis},
  author = {Wonduk Seo and Juhyeon Lee and Junseo Koh and Hyunjin An and Jian Park and Seunghyun Lee and Haihua Chen and Yi Bu},
  year   = {2025},
  eprint = {2510.16635},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.16635v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.16635.svg)](https://codeofpaper.com/paper/2510.16635)

Discussion