Metraipolis › archive › dc_572f17918fd0
From Monolithic to Modular: Segment-level Automatic Prompt Optimization — arXiv:2608.11219
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.11219
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T05:15:08.817Z
- SHA-256 of the archived text
ec51baa6af8d37760f53b7eb89e0b88d7abb767e9cd8e0425bae9898980f0f85- Stable URL of this page
https://metraipolis.com/documento/dc_572f17918fd0
How to cite
From Monolithic to Modular: Segment-level Automatic Prompt Optimization — arXiv:2608.11219 — arXiv (en), https://arxiv.org/abs/2608.11219 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_572f17918fd0 (Metraipolis archive dc_572f17918fd0, sha256 ec51baa6af8d37760f53b7eb89e0b88d7abb767e9cd8e0425bae9898980f0f85)
BibTeX
@misc{dc572f17918fd0,
title = {From Monolithic to Modular: Segment-level Automatic Prompt Optimization — arXiv:2608.11219},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.11219},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_572f17918fd0; sha256 ec51baa6af8d37760f53b7eb89e0b88d7abb767e9cd8e0425bae9898980f0f85},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.11219. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Automatic Prompt Optimization (APO) often rewrites prompts monolithically, which can improve one behavior while degrading others. We present SAPO, a segment-level APO method that decomposes prompts into role, context, tasks, and output format, then applies targeted improvements based on top-5 and bottom-5 examples. The optimization loop uses one LLM with static meta-prompts and structured outputs for segmentation, weakness analysis, and candidate generation. We describe a train/validation protocol and a two-stage generation process: (1) segment-level diagnosis and recommendation extraction, (2) candidate synthesis constrained by weak/strong segment signals. Using the evaluation setup across SQuADv2, TweetEval, XSUM, CommonGen, and GSM8K on GPT-3.5-Turbo and GPT-4o-mini, SAPO achieves the best average score against Zero-shot and strong APO baselines including APE, OPRO, EvoPrompt, GEPA, and StraGO. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-13 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI) ; Computation and Language (cs.CL); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2608.11219 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-19T05:08:46.598Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-13?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).