Skip to main content
GW
HomeWorkAI appsPapersAboutNotesStackLabPilotPlan↗ (opens in a new tab)INVST↗ (opens in a new tab)
Govind Waghmare

Finance systems and AI. Building in public from NYC.

Resume (PDF)Book 20 minEmail
HomeNotesWorkAboutStackPapersLabFor founders
XLinkedInGitHubllms.txt
© 2026 · New York City

Keyboard shortcuts

?
Open this list
g then h
Go to Home
g then w
Go to Work
g then n
Go to Notes
g then a
Go to About
c
Ask the AI guide
Esc
Close this list
Original paperSection A, The abstract
Open in new tab (opens in a new tab)
All papers
AI agents and tools

A memory that keeps full records and indexes them

Paper: MIRIX-2.0: Multi-Agent Memory System

Wei-Chieh Huang, Weizhi Zhang, Jiayan Nan, Peng Xia, Yu Wang · arXiv preprint (cs.CL), MIRIX AI · Posted 9 Nov 2026 · 18 min read · arXiv 2611.12068

Share this paper

LinkedIn (opens in a new tab)X (opens in a new tab)WhatsApp (opens in a new tab)EmailDownload PDFExplainer (PDF), 1.3 MB

  • AI agents need long-term memory to personalize and reuse what worked.
  • Memory must be accurate, practical and efficient at once.
  • Compact memories lose details.
  • Full stores get slow to search.
  • Memory that needs training cannot use closed models.
72.6%

accuracy on LongMemEval-S. The best other system is 14.3 points behind.

  • The authors built MIRIX-2.0, a multi-agent memory system.
  • They tested chat memory, document questions and personalized text.
  • They also tested agent skills on ALFWorld, WebShop and MetaClaw-Bench.
  • They timed ingestion, answers and token use.

  • It had the top accuracy on four of five question benchmarks.
  • It scored 91.4% on LoCoMo, with the graph and AutoDream each adding gains.
  • Its skills had the top mean success on ALFWorld and WebShop.
  • It answered faster than HyperMem, but ingestion of long documents was slower.

MIRIX-2.0 leads LongMemEval-S by a wide marginFrom Table 7
0255075100Accuracy on 300 LongMemEval-S questionsmem056.3%A-Mem45.0%MemoryBank39.7%Graphiti23.0%HyperMem58.3%MIRIX-1.0 (flat, M0)58.8%MIRIX-2.0 (graph, M1)70.0%MIRIX-2.0 (graph + dream, M2)72.6%

Hover, tap or focus a bar to read its exact value.

SystemAccuracy (%)
mem056.3
A-Mem45.0
MemoryBank39.7
Graphiti23.0
HyperMem58.3
MIRIX-1.0 (flat, M0)58.8
MIRIX-2.0 (graph, M1)70.0
MIRIX-2.0 (graph + dream, M2)72.6

  • User-memory results come from single runs, partly scored by an LLM judge.
  • The ablations add parts in groups, so the reasons are interpretations.
  • Graph building makes document ingestion 3.8 to 4.0 times slower.
  • The full system with AutoDream is not timed.

Jump to

  1. A The abstract
  2. 1 Introduction
  3. 1 Figures 2 and 3: two worked examples
  4. 2 Methodology overview
  5. 2.1 Problem setup
  6. 2.2 Typed evidence plane
  7. 2.3 A provenance-preserving n-ary hypergraph
  8. 2.4 Graph-owned evidence retrieval
  9. 2.5 AutoDream: consolidation outside the write path
  10. 3 The experiments
  11. 3.1 Experimental setup and system variants
  12. 3.2 User memory: recall, documents and personalization
  13. 3.3 Agent memory: held-out tasks and skills
  14. 3.4 Efficiency: ingestion time, answer latency and tokens
  15. 3.5 What the experiments establish
  16. 4 Related work
  17. 5 Conclusion, limitations and ethics
  18. A.1 Appendix A.1: Memory types, routing and writing
  19. A.2 Appendix A.2: Anchors, canonicalization and frames
  20. A.3 Appendix A.3: Retrieval budgets, lanes, scores and fusion
  21. A.4 Appendix A.4: Answer-time verification
  22. A.5 Appendix A.5: AutoDream schedule, candidates and refinement
  23. A.6 Appendix A.6: Invariants, learned decisions and complexity
  24. A.7 Appendix A.7: Implementation and an example hypergraph
  25. B.1 Appendix B.1: Additional user-memory results
  26. B.2 Appendix B.2: Additional agent-memory results
  27. B.3 Appendix B.3: Costs
  28. W Words to know

Every detail from the paper

Cards follow the paper's own order. Dotted words link to Words to know. Numbers match the paper.

The problem

  • Long-term memory lets LLM agents personalize, stay consistent and reuse what worked.
  • Parametric memories need training.
  • Consolidation can lose details for good.
  • Keeping every record leaves a growing store to search.

The design

  • MIRIX-2.0 is a multi-agent memory system built to be practical, accurate and efficient.
  • Six typed memory agents keep complete records as the system of record.
  • A provenance hypergraph indexes episodic and semantic records with n-ary frames that cite their rows.
  • Retrieval runs under explicit budgets, so inspected evidence does not grow with history.
  • AutoDream merges duplicate anchors outside the write path and rewrites no record.
  • It also distills task sessions into skills.

Results

  • It is the most accurate of the compared systems on four of five QA benchmarks.
  • It reaches 91.4% on LoCoMo and 72.6% on LongMemEval-S, 14.3 points above the strongest baseline.
  • With AutoDream off.
  • It gains 31.0 and 22.0 points over HyperMem on single-hop and multi-hop document QA.
  • As procedural memory it has the highest mean success on ALFWorld and WebShop.
  • It reaches 49.2% on MetaClaw-Bench, against 44.0% for MetaClaw's skill library.

Practical points

  • With AutoDream off, it answers faster than HyperMem on all five timed benchmarks.
  • It needs no fine-tuning and runs with closed and open models.
  • The code is public.
  • Website: mirix.io.

Why memory

  • LLM agents now work over horizons far longer than one context window.
  • A personal agent gathers months of chat.
  • A task agent meets similar problems in many episodes.
  • Memory lets them carry information across sessions.
  • It helps them personalize, stay consistent, and reuse what worked.
  • Benchmarks now test long chats, long documents, multi-session tasks and lifelong personalization.

Three needs

  • A team that deploys memory needs three things at once.
  • Accurate: it must keep names, dates, counts and the links between events.
  • Practical: it works with models the team has, needs no training, and is traceable.
  • Consolidation must not destroy stored records.
  • Efficient: latency and token cost stay bounded as history grows.

What others give up

  • Each family of systems gives up at least one need.
  • Fact-extracting systems are compact but lose details for good.
  • Systems that keep every record lose nothing but get slow on a large noisy history.
  • Graph memories use binary triples, which split an n-ary fact into pieces.
  • Hypergraph memories reach details only after retrieving topic summaries.
  • File-system memories, like Claude Code's auto memory, reach details through one-line summaries.
  • Parametric memories need training and rule out closed models.

Two uses

  • The two uses weigh needs differently.
  • User-centric memory personalizes an agent.
  • It must record history broadly and connect pieces.
  • Agent-centric memory collects the agent's own experience.
  • It must be precise and refined.
  • Retrieving too much can pull attention from the context that matters.
  • A practical system should serve both uses from one store.
  • Figures 2 and 3 trace one example of each.

The idea

  • MIRIX-2.0 keeps the multi-agent design of MIRIX and rethinks storage, indexing, retrieval and consolidation.
  • Six memory agents write complete records to a typed evidence plane.
  • A Meta Memory Manager routes the input to them.
  • The plane lives in a vector database.
  • It is the system of record.
  • Every graph fact the answer receives cites the rows it came from.
  • The graph is only an index.
  • The database write commits first.
  • A failed graph write never rolls back a memory.
  • A failed graph read falls back to direct retrieval.

