Natural Language Programming: Rethinking Language, Memory, and Cognition in the Era of Generative AI
Giovanni Adorni, Daniele Grosso
Key points
From the paper's conclusion- We further map existing memory architectures (BTMA, SKGE, RMR) onto this framework, illustrating how episodic, semantic, and metacognitive layers support long-horizon conversational coherence.
Abstract
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From Prompt Engineering to Programmatic Prompting: Toward a Software Engineering Discipline for Large Language ModelsarXiv · 2026
- Human-LLM Cognitive Extension: A Framework for Studying Coupled CognitionarXiv · 2026
- Cognitive Mapping of Learning by Thinking Mechanisms in Large Language ModelsarXiv · 2026
- Procedural Memory for Language Agents: A Neurosymbolic Perspective on Explicit Goal StructurearXiv · 2026
- Large Language Models as General Purpose Intelligence Systems for Reasoning, Planning and Decision MakingAmerican Journal of Artificial Intelligence and Neural Networks · 2025
- Large language models meet NLP: a surveyFrontiers of Computer Science · 2026