mlsanityData to 14 Oct 2026

From Monolithic to Modular: Segment-level Automatic Prompt Optimization

arXiv 2608.11219 ↗First posted 21 Jul 2026cs.AI cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 31 references that are in the map. First posted on arXiv 21 Jul 2026.

Builds on

20 of 31 references.

References · 20

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  6. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  7. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  8. 2023Large Language Models as Optimizerscited by 864
  9. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
  10. 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 551
  11. 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 542
  12. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 417
8 more
  1. 2024TextGrad: Automatic "Differentiation" via Textcited by 273
  2. 2024The Prompt Report: A Systematic Survey of Prompt Engineering Techniquescited by 121
  3. 2024Are Large Language Models Good Prompt Optimizers?cited by 37
  4. 2024StraGo: Harnessing Strategic Guidance for Prompt Optimizationcited by 17
  5. 2024Revisiting OPRO: The Limitations of Small-Scale LLMs as Optimizerscited by 15
  6. 2025Promptomatix: An Automatic Prompt Optimization Framework for Large Language Modelscited by 12
  7. 2026Modular Prompt Optimization: Optimizing Structured Prompts with Section-Local Textual Gradientscited by 8
  8. 2026Prompt Optimization Is a Coin Flip: Diagnosing When It Helps in Compound AI Systemscited by 3

Built on by

Not cited yet.