The graph

  • A provenance hypergraph indexes entities, events, relations, roles and times.
  • N-ary frames cite the rows they came from and hold dates.
  • Prices and counts as literals.
  • Undated events with similar wording keep distinct identities.
  • A deterministic planner sets explicit budgets and retrieval enters at anchors that match the question.
  • The answer gets graph facts plus the records they cite.
  • So the evidence a question inspects is bounded by construction.

AutoDream, semantic

  • AutoDream consolidates memory outside the write path, in opposite ways for two kinds of memory.
  • Semantic: it merges identities and never rewrites evidence.
  • It pairs each new anchor with its nearest anchors of the same stable type.
  • A language model says whether a pair names one entity.
  • A confirmed merge unites citations and rewires frames.
  • Event anchors, fact frames and records stay unchanged.
  • Cost depends on newly written frontier, pair caps apply, and negative decisions are cached.

AutoDream, procedural

  • Procedural: it refines instead.
  • It judges each finished task session from quotes in the transcript.
  • It distills lessons to reuse and mistakes to avoid.
  • A curator creates or edits skills, and edits can cite the experiences behind them.

Headline results

  • On LoCoMo the hypergraph lifts accuracy over flat memory from 85.7% to 88.4%.
  • AutoDream raises every question type and lifts the overall score to 91.4%.
  • On LongMemEval-S the hypergraph alone adds 11.2 points.
  • On document QA with AutoDream off, it answers 83.0% and 71.0%.
  • This is 31.0 and 22.0 points above the strongest baseline.
  • On MemoryCD it has the highest value on all four metrics for cross-domain review summarization.

Agent results

  • As procedural memory on ALFWorld it reaches 76.4% with GPT-6 Luna.
  • AWM gets 73.6% and no memory gets 69.4%.
  • On WebShop it reaches 37.4%.
  • With GPT-5.2 it reaches 49.2% on MetaClaw-Bench, against 44.0% for MetaClaw skills.

Cost

  • With AutoDream off, it answers faster than HyperMem on all five timed benchmarks.
  • It ingests the two chat benchmarks faster.
  • Uses fewer answer tokens on four of five.
  • On WebShop it uses the fewest training and test tokens among memory methods.
  • The cost: building the graph makes long-document ingestion about four times slower than flat memory.
  • The full system with AutoDream is not timed.
  • The retrieval bounds cover inspected evidence, not latency as history grows.
The three contributions
  • 1. Accurate and practical. Six typed agents keep complete records.
  • An n-ary hypergraph only indexes them.
  • Occurrence identities keep distinct events apart.
  • Fail-soft indexing never rolls back a memory.
  • 2. One memory for users and agents.
  • The authors say it is the first to serve both from one store.
  • 3. Efficient and safe to consolidate. Graph retrieval runs under budgets.
  • Returns facts with their records.
  • AutoDream merges anchors without touching stored memories.
  • This adds 3.0 points on LoCoMo.
  • It also distills task sessions into skills.
How the paper is laid out
  • Section 2 presents the method.
  • Section 3 gives the tests.
  • Section 4 covers related work.
  • Section 5 concludes and lists limits.
  • Section A has method details.
  • Section B has full results.

User-centric memory

  • Figure 2 is a user-centric example.
  • Sessions on May 2 and May 9 say Mia got a Suica card.
  • Is nervous about the subway.
  • Both turns go to the episodic and semantic writers.
  • In a new session on May 30 she asks how to get around Tokyo.
  • The planner picks the single operator with a budget of 6 base rows.
  • 4 cited rows.
  • It returns three facts with five rows.
  • The answer builds on what Mia already has.

With and without memory

  • Without memory the answer ignores her subway worry.
  • With memory it says she already has Suica and TripIt and keeps routes in TripIt.
  • The verifier finds all terms in the evidence, so there is no retry.
  • The new session is written back as an episodic record.

Agent-centric memory

  • Figure 3 is an agent-centric example on WebShop.
  • On May 12, task 1 ends with the agent buying the default gray bottle.
  • AutoDream's distiller judges that outcome from a quote.
  • Makes an avoid lesson and a reuse lesson.
  • The curator edits the shopping routine to version 2 with a set-color-and-size step.
  • A verify step.
  • Each edit cites its experience.

The second task

  • In task 2 on May 20 the agent follows routine v2.
  • It sets color blue and size 32 oz before buying and meets every constraint.
  • Without memory it clicks Buy Now on the default gray again.
  • AutoDream also merges steel bottle into stainless steel bottle as one entity.
  • The source memories stay unchanged.

The goals

  • MIRIX-2.0 must run with models a team already uses and leave stored records intact.
  • It must keep a name, date, count or event split recoverable after writing and consolidation.
  • It must answer from a bounded evidence set however long the history grows.

Two layers

  • It separates storage from indexing (Figure 1).
  • A typed evidence plane stores complete memories.
  • It is the system of record.
  • A provenance hypergraph indexes entities, events, relations, roles and times.
  • Every graph fact cites the records it came from.

Three paths

  • Three paths run on the two layers (Algorithm 1).
  • The write path stores a memory, then indexes it.
  • The read path plans a query, walks the graph.
  • Fetches only the records it picks.
  • AutoDream runs outside both paths.
  • On semantic memory it merges duplicate anchors and leaves evidence unchanged.
  • On procedural memory it distills task sessions into skills that cite their experiences.
  • So semantic consolidation changes how evidence is connected, never what evidence exists.
  • Section A.6 lists properties that hold whatever the models do.

The setup

  • For a user u the system sees a stream of chat or multimodal inputs.
  • When it writes an input, future queries are unknown.
  • So the writer must produce a persistent state (Equation 1).
  • The state is the evidence store plus the graph.
  • The store holds the episodic, semantic and procedural stores, among others.
  • A later query must be answered with a bounded evidence set.

Three requirements

  • Source fidelity. Concrete evidence stays recoverable after writing and consolidation.
  • Bounded access. A query reads a small graph neighborhood.
  • A bounded set of cited rows.
  • Temporal identity. Repeated descriptions of one event may share evidence.
  • But distinct occurrences must not merge just because the words match.

How they map

  • Source fidelity and temporal identity make the system accurate and its answers traceable.
  • Bounded access keeps it efficient.

The write pathFrom Section 2.2 and 2.3, Algorithm 1
  1. Input goes to Meta Memory Manager
  2. LLMTyped writers make full records
  3. Commit records to vector database
  4. LLMExtract anchors and n-ary frames
  5. Upsert graph; failures never roll back

Only episodic and semantic records are indexed by the graph.

Multi-agent routing

  • A Meta Memory Manager routes each input to the memory types it updates.
  • There are six types: Core, Episodic, Semantic, Procedural, Resource and Knowledge Vault.
  • Each type has its own writer, which owns the schema and update operations.
  • Only episodic and semantic records are indexed by the hypergraph.
  • Section A.1 explains the split.

Evidence records

  • Each indexed record has a row id, a type.
  • The stored text, an event time and a mention time.
  • It also has source and chunk provenance and search embeddings (Equation 2).
  • The row id never changes.
  • Full summaries and details stay in the vector database.
  • The graph holds only identifiers and compact structure.

Write order

  • Writers keep names, counts and dates in each record.
  • A record commits to the vector database before graph construction starts.
  • So a failed graph write never rolls back a stored memory.

The structure

  • Per user, the system keeps a hypergraph of anchors.
  • Fact frames and role-typed edges (Equation 3).
  • Section A.7 shows the graph for one LoCoMo conversation.

