arXiv:2610.23266cs.LGOct 2026

Manuscript Offprint

arXiv:2610.23266

Beyond Marginal Influence: Interaction-Aware Memory Selection for LLM Agents

BHVSP Subrahmanyam, Neeraj Choudhary

Abstract

LLM-agent memory selection often uses retrieval rankings based on record relevance or individual influence. Such rankings cannot identify sufficient subsets under redundant or jointly necessary evidence. We study per-decision memory sufficiency: selecting a small subset that preserves full-memory behavior. To separate search error from model error, we introduce JointCoreBench, a benchmark with nine interaction families, six workflow domains, natural-language decisions, and exact sufficient-set oracles, and JointCore, a relevance/cost-ordered group-deletion baseline that tests blocks before individual records. On 6,912 exact conditions, cost-ordered JointCore recovers a minimum-cost sufficient set in 100.0% of cases, reduces subset evaluations from 30.00 to 11.13 (62.9%), and achieves 87.8% active-memory savings. Across four 12B–70B model families and 432 tasks per model, its unweighted mean is 10.28 versus 16.00 model queries and 50.6% versus 43.1% minimum-cost recovery relative to cost-aware singleton deletion. Both methods preserve full-memory behavior under the deterministic primary interface. Tests with physical deletion, UNKNOWN masks, PENDING sentinels, counterfactual values, and alternative labels identify interface-dependent behavior. JointCore is an efficient benchmark baseline; the study does not establish deployment-ready memory compression. Code is available at https://github.com/dr-pandit-69/jointcore-neurips.

1 Introduction

Long-running LLM agents collect observations, tool outputs, constraints, and decisions. Their memory cannot grow without limit. LongMemEval and MemoryAgentBench test retrieval, cross-session updates, and selective forgetting [Wu et al., 2025, Hu et al., 2026]. The benchmarks show agents remain unreliable on these tasks. Existing methods often retrieve, rank, or evaluate records one at a time.

Decisions can depend on several records. Suppose two independent authorization channels can each permit an action. Removing one leaves the decision unchanged because the other remains. Other rules may require two approvals, so neither record is useful alone. Single-record checks can miss the first pattern because neither channel appears necessary when removed alone, and they can miss the second when records are scored without their partners. We instead seek a subset that preserves the full-memory decision. We call this behavioral sufficiency. When the task rule is known, logical

Accepted @ Personalized, aligned, long-term memory for AI systems Workshop, NeurIPS 2026 sufficiency asks whether the subset contains required evidence. The minimum-cost sufficient set has the lowest registered cost.

Sufficient input subsets and removal-based explanations ask whether an output survives input removal [Covert et al., 2021, Carter et al., 2019]. In agent memory, Causal Memory Intervention measures individual-record effects, DeMem compresses memory around a decision, and MemAudit combines counterfactual influence with structural signals [Srivastava, 2026, Zou et al., 2026, Tan et al., 2026]. These studies address related questions, but existing evaluations do not supply controlled interactions with exact sufficient and minimum-cost sets. Without that ground truth, we cannot separate search errors from errors made by the model judging a subset.

Exhaustive search can give an exact answer, but the number of subsets grows exponentially. Each model-mediated check also requires a model query. We introduce JointCore to reduce this cost. It tests a block of records at once. If the block can be removed without changing the decision, JointCore deletes it and skips its smaller groups. If the decision changes, JointCore splits the block and continues. It orders records by relevance and registered cost. The search adapts delta debugging and its use in LLM-integrated systems [Zeller and Hildebrandt, 2002, Zhu et al., 2026] to typed memory and decision preservation.

Real agent histories do not reveal which subset is sufficient. Two different subsets can produce the same observed decision, so the decision alone is not enough to evaluate a search method. JointCoreBench provides a reference answer for each controlled case. It combines natural-language workflows with redundancy, conjunction, and other interactions. Its evaluator enumerates every sufficient subset and identifies the minimum-cost solutions. These answers come from task logic, not model behavior. Each selection method is compared with this common target. We then measure behavioral and logical sufficiency, active-memory cost, and selection cost, and separate search errors from incorrect model judgments.

We first use the exact evaluator, then repeat the selection process with Qwen, Gemma, Mistral and Llama as the decision models. Llama is the largest-capacity stress test in this cohort. The task format and search procedure remain fixed. We also vary the representation of omitted records and decision labels. These tests examine whether the conclusions depend on the memory or label interface.

The paper makes three contributions:

  1. JointCoreBench, an exact benchmark for behavioral and logical memory sufficiency, controlled interactions, minimum cost, active-memory cost, and selection cost;

  2. JointCore, a relevance and cost-ordered group-deletion baseline for finding jointly sufficient memory with fewer selection queries; and

  3. a two-stage evaluation with exact oracles and several model families, together with tests of memory representations and decision labels.