Memory-T1: Reinforcement Learning for Temporal Reasoning in Multi-session Agents

Yiming Du, Baojun Wang, Yifan Xiang, Zhaowei Wang, Wenyu Huang +9 more
12/23/2025
cs.CL

Official code: Elvin-Yiming-Du/Memory-T1 (18 stars, last commit 2026-02-07).

Abstract

Temporal reasoning over long, multi-session dialogues is a critical capability for conversational agents. However, existing works and our pilot study have shown that as dialogue histories grow in length and accumulate noise, current long-context models struggle to accurately identify temporally pertinent information, significantly impairing reasoning performance. To address this, we introduce Memory-T1, a framework that learns a time-aware memory selection policy using reinforcement learning (RL). It employs a coarse-to-fine strategy, first pruning the dialogue history into a candidate set using temporal and relevance filters, followed by an RL agent that selects the precise evidence sessions. The RL training is guided by a multi-level reward function optimizing (i) answer accuracy, (ii) evidence grounding, and (iii) temporal consistency. In particular, the temporal consistency reward provides a dense signal by evaluating alignment with the query time scope at both the session-level (chronological proximity) and the utterance-level (chronological fidelity), enabling the agent to resolve subtle chronological ambiguities. On the Time-Dialog benchmark, Memory-T1 boosts a 7B model to an overall score of 67.0\%, establishing a new state-of-the-art performance for open-source models and outperforming a 14B baseline by 10.2\%. Ablation studies show temporal consistency and evidence grounding rewards jointly contribute to a 15.0\% performance gain. Moreover, Memory-T1 maintains robustness up to 128k tokens, where baseline models collapse, proving effectiveness against noise in extensive dialogue histories. The code and datasets are publicly available at https://github.com/Elvin-Yiming-Du/Memory-T1/

View on arXivView PDF

Code Implementations(1)

This respository is used for time reasoning task for mult-session dialogue system.

181PythonAug 4, 20258 months ago

Similar Papers

Cite this paper

@article{du2025memoryt,
  title  = {Memory-T1: Reinforcement Learning for Temporal Reasoning in Multi-session Agents},
  author = {Yiming Du and Baojun Wang and Yifan Xiang and Zhaowei Wang and Wenyu Huang and Boyang Xue and Bin Liang and Xingshan Zeng and Fei Mi and Haoli Bai and Lifeng Shang and Jeff Z. Pan and Yuxin Jiang and Kam-Fai Wong},
  year   = {2025},
  eprint = {2512.20092},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.20092v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.20092.svg)](https://codeofpaper.com/paper/2512.20092)

Discussion