Anchors

  • An anchor is an entity or concept with a canonical name.
  • A type and a name embedding.
  • It also lists the episodic and semantic rows that mention it (Equation 4).
  • A deterministic key normalizes case, punctuation, function words, word order and plurals, but keeps numbers.
  • A deterministic gate rejects generic filing terms and dialogue-role pseudo-entities.
  • It also caps the anchors admitted from one record (Section A.2).

Registry-guided canonicalization

  • Surface rules cannot tell if two close names are one entity.
  • For each extracted entity.
  • A nearest-neighbor search finds a few existing anchors above a similarity threshold.
  • One language-model call per record makes a cautious same-entity decision.
  • A rename is accepted only if it picks a retrieved candidate.
  • So embeddings propose comparisons but never approve a merge alone.

N-ary frames

  • An extractor makes frames for each record (Equation 5).
  • A frame has a canonical predicate and roles with anchors.
  • It has literal attributes, event and mention times, and the ids of cited records.
  • A flight becomes one frame with agent, origin, destination.
  • Carrier and companion arms, not many triples.
  • Dates, prices, counts, durations and measurements stay as literals on the frame.

Frame rules

  • A frame is built only if its arguments resolve to at least two distinct anchors.
  • If a deterministic audit finds missed high-signal details.
  • One repair call may add frames the source supports.
  • It cannot remove anything the first extraction made.
  • Section A.2 describes the audit.

Occurrence identity

  • Semantic claims and episodic occurrences follow different identity rules.
  • A semantic frame id comes from the user.
  • The predicate and the sorted role and anchor keys (Equation 6).
  • So repeated support for one durable claim adds citations to one node.
  • An episodic frame adds an occurrence key (Equations 7 and 8).
  • The key is the explicit event time if there is one.
  • Else the immutable memory id.

What this gives

  • Two mentions of one dated event share one frame.
  • Two undated events with similar wording, like runs on different days, stay apart.
  • A frame keeps event time apart from mention time.
  • Whether an event is planned or done does not change its identity.

The read pathFrom Section 2.4, Algorithm 1 lines 12 to 19
  1. CodePlanner sets operator and budgets
  2. Enter graph at matching anchors
  3. Two lanes expand to rows
  4. Fuse cited rows and base rows
  5. RulesCheck answer; one retry

Only identifiers chosen by the graph are fetched from the vector database.

The principle

  • Retrieval builds a bounded evidence set rather than open similarity search.
  • Episodic and semantic candidates must enter through the graph.
  • The vector database only fetches and reranks identifiers the graph picks.
  • This stops a hidden full-table search from doing the graph's work.
  • Only a graph read that raises an error falls back to direct retrieval.

Query plan

  • A deterministic planner maps a query to a plan (Equation 9).
  • The operator is single, temporal, intersection, list-union or count.
  • The plan also lists relation families, constraints, answer types and time limits.
  • Two budgets cap base-recall rows and relation-cited rows.
  • The budgets grow with the operator.
  • From 6 base rows and 4 cited rows for single to 8.
  • 12 for count.
  • Table 6 in Section A.3 lists all five.

Anchor entry

  • The query embedding first recalls fifteen anchors by name.
  • A relation query adds the anchors the question names exactly.
  • Anchors are scored by vector score, exact mention.
  • Token overlap, predicate fit and specificity (Equation 10).
  • A log degree penalty suppresses generic hubs.
  • The top fifteen anchors are kept.

Two evidence lanes

  • The anchors open two bounded lanes.
  • Base recall: anchors give their episodic and semantic ids.
  • Walking a frame adds its cited memories and a few from its co-participants.
  • Relation citation: this opens when the plan has a relation.
  • Named anchors seed an indexed lookup over their frames.
  • Predicate filters apply before a cap of 240 frames.
  • At most the cited-row budget of facts are shown as graph facts with exact citations.

Fact scoring

  • Each frame gets an additive score (Equation 11).
  • Terms cover relation, named entity, literal, answer type and time fit.
  • They also cover a shared object for intersections and the number of arguments.
  • A role term rewards matching argument direction and penalizes clashing roles.
  • A state term rewards a matching event time and penalizes planned events in count.
  • List-union and temporal questions.

Citation-balanced fusion

  • Fusion takes up to the cited-row budget of cited rows first.
  • Then it takes up to the base-row budget of base rows.
  • It fills spare room from either lane with no repeated ids.
  • So the answer has graph facts and the rows that justify them.

Answer-time verification

  • The answering agent may call the retriever up to five times.
  • A rule check asks for one more search.
  • One rewrite when the draft shows doubt.
  • It also fires if a needed value is missing.
  • It fires if the draft clashes with the evidence ledger.
  • Example: a count with no number, or a month not in the evidence or question.
  • It fires on every intersection question.
  • The check runs in the answering agent and never sees a reference answer.

Two modes

  • AutoDream runs outside the critical write path.
  • On semantic memory it is an explicit service call that never schedules itself.
  • It refines identities and returns the evidence store unchanged (Equation 12).
  • On procedural memory it starts in the background once five task sessions are pending.

Semantic frontier

  • Each call gets the exact source-chunk ids of the batch just written.
  • They resolve to new semantic rows, which form a small frontier.
  • So cost depends on new activity, not on total memory size.
  • Only anchors backed by semantic rows and of a stable type are eligible.
  • Stable types are person, organization, location, object and concept.

Candidate generation

  • For each eligible new anchor, take its four nearest name entries, counting itself.
  • Form candidate pairs where cosine similarity is at least 0.86 and types match (Equation 13).
  • Episodic-only anchors are excluded.
  • An LLM decides if a pair is one entity.
  • Picks one of the two existing names.
  • Its output is limited to the pair, and invented names are rejected.

Bounded schedule

  • Each Dream round checks at most a fixed number of unseen pairs.
  • The final round also covers eligible anchors no earlier round used as a source.
  • Negative decisions are cached so later cycles skip the same pair.
  • Section A.5 gives the caps and cache key.

Lossless structural merge

  • For a confirmed merge, the system unions the row ids.
  • Keeps aliases and sums mention counts.
  • It keeps the maximum admission score and rewires every frame arm to the kept anchor.
  • Union, sum and maximum are commutative and associative, so merge order does not matter.
  • The dropped anchor goes only after its values and edges move.

What it leaves alone

  • Semantic Dream never rewrites memories in the vector database.
  • It does not consolidate episodic-only anchors or fact nodes.
  • This is deliberate.
  • Identity can be refined step by step, while event occurrences stay as observations.
  • So the graph is less fragmented, with no summary text whose embedding could hide details.

Procedural refinement

  • For procedural memory, a distiller judges each pending session from quotes in its transcript.
  • It distills experiences marked as lessons to reuse or mistakes to avoid.
  • A curator turns them into skills and can create, edit or delete a skill.
  • An edit can cite its experiences with a quote.
  • The citation is kept only if the quote checks out.
  • So a skill step can be traced to the quoted sessions.
  • Section A.5 covers the unclear verdict and the curator's non-edit verdicts.

Plan

  • Accuracy is tested for user memory on chat recall, document QA and personalized generation.
  • It is tested for agent memory on held-out interactive tasks and on MetaClaw-Bench.
  • This spans 30 days.
  • Efficiency is ingestion time, answer latency and answer tokens.
  • With AutoDream off in every timed run.
  • For agents it is training and test tokens.
  • Practicality is built into the protocol.
  • One system serves both uses, no model is fine-tuned.
  • Agent tests cover closed and open backbones.

