English

UniAPO: Unified Multimodal Automated Prompt Optimization

Computer Vision and Pattern Recognition 2025-08-26 v1

Abstract

Prompting is fundamental to unlocking the full potential of large language models. To automate and enhance this process, automatic prompt optimization (APO) has been developed, demonstrating effectiveness primarily in text-only input scenarios. However, extending existing APO methods to multimodal tasks, such as video-language generation introduces two core challenges: (i) visual token inflation, where long visual token sequences restrict context capacity and result in insufficient feedback signals; (ii) a lack of process-level supervision, as existing methods focus on outcome-level supervision and overlook intermediate supervision, limiting prompt optimization. We present UniAPO: Unified Multimodal Automated Prompt Optimization, the first framework tailored for multimodal APO. UniAPO adopts an EM-inspired optimization process that decouples feedback modeling and prompt refinement, making the optimization more stable and goal-driven. To further address the aforementioned challenges, we introduce a short-long term memory mechanism: historical feedback mitigates context limitations, while historical prompts provide directional guidance for effective prompt optimization. UniAPO achieves consistent gains across text, image, and video benchmarks, establishing a unified framework for efficient and transferable prompt optimization.

Keywords

Cite

@article{arxiv.2508.17890,
  title  = {UniAPO: Unified Multimodal Automated Prompt Optimization},
  author = {Qipeng Zhu and Yanzhe Chen and Huasong Zhong and Yan Li and Jie Chen and Zhixin Zhang and Junping Zhang and Zhenheng Yang},
  journal= {arXiv preprint arXiv:2508.17890},
  year   = {2025}
}

Comments

23 pages, 5 figures

R2 v1 2026-07-01T05:04:23.770Z