{"slug": "from-monolithic-to-modular-segment-level-automatic-prompt-optimization", "title": "From Monolithic to Modular: Segment-level Automatic Prompt Optimization", "summary": "Researchers propose SAPO, a segment-level automatic prompt optimization method that decomposes prompts into role, context, tasks, and output format, achieving the best average score across SQuADv2, TweetEval, XSUM, CommonGen, and GSM8K on GPT-3.5-Turbo and GPT-4o-mini, outperforming baselines including APE, OPRO, EvoPrompt, GEPA, and StraGO.", "body_md": "arXiv:2608.11219v1 Announce Type: new\nAbstract: 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.", "url": "https://wpnews.pro/news/from-monolithic-to-modular-segment-level-automatic-prompt-optimization", "canonical_source": "https://arxiv.org/abs/2608.11219", "published_at": "2026-08-13 04:00:00+00:00", "updated_at": "2026-08-13 04:19:06.052333+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "large-language-models", "natural-language-processing"], "entities": ["SAPO", "arXiv", "SQuADv2", "TweetEval", "XSUM", "CommonGen", "GSM8K", "GPT-3.5-Turbo"], "alternates": {"html": "https://wpnews.pro/news/from-monolithic-to-modular-segment-level-automatic-prompt-optimization", "markdown": "https://wpnews.pro/news/from-monolithic-to-modular-segment-level-automatic-prompt-optimization.md", "text": "https://wpnews.pro/news/from-monolithic-to-modular-segment-level-automatic-prompt-optimization.txt", "jsonld": "https://wpnews.pro/news/from-monolithic-to-modular-segment-level-automatic-prompt-optimization.jsonld"}}