arXiv:2611.08644cs.AINov 2026

Manuscript Offprint

arXiv:2611.08644

Decision Context: Persistent Behavioral Learning for AI Agents

Nima Vahdat, Pashootan Vaezipoor

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

Abstract

LLM agents do not learn from corrections across sessions. A user fixes the same mistake at the start of every conversation. Existing agent memory systems handle facts (preferences, entities, conversational history [1, 2, 3]) but not procedural knowledge [4].

We present Forge Decision Context (forge_dc), a system that captures behavioral signals from human corrections and from self-assessed tool-call failures, compiles them into imperative RULE directives, and injects them at the decision points where they apply. We evaluate forge_dc alongside four predecessor approaches on DC-Bench, a new benchmark of 71 scenarios across 9 behavioral dimensions, built from real executed agent traces in a deterministic mocked-tool environment. forge_dc reaches 95% compliance, up from 55% with naive retrieval, while injecting roughly 10× fewer tokens per query.

Across the five-stage progression, the strongest systems represent behavioral memory as explicit directives and deliver it at the decision points where it applies. The results identify representation, activation, and placement as central design choices for persistent behavioral learning.

1 Introduction

LLM agents are increasingly deployed beyond question-answering: writing code, managing infrastructure, orchestrating multi-step workflows. Yet they are memoryless learners: every session begins from the same blank state. Every correction must be repeated. Every hard-won behavioral insight is lost.

Consider a security analyst correcting an agent over many sessions: “always check Identity and Access Management (IAM) policies before network configurations,” “use -recursive when scanning S3 buckets,” “that API returns paginated results, so loop.” Within each session the agent improves as corrections accumulate in context. But the next day every correction must be re-issued, in the same order, with the agent making the same mistakes with the same confidence.

The problem has two dimensions. First is the loss of human corrections: explicit feedback transferring domain expertise about metrics, parameters, and strategies. Second is the loss of self-generated patterns: signals from the agent’s own execution such as tool retries that eventually succeed, errors that force strategy changes, and outputs the user silently regenerates. Existing prompt-engineering practice is fundamentally lossy (most corrections never propagate to system prompts), situational (most judgments are conditional), and ignores self-generated signals entirely. What is needed is a system that captures situational judgments as they occur and surfaces the right judgment at the right moment.

*Currently at PwC. nima.vahdat@pwc.com

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Personalized, Aligned, Long-Term Memory for AI Systems.

The agent memory landscape has grown rapidly [5, 6]. Many systems emphasize facts, such as a meeting on Tuesday, a Python version, or a preference for dark mode. Other systems extend memory beyond factual recall by learning user preferences from edits [7] and reusable procedures from interaction traces [8, 9, 10]. We study how a tool-using agent can turn explicit corrections and implicit execution signals into actor-scoped guidance, determine when that guidance applies, and deliver it at the decision point where it can change behavior. Storing the correction “use QRR for enterprise revenue” is trivial; knowing when, how, and whether to apply it is the hard problem.

A separate line of work learns reusable procedures, workflows, or hints from past trajectories, scored by task success [11, 12, 13, 14]. These methods assume a reward: something outside the agent says which trajectory was better. Deployment provides no such signal. What the agent has is the session itself: an explicit human correction, or an implicit cue in its own execution, such as a tool call that fails and then succeeds on retry, or an output the user silently regenerates.

This paper makes three contributions:

  1. DC-Bench. A benchmark of 71 scenarios across 9 behavioral dimensions and two agent domains, built from real traces captured by running agents in a deterministic mocked-tool environment. Each scenario seeds corrections on one subject and tests on another, so it measures whether a correction is applied, not whether it is recalled.

  2. Forge Decision Context (forge_dc). A system that learns from human corrections and self-assessed tool-call failures without a reward signal, compiles both into scoped, actor-attributed RULE directives, and injects them at the decision points where they apply. It reaches 95% compliance on DC-Bench, against 12–15% for factual-memory systems and 34–49% for procedural-memory baselines.

  3. Empirical findings from a five-stage system progression. The progression reveals an advantage for directive-form memory, a retrieval gap between formatting and content rules, the failure of implicit signals without explicit extraction, and sensitivity to the injection channel (Section 7).

The implementation and evaluation artifacts are available at https://github.com/NimaVahdat/decision-context-memory and https://github.com/NimaVahdat/decision-context-benchmark.

References (27)