Variants

  • Unless noted, MIRIX-2.0 means the full design with hypergraph and AutoDream.
  • M0 is flat vector memory with no graph or AutoDream, like MIRIX-1.0.
  • M1 adds graph indexing and retrieval but turns AutoDream off.
  • M2 is the full graph plus AutoDream.
  • M1 and M2 are configurations, not successive releases.
  • In M2, semantic AutoDream runs after every five chunks and after the final chunk.

Which variant where

  • Document QA results and graph efficiency tests use M1, with AutoDream off by choice.
  • MemoryCD is reported under the system name and does not identify M0, M1 or M2.
  • So it is not used to estimate AutoDream's contribution.
  • For agent memory, the tests cover procedural refinement.
  • Whose retrieval does not use the semantic hypergraph.

Tasks and baselines

  • LoCoMo and LongMemEval-S test chat recall.
  • SHDocQA, MHDocQA and DetectiveQA come from MemoryAgentBench and test facts and relations in documents.
  • MemoryCD tests personalized review summarization and generation.
  • Baselines are mem0, A-Mem, MemoryBank, Graphiti and HyperMem for QA.
  • For personalization they add long-context and RAG baselines.

Models and scoring

  • For user memory, the answerer and extractor use gpt-4.1-mini at temperature 0 and seed 42.
  • The topic extractor uses gpt-4.1-nano.
  • Embeddings are text-embedding-3-small.
  • SHDocQA and MHDocQA use substring matching.
  • DetectiveQA uses letter exact matching.
  • LoCoMo and LongMemEval-S use a gpt-4o-mini judge with majority-of-3 voting.
  • MemoryCD uses ROUGE-1, ROUGE-L, BLEU-4 and BERTScore-F1.
  • Differences are in percentage points.

Efficiency and uncertainty

  • They report total ingestion time, mean time to retrieve and answer.
  • Total answer tokens, and graph size.
  • Graph size measures index structure, not text length or storage.
  • For agents they report success, steps.
  • Training and test tokens, as mean and deviation over three runs.
  • For LoCoMo, M0, M1 and M2 are separate configurations, not repeats for variance.

The graph and AutoDream each add accuracy on chat recallFrom Figure 4
M0 flatM1 + graphM2 + AutoDream
0255075100Accuracy (%)LoCoMo (all)85.7%88.4%91.4%LoCoMo single-hop88.3%91.1%94.1%LongMemEval-S58.8%70.0%72.6%

Hover, tap or focus a bar to read its exact value.

TestM0 flat (%)M1 + graph (%)M2 + AutoDream (%)
LoCoMo (all)85.788.491.4
LoCoMo single-hop88.391.194.1
LongMemEval-S58.870.072.6
  • The chart shows three of the six groups in Figure 4.
  • The other LoCoMo types, multi-hop, temporal and open-domain, are in Table 1 below.

Chat recall

  • On LoCoMo, graph retrieval raises accuracy from 85.7% (M0) to 88.4% (M1).
  • Semantic AutoDream raises it to 91.4% (M2).
  • On LongMemEval-S the values are 58.8%, 70.0% and 72.6%.
  • The graph adds 2.7 points on LoCoMo and 11.2 on LongMemEval-S.
  • AutoDream adds 3.0 and 2.6 points.
  • The bigger graph gain on LongMemEval-S suggests evidence order matters more when flat retrieval struggles.
  • No question-type split is available for it.

Temporal recall

  • M0 to M1 lifts multi-hop accuracy by 5.7 points and temporal by 1.0.
  • M1 to M2 lifts every category, including 3.4 points on temporal.
  • This fits the design: n-ary frames link evidence.
  • Identity merges give a more coherent entry point.
  • Since AutoDream keeps fact nodes and episodic occurrences.
  • Temporal evidence is easier to reach without merging events.
  • This is an interpretation.
  • A direct audit of retrieved records would be needed.
MethodOverallMulti-hop / TemporalOpen / Single-hop
mem082.980.5 / 80.466.7 / 86.6
A-Mem68.368.8 / 55.561.5 / 73.8
MemoryBank59.570.9 / 14.652.1 / 73.6
Graphiti58.465.2 / 37.153.1 / 64.9
HyperMem91.091.1 / 84.476.0 / 95.2
MIRIX-1.0 (M0)85.783.3 / 85.070.8 / 88.3
MIRIX-2.0 (M1, graph)88.489.0 / 86.071.9 / 91.1
MIRIX-2.0 (M2, graph + dream)91.491.8 / 89.474.0 / 94.1

Table 1: LoCoMo accuracy (%) on 1,540 non-adversarial questions

Open means open-domain questions.

Against baselines

  • M2 beats HyperMem by 0.4 points overall on LoCoMo.
  • By 14.3 on LongMemEval-S (Figure 5).
  • Its LoCoMo edge sits in temporal and multi-hop questions.
  • With gains of 5.0 and 0.7 points.
  • HyperMem keeps higher open-domain and single-hop scores.
  • So the evidence says stronger recovery of connected.
  • Time-grounded facts, not a win on every recall type.
  • HyperMem's 91.0% is from the authors' own run.
  • It reports 92.7%.
MethodSHDocMHDocDetective
mem048.022.053.5
A-Mem14.020.062.0
MemoryBank34.028.067.6
Graphiti50.043.054.9
HyperMem52.049.066.2
MIRIX-2.0 (M1)83.071.064.8

Table 8: document QA accuracy (%), MIRIX-2.0 uses M1

Documents

  • M1 gets 83.0% on SHDocQA and 71.0% on MHDocQA, 31.0 and 22.0 points above HyperMem.
  • This fits a design that keeps source details and relational structure.
  • Single-hop needs the precise fact.
  • Multi-hop also needs links between records.
  • The test measures the whole pipeline, not each feature alone.
  • DetectiveQA is a limit: M1 gets 64.8%, below MemoryBank at 67.6% and HyperMem at 66.2%.
  • Without an error analysis, missed evidence cannot be told from failed reasoning.
  • The document runs use M1 only, so they show no AutoDream benefit.
MethodCross-domainSingle-domain
Long-context.1493 / .1357 / .0162 / .8745.1675 / .1570 / .0249 / .8779
RAG.1559 / .1430 / .0145 / .8735.1670 / .1523 / .0196 / .8759
mem0.1526 / .1420 / .0159 / .8749.1593 / .1472 / .0184 / .8767
A-Mem.1567 / .1428 / .0160 / .8746.1602 / .1521 / .0184 / .8764
MemoryBank.1409 / .1291 / .0131 / .8736.1584 / .1449 / .0188 / .8760
Graphiti.1534 / .1415 / .0139 / .8741.1520 / .1418 / .0172 / .8746
MIRIX-2.0.1603 / .1510 / .0209 / .8754.1715 / .1617 / .0234 / .8779

Table 2: review summarization on MemoryCD (100 Home_and_Kitchen users): R-1 / R-L / B-4 / BERT

Cross-domain memory comes from other product domains.

Personalization

  • For cross-domain summarization, MIRIX-2.0 has the highest value on all four metrics.
  • Its ROUGE-L is .1510 against .1430 for the best other.
  • Its BLEU-4 is .0209 against .0162.
  • In the single-domain setting it leads on ROUGE-1 and ROUGE-L and ties the top BERTScore.
  • Long-context input has higher BLEU-4 there.
  • Review generation (Table 9) shows its highest scores in both settings, though margins are small.
  • The tests do not measure factual consistency, preference match or user approval.
  • They do not support a graph or AutoDream claim for MemoryCD.

