提出LLM提示结构的统一框架PICCO,让提示设计更系统清晰。
The PICCO Framework for Large Language Model Prompting: A Taxonomy and Reference Architecture for Prompt Structure
- 构建五要素提示架构:角色、指令、上下文、约束、输出。
- 区分提示框架、元素、生成等概念,避免混淆使用。
- 适合希望系统化设计提示的研究者与工程师。
大型语言模型性能高度依赖提示设计,但当前提示构建缺乏一致标准。本文通过系统分析11个已有提示框架,提出PICCO框架,包含五要素参考架构:角色(Persona)、指令(Instructions)、上下文(Context)、约束(Constraints)和输出(Output)。该框架区分了提示框架、提示元素、提示生成、提示技术与提示工程等不同概念,强调其非等价性。每项元素均明确定义功能、作用范围及相互关系,旨在提升概念清晰度并支持更系统的提示设计。同时,框架涵盖零样本、少样本、思维链、集成、分解、自省等关键提示技术,以及人工与自动化迭代工程方法,涉及安全、隐私、偏见与信任等责任提示考量,并指明未来研究方向。本工作为概念与方法论贡献,形式化了提示规范与比较的基础,但未对PICCO本身进行实证验证。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。