Skip to content

Supersede: LongMemEval knowledge-update supersession gap track #105

Closed as not planned

Description

@autohub-claude

Candidate fingerprint: opportunity:automem-graph-rag-research-scout. Priority: provisional lean medium. The no-spend part (pin, integrity guard, plan builder, current/stale/other metric contract) is scaffolded offline; any score needs a reader model (and for the answer-level metric a stale-value annotation) plus an owner-approved spend cap.

All numbers below are paper-reported or recomputed from files pinned here. They are not AutoMem scores. AutoMem has not been run on this track, no upstream code was executed, and no model credits were spent (desk review: GitHub/arXiv/Hugging Face metadata, one 15 MB dataset download re-hashed locally, the paper PDF read as text).

Track Supersede ("Supersede: Diagnosing and Training the Memory-Update Gap in LLM Agents", single author Vedant Patel / Vrin, cs.CL, arXiv v1 2026-06-25, no later version listed, no venue stated, so a preprint): on the LongMemEval knowledge-update subset, replacing full context with a bounded, self-maintained notes memory costs accuracy even on a frontier model, and the failure grows with conversation length. The repo also ships an open RL environment (verifiers / prime-rl) whose reward is temporal fact-currency.

Sources (checked 2026-11-14)

Dedupe (2026-11-14)

All 37 issues and 67 PRs (all states, with issue comments) scanned for 2606.27472, Vrin-cloud, vrin.cloud, the paper title and Supersede:: no hit, no tracker. Related, deliberately not duplicated:

License and pins

Item Pin / status
Code repo Apache-2.0, verified three ways: GitHub reports apache-2.0, root LICENSE is the Apache 2.0 text (11,336 bytes, SHA-256 28bd15e0c9eb65534b38401acd278e91017a0dc9444425b5bed6847b1e72e192, git blob ca8630d81f88391514a7c2ab11a513e29e563d29), README badge and CITATION.cff agree. Pinned at main = 677993d3713c265329ac935262d3c08cbfa4cd63 (2026-06-30 08:10 UTC, "citation: add arXiv:2606.27472 identifier", root tree 1c4a7f3d8a965e8fc821bd2e9b8d878ccc77dcab). Tag v0.2.3 = e1dc7f376f0fe057329cc7b63df151e45b34943f is older than the paper. 1 star, not archived
Dataset (MIT) HF xiaowu0162/longmemeval-cleaned revision 98d7416c24c778c2fee6e6f3006e7a073259d48f (2025-09-19), ungated, card license: mit; the LongMemEval repo (xiaowu0162/LongMemEval) is MIT at 9e0b455f4ef0e2ab8f2e582289761153549043fc
longmemeval_oracle.json 15,388,478 bytes, SHA-256 821a2034d219ab45846873dd14c14f12cfe7776e73527a483f9dac095d38620c (downloaded at the revision and re-hashed here; equals the HF LFS oid)
longmemeval_s_cleaned.json 277,383,467 bytes, SHA-256 d6f21ea9d60a0d56f34a05b609c79c88a451d2ae03597821ea3d5a9678c3a442 (HF LFS metadata only, not downloaded). _m_cleaned (2.7 GB) is out of scope

Hazard: upstream's env fetches .../resolve/main/longmemeval_oracle.json unpinned, so its data can drift. We pin the revision and fail closed on the hash. Rules: commit no upstream code or data; fetch at run time into an ignored directory; write adapter code from the documented protocol rather than copying upstream bodies.

What the track measures (pinned data, verified)

longmemeval_oracle.json has 500 questions; 78 are knowledge-update, each with exactly 2 dated, chronological sessions (the earlier and later evidence sessions, no distractors; 20 to 24 turns per question, 1,830 in total). Turns carry a has_answer flag (user turns only). Per question (earlier, later) flagged turns: 68 are (1, 1), 2 are (2, 1), 2 are (0, 1), 6 are (0, 0). The six (0, 0) questions are the _abs abstention items (gold is "The information provided is not enough ..."). Two golds are JSON integers (upstream casts with str()). LongMemEval does not label the superseded value, so upstream's stale_penalty is inert on this data (its README says "gold-only"); upstream's own synthetic timelines are the only place stale rate is measured.

Paper-reported (not AutoMem), reader = bounded 300-character self-rewritten notes vs full context, n = 78 oracle, LLM judge gpt-4.1-mini (also an evaluated model; cross-checked against a programmatic matcher in the paper):

Reader Full context Bounded notes
gpt-4.1-mini 82% 63% (paired McNemar p = 0.0035)
gpt-4.1 91% 64%
gpt-5.4 (reasoning effort low) 92% 77% (p = 0.0033)

