arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.02840cs.CL
收藏

promptolution: 一种统一的、模块化的提示优化框架

promptolution: A Unified, Modular Framework for Prompt Optimization

ELLIS Institute(ELLIS研究所);University of Freiburg(弗赖堡大学);LMU Munich(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Technical University of Munich(慕尼黑技术大学);TU Dortmund University(多特蒙德技术大学);Lamarr Institute for Machine Learning and Artificial Intelligence(Lamarr机器学习与人工智能研究所)

Tom Zehle, Timo Heiß, Moritz Schlager, Matthias Aßenmacher, Matthias Feurer

AI总结:

promptolution 提供了一种统一的模块化框架,整合多种提示优化器,支持系统化的基准测试,并返回与框架无关的提示字符串,以提升大型语言模型在各种任务中的性能。

摘要:

提示优化已成为增强大型语言模型(LLMs)在广泛任务中性能的关键因素。尽管许多研究论文展示了其有效性,但实际应用受到阻碍,因为现有实现通常与未维护的、孤立的研究代码库绑定,或需要侵入性地整合到应用框架中。为此,我们引入了promptolution,一种统一的、模块化的开源框架,为提示优化提供所有所需组件的单一可扩展系统,适用于从业者和研究人员。它集成了多种现代离散提示优化器,支持系统且可重复的基准测试,并返回与框架无关的提示字符串,使无缝整合到现有LLM流程中成为可能,同时不依赖于底层模型实现。

英文摘要:

Prompt optimization has become crucial for enhancing the performance of large language models (LLMs) across a broad range of tasks. Although many research papers demonstrate its effectiveness, practical adoption is hindered because existing implementations are often tied to unmaintained, isolated research codebases or require invasive integration into application frameworks. To address this, we introduce promptolution, a unified, modular open-source framework that provides all components required for prompt optimization within a single extensible system for both practitioners and researchers. It integrates multiple contemporary discrete prompt optimizers, supports systematic and reproducible benchmarking, and returns framework-agnostic prompt strings, enabling seamless integration into existing LLM pipelines while remaining agnostic to the underlying model implementation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