Setup

  • Procedural memory is tested on ALFWorld and WebShop.
  • The compared methods are no memory, ReasoningBank, AWM and MIRIX-2.0.
  • They share the actor prompt and backbone within each comparison.
  • ALFWorld uses GPT-6 Luna and GPT-5.6 Luna.
  • WebShop uses GPT-6 Luna.
  • Each method learns from the same training tasks: 39 for ALFWorld and 40 for WebShop.
  • Memory is frozen and tested on 134 held-out ALFWorld episodes (50-step cap).
  • 140 WebShop instructions (15-step cap).
  • Results average three runs.

What is tested

  • This uses the procedural branch of AutoDream.
  • Procedural refinement changes the instructions the actor sees.
  • The tests do not ablate the outcome judge.
  • The distiller or the curator on their own.
MIRIX-2.0 has the top mean success on ALFWorld and WebShopFrom Figure 6
No memoryReasoningBankAWMMIRIX-2.0
0255075100Success rate (%), mean over three runsALFWorld, GPT-6 Luna69.4%66.9%73.6%76.4%WebShop, GPT-6 Luna31.9%25.7%36.0%37.4%

Hover, tap or focus a bar to read its exact value.

TestNo memory (%)ReasoningBank (%)AWM (%)MIRIX-2.0 (%)
ALFWorld, GPT-6 Luna69.466.973.676.4
WebShop, GPT-6 Luna31.925.736.037.4
  • The chart omits ALFWorld with GPT-5.6 Luna.
  • Its values are in the text and in Table 10.

ALFWorld

  • On ALFWorld with GPT-6 Luna, MIRIX-2.0 reaches 76.4%.
  • No memory gets 69.4% and AWM gets 73.6%.
  • With GPT-5.6 Luna it reaches 61.7% against 54.2% and 58.0%.
  • Gains over no memory are 7.0.
  • 7.5 points but not uniform across task types (Figure 7).
  • With GPT-6 Luna, Clean goes from 60.2% to 74.2% and Heat from 47.8% to 73.9%.
  • Pick, Look and Pick Two stay below no-memory scores.
  • So procedures help most when they supply missing action structure.
  • A retrieved routine can get in the way.

Steps and spread

  • Successful episodes need 13.2 steps rather than 14.2 with GPT-6 Luna.
  • They need 12.4 rather than 16.1 with GPT-5.6 Luna.
  • That fits more direct action, but the successful subsets differ across methods.
  • The standard deviations for MIRIX-2.0 are large: 6.2 and 14.0 points.
  • Three runs do not show a stable edge over AWM.

WebShop

  • On WebShop, MIRIX-2.0 gets 37.4%, against 31.9% with no memory.
  • 25.7% with ReasoningBank and 36.0% with AWM.
  • ReasoningBank falls below no memory on both interactive benchmarks with GPT-6 Luna.
  • So adding experience memory does not always help the actor.
  • MIRIX-2.0 leads on Fashion and Beauty, ties AWM on Garden and Grocery.
  • Trails on Electronics.
  • It uses 8.2 steps per episode and 6.3 per successful episode.
  • Against 7.9 and 6.2 with no memory.
  • The category results do not show which skills caused the differences.
ModelSkill moduleAccuracy (%)Completion (%)
GPT-5.2Baseline41.114.7
GPT-5.2MetaClaw Skills44.017.1
GPT-5.2MIRIX-2.049.227.7
Qwen3.6-35B-A3BBaseline40.312.1
Qwen3.6-35B-A3BMetaClaw Skills51.830.8
Qwen3.6-35B-A3BMIRIX-2.052.730.8

Table 3: agent memory on MetaClaw-Bench Part I (346 questions)

MetaClaw-Bench

  • MetaClaw-Bench Part I spans 30 days.
  • Accuracy is the official mean per-question score.
  • Completion is the file-check completion score.
  • With GPT-5.2, accuracy goes from 44.0% to 49.2% and completion from 17.1% to 27.7%.
  • The completion gain is 10.6 points, so skills help make the needed files too.
  • With Qwen3.6-35B-A3B the gain is smaller: 51.8% to 52.7%, and completion is tied at 30.8%.
  • So the benefit depends on the backbone and the metric.
  • The GPT-5.2 baselines are values reported by MetaClaw.
  • So this is not a fully controlled rerun.
  • The table has no run-to-run spread and no matched component ablation.

Ingestion cost

  • Graph building moves work into ingestion.
  • Relative to M0.
  • M1 raises ingestion time by 3.8 to 4.0 times across the three document tasks.
  • M1 also has higher answer latency than M0 on each task.
  • So graph retrieval is not cheaper than flat retrieval by itself.
  • Its purpose is better access to structured evidence, with indexing paid in advance.

Against HyperMem

  • Against HyperMem, M1 answers faster on all three document tasks.
  • SHDocQA: 5.45 versus 10.55 seconds.
  • MHDocQA: 9.01 versus 10.65.
  • DetectiveQA: 7.24 versus 13.05.
  • It uses fewer answer tokens on SHDocQA and MHDocQA.
  • But more on DetectiveQA: 1.16M versus 0.35M.
  • So lower latency can come with higher token use and lower accuracy.
  • M1 also answers faster than HyperMem on LoCoMo and LongMemEval-S, and ingests chats faster.

A caution

  • The timings describe M1, not the full M2 system.
  • M2 adds consolidation calls and can change later retrieval.
  • Its full ingestion cost.
  • Answer cost and graph reduction must be measured before the M1 claims apply to it.
  • Node and edge counts alone do not show evidence kept or compressed.
Benchmark and methodIngest / answer timeAnswer tokensGraph (nodes / edges)
SHDoc, HyperMem5,665 / 10.553.79Mhypergraph
SHDoc, MIRIX-1.0 (M0)6,227 / 3.76763Knone
SHDoc, MIRIX-2.0 (M1)23,784 / 5.451.40M29,341 / 33,526
MHDoc, HyperMem11,031 / 10.653.06Mhypergraph
MHDoc, M013,792 / 7.461.23Mnone
MHDoc, M155,301 / 9.011.33M49,046 / 55,288
Detective, HyperMem11,653 / 13.050.35Mhypergraph
Detective, M010,321 / 5.11706Knone
Detective, M139,491 / 7.241.16M36,987 / 46,651
LoCoMo, HyperMem69,467 / 9.7016.5Mhypergraph
LoCoMo, M121,416 / 5.4615.7M23,820 / 32,394
LongMemEval-S, HyperMem170,224 / 10.734.10Mhypergraph
LongMemEval-S, M170,626 / 10.104.02M181,131 / 205,428

Table 12: cost without AutoDream. Ingest (s) / answer time per question (s), answer tokens, graph

K and M mean thousands and millions. Graph size counts Neo4j nodes and edges.

Benchmark and methodTraining tokensTest tokensSuccess (%)
ALFWorld, no memory02.14769.4
ALFWorld, ReasoningBank1.7473.35166.9
ALFWorld, AWM2.7493.67473.6
ALFWorld, MIRIX-2.02.2533.81376.4
WebShop, no memory04.23831.9
WebShop, ReasoningBank2.0106.62025.7
WebShop, AWM1.9095.44836.0
WebShop, MIRIX-2.01.8154.97537.4

Table 4: tokens per run and success with GPT-6 Luna: training M / test M / success %

Training tokens cover actor steps and memory learning. Deviations over three runs are in the paper.

Tokens

  • Fewer agent steps do not mean fewer tokens.
  • On WebShop, MIRIX-2.0 uses the fewest training.
  • Test tokens among memory methods: 1.815M and 4.975M per run.
  • On ALFWorld its 3.813M test tokens are the highest among memory methods, despite fewer steps.
  • Relative to no memory, test tokens rise on both benchmarks.
  • So judge procedural memory by success and reuse, not assumed token savings.
  • No varying-horizon study shows how many tasks are needed to repay memory learning.

