cs.AIMar 19, 2026

Reflection in the Dark: Exposing and Escaping the Black Box in Reflective Prompt Optimization

Authors: Shiyan Liu, Qifeng Xia, Qiyun Xia, Yisheng Liu, Xinyu Yu, Rui Qu

Organizations: University of California, Berkeley · Huazhong University of Science and Technology · Hefei University of Technology

Abstract

Automatic prompt optimization (APO) has emerged as a powerful paradigm for improving LLM performance without manual prompt engineering. Reflective APO methods such as GEPA iteratively refine prompts by diagnosing failure cases, but the optimization process remains black-box and label-free, leading to uninterpretable trajectories and systematic failure. We identify and empirically demonstrate four limitations: on GSM8K with a defective seed, GEPA degrades accuracy from 23.81% to 13.50%. We propose VISTA, a multi-agent APO framework that decouples hypothesis generation from prompt rewriting, enabling semantically labeled hypotheses, parallel minibatch verification, and interpretable optimization trace. A two-layer explore-exploit mechanism combining random restart and epsilon-greedy sampling further escapes local optima. VISTA recovers accuracy to 87.57% on the same defective seed and consistently outperforms baselines across all conditions on GSM8K and AIME2025.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Reflective Prompt Tuning through Language Model Function-Calling

    May 20, 2026Farima Fatahi Bayat, Moin Aminnaseri, Pouya Pezeshkpour +1LLM Self-RefinementLLM Prompting

  2. MA-SAPO: Multi-Agent Reasoning for Score-Aware Prompt Optimization

    Oct 18, 2025Juhyeon Lee, Wonduk Seo, Junseo Koh +6Automatic Prompt OptimizationMulti-Agent LLMs

  3. Beyond Aggregate Accuracy: Item-Level Transitions in Prompt Optimization

    Oct 13, 2026Chinmoy Mitra, Tarek MahmudAutomatic Prompt OptimizationLanguage Model Generation Evaluation