Manuscript Offprint
arXiv:2611.23106Natural Language Programming: Rethinking Language, Memory, and Cognition in the Era of Generative AI
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
Generative Artificial Intelligence is transforming the role of natural language in computational systems. Within the classical paradigm of Natural Language Processing (NLP), language has primarily been treated as an object of computation: something to analyse, classify, translate, or generate. The emergence of Large Language Models (LLMs) challenges this perspective by enabling natural language to function increasingly as an executable cognitive medium through which humans can structure reasoning, orchestrate problem solving, and regulate hybrid human–AI workflows.
This paper introduces the concept of 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. In this perspective, prompting is not reduced to a technical interaction technique, but becomes 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 the emergence of a post-symbolic and post-interface paradigm in which natural language operates simultaneously as communication medium, executable specification, cognitive scaffold, and distributed memory architecture.
keywords
Natural Language Programming ,Generative AI ,Large Language Models ,Distributed Cognition ,Working Memory ,Dialogic Memory ,Cognitive Architectures ,Prompt-Based Learning ,Metacognition ,Computational Linguistics ,Human–AI Interaction ,Cyber Humanities
Recent advances in Generative Artificial Intelligence (GenAI), particularly Large Language Models (LLMs), challenge this assumption. While traditional NLP systems focused on recognizing or generating linguistic structures, LLM-based systems increasingly enable natural language to function as an operational medium through which humans formulate intentions, coordinate reasoning, and regulate interaction with computational systems. Language is therefore no longer merely processed: it becomes a vehicle for orchestrating cognitive workflows.
This transformation suggests a broader epistemological shift within computational linguistics. Interaction with LLMs increasingly resembles a form of cognitive orchestration in which prompts externalise goals, constraints, intermediate reasoning states, and reflective strategies Liu et al. (2022); Wei and others (2022); Brown et al. (2020). Natural language may therefore operate as a mechanism for dynamically configuring hybrid human–AI cognitive systems. This perspective also resonates with emerging Cyber Humanities approaches, which interpret generative AI not merely as a technological tool, but as a cognitive and cultural infrastructure reshaping human agency, knowledge mediation, and reflective interaction Adorni and Bellini (2025).
The limitations of the classical NLP paradigm become particularly evident when considering memory and context. Traditional architectures largely focused on sentence-level processing and probabilistic prediction, often treating context as an auxiliary parameter. By contrast, interaction with LLMs increasingly relies on persistent conversational states, iterative refinement, contextual reconstruction, and dialogic continuity, progressively acquiring characteristics associated with working memory and cognitive architectures.
Theoretical perspectives from distributed cognition and philosophy of mind provide important tools for understanding this transition. Distributed cognition argues that cognitive processes emerge through interactions among agents, artefacts, and environments Hutchins (1995), while the ”Extended Mind” thesis suggests that external artefacts may become integral components of cognition itself Clark and Chalmers (1998). Within this framework, prompts, conversational traces, and interaction histories can be interpreted as forms of externalised working memory distributed across hybrid human–AI systems.
At the same time, dialogic and socio-cultural perspectives emphasize that meaning emerges through situated interaction and co-construction processes rather than isolated symbolic manipulation Bakhtin (1981); Vygotsky and Kozulin (2012). Prompting therefore increasingly resembles a dialogic process through which reasoning is stabilised, negotiated, and reconstructed across conversational exchanges.
Building on these premises, this paper introduces the concept of Natural Language Programming (NLPg) as a theoretical extension of traditional NLP. Rather than treating language exclusively as an object of computation, NLPg conceptualizes prompts as executable cognitive artefacts through which humans externalise reasoning, maintain contextual continuity, and orchestrate hybrid cognitive workflows. More specifically, we argue that prompts simultaneously operate as:
- executable specifications,
- cognitive artefacts,
- metacognitive scaffolds,
- and dialogic memory structures.
To formalize this perspective, the paper proposes the notion of Dialogic Working Memory, describing how conversational interaction with LLMs supports the stabilization and reconstruction of distributed cognitive states.
Positioning within existing research -
Recent research on prompting and conversational AI has primarily focused on prompt optimization, chain-of-thought reasoning, code generation, and interaction efficiency Wei and others (2022); Reeves et al. (2025). Within this landscape, the term Natural Language Programming has often referred to the use of natural language for specifying computational tasks or generating executable code.
Our proposal extends this perspective by interpreting NLPg as a distributed cognitive and dialogic memory architecture operating through conversational interaction rather than as a simple code-generation paradigm.
Existing approaches such as Retrieval-Augmented Generation [12], In-Context Learning [5], and tool use [13] provide mechanisms for external memory, dynamic adaptation, and action coordination. Dialogic Working Memory can be interpreted as a higher-level orchestration layer that integrates and regulates these mechanisms within a conversational cognitive framework.
Unlike existing work primarily focused on prompt optimization or code generation, this paper conceptualizes NLPg as a distributed cognitive infrastructure in which prompts externalise reasoning processes, stabilize contextual continuity, and support reflective orchestration across hybrid human–AI systems.
Contributions -
The main contributions of this paper are:
- A theoretical definition of NLPg as an extension of NLP toward language-mediated cognitive orchestration.
- The proposal of Dialogic Working Memory, interpreting conversational interaction as a form of reconstructive distributed memory management.
- A conceptual mapping of conversational memory architectures (BTMA, SKGE, RMR) onto the NLPg framework.
- A discussion of implications for computational linguistics, suggesting a transition toward cognitive mediation infrastructures rather than purely text-processing systems.
The remainder of the paper is organised as follows. Section 2 discusses the transition from NLP to NLPg. Section 3 introduces prompting as cognitive programming. Section 4 presents the Dialogic Working Memory framework. Section 5 examines NLPg as a metacognitive scaffold. Section 6 discusses implications for computational linguistics, and Section 7 concludes with limitations and future directions.
2 From NLP to NLPg: Processing vs. Orchestration
The emergence of LLMs is transforming not only the technological landscape of NLP, but also the assumptions underlying the relationship between language, cognition, and computation. While traditional NLP primarily treated language as an object of computational analysis, interaction with generative models increasingly positions natural language as a medium for orchestrating cognitive processes and configuring hybrid human–AI workflows.
Classical NLP systems were designed to process linguistic structures through parsing, classification, translation, and information extraction Jurafsky and Martin (2009). Even with contextual embeddings and transformer architectures, language largely remained input data to be statistically modeled and generated. By contrast, interaction with LLMs relies on natural language to define objectives, structure reasoning paths, maintain contextual continuity, and regulate iterative problem solving. Through prompting, users employ language not simply to request information, but to coordinate reasoning across conversational exchanges.
This shift can be interpreted as a transition from language processing to language orchestration. In the former paradigm, computational systems aim to understand or generate linguistic content. In the latter, natural language functions as an operational medium for coordinating distributed cognitive processes across human and artificial agents.
Table 1: From Natural Language Processing to Natural Language Programming
| Natural Language Processing (NLP) | Natural Language Programming (NLPg) |
|---|---|
| Language as object of computation | Language as executable cognitive medium |
| Text as input data | Prompt as cognitive artefact |
| Context as processing parameter | Context as conversational state |
| Output generation | Iterative cognitive regulation |
| Evaluation of final output | Traceability of reasoning process |
Table 1 summarizes the conceptual differences between traditional NLP and the proposed NLPg paradigm. The distinction is not merely terminological. Traditional programming languages rely on explicit syntax and deterministic execution rules, whereas prompting operates through flexible and context-dependent linguistic structures. Despite their apparent informality, prompts increasingly behave as executable specifications capable of configuring complex behaviors, including decomposition strategies, evaluation criteria, and iterative refinement processes Reeves et al. (2025).
This perspective resonates with Winograd and Flores Winograd and Flores (1987), who argued that language should be understood not merely as representation, but as situated action embedded in social coordination. Contemporary LLM-mediated interaction partially realizes this intuition: language increasingly operates as a mechanism for coordinating distributed cognitive ecologies.
From this standpoint, prompting can be interpreted as a form of Natural Language Programming, where natural language assumes functions traditionally associated with programming and cognitive coordination. NLPg does not replace traditional programming paradigms; rather, it introduces a complementary layer in which prompts stabilize conversational states, orchestrate reasoning trajectories, and externalize distributed cognitive processes.
This transformation also modifies the role of computational systems themselves. LLMs increasingly behave not simply as language processors, but as conversational cognitive infrastructures supporting contextual reconstruction, reflective reasoning, distributed memory management, and metacognitive regulation. The transition from NLP to NLPg therefore marks not only a technological evolution, but a broader conceptual shift from language as representational medium to language as operational cognitive infrastructure.
3 Prompting as Cognitive Programming
The widespread adoption of LLMs has transformed prompting from a marginal interaction mechanism into a central cognitive practice. Prompts are no longer simple textual queries, but structured artefacts through which users externalise intentions, organise reasoning, regulate context, and coordinate iterative problem solving.
Prompting should therefore not be interpreted merely as query optimization or interaction technique. Rather, it increasingly resembles a form of cognitive programming, in which natural language configures reasoning spaces and coordinates distributed cognitive processes across conversational interaction.
Unlike traditional programming languages, which rely on rigid syntax and deterministic execution, prompting operates through flexible and context-sensitive interaction. Yet prompts increasingly exhibit functional characteristics analogous to programming abstractions, including task decomposition, goal specification, constraint definition, validation procedures, and iterative refinement.
This becomes particularly evident in advanced prompting strategies such as chain-of-thought, reflective prompting, and multi-step workflows. In these contexts, prompts do not simply request information; they structure the cognitive trajectory through which reasoning is generated, evaluated, and progressively refined.
Prompts as Cognitive Artefacts -
The notion of cognitive artefact Norman (1993) provides a theoretical foundation. Norman defines cognitive artefacts as artificial structures designed to maintain, display, or manipulate information in support of cognitive activity. Distributed cognition theories further argue that cognition emerges through interactions among agents, tools, and representations rather than remaining confined within the individual mind Hutchins (1995).
From this perspective, prompts can be interpreted as externalised cognitive structures that temporarily stabilize goals, assumptions, constraints, reasoning procedures, evaluation criteria, and reflective strategies. Consequently, prompts operate not as isolated commands but as transient representations of distributed cognitive states.
This interpretation introduces a key distinction between prompts as instructions and prompts as executable intentions. In traditional HCI, user inputs trigger predefined procedures. In LLM-mediated environments, prompts often express partially underspecified intentions that are progressively refined through dialogic interaction. Execution becomes contextual, interpretative, and conversationally negotiated.
Prompting and Metacognitive Regulation -
Recent work on Prompt-Based Learning (PBL) and Natural Language Programming suggests that prompting supports reflective problem decomposition and metacognitive regulation rather than simple output generation Adorni et al. (2026); Reeves et al. (2025). Prompt sequences often reveal iterative cycles of planning, monitoring, evaluation, debugging, and revision, closely resembling the self-regulatory mechanisms described in metacognitive learning theories Panadero (2017); Schraw and Dennison (1994).
Thus, prompting progressively evolves from interaction mechanism to dialogic cognitive regulation process. Conversational traces support the stabilization and reconstruction of reasoning continuity across iterative exchanges, enabling forms of externalised reflective reasoning distributed across human and computational agents.
Within this hybrid ecology, LLMs function not merely as language processors but as conversational cognitive infrastructures participating in distributed reasoning. Prompting acts as the coordination layer through which humans and computational systems jointly construct, maintain, and regulate evolving cognitive states. This shift provides the conceptual foundation for the next section, which introduces Dialogic Working Memory.
4 Memory Architectures
The transition from NLP to NLPg requires a corresponding rethinking of memory. In classical NLP systems, memory is generally treated either as a static repository of linguistic representations or as a transient computational buffer supporting inference and generation. By contrast, interaction with Large Language Models increasingly exhibits characteristics of distributed, reconstructive, and dialogically mediated memory processes.
In NLPg, language no longer functions exclusively as an object of computation. Instead, it progressively operates as a mechanism for stabilizing contextual continuity across conversational interaction. Prompts, summaries, retrieved traces, and conversational histories collectively behave as distributed memory structures supporting reasoning continuity across time.
This perspective integrates theories of working memory, distributed cognition, and dialogic reconstruction with recent prompt-based memory architectures for LLMs Baddeley (1986); Hutchins (1995); Clark and Chalmers (1998); Grosso (2026a); Grosso (2026c).
Working Memory and Conversational State -
The concept of working memory traditionally refers to the temporary maintenance and manipulation of information required for reasoning and cognitive activity Baddeley (1986). Similarly, LLM-based systems maintain transient conversational states containing instructions, constraints, semantic references, and contextual traces that guide subsequent generations.
Unlike biological working memory, however, conversational state in LLMs is not internally persistent. It emerges dynamically through 1) contextual token accumulation, 2) prompt reconstruction, 3) retrieval mechanisms, 4) external memory injection, and 5) iterative conversational reinforcement.
Conversational interaction with LLMs therefore increasingly behaves as a form of externalised working memory management, where prompts, summaries, and contextual traces collectively stabilize transient cognitive states across interaction cycles.
Recent prompt-based memory architectures explicitly formalize this mechanism. The Biomorphic Temporal Memory Architecture (BTMA) proposed in Grosso (2026a) introduces a hierarchical conversational memory model inspired by biological memory consolidation systems. The architecture distributes conversational memory across episodic, semantic, and metacognitive layers supporting different forms of contextual reconstruction and cognitive continuity, as summarised in Table 2.
Table 2: Dialogic memory layers in NLPg architectures
| Layer | Component | Function in NLPg | Cognitive analogy |
|---|---|---|---|
| Episodic | BTMA | Temporal traces of interaction, decisions, constraints and conversational states | Episodic memory |
| Semantic | SKGE | Typed relations among entities, concepts, artefacts and projects | Semantic memory |
| Metacognitive | RMR | Consistency monitoring and reflective re-consolidation | Executive control |
As illustrated in Figure 1, the BTMA/SKGE/RMR framework can be interpreted as a dialogic memory injection pipeline for NLPg. Episodic traces provide temporal continuity, semantic structures constrain interpretation, and metacognitive monitoring stabilizes contextual coherence before generation.
User QueryRMRMetacognitive Consistency MonitorSKGETyped Semantic RelationsBTMATemporal Episodic ContextPrompt AssemblyDialogic Working Memory StateLLM Generation Consistency monitoring and contextual validation. Semantic constraints and typed relations. Compressed episodic traces and temporal summaries. Assembly of executable conversational state.
Figure 1: Dialogic memory injection pipeline for NLPg. Episodic, semantic, and metacognitive layers are assembled into a conversational state supporting long-horizon cognitive continuity before generation, supporting long-horizon conversational coherence and contextual reconstruction before generation.
Within this framework, conversational traces are progressively compressed and reorganised through hierarchical temporal structures, including event-level traces, daily summaries, monthly consolidations, and higher-level semantic abstractions.
The architecture mirrors the transition from working memory to long-term consolidation in biological systems, where persistence is achieved not through exhaustive retention but through selective compression, contextual abstraction, and iterative re-consolidation.
A key implication of these architectures is that memory in NLPg is not equivalent to storage. Conversational continuity emerges through the reactivation and reconstruction of compressed linguistic traces rather than through permanent persistence of raw interaction history.
Distributed and Dialogic Memory -
The emergence of NLPg strongly resonates with theories of distributed cognition Hutchins (1995) and the extended mind hypothesis Clark and Chalmers (1998). Within these frameworks, cognition is not confined to internal mental processes, but distributed across external artefacts, symbolic representations, technological systems, and social interaction.
Prompting practices provide a particularly clear example of this phenomenon. Prompts increasingly function as cognitive scaffolds that externalise goals, constraints, intermediate reasoning states, evaluation criteria, and metacognitive regulation strategies. In this sense, prompts behave similarly to external memory artefacts such as notes, conceptual maps, or symbolic inscriptions, reducing cognitive load by stabilizing partial reasoning states outside the biological brain.
Conversational interaction with LLMs also exhibits reconstructive dynamics analogous to biological memory reconsolidation Nader et al. (2000); Lane et al. (2015). Contextual information is not simply retrieved unchanged. Instead, conversational histories are selectively summarised, reinterpreted, compressed, and reintegrated into subsequent interactions.
This process can be interpreted as a form of dialogic memory: a distributed memory mechanism emerging through iterative conversational reconstruction. Memory continuity depends less on exact persistence than on conversational coherence and contextual reactivation.
The Re-consolidative Metacognitive Architecture (RMR) explicitly operationalizes this principle by introducing reflective procedures for re-evaluating episodic and semantic traces across interaction cycles Grosso (2026c). Within this framework, memory becomes selective, interpretative, recursive, and dynamically reconstructed through dialogic interaction.
From the perspective of NLPg, conversational memory architectures are therefore significant not merely as persistence mechanisms, but as cognitive mediation infrastructures supporting:
- contextual continuity,
- distributed reasoning,
- reflective regulation,
- and long-horizon conversational coherence.
This evolution suggests that future computational linguistic systems may increasingly focus not only on language understanding and generation, but on the design of conversational cognitive infrastructures capable of sustaining distributed reasoning processes across hybrid human–AI systems.
5 NLPg as Metacognitive Scaffold
Natural Language Programming (NLPg) redefines the relationship between language, cognition, and learning. Prompting practices increasingly function as metacognitive scaffolds supporting planning, monitoring, reflection, and adaptive revision during problem-solving activities. Unlike traditional interfaces designed for command execution, LLM-mediated interaction supports iterative reasoning in which language itself becomes a medium for organising thought. Prompts externalise reasoning strategies and preserve intermediate conceptual states across interaction cycles.
Prompt-Based Learning (PBL) frames prompting as a reflective process through which learners iteratively construct, evaluate, and refine reasoning strategies Adorni et al. (2026); Reeves et al. (2025). Within this perspective, prompts function simultaneously as cognitive organisers, external reasoning traces, metacognitive checkpoints, and dialogic learning artefacts. The educational relevance lies in the visibility of reasoning processes. Unlike traditional systems, NLPg externalises substantial portions of reasoning through conversational traces, supporting metacognitive awareness by enabling learners to inspect strategies, revise assumptions, and identify inconsistencies. Prompting therefore becomes not only a means of obtaining outputs, but also a mechanism for organising reflective learning.
A key consequence of NLPg is the progressive traceability of reasoning processes. Conversational traces document prompt evolution, intermediate reasoning steps, decomposition strategies, revisions, validation attempts, and reflective corrections. These traces constitute epistemic artefacts: externalised representations of evolving cognitive processes. Metacognitive regulation includes planning, monitoring, evaluation, and adaptive revision Schraw and Dennison (1994); Panadero (2017). NLPg environments support these mechanisms through recursive conversational workflows involving problem formulation, decomposition, generation, validation, revision, and re-generation. This transforms prompting into a form of dialogic reflective regulation in which reasoning is progressively co-constructed.
Within this framework, prompts behave similarly to metacognitive operators: they activate reasoning procedures, constrain solution spaces, establish evaluation criteria, and regulate conversational direction. Reflective regulation is distributed across both human and computational agents. The LLM contributes generative capabilities, while the human performs epistemic supervision and contextual validation. Traceability also introduces cognitive accountability. Since reasoning remains partially externalised, users are encouraged to justify decisions and critically evaluate outputs rather than passively accepting them. This becomes particularly significant in the presence of hallucinations, semantic drift, and contextual inconsistencies in generative AI Grosso (2026b). Conversational traceability supports validation by making reasoning trajectories inspectable and revisable.
Finally, NLPg enables the externalisation of metacognitive activity itself. Prompts, revisions, clarifications, and validation cycles form visible representations of cognitive regulation processes supporting reflective learning, collaborative reasoning, process-oriented assessment, and AI literacy development. However, this transformation also introduces risks. Externalisation may encourage over-reliance on conversational scaffolds, excessive delegation of reasoning, or superficial validation practices. Consequently, NLPg requires forms of reflective AI literacy capable of preserving human epistemic agency and critical cognitive autonomy within AI-mediated environments. This concern aligns with Cyber Humanities perspectives emphasizing the need to preserve reflective human agency and critical autonomy within AI-mediated cognitive ecosystems Adorni and Bellini (2025). The central problem is no longer whether AI systems generate correct outputs, but whether users maintain the capacity to critically regulate and validate distributed reasoning processes. NLPg therefore repositions language from a medium for information exchange to a mechanism for orchestrating metacognitive activity across hybrid human–AI systems.
6 Implications for Computational Linguistics
The emergence of NLPg challenges several foundational assumptions of computational linguistics. If natural language increasingly functions not only as an object of computation but also as an operational cognitive medium, then the role of language technologies must be reconsidered.
For decades, computational linguistics has primarily focused on language understanding, generation, semantic representation, and syntactic parsing. Even transformer architectures largely remained within this paradigm Jurafsky and Martin (2009). By contrast, LLM-mediated interaction suggests a different perspective in which natural language operates not simply as representational input, but as a mechanism for orchestrating reasoning, maintaining contextual continuity, coordinating human–AI workflows, and regulating reflective interaction.
This transformation shifts computational linguistics toward cognitive mediation infrastructures: systems that do not merely process linguistic content, but actively participate in the stabilization and reconstruction of distributed cognitive processes.
The Conversational Turn -
The rise of LLM-based systems introduces a conversational turn within computational linguistics. Historically, NLP has primarily focused on sentence- or document-level processing, while dialogue systems often treated conversation as sequential information exchange. By contrast, NLPg frames conversation as a cognitive process, memory mechanism, reflective structure, and coordination protocol. Conversational interaction supports contextual stabilization, iterative reinterpretation, semantic negotiation, and collaborative reasoning.
This perspective explains the growing relevance of long-horizon consistency, memory persistence, referential stability, behavioral coherence, and metacognitive traceability. These phenomena cannot be fully understood through traditional text-processing paradigms because they emerge at the level of distributed interaction.
Recent work on conversational memory architectures and CDOS phenomena suggests that contextual degradation may affect not only output quality, but cognitive continuity itself Grosso (2026b). Semantic drift, referential instability, and behavioral inconsistency increasingly represent disruptions in cognitive mediation rather than simple generation errors.
Toward Cognitive Mediation Infrastructures -
The implications of NLPg extend beyond technical architecture toward a broader epistemological transition. Classical symbolic AI relied on explicit formal representations and deterministic execution rules, while contemporary NLP largely replaced symbolic reasoning with probabilistic modeling. Yet both paradigms preserved a distinction between user, interface, command, and computational execution.
NLPg partially dissolves these distinctions. In conversational systems, language acts simultaneously as representation and execution; prompts function as communication and cognitive regulation; conversational traces operate as both interaction history and distributed memory. Natural language increasingly becomes the operational substrate through which cognition is coordinated.
This transformation does not imply the disappearance of formal computation. Rather, computational processes become progressively embedded within conversational and context-dependent cognitive ecologies mediated by natural language. Language technologies are no longer interpreted solely as systems for understanding or generating text, but as infrastructures for coordinating cognition, stabilizing memory, supporting distributed agency, externalizing reasoning, and mediating reflective interaction across hybrid human–AI systems.
NLPg therefore represents not simply a new interaction paradigm, but a broader reconfiguration of the relationship between language, cognition, memory, and computation. Traditional NLP tasks such as parsing, semantic modeling, information extraction, and generation remain fundamental, but increasingly operate within conversational ecologies in which natural language functions not only as representational content, but also as a mechanism for cognitive coordination and contextual orchestration.
7 Conclusion
The emergence of Large Language Models is transforming the role of natural language within computational systems. Throughout the history of NLP, language has primarily been interpreted as an object of computation. This paper argued that generative AI introduces a broader epistemological shift in which natural language increasingly functions as an executable cognitive medium supporting reasoning, memory externalization, reflective regulation, and hybrid human–AI interaction.
Building on this transformation, we introduced the concept of Natural Language Programming (NLPg) as a theoretical extension of traditional NLP. Unlike classical language-processing paradigms, NLPg conceptualizes prompts and conversational interaction as operational cognitive structures capable of stabilizing contextual continuity, organizing distributed memory, and supporting metacognitive regulation. Within this framework, prompts operate as executable intentions, cognitive artefacts, dialogic memory traces, and reflective scaffolds.
We further proposed the notion of Dialogic Working Memory to describe how conversational interaction with LLMs externalises temporary cognitive states across distributed human–AI systems. Integrating perspectives from distributed cognition, working memory theory, and dialogic interaction, the framework interprets conversational exchange as a process of contextual reconstruction and cognitive orchestration.
Recent architectures such as BTMA, SKGE, and RMR suggest that LLM-mediated systems are already evolving toward structured forms of distributed memory management and metacognitive stabilization Grosso (2026a); Grosso (2026c). At the same time, phenomena such as Cost-Driven Output Substitution (CDOS) highlight how conversational continuity may degrade under increasing contextual load Grosso (2026b).
From this perspective, computational linguistics can no longer be interpreted exclusively as the study of language understanding or text generation. Language technologies increasingly function as cognitive mediation infrastructures supporting distributed reasoning, memory reconstruction, and reflective coordination across hybrid human–AI systems. This transformation suggests the gradual emergence of a post-symbolic and post-interface paradigm in which the distinction between language, memory, interface, and execution progressively blurs.
Limitations and Future Work -
The proposed framework remains primarily theoretical and conceptual, and should be interpreted as an epistemological model intended to support future empirical and architectural research. Although primarily conceptual, the framework emerged from ongoing experimental work on conversational memory architectures and AI-mediated educational environments. Dialogic Working Memory and conversational orchestration therefore require further formal modeling and experimental validation.
Future research may explore: (i) conversational memory persistence and long-horizon consistency; (ii) metacognitive traceability in human–AI interaction; (iii) educational applications of NLPg within reflective learning environments; and (iv) conversational infrastructures capable of preserving human epistemic agency while leveraging LLM capabilities.
More broadly, the transition from Natural Language Processing to Natural Language Programming may represent not simply a technological evolution, but a deeper transformation in how language itself is understood within the relationship between humans, cognition, and computation. Within this perspective, NLPg may also contribute to the broader Cyber Humanities agenda aimed at rethinking human-centered cognition, education, and cultural mediation in the age of generative AI.
Declaration on Generative AI
During the preparation of this work, the authors used ChatGPT (GPT-5.5) in order to: Paraphrase and reword, Improve writing style, Grammar and spelling check. After using this tool, the authors reviewed and edited the content as needed and take full responsibility for the publication’s content.
References
G. Adorni and E. Bellini Towards a manifesto for cyber humanities: paradigms, ethics, and prospects. In 2025 IEEE International Conference on Cyber Humanities (IEEE-CH), Florence, Italy, pp. 1–8. External Links: Document Cited by: §1, §5.
G. Adorni, D. Scala, and S. Torsani Programming cognition with language: toward a dialogic architecture for ai-mediated learning. In Procs of ITHET 2026 - 22nd Int. Conf. on Info. Technology Based Higher Education and Training, Inland Norway Univ.. Cited by: §3, §5.
A.D. Baddeley Working memory. Oxford psychology series, Clarendon Press. External Links: ISBN 9780198521334, LCCN 86000846 Cited by: §4, §4.
M.M. Bakhtin The dialogic imagination: four essays. Univ. of Texas Press, Austin, TX, USA. Cited by: §1.
T. B. Brown, B. Mann, N. Ryder, et al. Language models are few-shot learners. Advances in Neural Information Processing Systems 33, pp. 1877–1901. Cited by: §1.
A. Clark and D. Chalmers The extended mind. Analysis 58 (1), pp. 7–19. External Links: Link Cited by: §1, §4, §4.
D. Grosso BTMA: biomorphic temporal memory architecture for LLMs. Zenodo. Note: Preprint External Links: Document Cited by: §4, §4, §7.
D. Grosso CDOS: cost-driven output substitution—a unified framework for sub-threshold behavioral drift and sycophancy in LLMs. Zenodo. Note: Preprint External Links: Document Cited by: §5, §6, §7.
D. Grosso RMR: re-consolidative metacognitive architecture for identity persistence in LLM. Zenodo. Note: Preprint External Links: Document Cited by: §4, §4, §7.
E. Hutchins Cognition in the wild. MIT Press, Cambridge, MA, USA. Cited by: §1, §3, §4, §4.
D. Jurafsky and J.H. Martin Speech and language processing: an introduction to natural language processing, computational linguistics, and speech recognition. Prentice Hall series in artificial intelligence, Pearson Prentice Hall. External Links: ISBN 9780131873216, LCCN 2008010335 Cited by: §1, §2, §6.
R. D. Lane, L. Ryan, L. Nadel, and L. S. Greenberg Memory reconsolidation, emotional arousal, and the process of change in psychotherapy: new insights from brain science.. The Behavioral and brain sciences 38, pp. e1. External Links: Link Cited by: §4.
P. Liu, W. Yuan, and et al. Pre-train, prompt, and predict: a systematic survey of prompting methods in natural language processing. ACM Computing Surveys 55 (9). External Links: Document Cited by: §1.
K. Nader, G. E. Schafe, and J. E. LeDoux Fear memories require protein synthesis in the amygdala for reconsolidation after retrieval. Nature 406 (6797), pp. 722–726. External Links: Document Cited by: §4.
D.A. Norman Things that make us smart: defending human attributes in the age of the machine. A William Patrick book, Addison-Wesley Publishing Company. External Links: ISBN 9780201581294, LCCN 92036016 Cited by: §3.
E. Panadero A review of self-regulated learning: six models and four directions for research. Frontiers in Psychology 8, pp. 422. External Links: Document Cited by: §3, §5.
B. Reeves, J. Prather, and et al. Prompts first, precision later: reviving the vision of natural language programming for computing education. In Proceedings of the 25th Koli Calling International Conference on Computing Education Research, External Links: Document Cited by: §1, §2, §3, §5.
G. Schraw and R.S. Dennison Assessing metacognitive awareness. Contemporary Educational Psychology 19(4), pp. 460–475. External Links: Document Cited by: §3, §5.
L.S. Vygotsky and A. Kozulin Thought and language, revised and expanded edition. The MIT Press Paperback Series, MIT Press. External Links: ISBN 9780262517713, LCCN 2011048675 Cited by: §1.
J. Wei et al. Chain-of-thought prompting elicits reasoning in large language models. arXiv preprint arXiv:2201.11903. Cited by: §1, §1.
T. Winograd and F. Flores Understanding computers and cognition: a new foundation for design. Language and being, Addison-Wesley. External Links: ISBN 9780201112979, LCCN 85003856 Cited by: §2.
T. Winograd Understanding natural language. Academic Press. External Links: ISBN 9780127597508, LCCN 77190108 Cited by: §1.