arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.25169cs.CL
收藏

是编写还是自动化语言提示,这是个问题

To Write or to Automate Linguistic Prompts, That Is the Question

Smartling

Marina Sánchez-Torrón, Daria Akselrod, Jason Rauchwerk

AI总结:

本文系统比较了手工零样本专家提示、基础DSPy签名和GEPA优化DSPy签名在翻译、术语插入和语言质量评估中的表现,发现不同任务下不同提示方法各有优劣。

摘要:

LLM性能对提示设计高度敏感,但自动提示优化能否替代专家提示工程在语言任务中仍待探索。本文首次系统比较了手工零样本专家提示、基础DSPy签名和GEPA优化DSPy签名在翻译、术语插入和语言质量评估中的表现,评估了五种模型配置。结果具有任务依赖性。在术语插入中,优化和手工提示产生的质量大多统计上无法区分。在翻译中,每种方法在不同模型上各有优势。在LQA中,专家提示在错误检测方面表现更强,而优化提高了特征描述能力。在所有任务中,GEPA提升了最小DSPy签名,且大多数专家优化比较未显示统计显著差异。我们注意到比较是不对称的:GEPA优化程序性地搜索标准分割,而专家提示原则上不需要标注数据,而是依赖领域专业知识和迭代优化。

英文摘要:

LLM performance is highly sensitive to prompt design, yet whether automatic prompt optimization can replace expert prompt engineering in linguistic tasks remains unexplored. We present the first systematic comparison of hand-crafted zero-shot expert prompts, base DSPy signatures, and GEPA-optimized DSPy signatures across translation, terminology insertion, and language quality assessment, evaluating five model configurations. Results are task-dependent. In terminology insertion, optimized and manual prompts produce mostly statistically indistinguishable quality. In translation, each approach wins on different models. In LQA, expert prompts achieve stronger error detection while optimization improves characterization. Across all tasks, GEPA elevates minimal DSPy signatures, and the majority of expert-optimized comparisons show no statistically significant difference. We note that the comparison is asymmetric: GEPA optimization searches programmatically over gold-standard splits, whereas expert prompts require in principle no labeled data, relying instead on domain expertise and iterative refinement.

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

↑