# Mem-T: Densifying Rewards for Long-Horizon Memory Agents

Mem-T: 장기 과제 메모리 에이전트를 위한 보상 조밀화

Yanwei Yue, Boci Peng, Xuanbo Fan, Jiaxin Guo, Qiankun Li, Yan Zhang · arXiv · 2026년 1월 30일

- **연구 문제** 메모리 에이전트는 긴 연산 시퀀스 끝의 희소한 보상으로 학습되어 각 메모리 연산의 기여를 구분하기 어렵습니다.
- **연구 방법** Mem-T는 계층형 메모리를 구축·진화·검색하고, MoT-GRPO는 메모리 연산 트리로 노드별 보상을 전파하며 hindsight credit으로 구축 행동에 신용을 귀속합니다.
- **주요 결과** LoCoMo에서 MoT-GRPO를 적용한 Qwen3-4B는 전체 F1 58.65를 보고하며, 도메인 외 평가에서도 평균 54.15를 보고합니다.

## 장기 메모리 에이전트의 희소 보상 문제

메모리 에이전트는 미리 정해진 메모리 처리 파이프라인을 벗어나 메모리의 처리, 저장, 검색을 스스로 관리합니다. 그러나 기존 학습 방식은 긴 연산 시퀀스를 거친 뒤에야 0/1 형태의 희소하고 지연된 보상을 받습니다. 원문은 에이전트가 약 500턴, 수백 번의 메모리 연산을 수행한 뒤 이진 QA 정확도 신호를 받는다고 설명합니다. 기존 방법들은 이 종단 보상을 모든 메모리 연산에 동일하게 전파하므로 어떤 연산이 결과에 기여했는지 구분하기 어렵습니다. 이 논문은 검색과 구축을 함께 최적화하면서 밀집된 과정 수준 감독과 정확한 귀속을 제공할 수 있는지를 묻습니다.

## Mem-T의 계층형 메모리와 연산 흐름

Mem-T는 연속 정보 스트림의 각 청크 x\_t에 대해 작업 메모리, 사실 메모리, 경험 메모리, 원시 메모리로 구성된 계층형 메모리 상태 M\_t를 유지합니다. 구축 단계에서는 정책 π\_form이 CrtFact, CrtExp, CrtRaw, UpdWork 행동을 선택해 후보 메모리를 만듭니다. 진화 단계에서는 정책 π\_evol이 각 후보에 대해 ADD, UPDATE, DELETE, IGNORE 중 하나를 선택하고, 그 결과로 메모리 저장소가 갱신됩니다. 검색 단계에서는 π\_retr이 Search 행동과 Finish 행동을 순차적으로 선택하여 질의에 필요한 관련 메모리 집합을 모읍니다.