Accuracy

  • Accuracy has the broadest support.
  • The M0, M1, M2 order holds on both chat benchmarks.
  • MIRIX-2.0 leads on four of five QA benchmarks, two of them with AutoDream off.
  • As procedural memory it leads in mean success on ALFWorld with both backbones.
  • It also leads on WebShop.
  • It has the top MetaClaw-Bench score with both backbones.
  • No-memory comparisons show retrieved experience can also hurt.

Efficiency

  • Efficiency holds for answering more than for ingestion.
  • With AutoDream off, it answers faster than HyperMem on every timed benchmark.
  • On WebShop it uses the fewest tokens among memory methods.
  • Graph building makes document ingestion 3.8 to 4.0 times slower than flat memory.
  • Its ALFWorld test tokens are the highest among memory methods.

Practicality and limits

  • Practicality rests on the design and protocol, not on a deployment.
  • One store serves both uses and no model is fine-tuned.
  • Every graph fact returned to the answerer cites its source rows.
  • The tables test complete configurations, so component explanations are interpretations.
  • They do not measure merge precision, source-detail retention.
  • Skill provenance coverage or the six-writer routing policy.
  • They do not report memory length or user-memory ingestion tokens.

Memory systems

  • Memory systems. Early designs rank or decay a memory stream.
  • Or manage memory like an operating system.
  • Later systems extract facts, link notes, compress, or learn memory construction with reinforcement learning.
  • Graph memories organize content by entities and relations.
  • Hypergraph memories keep n-ary facts together.
  • Typed designs split memory by function, following episodic and semantic memory theory.
  • MIRIX assigns six types to dedicated agents.
  • Parametric memory needs training and cannot use closed models.

Evaluation and position

  • Evaluation moved from long-chat recall to multi-session tasks, evolving environments, lifelong personalization and memory audits.
  • MIRIX-2.0 combines the typed and graph directions.
  • Complete typed records are the system of record.
  • The hypergraph is only an index with citations.

Multi-agent systems

  • Multi-agent systems. They split a task among LLM agents with different roles.
  • Agents can debate, tune workflows, or talk through latent representations.
  • They also fail in new ways.
  • Memory in them mostly serves collaboration.
  • MIRIX-2.0 uses the multi-agent design for memory itself.
  • A Meta Memory Manager routes each input to six typed agents.
  • Each writes only its own type.

Reflection and consolidation

  • Self-reflection and consolidation. Agents improve from feedback without changing weights.
  • Experience-driven methods keep insights, skills, workflows, strategies and playbooks.
  • Consolidation can run offline.
  • But rewriting memory has risks.
  • Consolidated memories can become faulty, and a defective skill can contaminate later skills.
  • AutoDream limits what consolidation may change.
  • On semantic memory it merges only same-entity anchors and never rewrites records.
  • On procedural memory it keeps an outcome or citation only after the quote checks.

Conclusion

  • MIRIX-2.0 keeps complete typed records, indexes them with a provenance hypergraph under budgets.
  • Runs AutoDream outside the write path.
  • It leads on four of five QA benchmarks.
  • With 91.4% on LoCoMo and 72.6% on LongMemEval-S.
  • It has the highest value on all four metrics for cross-domain summarization on MemoryCD.
  • Its skills lead on ALFWorld and WebShop, and reach 49.2% on MetaClaw-Bench against 44.0%.
  • A memory layer can be practical.
  • Accurate and efficient when records stay the source and the graph is a bounded index.

Limitations

  • The ablations add components in groups.
  • They do not isolate n-ary frames, cited rows, occurrence identities, answer verification.
  • Or the judge, distiller and curator.
  • So the explanations in Section 3 are interpretations.
  • User-memory results come from single runs, partly scored by an LLM judge.
  • Agent results average three runs with large spreads.
  • Some baselines are reported by their authors.

Ethics and broader impact

  • Assistants should be ones users knowingly choose, and should not profile people without consent.
  • Personal and sensitive information builds up.
  • Sensitive verbatim values go to a Knowledge Vault the graph does not index.
  • This does not replace consent and access control.
  • A deployment should let users view, correct and delete memories.
  • Keep each memory to its user.
  • Stored content is sent to the model, so choose providers that meet privacy needs.

Risks and data

  • Memory can make mistakes persistent, and injected content can be stored and later trusted.
  • A wrong merge changes only the index.
  • A procedural edit keeps a citation only after its quote is checked.
  • In high-stakes use, a person should still review skills and merged identities and audit memories.
  • All tests use public benchmarks under their licenses.
  • No new data or human study was made.
  • MemoryCD uses public Amazon reviews, and reviewers are not identified.

MemoryPrimary roleGraph indexed
CorePersistent user and agent stateNo
EpisodicTime-grounded occurrencesYes
SemanticDurable facts and conceptsYes
ProceduralExecutable workflowsNo
ResourceDocuments and multimodal artifactsNo
Knowledge VaultSensitive verbatim valuesNo

Table 5: the six memory types

Routing

  • The Meta Memory Manager is the first call of the write path.
  • It picks the memory types to update (Equation A.1).
  • Each chosen writer reads the store and makes a record.
  • This commits before any graph work.
  • Both steps are language-model calls.
  • Only episodic and semantic memory are graph-indexed, because they hold event and relational evidence.
  • Other types keep direct typed retrieval.

Source-faithful writing and ordering

  • Writer prompts ask for complete lists, names, counts, titles, locations and dates in the record.
  • Episodic writers store the time an event happened, not when it was mentioned.
  • They store a planned event with its planned date.
  • The database write commits before graph building.
  • Graph extraction is a fail-soft hook.
  • So a failure is logged but never rolls back a memory.

Anchor keys

  • The anchor key lowercases the name and replaces punctuation with spaces.
  • It drops a fixed list of eleven articles and function words.
  • Singularizes tokens of at least four letters.
  • It sorts the remaining tokens, so Mobile App and Mobile Apps share one key.
  • Numbers and dates are kept, so 10 Gallons and 20 Gallons stay distinct.
  • Only plural endings change, so Training and Trains stay apart.

Admission gate

  • One admission gate rejects generic filing terms such as advice, details, information, plan and tips.
  • It rejects pseudo-entities such as user and assistant.
  • It keeps at most 16 anchors for an episodic record.
  • 18 for a semantic one.
  • The caps fit the arguments of an assertion.
  • So a frame with seven arguments does not use them up.
  • The gate runs on the canonical key.
  • So one entry like user also blocks User, Users and the user.

Canonicalization

  • Search retrieves up to four existing anchors with cosine similarity of at least 0.72.
  • One language-model call per record makes a cautious same-entity decision.
  • The vector index scores a pair by (1 + cos) / 2.
  • So code thresholds are 0.86 here and 0.93 for AutoDream.
  • The call must not merge different quantities, days.
  • Months, model codes or related but distinct concepts.
  • Canonicalization runs before the gate, so the gate sees canonical names.

Frames, literals and repair

  • The extractor keeps values such as 7.
  • $420 or three months as literals on the frame.
  • A frame needs at least two distinct anchors.
  • A deterministic audit compares frame words with the source text.
  • It lists uncovered quoted phrases and numbers.
  • A source with visual content counts as uncovered.
  • That is when frames cover less than 45 percent of its content words.
  • It sends at most twelve missing items to the repair call.
  • A missing date alone does not trigger a repair.
  • This is because session dates are kept by provenance.
  • A missing date is added when a missing quote.
  • Number or visual detail already needs a repair.
  • Frames from repair pass through the same canonicalization, admission and identity rules.

OperatorBase rowsCited rows
Single64
Temporal66
Intersection77
List-union79
Count812

Table 6: row budgets per query operator

The budgets grow with the operator because counting and sets need broader evidence.

