TL;DR for operators

When an AI assistant gives an incorrect answer about a previous interaction, the problem may lie in what it stored, what it subsequently changed, or what it failed to retrieve. Treating all three failures as retrieval problems can direct training and engineering effort toward the wrong component.

Uni-Mem1 trains memory construction and retrieval under one shared policy while separating their reinforcement-learning feedback. Its two mechanisms are Stage-Decoupled GRPO, which isolates the stages during optimization, and Event-Wise Credit Assignment, which associates rewards with relevant memory operations and subsequent record changes.

The system achieves 88.80% judged accuracy on LoCoMo, compared with 77.87% for the strongest re-evaluated reinforcement-learning baseline. Controlled experiments show that improving construction and improving retrieval each contributes to performance.

For enterprise assistants, the practical lesson is to diagnose storage sufficiency and retrieval effectiveness separately, preserve modification provenance, and measure the cost of additional searches. The reported gains concern conversational-memory benchmarks, not verified production reliability.

One wrong answer can have three different causes

Consider an assistant serving a returning customer. The customer asks about a delivery preference established several conversations earlier, and the assistant responds incorrectly.

The preference may never have been stored. It may have been stored but overwritten during a later update. Or it may remain in memory while the assistant’s search procedure fails to locate it.

These failures look identical to the customer, but they call for different corrections.

The distinction is measurable. Uni-Mem’s construction–retrieval cross-combination experiment evaluates a base memory manager and then replaces its construction or retrieval capability with a trained counterpart.

Memory construction Retrieval policy LoCoMo accuracy
Base Base 76.58%
Trained Base 84.76%
Base Trained 81.08%
Trained Trained 88.80%

Source: Section 5.4, Table 3. Accuracy is LLM-as-a-Judge correctness within the paper’s evaluation harness.

Replacing construction alone improves accuracy by 8.18 percentage points. Replacing retrieval alone improves it by 4.50 points. Combining both trained capabilities produces the highest result.

These are component-isolation experiments, not an additive decomposition of the total improvement. Their significance is that storage and search can be varied independently, and neither capability fully determines downstream performance.

This extends a distinction discussed in our earlier analysis, Write the Memory Before You Search It. Better memory representations can change what retrieval has available. Uni-Mem adds the question of how to train both capabilities while assigning feedback to the appropriate decisions.

Why final-answer rewards provide weak training signals

A memory manager may process hundreds of conversational events before receiving an evaluation question. During those events, it chooses what to create, update, delete, or leave unchanged. Later, it decides how to search the resulting memory bank.

If reinforcement learning assigns the final answer’s reward to the entire trajectory, the training signal combines all these decisions.

A correct answer does not establish that every memory operation was beneficial. An incorrect answer does not establish that its retrieval operations were defective.

The paper tests whether conventional Group Relative Policy Optimization (GRPO), which learns by comparing rewards across sampled rollouts, can resolve this problem without specialized attribution.

Its incremental ablation results are instructive:

  • The raw Qwen3-4B manager achieves 76.58% judged accuracy.
  • Standard GRPO raises accuracy to 76.95%, a gain of just 0.37 percentage points.
  • Adding Event-Wise Credit Assignment increases it to 78.24%.
  • Replacing conventional optimization with stage-decoupled optimization, while retaining event-wise attribution, raises accuracy to 80.72%.
  • Adding update-robust attribution produces 80.99%.

Source: Section 5.3, Table 2; incremental algorithmic ablations without supervised initialization.

These results identify the value of more targeted feedback within the tested configuration. They do not imply that generic GRPO is inherently ineffective. Rather, changing the credit-assignment and comparison structure improves outcomes substantially more than applying standard GRPO alone.

Separate the learning signals, not the memory manager

Uni-Mem uses a shared Qwen3-4B-Instruct policy to manage an external memory bank. During construction, the manager can search existing records and create, update, or delete information. During retrieval, it searches for evidence to support an answer.

Mem0 and Qdrant provide storage and retrieval infrastructure, while the learned manager controls the memory operations instead of using Mem0’s default fixed management pipeline. A separate frozen model generates the final answers.

The central training problem is comparing candidate actions while preventing the other stage from obscuring their effects.

Stage-Decoupled GRPO addresses this by alternating two optimization phases.

During construction training, alternative construction trajectories are evaluated without using the manager’s learned retrieval policy. This makes the comparison primarily about what information survives in memory.

During retrieval training, alternative search trajectories operate against the same memory bank, freshly constructed by the current manager policy. Differences in downstream performance therefore primarily reflect retrieval behavior.

Both phases update the same policy parameters. Construction and retrieval can consequently adapt to one another without requiring their rewards to be mixed within each rollout comparison.

The training schedule matters. In the supplementary sensitivity analysis, alternating one construction update with one retrieval update achieves 88.80% accuracy. Extending equal blocks to 32 construction updates followed by 32 retrieval updates reduces accuracy to 83.75%. An unbalanced 1:8 schedule reaches 84.48%.

These schedule experiments support frequent coordination between the stages in this setup, rather than establishing a universally optimal update ratio.

Evidence and provenance determine which operations receive credit

Separating construction from retrieval still leaves a difficult attribution problem: a long conversation contains many memory operations, but a particular evaluation question depends on only some of them.

Uni-Mem’s Event-Wise Credit Assignment (ECA) uses annotated supporting dialogue chunks to associate questions with relevant construction events.

