DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspective

Dengyun Peng, Yuhang Zhou, Qiguang Chen, Jinhao Liu, Jingjing Chen +1 more
3/17/2025
cs.CLcs.AI

Official code: sfasfaffa/DLPO (10 stars, last commit 2025-12-25).

Abstract

Large Language Models (LLMs) have achieved remarkable success across diverse tasks, largely driven by well-designed prompts. However, crafting and selecting such prompts often requires considerable human effort, significantly limiting its scalability. To mitigate this, recent studies have explored automated prompt optimization as a promising solution. Despite these efforts, existing methods still face critical challenges in robustness, efficiency, and generalization. To systematically address these challenges, we first conduct an empirical analysis to identify the limitations of current reflection-based prompt optimization paradigm. Building on these insights, we propose 7 innovative approaches inspired by traditional deep learning paradigms for prompt optimization (DLPO), seamlessly integrating these concepts into text-based gradient optimization. Through these advancements, we progressively tackle the aforementioned challenges and validate our methods through extensive experimentation. We hope our study not only provides valuable guidance for future research but also offers a comprehensive understanding of the challenges and potential solutions in prompt optimization. Our code is available at https://github.com/sfasfaffa/DLPO.

View on arXivView PDF

Code Implementations(1)

sfasfaffa/DLPOOfficial100%

Official Code For EMNLP2025 Findings: {DLPO : Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspective}

100PythonMar 17, 202510 months agoNOASSERTION

Similar Papers

Cite this paper

@article{peng2025dlpo,
  title  = {DLPO: Towards a Robust, Efficient, and Generalizable Prompt Optimization Framework from a Deep-Learning Perspective},
  author = {Dengyun Peng and Yuhang Zhou and Qiguang Chen and Jinhao Liu and Jingjing Chen and Libo Qin},
  year   = {2025},
  eprint = {2503.13413},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.13413v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.13413.svg)](https://codeofpaper.com/paper/2503.13413)

Discussion