Budgets

  • A single-value question needs one row, so its cited-row budget is smallest.
  • A count must see many members of the set.
  • So the evidence a question inspects is bounded by its operator, not by history length.

Anchor entry

  • Beyond the fifteen recalled anchors, a relation query adds up to sixteen exactly named anchors.
  • Person hubs get a larger penalty unless the relation query names them.
  • Only exactly named anchors carry degree and predicate data.
  • So those terms act on them alone.
  • Vector recall finds anchors whose names paraphrase the question.
  • Exact lookup finds anchors a relation question names.
  • So the relation lane starts from named participants.

Two evidence lanes

  • In the base lane, same-chunk support and nearby time neighbors are recomputed from stored provenance.
  • This keeps the graph free of edges that restate the evidence plane.
  • In the relation lane, predicate filtering runs inside Neo4j before the cap of 240 frames.
  • If the question names a concrete object, only frames containing it are kept.
  • A named hub with hundreds of frames does not trigger a full walk.
  • Frames that pass the cap are chosen by a deterministic order on frame id.

Fact scoring

  • With no extracted event time.
  • The state term falls back at half weight to the source record's time.
  • For intersection questions, a hard shared-object group is kept before soft refinements.
  • So recency cannot replace evidence that meets only one side.
  • The state term reads the status literal that marks an event planned or completed.

Citation-balanced fusion

  • Rows in each lane are reranked with a shallow vector-rank prior and lexical coverage.
  • Fusion runs separately for episodic and semantic rows within the request's row limit.
  • Near-duplicate episodic paraphrases collapse only when they share a calendar date.
  • Cited rows are filled first, because a graph fact without its row would be unverifiable.
  • The date rule matches the occurrence identity that keeps undated repeats apart at write time.

The triggers

  • The Answer procedure belongs to the evaluation harness, not the memory server.
  • The rule check never sees a reference answer.
  • It fires on explicit uncertainty.
  • Or a count with no number or one that clashes with a listed count.
  • It fires on a temporal answer with no time.
  • Or a number or month absent from the ledger and question.
  • It fires on ledger evidence with an incompatible role.
  • Or a planned event in a count question.
  • It also fires on every intersection question.

Why they work

  • The extra search uses a query from the plan.
  • Or the question itself for a relation query.
  • Most triggers mark a draft that falls short of or clashes with its evidence.
  • Intersection questions always trigger, because they need both sides and one side can look complete.
  • The rewrite is line 19 of Algorithm 1.
  • So the procedure adds at most one search and one model call per question.

Invocation

  • Semantic AutoDream is an explicit service call that never schedules itself.
  • Here the ingestion driver calls it after every five chunks.
  • Once after the final chunk.
  • The chunk ids resolve to new semantic rows, which define the frontier.
  • An intermediate call checks only anchors those rows just wrote.
  • The final call also checks eligible anchors no earlier call used as a source.

Candidate generation

  • Stable types are person, organization, location, object and concept.
  • Types event, date, content, method and other are excluded.
  • This is because merging them can collapse distinct occurrences or time context.
  • Both ends of a pair must be backed by semantic rows.
  • Share the same eligible type.
  • The cosine threshold of 0.86 is the index score of 0.93.
  • That uses the (1 + cos) / 2 scale.

Bounded schedule

  • An intermediate Dream checks at most 80 unseen pairs from the current delta.
  • The final Dream checks at most 120 pairs, adding anchors never used as a source.
  • If it merges anything, one repair round checks only touched representatives.
  • At most 60 more pairs.
  • Negative decisions are cached by anchor type.
  • The key hashes the case-folded sorted pair with the type.
  • Only explicit rejections are cached.
  • A pair a round did not reach is not recorded as rejected.
  • So it can return in a later frontier.

Procedural refinement

  • The distiller judges each pending session from quotes in its transcript.
  • If an outcome's quotes are not in the transcript, it is downgraded to unclear.
  • The curator can create, edit or delete a skill.
  • It can also mark an experience as already covered, not worth a skill, or deferred.
  • The quote checks on outcomes and on citations keep the skill library traceable.

Hard invariants

  • Four properties hold whatever the models do.
  • 1. Every returned graph fact exposes the ids of its source memories.
  • 2. Undated episodic occurrences from different rows get different frame ids.
  • 3. Retrieval and Dream both run under explicit candidate and output caps.
  • 4. A failed graph write cannot destroy a committed memory.
  • A failed graph read falls back to direct retrieval.
  • With Equation 12, the first and fourth give source fidelity.
  • The third gives bounded access, and the second gives temporal identity.

Learned and deterministic decisions

  • Language models route inputs, write memories, extract frames.
  • Repair details, judge identity and distill and curate skills.
  • Deterministic code owns safety-critical limits.
  • These cover admissible names, candidate lists, frame ids, event status.
  • Provenance, query operators, lane budgets, merge algebra and mutation order.
  • An LLM may propose that two anchors match.
  • But it cannot name an anchor outside the candidates or delete evidence.

Complexity

  • Writing a memory into the graph costs O(d + h).
  • For d anchors and h frames.
  • Ranking and fusion cost O(KA + KF + KM).
  • Nearest-neighbor generation costs O(|delta| log |A|).
  • LLM verification is capped at 80 pairs per intermediate cycle.
  • 180 across two final rounds.
  • The 180 is the 120 of the final round.
  • It adds the 60 of the repair round.
  • The gate bounds d by 16 and 18, KA is fifteen, KF is 240.
  • KM is at most 12.

The example

  • Evidence rows live in a vector database and the hypergraph lives in Neo4j.
  • Figure 9 shows part of the graph for LoCoMo conversation conv-26.
  • Where Caroline and Melanie talk from May to October 2023.
  • The full graph has 792 anchors, 1,379 frames and 3,303 role edges.
  • The figure keeps the 32 anchors in the most frames.
  • The 448 frames that join at least two of them.

What it shows

  • The two speakers are the biggest hubs, with 650 and 529 frames.
  • Topics one speaker raises gather on that side.
  • Such as the pride parade for Caroline and pottery for Melanie.
  • The 94 frames that join only the two speakers lie between the hubs.
  • Painting and art are reached from both sides.
  • Self-Acceptance appears in 13 frames from 10 sessions.
  • Linking it to the support group, the pride parade, Becoming Nicole and a painting.
  • This graph used Claude Haiku 5.5 for extraction and Cohere Embed v4 for embeddings.

Setup

  • Table 7 lists LongMemEval-S accuracy for every system, with a gpt-4o-mini judge and majority-of-3 voting.
  • SHDocQA and MHDocQA use substring matching on 100 questions each.
  • DetectiveQA uses letter exact matching on 71 questions.
  • Document runs use M1 with AutoDream off by choice.

Findings

  • HyperMem was run by the authors with its original settings.
  • On LoCoMo it reaches 91.0%, below the 92.7% reported by its authors.
  • On LongMemEval-S the graph gain of 11.2 points gives most of the 14.3-point margin.
  • M0 reaches 58.8%, close to HyperMem at 58.3% and mem0 at 56.3%.
  • On document QA, HyperMem is the strongest baseline.
  • M1 leads it by 31.0 and 22.0 points.
  • DetectiveQA is the exception: MemoryBank 67.6%, HyperMem 66.2%, M1 64.8%.
  • A-Mem varies most across the three document tasks, from 14.0% to 62.0%.