Scale study (gpt-4.1-mini, n = 25, programmatic matcher): oracle (~2 sessions) 68%, _s (~48 sessions) 28%, _s with 24x memory 28% (McNemar b = c = 4). GRPO on Qwen2.5-3B: 9.0% to 16.7% held-out oracle accuracy, a single run; the paper says so. Caveats: single author, small n, judge self-grading noise (the paper's own note).

These baselines are a different construct from AutoMem. The paper's agent keeps a fixed-size notes string and never re-reads raw sessions; AutoMem is an unbounded store read through /recall. Treat the paper rows as context, never as a comparator or a target, and never as an AutoMem number.

Mapping to AutoMem

Construct AutoMem surface
Session turns POST /memory/batch, one memory per turn, timestamp (maps to t_valid) = session time, tag supersede:<run>:<question_id>, tag_match=exact. has_answer never enters content or metadata
Revision supersedes_memory_id=<earlier evidence memory> on the later evidence memory (MCP-level: write replacement, patch the old node's t_invalid to the revision time, associate old to new). Edge type INVALIDATED_BY (correction) or EVOLVED_INTO (evolution), old to new, as in docs/benchmarks/memora-fama.md
Read GET /recall with current_only=true (drops records with t_invalid or an active lifecycle successor, including inline relation payloads), vs current_only=false for history. As-of window end = question_date (leakage guard)

Variants (each its own column, never pooled):

  • plain: write every turn with t_valid, no lifecycle fields, default recall. AutoMem's cold substrate.
  • supersede_oracle: link each later evidence memory to the earlier evidence memories, using the dataset's has_answer labels. This is an oracle write path, an upper bound for the read path (does current_only actually suppress the stale record?), not a measure of AutoMem detecting revisions. It covers 70 of 78 questions (the (1,1) and (2,1) groups); the two (0, 1) questions have no labelled earlier side and the six abstention items have no evidence labels.
  • supersede_detected (not scaffolded): the agent or consolidation decides what a new fact revises with no labels. Needs an owner decision on the detector, and must be reported separately from the oracle arm.

Scoring: current / stale / other

Per question, three exclusive classes that sum to 1:

  • current: the evidence names the current value and no stale value.
  • stale: names a superseded value and not the current one.
  • other: neither, or both. Sub-counts neither and both are always reported (both is the "stale leaked next to current" case that current_only is meant to remove).

Two levels: retrieval (deterministic, no model: are the later / earlier has_answer memories in the recalled top-k, with ranks) and answer (a reader answers from recalled memories; gold vs stale values by word-boundary match). The answer-level stale class needs stale values, which LongMemEval does not ship: either a hand-annotated sidecar for the 72 non-abstention questions, or report stale = null with reason stale_values_unlabeled. Abstention items are a separate stratum and stay out of the three rates. Report per-stratum n alongside every rate.

Cold and matured (docs/eval/maturation.md)

Every result carries both a cold and a matured figure and their delta, with maturation: <profile> recorded. Today only cold is wired (the narrative-clock /consolidate path is the open dependency in the maturation doc), so reports emit matured: not_run with the reason instead of omitting it. For this track the interesting delta is whether consolidation / invalidation passes close the plain vs supersede_oracle gap without labels. decay/forget stays off for matured; matured-full is the honesty column.

Blockers and gates

  • No spend approved. Retrieval-level scoring needs only the AutoMem server (its own embedding calls must go through scripts/benchmarks/paid_budget_proxy.py). Answer-level needs a reader: the paper's gpt-4.1-mini, gpt-4.1 and gpt-5.4 are not routable through the proxy (supported: gpt-5-mini, gpt-5.4-mini-2026-03-17, voyage-4, text-embedding-3-small; see docs/eval/paid-budget.md). Run a supported reader and publish a non-comparable column, or extend the proxy with verified prices first.
  • Owner decision: stale-value annotation (72 questions, human work) vs retrieval-level only.
  • Owner decision: supersede_detected arm design.
  • _s_cleaned stage (about 48 sessions per question) depends on the eval(protocol): execute MemDelta-controlled AutoMem baselines on LongMemEval-S and Mem2ActBench #48/feat(protocol): add MemDelta controlled baselines #49 LongMemEval-S ingest and the maturation wiring.
  • LongMemEval claims stay in automem (docs/REPO_BOUNDARY.md): anything run here is labelled experimental, never an official LongMemEval KU number.

Acceptance criteria

  • Dedupe, pin and license desk review (this issue, plus docs/eval/supersede.md).
  • Offline scaffold runners/supersede_gap/adapter.py + runners/test_supersede_adapter.py (stdlib only, no network, no model, every report not_scored): fail-closed SHA-256 and shape check of the oracle file, deterministic plain / supersede_oracle write plans with no label leakage, the current/stale/other classifiers, and a report with cold and matured slots. Scaffold PR comes from branch agent/kernel-worker/a10c9c7c.
  • Live adapter: loopback-only endpoint, isolated per-question tags, deletes only the UUIDs the run created, counts HTTP/protocol errors instead of returning empty memory.
  • Retrieval-level smoke after approval: 10 questions (first 10 of the 72 non-abstention, file order), both variants, cold; report recall rank of the later vs earlier evidence memory, current_only on and off, AutoMem commit and recall config. Wiring only; no accuracy claim at n = 10.
  • Answer-level run only with an approved cap and a routable reader; judge/matcher and reader disclosed; paper_comparable: false unless reader, judge, split and n = 78 all match.
  • not_scored whenever any question lacks a verdict: all rates null with a reason, never a zero.
  • Out of scope: RL training, the Qwen2.5-3B result, any change to automem's official benchmark flow.

Activity

  1. jack-arturo commented on Nov 18, 2026

    @jack-arturo
    Member

    Closed in the pre-launch backlog sweep. This item has no AutoMem score and no product decision waiting on it. The branch is kept, and the lead is carried in the benchmark watchlist (docs/experiments/WATCHLIST.md, added in #110).

    Comes back when: a no-reader retrieval smoke on local embeddings is approved and the live adapter is written.

    Reopening is fine at any time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions