arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.06695cs.CLcs.AIcs.LGeess.AS
收藏

学习重写提示以自举LLM在下游任务上的表现

Learning to Rewrite Prompts for Bootstrapping LLMs on Downstream Tasks

Hopcroft Center on Computing Science Huazhong University of Science and Technology (HUST)(霍普克罗夫特计算科学中心华中科技大学)

Qinhao Zhou, Xiang Xiang, Kun He, John E. Hopcroft

AI总结:

本文提出一种基于反向翻译策略训练的小参数模型,专门优化机器翻译任务的提示输入部分,以降低训练开销并提升性能,且可扩展至其他下游任务。

摘要:

近年来,对大型语言模型(LLMs)日益增长的兴趣显著推动了提示工程的发展,使其从人工设计转向基于模型的优化。LLMs的提示通常包含两个组成部分:\textit{指令},它定义了任务或目标,以及\textit{输入},它针对指令类型进行定制。在自然语言生成(NLG)任务(如机器翻译)中,\textit{输入}部分尤为关键,而\textit{指令}部分往往较为简洁。现有的提示工程方法主要侧重于优化通用任务的\textit{指令}部分,通常需要大参数LLMs作为辅助工具。然而,这些方法在机器翻译等任务中的适用性有限,因为在这些任务中\textit{输入}部分发挥着更为关键的作用。为解决这一局限性,本文提出了一种专门针对机器翻译任务的新型提示优化方法。所提出的方法采用了一个基于反向翻译策略训练的小参数模型,显著降低了单任务优化的训练开销,同时提供了高效能的性能。经过一定的调整,该方法还可以扩展到其他下游任务。

英文摘要:

In recent years, the growing interest in Large Language Models (LLMs) has significantly advanced prompt engineering, transitioning from manual design to model-based optimization. Prompts for LLMs generally comprise two components: the \textit{instruction}, which defines the task or objective, and the \textit{input}, which is tailored to the instruction type. In natural language generation (NLG) tasks such as machine translation, the \textit{input} component is particularly critical, while the \textit{instruction} component tends to be concise. Existing prompt engineering methods primarily focus on optimizing the \textit{instruction} component for general tasks, often requiring large-parameter LLMs as auxiliary tools. However, these approaches exhibit limited applicability for tasks like machine translation, where the \textit{input} component plays a more pivotal role. To address this limitation, this paper introduces a novel prompt optimization method specifically designed for machine translation tasks. The proposed approach employs a small-parameter model trained using a back-translation-based strategy, significantly reducing training overhead for single-task optimization while delivering highly effective performance. With certain adaptations, this method can also be extended to other downstream tasks.

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

↑