MethodCross-domainSingle-domain
Long-context.2842 / .1434 / .0092 / .8521.2865 / .1455 / .0105 / .8520
RAG.2727 / .1354 / .0070 / .8484.2818 / .1407 / .0078 / .8498
mem0.2783 / .1432 / .0087 / .8514.2780 / .1391 / .0083 / .8502
A-Mem.2836 / .1434 / .0094 / .8520.2857 / .1445 / .0101 / .8517
MemoryBank.2799 / .1424 / .0073 / .8505.2835 / .1424 / .0089 / .8514
Graphiti.2717 / .1379 / .0083 / .8496.2808 / .1441 / .0099 / .8512
MIRIX-2.0.2846 / .1491 / .0108 / .8544.2868 / .1487 / .0106 / .8539

Table 9: review generation on MemoryCD (same 100 users): R-1 / R-L / B-4 / BERT

MemoryCD review generation

  • Cross-domain memory comes from the other three Amazon domains.
  • Single-domain memory and testing use the same domain.
  • MIRIX-2.0 has the highest value in every column, but margins are small.
  • Cross-domain, its ROUGE-L of .1491 is .0057 above the next best, .1434.
  • Its BLEU-4 of .0108 is .0014 above A-Mem.
  • BERTScore spans at most .006 across all systems.
  • In the single-domain setting, ROUGE-1 is .2868 against .2865 for Long-context.

MethodBy task typeAllSteps all / success
No memory83.3 / 85.2 / 60.2 / 47.8 / 81.0 / 64.769.425.2 / 14.2
ReasoningBank70.8 / 66.7 / 65.6 / 63.8 / 82.5 / 49.066.926.4 / 14.7
AWM77.8 / 77.8 / 64.5 / 75.4 / 88.9 / 58.873.623.2 / 13.6
MIRIX-2.079.2 / 83.3 / 74.2 / 73.9 / 85.7 / 60.876.421.9 / 13.2

Table 10: ALFWorld success by task type, GPT-6 Luna (%): Pick / Look / Clean / Heat / Cool / Pick Two

Episodes per type: Pick 24, Look 18, Clean 31, Heat 23, Cool 21, Pick Two 17. Total 134.

MethodBy task typeAllSteps all / success
No memory73.6 / 63.0 / 37.6 / 50.7 / 66.7 / 37.354.231.6 / 16.1
ReasoningBank75.0 / 50.0 / 50.5 / 53.6 / 46.0 / 31.452.231.4 / 14.4
AWM69.4 / 61.1 / 44.1 / 63.8 / 65.1 / 47.158.029.9 / 15.3
MIRIX-2.069.4 / 75.9 / 54.8 / 63.8 / 66.7 / 39.261.726.8 / 12.4

Table 10: ALFWorld success by task type, GPT-5.6 Luna (%)

Standard deviations: 0.7, 2.8, 1.9 and 6.2 for GPT-6 Luna, and 1.1, 0.7, 2.8 and 14.0 for GPT-5.6 Luna.

ALFWorld

  • With GPT-6 Luna, MIRIX-2.0 is best of the memory methods on Pick.
  • Look, Clean and Pick Two.
  • AWM leads on Heat and Cool.
  • Against no memory, Clean gains 14.0 points, Heat 26.1 and Cool 4.7.
  • Pick, Look and Pick Two lose 4.1, 1.9 and 3.9 points.
  • With GPT-5.6 Luna, MIRIX-2.0 leads on Look.
  • Clean and Cool and ties AWM on Heat at 63.8%.
  • ReasoningBank leads on Pick and AWM on Pick Two.
  • With both backbones MIRIX-2.0 takes the fewest steps.
  • But its deviation of 14.0 points is the largest.
MethodBy categoryAllSteps all / success
No memory54.4 / 31.7 / 21.8 / 19.8 / 32.131.97.9 / 6.2
ReasoningBank43.3 / 33.3 / 12.6 / 17.7 / 23.825.710.2 / 6.9
AWM53.3 / 31.7 / 28.7 / 27.1 / 38.136.09.1 / 6.9
MIRIX-2.057.8 / 39.7 / 25.3 / 27.1 / 38.137.48.2 / 6.3

Table 11: WebShop success by category, GPT-6 Luna (%): Fashion / Beauty / Electronics / Garden / Grocery

Instructions per category: Fashion 30, Beauty 21, Electronics 29, Garden 32, Grocery 28. Total 140.

WebShop

  • MIRIX-2.0 has the highest overall success and the smallest spread among memory methods, 2.1 points.
  • Its margins over AWM are 4.5 points on Fashion and 8.0 on Beauty.
  • It matches AWM on Garden and Grocery and trails it by 3.4 points on Electronics.
  • ReasoningBank falls below no memory overall and on four of five categories.
  • All three memory methods take more steps than no memory, 8.2 to 10.2 against 7.9.
  • MIRIX-2.0 takes the fewest of the three.

Time

  • Table 12 gives the measurements behind Figure 8.
  • Ingest is total wall-clock time in seconds.
  • Answer time per question is the mean to retrieve and answer.
  • None of these include AutoDream, so they describe M1, not M2.
  • On the three document tasks.
  • M1 ingests 3.8 to 4.0 times slower than M0.
  • 3.4 to 5.0 times slower than HyperMem.
  • On chats the order reverses: LoCoMo takes 21,416 s against 69,467 s.
  • LongMemEval-S takes 70,626 s against 170,224 s.

Answers and graphs

  • M1 answers faster than HyperMem on all five benchmarks.
  • The gap runs from 0.63 s per question on LongMemEval-S to 5.81 s on DetectiveQA.
  • M0 answers the document questions faster still.
  • M1 uses fewer answer tokens than HyperMem on four benchmarks and more on DetectiveQA.
  • Its graphs range from 23,820 nodes and 32,394 edges on LoCoMo to 181,131 nodes.
  • 205,428 edges on LongMemEval-S.

Token counting

  • For Table 4, training covers actor steps and memory learning.
  • Testing covers actor steps and memory retrieval on all test tasks, including failed ones.
  • Counts include LLM input and output tokens.
  • With reasoning tokens in output and cached tokens in input.
  • Embedding tokens are excluded.
  • No memory skips training.

Words to know

  • Ablation: A test that adds or removes one part to see its effect.
  • ALFWorld: A text game of household tasks.
  • Anchor: A graph node for an entity or concept.
  • AutoDream: A background job that merges entities and distills skills.
  • Embedding: A list of numbers that stands for the meaning of text.
  • Episodic memory: Records of events, tied to when they happened.
  • Evidence plane: The store of full records that serves as the source of truth.
  • Fine-tuning: Training a model further on new data.
  • Frame: A graph node for one fact, linking all its parts.
  • Hypergraph: A graph where one link can join many items at once.
  • HyperMem: A hypergraph memory system used as the strongest baseline.
  • Latency: The time a system takes to respond.
  • LLM agent: A model that acts in steps and calls tools.
  • LLM judge: A model that scores answers.
  • LoCoMo: A test of recall over long conversations.
  • Long-term memory: Information an agent keeps across sessions.
  • LongMemEval-S: A test of recall over long chat histories.
  • N-ary: Joining more than two items in one fact.
  • Procedural memory: Skills and workflows the agent can reuse.
  • Provenance: A record of where a fact came from.
  • Semantic memory: Durable facts and concepts, apart from single events.
  • Vector database: A store that finds records by embedding similarity.
  • WebShop: A test of shopping tasks on a simulated site.

Share this paper

LinkedIn (opens in a new tab)X (opens in a new tab)WhatsApp (opens in a new tab)EmailDownload PDFExplainer (PDF), 1.3 MB

Ask AI about this paper

Stuck on a word or an idea? Ask in plain words. The answer comes from the write-up on this page.

Read the original paper on arXiv: MIRIX-2.0: Multi-Agent Memory System (opens in a new tab)

Jump to

One paper a week, in plain English

Every Monday: the new AI papers worth your time. Short lines, the key number, and what to do with it.

One email a week. Unsubscribe with one click. No spam.