arXiv:2610.31446cs.MAOct 2026

Manuscript Offprint

arXiv:2610.31446

When Is a Memory Safe Enough to Act On? Action-Conditioned Verification for Long-Lived Agents

Yiqi Wang, Yifei Wang, Jiaqi Zhang, Zhangkai Wu, Yiqun Duan, Taotao Cai, Mingkai Zheng

ABSTRACT

Long-lived agents act on memory carried across sessions, and many of their actions are irreversible, so a stale memory can turn directly into harm. Existing work improves the memory itself — retrieving, refreshing, or reconciling entries — yet whether an entry must be re-checked before acting is not a property of the entry: the same remembered address can be used unchecked for a routine shipment but should be re-confirmed before a valuable one. We therefore study action-conditioned memory verification: given a candidate action, decide which of its memory premises to re-verify and when to proceed or abstain, balancing execution risk, abstention, and verification cost. We formulate this as a sequential stopping problem, in which a verification is worth its cost only if it can change what the agent does next; under suitable verifier reliability and cost conditions, increasing action consequence can move the same memory through proceed, verify, and direct-abstention regimes. Building on this formulation, AMV-GUARD is a practical verification gate that extracts the premises a candidate action rests on, calibrates beliefs about whether they are wrong, and selects checks by bounded value of information (VOI). On ToolSandbox, relative to a static policy given the same inputs, it lowers mean verification cost by 33.9% while keeping 100% safe-proceed recall and 0% Gate harmful, and raises Proceed coverage from 38.83% to 44.17%; in a gate-core transfer to AppWorld, which carries over the stopping/VOI core but not the full structured pipeline, it lowers verification cost by 21.3% at a small cost in safe-proceed recall and task success. These results suggest that verification effort should be set by what an agent is about to do, not only by how reliable a memory appears.

1 Introduction

Agents that persist across sessions accumulate memory. Much recent work makes that memory better (Packer et al., 2023; Xu et al., 2025) — retrieving the right entries, detecting stale ones, tracking provenance, reconciling contradictions (Xu et al., 2024). All of it answers questions about the memory, which are not sufficient at the moment an agent is about to act — where recent findings locate failures. Even when updated evidence has been retrieved, the best model on a benchmark of invalidated memories reaches 55.2% accuracy (Chao et al., 2026), and agents have been observed to execute an irreversible action and only then recognise that they should have declined (Liu et al., 2026).

The same memory, different verification needs. Consider one entry: the shipping address is X, stored sixty days ago, from the user, contradicted by nothing, with a recorded confidence of 0.72. The agent is about to ship either

A PREPRINT

Figure

Figure 1: Whether a memory should be verified is not a property of the memory. The stored address, its age, source, and confidence are identical on both rows; only the action and the cost of being wrong differ, and with them the correct decision.

routine printed documents or a high-value item to X. Every memory-side signal is identical; the right behaviour is not. In the first case re-checking costs more than being wrong, so the agent should go ahead. In the second it should re-confirm first, and if the address cannot be re-confirmed it should decline rather than guess. One memory, three correct behaviours, selected entirely by the action and the cost of error (Figure 1). Whether a memory should be verified therefore cannot be determined from the memory alone.

Why existing paradigms do not settle it. Memory-centric methods detect or revise entries that have gone out of date (Chao et al., 2026); environment grounding methods re-query world-state beliefs that may have drifted (Song and Cai, 2026) or fetch context an instruction left unstated (Jiang et al., 2026); cost-aware information acquisition weighs a query against its price (Howard, 1966; Ding et al., 2026). Each contributes something we use, but the quantity that decides what to check ignores either the action or how several stored premises jointly support it. An action-independent score cannot separate the two shipments: for that score they are one instance.

The problem. We call this Action-Conditioned Memory Verification (AMV): given a candidate action a, memory graph GMG_{M}, and verification operations Q with costs and reliabilities, what policy makes executing a sufficiently safe at minimum total cost — and when should the agent decline instead? That verification demand depends on the action is the entry point, not the contribution. Weighing error probability against asymmetric loss, and paying for information, are well understood, and we build on classical VOI and Bayesian stopping rather than claim them. What AMV adds is the setting they must operate in: premises need not be independent, one verifier can cover several, verifiers differ in cost, reliability, and availability, and each result changes which check, if any, is worth doing next. A verification that cannot change what the agent ends up doing has no value, however much uncertainty it removes (Howard, 1966): AMV is a stopping problem, whose value comes from changing the decision rather than from reducing the expected loss of a fixed action (Section 2.4).

References (30)