arXiv 论文提出自然语言编程(NLPg)概念:把提示词视为可执行认知媒介
Natural Language Programming: Rethinking Language, Memory, and Cognition in the Era of Generative AI
搞提示词工程的朋友可以看看这篇理论论文,它把提示词从“交互技巧”升级成“对话式编程”,还给了 Dialogic Working Memory 和 BTMA、SKGE、RMR 三种记忆架构的映射框架。想给 agent 记忆设计找理论依据的会用到。
arXiv 论文(编号 2611.23106v1)提出 Natural Language Programming(NLPg)框架,主张在 LLM 时代自然语言正从被计算的对象转变为可执行的认知媒介。
论文把提示词定义为动态认知工件,用于外化目标、约束、假设、验证标准和中间推理状态,提示词工程因此成为一种对话式认知编程。作者基于分布式认知、延展心智、元认知与对话学习等理论提出 Dialogic Working Memory 概念,说明提示词与对话状态如何充当临时外部记忆结构以维持推理连续性。
论文还将 BTMA、SKGE、RMR 三种记忆架构映射到该框架,展示情景、语义与元认知三层如何支撑长程对话一致性,并讨论了后符号、后界面范式对计算语言学的影响。
Natural Language Programming: Rethinking Language, Memory, and Cognition in the Era of Generative AI
Generative Artificial Intelligence is transforming the role of natural language in computational systems. In classical Natural Language Processing (NLP), language was treated as an object of computation: something to analyse, classify, translate, or generate. Large Language Models (LLMs) challenge this perspective, enabling natural language to function increasingly as an executable cognitive medium through which humans structure reasoning, orchestrate problem solving, and regulate hybrid human/AI workflows. This paper introduces Natural Language Programming (NLPg) as a theoretical and epistemological extension of traditional NLP. Rather than focusing on language understanding alone, NLPg conceptualises prompts as dynamic cognitive artefacts that externalise goals, constraints, assumptions, validation criteria, and intermediate reasoning states. Prompting is thus not merely a technical interaction technique, but a form of dialogic cognitive programming operating within distributed human/AI memory architectures. Building on theories of distributed cognition, extended mind, metacognition, and dialogic learning, the paper proposes the notion of Dialogic Working Memory, describing how prompts and conversational states function as temporary external memory structures supporting reasoning continuity and reflective regulation. We further map existing memory architectures (BTMA, SKGE, RMR) onto this framework, illustrating how episodic, semantic, and metacognitive layers support long-horizon conversational coherence. Finally, implications for computational linguistics and AI/mediated knowledge systems are discussed, suggesting a post symbolic and post interface paradigm in which natural language operates simultaneously as communication medium, executable specification, cognitive scaffold, and distributed memory architecture.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include NLPg, LLM, prompt engineering, Dialogic Working Memory.
Source attribution: curated from arXiv cs.AI (@Giovanni Adorni, Daniele Grosso).