Manuscript Offprint

arXiv:2611.08779

Jacobian-Causal Memory Control for Persistent Memory in Language Model Systems

Marvin Danig

Abstract

Persistent-memory systems choose not only which records are retrieved but which prior information can alter current inference. We propose Jacobian-causal memory control (JCMC), which represents each authorized memory intervention by a predicted influence signature in a shared behavioral measurement space, selects interventions against a target effect and side-effect budget, and compares predicted with observed effects before retaining or rolling back the intervention. Under explicit smoothness and bounded-estimation assumptions, we prove a quadratic local-approximation bound, characterize the target effects reachable by a set of signatures, bound selection regret under signature error, and bound non-additive interactions between simultaneous memories. The paper reports no benchmark measurements; it defines a paired counterfactual estimator and an evaluation protocol comparing JCMC with relevance, graph, and policy-filtered retrieval baselines. The central claim is narrowed or falsified if those simpler baselines match effect targeting, side-effect control, and rollback utility under equal model, memory, policy, and cost budgets.

1 Introduction

Long-lived language model systems now maintain state across conversations and tasks. Personal and agent memory systems retain preferences, project facts, files, summaries, tool outputs, and prior decisions, allowing future inference to start from accumulated context rather than an empty prompt [10, 11, 12]. Open-weight frontier models are also increasingly optimized for agentic tool use and long-context work [14]. These trends make memory a runtime control problem: the model does not merely retrieve information; it is shaped by what the system allows to become cognitively available. The motivating case is emergent memory, in which useful context forms through repeated work, reinforcement, forgetting, and revision rather than being stored by hand [1]; the controller proposed here applies to persistent memory in general.

Retrieval-augmented generation (RAG) selects external information for generation [2]. Graph, hierarchical, and agent-memory systems broaden the retrieval substrate and representation [3, 4, 5, 6]. Mechanistic interpretability and model-editing work shows that causal interventions on model internals can localize or alter behavior [8, 9]. Influence functions trace training examples to predictions [7]. These literatures supply useful tools, but a persistent organizational memory system needs a distinct runtime question:

Which memory intervention should be permitted to affect this model now, what effect is expected, and what should happen if the effect is wrong?

This paper proposes Jacobian-causal memory control (JCMC) for persistent AI memory, named for the Jacobian-based local estimate of a memory's effect in Section 3.2. The central claim is narrow: persistent memory should be governed as a reversible, observed, lineage-bearing intervention rather than as a relevance-ranked context append. The claim is falsified or narrowed if simpler retrieval, graph-reranking, or prompt-policy baselines match the proposed controller on effect-targeting accuracy, side-effect control, and rollback utility under equal model, memory, policy, and cost budgets.

Contributions. We (i) distinguish memory relevance from memory influence (Section 2); (ii) specify influence signatures, constrained selection, paired observation, rollback, and lineage (Sections 3.2–3.4); (iii) prove four conditional properties covering local approximation, reachability, selection regret, and multi-memory interaction (Section 4); (iv) analyze implementation cost and controllability (Section 6); and (v) provide a reproducible evaluation protocol (Section 7). This architecture-and-analysis preprint reports no benchmark measurements.