![Figure 2: \|The overall framework of our proposedMem-T](https://refivu.com/papers/be038ab0-be1a-4ce2-b431-c42e3f703f14/figures/figure-2feea15deeb76a03116338eac4bf3f19.png?thumb=512)

**Figure 2** \|The overall framework of our proposedMem-T.

[원문](https://arxiv.org/abs/2601.23014v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanwei Yue, Boci Peng, Xuanbo Fan, Jiaxin Guo, Qiankun Li, Yan Zhang · Mem-T: Densifying Rewards for Long-Horizon Memory Agents · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## 검색 정책을 위한 MoT-GRPO

MoT-GRPO는 검색 정책을 최적화하기 위해 질의마다 G개의 Memory Operation Tree를 구성합니다. 각 트리는 하나의 시드 궤적에서 시작하며, Iterative Branching Rollout이 여러 확장 라운드에서 비종단 피벗 노드를 샘플링하여 분기 궤적을 추가합니다. 노드의 보상은 형식 유효성 마스크, 정답 근거 밀도, 기대 종단 성능을 결합하여 정의되며, 내부 노드의 성능은 자식 노드 성능의 평균입니다. advantage는 트리 내부 평균과 전체 앙상블 평균을 각각 사용하는 두 척도의 합으로 계산됩니다. 이 설계는 같은 맥락을 공유하는 노드끼리의 비교와 여러 트리 사이의 경쟁을 함께 반영하려는 목적입니다.

## 구축 정책을 위한 Hindsight Credit Assignment

구축 단계의 연산은 수백 단계 뒤에야 하위 질의에서 보상을 받으므로 귀속이 모호합니다. 이 논문은 하위 검색 트리의 terminal leaf 노드 advantage를 상위 구축 행동으로 되돌리는 hindsight score S(a\_mem)를 정의합니다. 여기서 계수 ϱ는 정답 근거 턴과 원문 턴이 겹치는지를 보는 Evidence Alignment Gate와, 메모리 항목이 검색 트리의 종단 경로에 포함되는지를 보는 Retrieval Trace Gate를 합칩니다. Retrieval Trace Gate의 가중치는 λ=0.1로 설정됩니다. 정답 근거가 없을 때는 후자의 게이트에 의존한다고 설명됩니다. 이후 상위 50% 행동만 남기는 rank-based sampling으로 데이터셋을 만들고, 선택된 행동의 로그우도를 최대화하는 오프라인 학습을 수행합니다.

## LoCoMo에서의 주요 결과

LoCoMo 벤치마크에서 Qwen3-4B 백본을 사용한 Mem-T는 F1 기준 전체 58.65를 보고합니다. 같은 백본에서 학습 없이 사용한 Mem-T는 49.38, GRPO만 적용한 경우는 53.56입니다. 저자들은 학습 없이도 Mem-T의 계층형 메모리 구조가 여러 훈련 없는 기준선보다 높은 성능을 보인다고 해석합니다. 논문은 MoT-GRPO가 GRPO 기준선 대비 추가 F1 향상을 보인다고 보고하며, 이는 이 LoCoMo 설정에서 얻은 결과입니다. 다른 백본과 데이터셋에 대한 결과는 별도 표에서 다루어집니다.

![Table 2: \| Performance comparison on the LoCoMo benchmark, with F1 and BLEU-1 as the evaluation metrics.†: The GAM paper recommends gpt-4o-mini; we also reprod…](https://refivu.com/papers/be038ab0-be1a-4ce2-b431-c42e3f703f14/figures/figure-a6066355a1beca973ada617bcf95e308.png?thumb=512)

**Table 2** \| Performance comparison on the LoCoMo benchmark, with F1 and BLEU-1 as the evaluation metrics.†: The GAM paper recommends gpt-4o-mini; we also reproduced it using Qwen3-4B for a fair comparison.‡: As Memory-R1 is not open-source, we faithfully report the results provided in their original paper.

[원문](https://arxiv.org/abs/2601.23014v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanwei Yue, Boci Peng, Xuanbo Fan, Jiaxin Guo, Qiankun Li, Yan Zhang · Mem-T: Densifying Rewards for Long-Horizon Memory Agents · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

## 도메인 외 일반화

HotpotQA, LongMemEval, NarrativeQA에 대한 도메인 외 평가에서 Mem-T는 평균 54.15를 보고합니다. 이 평가는 LoCoMo로 학습한 Mem-T가 다른 과제에서 얼마나 전이되는지를 확인하기 위한 것입니다. HotpotQA는 정답 문서와 400개의 무관한 Wikipedia 문서를 결합한 장문맥 버전이 사용되었습니다. 논문은 이 결과가 훈련 데이터와 다른 과제에서 기존 기준선보다 높은 평균을 보였다고 기술합니다.

![Table 3: \| Evaluation results on OOD benchmarks (HotpotQA, LongMemEval, NarrativeQA). All methods, except MEM1, which uses the 7B model trained in the original…](https://refivu.com/papers/be038ab0-be1a-4ce2-b431-c42e3f703f14/figures/figure-9700b60e9765371488c418175291b373.png?thumb=512)

**Table 3** \| Evaluation results on OOD benchmarks (HotpotQA, LongMemEval, NarrativeQA). All methods, except MEM1, which uses the 7B model trained in the original paper, are implemented with models based on Qwen3-4B.

[원문](https://arxiv.org/abs/2601.23014v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanwei Yue, Boci Peng, Xuanbo Fan, Jiaxin Guo, Qiankun Li, Yan Zhang · Mem-T: Densifying Rewards for Long-Horizon Memory Agents · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 절제 실험의 해석

절제 실험은 메모리 모듈 제거와 MoT-GRPO 구성 요소 제거의 효과를 분리합니다. 검색 최적화를 제거한 변형은 전체 F1 53.37, 구축 최적화를 제거한 변형은 55.36으로 보고되며, 두 변형 모두 전체 Mem-T의 58.65보다 낮습니다. 따라서 이 결과는 두 최적화 구성 요소를 유지하는 효용을 지지합니다. 다만 이 결과는 LoCoMo에서의 절제이며, 각 제거가 모든 과제에서 같은 효과를 낸다고 일반화할 수 없습니다.

![Table 4: \| Ablation study on the LoCoMo dataset. The evalua- tion metric is set as F1 for all entries](https://refivu.com/papers/be038ab0-be1a-4ce2-b431-c42e3f703f14/figures/figure-97979c4f2df47f306666734c232f1196.png?thumb=512)

**Table 4** \| Ablation study on the LoCoMo dataset. The evalua- tion metric is set as F1 for all entries.

[원문](https://arxiv.org/abs/2601.23014v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanwei Yue, Boci Peng, Xuanbo Fan, Jiaxin Guo, Qiankun Li, Yan Zhang · Mem-T: Densifying Rewards for Long-Horizon Memory Agents · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## 탐색 규모와 적용 범위

민감도 분석에서 분기 노드 확장 수 G를 3보다 크게 늘리면 성능 향상이 작아지고 계산 비용이 크게 증가한다고 보고됩니다. 따라서 G=3이 본문 실험의 설정으로 선택되었습니다. 이 결과는 원문에서 분석한 LoCoMo와 HotpotQA 설정에 기반합니다. 다른 모델 크기나 검색 예산에서의 최적 G는 원문에서 검증되지 않았습니다.

![Figure 7: \| Parameter sensitivity analysis on the number of nodes selected for branch expansion when training withMoT-GRPOon the LoCoMo and HotpotQA dataset](https://refivu.com/papers/be038ab0-be1a-4ce2-b431-c42e3f703f14/figures/figure-b0a4db95b2ca887149f323ae55e4e7e1.png?thumb=512)

**Figure 7** \| Parameter sensitivity analysis on the number of nodes selected for branch expansion when training withMoT-GRPOon the LoCoMo and HotpotQA dataset.

[원문](https://arxiv.org/abs/2601.23014v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yanwei Yue, Boci Peng, Xuanbo Fan, Jiaxin Guo, Qiankun Li, Yan Zhang · Mem-T: Densifying Rewards for Long-Horizon Memory Agents · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Yanwei Yue, Boci Peng, Xuanbo Fan, Jiaxin Guo, Qiankun Li, Yan Zhang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 1월 30일
- **등록일**: 2026년 10월 29일
- **수정일**: 2026년 3월 9일
- **버전**: v2
- **arXiv**: 2601.23014
- **분류**: cs.LG · cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2601.23014v2) · [원문 PDF ↗](https://arxiv.org/pdf/2601.23014v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Memory agents, which depart from predefined memory-processing pipelines by endogenously managing the processing, storage, and retrieval of memories, have garnered increasing attention for their autonomy and adaptability. However, existing training paradigms remain constrained: agents often traverse long-horizon sequences of memory operations before receiving sparse and delayed rewards, which hinders truly end-to-end optimization of memory management policies. To address this limitation, we introduce Mem-T, an autonomous memory agent that interfaces with a lightweight hierarchical memory database to perform dynamic updates and multi-turn retrieval over streaming inputs. To effectively train long-horizon memory management capabilities, we further propose MoT-GRPO, a tree-guided reinforcement learning framework that transforms sparse terminal feedback into dense, step-wise supervision via memory operation tree backpropagation and hindsight credit assignment, thereby enabling the joint optimization of memory construction and retrieval. Extensive experiments demonstrate that Mem-T is (1) high-performing, surpassing frameworks such as A-Mem and Mem0 by up to $14.92\\%$, and (2) economical, operating on a favorable accuracy-efficiency Pareto frontier and reducing inference tokens per query by $\\sim24.45\\%$ relative to GAM without sacrificing performance.

## 원문 인용

Yanwei Yue, Boci Peng, Xuanbo Fan, Jiaxin Guo, Qiankun Li, Yan Zhang (2026). Mem-T: Densifying Rewards for Long-Horizon Memory Agents. arXiv:2601.23014v2. https://arxiv.org/abs/2601.23014v2

**BibTeX**

```
@misc{yue2026densifying,
  title = {{Mem-T: Densifying Rewards for Long-Horizon Memory Agents}},
  author = {Yanwei Yue and Boci Peng and Xuanbo Fan and Jiaxin Guo and Qiankun Li and Yan Zhang},
  year = {2026},
  eprint = {2601.23014},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.23014v2}
}
```

## 이 논문의 용어

- [GRPO](https://refivu.com/terms/17129d1bafd8-grpo)
- [F1 score](https://refivu.com/terms/220c2aa29a7c-f1-score)
- [HotpotQA](https://refivu.com/terms/16cb986b71c1-hotpotqa)
- [Qwen3-4B](https://refivu.com/terms/cf9b3e36c89e-qwen3-4b)
- [LoCoMo](https://refivu.com/terms/3b4496410f17-locomo)
- [LongMemEval](https://refivu.com/terms/d7d15d1fd30d-longmemeval)
- [BLEU-1](https://refivu.com/terms/8accda85f0be-bleu-1)
- [Mem-T](https://refivu.com/terms/89f22ce212f8-mem-t)
- [NarrativeQA](https://refivu.com/terms/e704d3e2d0f8-narrativeqa)

## 다른 논문 해설

- [RAGEN-2: Reasoning Collapse in Agentic RL](https://refivu.com/papers/c2c5b38b-44af-4528-83b6-726bc6e72ece-ragen-2-reasoning-collapse-in-agentic-rl.md)
- [Reward Hacking Benchmark: Measuring Exploits in LLM Agents with Tool Use](https://refivu.com/papers/5832bb74-d151-4685-904c-beb0eae2067f-reward-hacking-benchmark-measuring-exploits-in-llm-agents.md)
- [Probabilistic Modeling of Latent Agentic Substructures in Deep Neural Networks](https://refivu.com/papers/7f2294ef-b047-4adb-995d-fe8ab941fe66-probabilistic-modeling-of-latent-agentic-substructures-in.md)
- [MedRAX: Medical Reasoning Agent for Chest X-ray](https://refivu.com/papers/73202cd4-6ec5-4155-8644-846b59a4dfa2-medrax-medical-reasoning-agent-for-chest-x-ray.md)
- [Your Policy Is Secretly a Harness: The Decision Geometry of Agent Interfaces](https://refivu.com/papers/335ccc31-27a9-48cb-97b0-140ea87383c8-your-policy-is-secretly-a-harness-the-decision.md)
- [Understanding Communication Failures in Multi-Agent LLM Systems](https://refivu.com/papers/cf44283b-cef0-4d8e-8e8c-befb61351e13-understanding-communication-failures-in-multi-agent-llm.md)
- [Tackling Length Inflation Without Trade-offs: Group Relative Reward Rescaling for Reinforcement Learning](https://refivu.com/papers/2321d7c9-d6ea-4517-8f66-69040c8c8aba-tackling-length-inflation-without-trade-offs-group-relative.md)
- [Capturing Temporal Dynamics in Large-Scale Canopy Tree Height Estimation](https://refivu.com/papers/f39cc8ae-27ba-473c-8b43-759b8e4465f0-capturing-temporal-dynamics-in-large-scale-canopy-tree.md)
- [Belief Dynamics Reveal the Dual Nature of In-Context Learning and Activation Steering](https://refivu.com/papers/d8a983ad-bb38-4da1-b206-d28c135bf2cb-belief-dynamics-reveal-the-dual-nature-of-in.md)
- [Backward Oversmoothing: why is it hard to train deep Graph Neural Networks?](https://refivu.com/papers/2bc54b0b-40f8-407e-888a-f6bdd4c617d1-backward-oversmoothing-why-is-it-hard-to-train.md)
- [Chunk-Guided Q-Learning](https://refivu.com/papers/1c51a0a6-766a-4a55-9a6c-e5f7036f85cb-chunk-guided-q-learning.md)
- [Random Scaling and Momentum for Non-smooth Non-convex Optimization](https://refivu.com/papers/42597ac0-9c21-465e-8654-9e6b3122fb3d-random-scaling-and-momentum-for-non-smooth-non.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/be038ab0-be1a-4ce2-b431-c42e3f703f14-mem-t-densifying-rewards-for-long-horizon-memory)
