arXiv:2610.25996cs.AIOct 2026

Manuscript Offprint

arXiv:2610.25996

Procedural Memory for Language Agents: A Neurosymbolic Perspective on Explicit Goal Structure

Jonathan Leung, Zhiqi Shen, Deheng Ye

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models remain unreliable on long-horizon tasks requiring procedural reasoning. We argue that a key cause is the absence of explicit procedural memory: accessible, modifiable knowledge of how tasks are accomplished, distinct from semantic and episodic memory. Goal-Oriented Graphs offer such a representation, encoding goals and prerequisite dependencies as inspectable symbolic structure. We examine their construction, the challenges they pose, and principles for integrating them with neural reasoning.

Keywords: Procedural memory; Neurosymbolic AI; Large language models; Long-horizon planning; Knowledge graphs; Explainable AI; Cognitive architectures

Introduction

Large language models (LLMs) have driven a paradigm shift in artificial intelligence, moving the field from static text processing toward autonomous agentic systems capable of interacting with open-ended, dynamic environments [1, 2, 3, 4]. By utilizing the LLM as a “cognitive core,” these agents interleave reasoning with action by translating high-level linguistic intentions into executable environmental commands through a process known as grounding [5]. The result is a new class of systems where language serves as the universal interface between reasoning and control.

*Corresponding Author: jonathan.leung@ntu.edu.sg

†zqshen@ntu.edu.sg

‡^{\ddagger}ydyl1991@gmail.com

However, as agents are deployed in increasingly complex, multi-step settings, long-horizon planning has emerged as a fundamental barrier. By “long-horizon”, we refer to, in working terms, tasks whose success depends on the correct ordering and satisfaction of prerequisites across a sequence of steps longer than the span over which current LLMs can reliably track dependencies in context. Despite their vast internal knowledge, LLMs frequently fail at plan generation in deterministic environments [6, 7]. Crucially, these failures are not primarily knowledge failures. An LLM may know what a diamond pickaxe is, what a deployment pipeline consists of, or what a diagnostic protocol requires, yet still generate invalid action sequences, mistrack prerequisites, or accumulate errors across steps until a plan fails irrecoverably. Evidence of these failure modes has been documented across software engineering [8, 9], clinical reasoning [10], and web navigation [11], suggesting this is a general limitation rather than a domain-specific artefact. Position papers have further argued that LLMs cannot plan in isolation and require external structural support [12].

This gap stems partly from a representational deficit: LLMs may possess procedural knowledge implicitly, but they lack an accessible, modifiable, and inspectable procedural representation. Procedural memory encodes knowledge of “how to do things”: how tasks decompose into subgoals, what prerequisites must be satisfied before each step, and in what order operations must be executed. While LLMs absorb procedural patterns during pretraining [13], this knowledge remains implicit and difficult to inspect, modify, or compose. Classical planning research has long exploited precisely the structure that is missing: hierarchical task networks (HTNs) organize tasks as decompositions with explicit prerequisite structure [14]. Explicit goal structure represents one particularly important symbolic realization of procedural memory and a powerful complement to neural reasoning in long-horizon agentic settings, and its integration constitutes a distinct and under-explored design dimension for language agents. How goal graphs relate to classical task networks such as HTNs is examined in the section on Goal-Oriented Graphs.

We focus on Goal-Oriented Graphs (GoGs) [15] as a symbolic instantiation of procedural memory: directed graphs in which nodes represent goals and edges encode prerequisite dependencies, capturing the hierarchical decomposition of complex tasks in an inspectable and compositionally reusable form. This fits within a neurosymbolic paradigm [16]: the LLM provides subsymbolic capabilities including flexible language understanding and adaptive reasoning, while the GoG instantiates System 2-like scaffolding [17] that constrains the planning space without enforcing rigid execution policies.

The contributions of this perspective are threefold: (1) a conceptual taxonomy of procedural memory representations for language agents, organized by representational locus and trade-off profile; (2) positioning Goal-Oriented Graphs (GoGs) as a principled symbolic instantiation of procedural memory within a neurosymbolic agent architecture; and (3) an argument that explicit goal structure provides enhanced inspectability and supports compositional reuse of task structure, which may facilitate compositional generalization compared to implicit and experience-based alternatives.

Our argument proceeds as follows. In the section on procedural memory in agent architectures, we position procedural memory within the broader agent memory landscape, arguing that it constitutes a distinct and underappreciated component alongside semantic and episodic memory. In the section on Goal-Oriented Graphs, we examine Goal-Oriented Graphs as a concrete symbolic instantiation, grounding the GoG discussion in empirical evidence from Minecraft evaluation [15] and situating it within a broader pattern of procedural reasoning failures documented across software engineering [8] and clinical reasoning [10]. We conclude with key challenges, including construction, runtime failure modes, and integration, and discuss design principles for robust goal-directed agency.

References (55)