cs.AI updates on arXiv.org 10月24日 12:19
Prompt Decorators:LLM行为控制新框架
index_new5.html
../../../zaker_core/zaker_tpl_static/wap/tpl_guoji1.html

 

本文提出Prompt Decorators,一种基于声明式、可组合语法的LLM行为控制框架。通过紧凑的控制令牌如“++Reasoning”、“++Tone”等,对LLM的推理风格、结构或语气进行修改,而不改变任务内容。该框架将20个核心装饰器组织成认知与生成、表达与系统两个功能家族,并进一步细分为子类别,以控制推理、交互、表达和会话控制。通过解耦任务意图与执行行为,Prompt Decorators为提示设计提供可重用和可解释的接口,提高了推理透明度,简化了提示复杂性,并实现了跨域的标准化模型行为。

arXiv:2510.19850v1 Announce Type: cross Abstract: Large Language Models (LLMs) are central to reasoning, writing, and decision-support workflows, yet users lack consistent control over how they reason and express outputs. Conventional prompt engineering relies on verbose natural-language instructions, limiting reproducibility, modularity, and interpretability. This paper introduces Prompt Decorators, a declarative, composable syntax that governs LLM behavior through compact control tokens such as +++Reasoning, +++Tone(style=formal), and +++Import(topic="Systems Thinking"). Each decorator modifies a behavioral dimension, such as reasoning style, structure, or tone, without changing task content. The framework formalizes twenty core decorators organized into two functional families (Cognitive & Generative and Expressive & Systemic), each further decomposed into subcategories that govern reasoning, interaction, expression, and session-control. It defines a unified syntax, scoping model, and deterministic processing pipeline enabling predictable and auditable behavior composition. By decoupling task intent from execution behavior, Prompt Decorators create a reusable and interpretable interface for prompt design. Illustrative use cases demonstrate improved reasoning transparency, reduced prompt complexity, and standardized model behavior across domains. The paper concludes with implications for interoperability, behavioral consistency, and the development of declarative interfaces for scalable AI systems.

Fish AI Reader

Fish AI Reader

AI辅助创作,多种专业模板,深度分析,高质量内容生成。从观点提取到深度思考,FishAI为您提供全方位的创作支持。新版本引入自定义参数,让您的创作更加个性化和精准。

FishAI

FishAI

鱼阅,AI 时代的下一个智能信息助手,助你摆脱信息焦虑

联系邮箱 441953276@qq.com

相关标签

LLM Prompt Decorators 行为控制 AI系统
相关文章