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

为大型语言模型提示设计的PICCO框架:提示结构的分类与参考架构

The PICCO Framework for Large Language Model Prompting: A Taxonomy and Reference Architecture for Prompt Structure

Mayo Clinic College of Medicine and Science(梅奥诊所医学院和科学学院);Mayo Clinic Division of General Internal Medicine(梅奥诊所内科医学部)

David A. Cook

AI总结:

本文提出PICCO框架,通过综合11种现有提示框架,定义提示结构的分类和五要素参考架构,旨在提升提示设计的系统性和清晰度。

摘要:

大型语言模型(LLM)的性能严重依赖于提示设计,但提示构建往往描述和应用不一致。本文旨在推导一个用于结构化LLM提示的参考框架。本文提出了PICCO框架,该框架通过严格综合11种已发表的提示框架得出。分析得出两个主要贡献:首先,提出一个分类,区分提示框架、提示元素、提示生成、提示技术及提示工程等相关的但非等价的概念。其次,推导出一个五要素的提示生成参考架构:人格、指令、上下文、约束和输出(PICCO)。对于每个要素,定义其功能、范围及与其他要素的关系,旨在提高概念清晰度并支持更系统的提示设计。最后,为支持框架的应用,概述了与实现相关的关键概念,包括提示技术(如零样本、少量样本、推理链、集成、分解和自我批评等变体)、人类和自动化迭代提示工程方法、负责任的提示考虑因素(如安全、隐私、偏见和信任)以及未来研究优先事项。本文是一项概念和方法论贡献:它规范了提示规范和比较的共同结构,但不声称PICCO作为优化方法的实证验证。

英文摘要:

Large language model (LLM) performance depends heavily on prompt design, yet prompt construction is often described and applied inconsistently. Our purpose was to derive a reference framework for structuring LLM prompts. This paper presents PICCO, a framework derived through a rigorous synthesis of 11 previously published prompting frameworks identified through a multi-database search. The analysis yields two main contributions. First, it proposes a taxonomy that distinguishes prompt frameworks, prompt elements, prompt generation, prompting techniques, and prompt engineering as related but non-equivalent concepts. Second, it derives a five-element reference architecture for prompt generation: Persona, Instructions, Context, Constraints, and Output (PICCO). For each element, we define its function, scope, and relationship to other elements, with the goal of improving conceptual clarity and supporting more systematic prompt design. Finally, to support application of the framework, we outline key concepts relevant to implementation, including prompting techniques (e.g., zero-shot, few-shot, chain-of-thought, ensembling, decomposition, and self-critique, with selected variants), human and automated approaches to iterative prompt engineering, responsible prompting considerations such as security, privacy, bias, and trust, and priorities for future research. This work is a conceptual and methodological contribution: it formalizes a common structure for prompt specification and comparison, but does not claim empirical validation of PICCO as an optimization method.

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

↑