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

通过提示技术自适应选择实现自动提示生成

Automatic Prompt Generation via Adaptive Selection of Prompting Techniques

Spike Studio Inc.(Spike Studio公司)

Yohei Ikenoue, Hitomi Tashiro, Shigeru Kuroyanagi

AI总结:

本研究提出一种自适应选择提示技术的自动提示生成方法,通过构建关联任务簇与对应技术的知识库动态生成提示,在BBEH的23项任务上性能优于现有方法,为非专业用户高效使用大语言模型提供支持。

摘要:

提示工程对于从大语言模型(LLM)获取可靠且有效的输出至关重要,但其设计需要提示技术的专业知识以及对目标任务的深入理解。为解决这一挑战,我们提出了一种新方法,该方法可根据用户的抽象任务描述自适应选择适配任务的提示技术,无需依赖预先存在的模板或框架即可自动生成高质量提示。所提方法构建了一个知识库,将以跨多样任务的语义相似性为特征的任务簇与其对应的提示技术相关联。当用户输入任务描述时,系统会将其分配到最相关的任务簇,并通过整合知识库中的技术动态生成提示。在BIG-Bench Extra Hard(BBEH)的23项任务上对所提方法进行的实验评估表明,以算术平均得分调和平均得分衡量,该方法的性能优于标准提示和现有的自动提示生成工具。本研究为简化和标准化提示创建奠定了基础,使非专业人员也能有效利用LLM。

英文摘要:

Prompt engineering is crucial for achieving reliable and effective outputs from large language models (LLMs), but its design requires specialized knowledge of prompting techniques and a deep understanding of target tasks. To address this challenge, we propose a novel method that adaptively selects task-appropriate prompting techniques based on users' abstract task descriptions and automatically generates high-quality prompts without relying on pre-existing templates or frameworks. The proposed method constructs a knowledge base that associates task clusters, characterized by semantic similarity across diverse tasks, with their corresponding prompting techniques. When users input task descriptions, the system assigns them to the most relevant task cluster and dynamically generates prompts by integrating techniques drawn from the knowledge base. An experimental evaluation of the proposed method on 23 tasks from BIG-Bench Extra Hard (BBEH) demonstrates superior performance compared with standard prompts and existing automatic prompt-generation tools, as measured by both arithmetic and harmonic mean scores. This research establishes a foundation for streamlining and standardizing prompt creation, enabling non-experts to effectively leverage LLMs.

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

↑