From Monolithic to Modular: Segment-level Automatic Prompt Optimization
Kulin, Nikita, Zhuravlev, Viktor, Khairullin, Artur, Muravyov, Sergey, Makarov, Ilya, Sukhorukov, Daniil, Averkova, Ekaterina
–arXiv.org Artificial Intelligence
Abstractprompts are compositional artifacts: role framing, context Automatic Prompt Optimization (APO) often grounding, task directives, and output-format constraints conrewrites prompts monolithically, which can improve tribute differently to downstream behavior. We present prompt drifting and instability in iterative optimization, where SAPO, a segment-level APO method that decomedits that fix one subset of cases may degrade previously corposes prompts into role, context, tasks, and output rect behavior [Wu et al., 2024]. Additional studies show that optimizer effectiveness is sensitive to model capability and format, then applies targeted improvements basedsetup choices [Zhang et al., 2024; Ma et al., 2024], and that on top-5 and bottom-5 examples. The optimiza-gains can be regime-dependent in compound systems [Zhang tion loop uses one LLM with static meta-promptset al., 2026]. Thus, the core challenge is not merely generating and structured outputs for segmentation, weaknessmore prompt variants, but controlling where and how edits are analysis, and candidate generation.
arXiv.org Artificial Intelligence
Aug-13-2026