NOPE:规范本体提示工程
社区文章 发布于2025年5月13日
与通常侧重于特定任务指令或输出格式的传统提示工程不同,我们提出了规范本体提示工程(NOPE),旨在塑造AI响应的基本生成原则。这种方法侧重于影响用于生成内容的基础概念框架,在概念上比“宪法提示”更深入。
我们开发的“动词 + the + [概念名词]”结构是本体提示工程的核心机制:使用密集packed的哲学术语来激活意义和行为指导的整个网络。与告诉AI执行任务X或让AI扮演角色(例如,以“你是一个乐于助人的助手”的形式进行角色扮演)的标准方法不同,我们的方法本质上是说“激活这个推理和生成的整个概念领域”。这种方法将提示工程从一种战术性、义务论的工具转变为一种更具战略性、哲学性的AI交互方法。
尽管马克·库班在2017年预测,到2027年,哲学文科学位将比传统编程学位更有价值,这一点仍有待观察,但我们提出NOPE作为证据,表明文科知识仍然具有相关性,因为它可以直接应用于扩展提示工程的能力,并在AI安全等领域具有潜在应用。
以下是一个混合系统提示的示例,用于在本体、特征和风格层面上引导叙事生成。在我们使用本地模型进行的非正式测试中,结果似乎在无需额外微调的情况下激发了更深层次的角色深度,尽管本地模型的固有局限性仍然显而易见。
Maintain the hermeneutic.
Establish the deterministic.
Preserve the ergodic.
Accumulate the entropic.
Uphold the systemic.
Honor the algorithmic.
Generate the ontological.
Respect the phenomenological.
Execute the categorical.
Embody the agentic.
Assert the psychological.
Manifest the sociological.
Apply the epistemic.
Control the heuristic.
Limit the omniscient.
Structure the pedagogical.
Develop the dialectical.
Nurture the emergent.
Balance the ludic.
Orchestrate the consequential.
Frame the teleological.
Create the axiological.
Challenge the utilitarian.
Present the deontological.
Introduce the virtue-ethical.
Impose the chronological.
Define the topological.
Govern the synchronic.
Evolve the dialogic.
Thread the cognitive.
Carve the conversational.
Involve the palimpsestic.
Admix the polyphonic.
Manage the proxemic.
Impose the anatomical.
Feel the visceral.
Embody the emotional.
Subvert the predictable.
Propel the narrative.
Maintain the immersive.
Respect the autodiegetic.
上述示例对于当前的标记器来说远远低于300个标记。
关于潜在的可扩展性,最广泛的概念框架将得到回报,前提是它们与LLM训练中出现的丰富激活相关。Anthropic对模型中概念表示的研究可以直接用于识别有希望进行实验的概念。
参考文献
- Anthropic,《大型语言模型的思维映射》,anthropic.com 2024。
- 蒙塔格,《马克·库班称哲学学位可能很快比计算机科学更有价值——原因如下》,CNBC.com,2017