Its construction reward first tests whether the memory bank contains information sufficient to answer a question. During training, the system identifies surviving memory records linked to the annotated evidence, passes those records to a frozen answer model, and uses a fixed judge to score the resulting answer.

This is called evidence-indexed memory scoring.

Because the process bypasses learned retrieval, a poor search policy does not automatically make an otherwise adequate memory bank appear defective.

For retrieval, the logic is different. If the shared memory bank can support a correct answer but a retrieval rollout fails, the retrieval event receives a zero reward. If the available memory is insufficient and retrieval also fails, that event is excluded from optimization rather than penalized for a construction failure.

Exclusion matters: it removes an unsuitable training comparison rather than treating every failed answer as equally informative.

Memory modifications add another complication. A record created early in a conversation may subsequently be revised or deleted. Uni-Mem tracks record provenance and modification lineages so later operations affecting supporting evidence can participate in reward attribution.

Finally, returns for corresponding events are standardized across sibling rollouts. Their event-level advantages are assigned to the relevant tool-call tokens through a clipped GRPO objective.

The resulting feedback is more localized than a single trajectory-wide reward, but it is not exact causal attribution. The sufficiency test depends on annotated evidence, record associations, and frozen answer and judge models. These mechanisms provide an operational approximation of responsibility.

The benchmark gains are substantial, but the judge matters

With supervised initialization followed by the complete reinforcement-learning method, Uni-Mem reaches 88.80% overall accuracy on LoCoMo.

The matched comparison reports:

System Judged accuracy
Mem-T, re-evaluated 76.49%
Memory-R2 (OSS), re-evaluated 77.87%
Uni-Mem without supervised initialization 80.99%
Uni-Mem, complete system 88.80%

Source: Section 5.2, Table 1. The selected baseline checkpoints were re-evaluated under the paper’s judging protocol.

The 10.93-point advantage over Memory-R2 (OSS) is meaningful within this evaluation protocol. However, it includes the effects of initialization, memory-management architecture, and training design. The same-harness ablations provide more specific evidence for the proposed optimization mechanisms.

Evaluation consistency is particularly consequential here.

Memory-R2 (OSS) originally reported 87.10% accuracy. Under Uni-Mem’s Mem0-aligned judge prompt, its re-evaluated score falls to 77.87%. The underlying comparison therefore changes materially with the judging procedure.

The paper also reports improved results across categories on LongMemEval-Oracle and LongMemEval-S, providing out-of-distribution benchmark evidence. Those tests broaden the evaluation beyond LoCoMo, but do not establish performance under live operational conditions.

What enterprise memory teams should measure separately

For a customer-service or enterprise-assistant operator deciding whether to improve an existing memory workflow, the research suggests four diagnostic dimensions.

Diagnostic dimension Operational question
Construction sufficiency Was the information needed for the answer preserved?
Retrieval effectiveness When the information existed, did the agent find it?
Update provenance Which subsequent operations changed or removed the relevant record?
Evaluation and cost Are measured gains consistent under fixed grading rules, and what resources do they require?

This is a Cognaptus operational inference, not a validated enterprise deployment framework from the paper.

For example, when an assistant repeatedly loses track of changing customer commitments, provenance and construction diagnostics may be more informative than extending its search budget. If records are demonstrably sufficient but answers remain incorrect, retrieval behavior becomes a more appropriate investigation target.

Cost complicates that choice. In the paper’s retrieval-budget sensitivity test, increasing the maximum search steps from three to eight improves accuracy from 83.67% to 85.67%, while token consumption rises from 10,889 to 58,642—approximately 5.39 times as much.

The additional search capacity produces a two-percentage-point improvement at a substantial token cost. Whether that trade-off is justified depends on the consequence of an incorrect answer and the workload’s inference budget.

What remains unverified

The main evaluations process conversations before issuing their question sets. They do not directly establish behavior when new information, corrections, and live customer queries arrive continuously in an interleaved workflow.

Training also depends on annotated supporting evidence and reference answers. Obtaining such supervision at enterprise scale may be costly, particularly when questions depend on changing or disputed records.

The authors identify substantial training latency from repeated downstream answer generation and judging. Main comparative tables do not provide repeated-seed uncertainty estimates or statistical confidence intervals.

Most importantly, judged benchmark accuracy does not measure privacy compliance, memory governance effectiveness, live-user satisfaction, or financial return.

These boundaries do not negate the algorithmic results. They define the next evidence required before treating those results as an operational reliability claim.

The memory decision comes before the search decision

Uni-Mem demonstrates that a shared memory-management policy can benefit from separating the feedback used to improve storage and retrieval. Its ablations and cross-combinations support both the training mechanism and the independent contribution of the two capabilities.

For organizations building persistent-memory agents, the immediate value is a more discriminating failure diagnosis. Before replacing a search model, extending retrieval steps, or retraining the entire agent, determine whether the necessary information survived in memory and whether retrieval had a reasonable opportunity to recover it.

The benchmark establishes that these distinctions can improve learning. Whether they produce reliable, economical, and governable enterprise memory remains a separate question.

Cognaptus: Automate the Present, Incubate the Future.


  1. Zhiqian Xia and Jielong Tang and Ling-An Zeng and Shixiong Kai and Rong Yao and Hao Kong and Xiao Dong and Wei Wang and Mingxuan Yuan and Siyu Xia and Haifeng Xia (2026). Uni-Mem: Learning a Long-Horizon Agentic Memory Manager with Unified Online Policy Optimization. arXiv:2610.29671. https://arxiv.org/abs/2610.29671 ↩︎