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

提示分割与标注优化:通过优化段级标注控制大语言模型行为

Prompt Segmentation and Annotation Optimisation: Controlling LLM Behaviour via Optimised Segment-Level Annotations

Commonwealth Bank of Australia(澳大利亚全国银行)

Devika Prasad, Luke Gerschwitz, Tong Li, Henry Xiao, Anjin Liu, Coco Wu, Anna Leontjeva, Luiz Pizzato

AI总结:

本文提出PSAO框架,通过段级标注提升提示优化的可控性和效率,实验证明标注能提高LLM推理准确性和自一致性。

摘要:

提示工程对于有效交互生成式人工智能系统至关重要,但现有优化方法常在无结构且庞大的提示空间中操作,导致计算成本高且可能扭曲原始意图。我们引入提示分割与标注优化(PSAO),一种结构化提示优化框架,旨在提高提示优化的可控性和效率。PSAO将提示分解为可解释的段落(例如句子),并为每个段落添加可读的注释(例如{不重要}、{重要}、{非常重要})。这些注释指导大语言模型(LLMs)在响应生成过程中分配关注点并澄清混淆。我们正式定义了分割和注释,并展示了优化的段级注释可提高LLM响应质量,同时保留原始提示作为优化空间的候选以防止性能下降。实验证明PSAO在推理准确性和自一致性方面受益于注释。然而,开发高效方法以识别最优分割和注释仍具挑战性,需未来进一步研究。本文旨在作为概念验证,展示段级标注优化的可行性和潜力。

英文摘要:

Prompt engineering is crucial for effective interaction with generative artificial intelligence systems, yet existing optimisation methods often operate over an unstructured and vast prompt space, leading to high computational costs and potential distortions of the original intent. We introduce Prompt Segmentation and Annotation Optimisation (PSAO), a structured prompt optimisation framework designed to improve prompt optimisation controllability and efficiency. PSAO decomposes a prompt into interpretable segments (e.g., sentences) and augments each with human-readable annotations (e.g., {not important}, {important}, {very important}). These annotations guide large language models (LLMs) in allocating focus and clarifying confusion during response generation. We formally define the segmentations and annotations and demonstrate that optimised segment-level annotations can lead to improved LLM responses, with the original prompt retained as a candidate in the optimisation space to prevent performance degradation. Empirical evaluations indicate that PSAO benefits from annotations in terms of improved reasoning accuracy and self-consistency. However, developing efficient methods for identifying optimal segmentations and annotations remains challenging and is reserved for future investigation. This work is intended as a proof of concept, demonstrating the feasibility and potential of segment-level annotation optimisation.

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

↑