arXiv:2610.23598cs.AIOct 2026

Manuscript Offprint

arXiv:2610.23598

RL-Guided Temporal Localization for Dual-Channel Retrieval in Long-Horizon Agent Memory

Dabin Sheng, Zhe Wu, Jinming Zhao, Junliang Xing, Yuanchun Shi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Time-aware retrieval is crucial for long-horizon LLM agents to effectively leverage ever-growing long-term memory. Existing methods focus on lexical or semantic similarity, leading to target memories being crowded out by temporally mismatched yet semantically similar candidates. Even time-aware approaches inject temporal cues only during memory organization or answer generation, overlooking temporal constraints at the retrieval stage, where candidate selection occurs—the root cause of the displacement. Inspired by the temporal contiguity effect in human episodic memory, we propose TIDER (Temporal Interval-driven Dual-channel Evidence Retrieval), a time-aware agentic retrieval framework. Central to TIDER is a reinforcement learning (RL)-trained temporal interval locator that infers the temporal windows in which the evidence lies. RL optimizes window localization as a discrete, non-differentiable retrieval decision, using composite rewards to convert sparse answer supervision into fine-grained retrieval feedback. These temporal windows first define the temporal retrieval channel; the retrieved candidates are then merged with results from the semantic channel and reranked by proximity to the windows. This temporal grounding enables TIDER to retrieve temporally aligned evidence that would otherwise be drowned out by the volume of semantically similar yet temporally mismatched memories. With a lightweight 1.7B locator, TIDER achieves state-of-the-art accuracy on both long-horizon memory benchmarks—61.52% on LifeBench (+8.82%) and 78.96% on LoCoMo (+3.66%), which indicates that temporal cues are crucial for pinpointing target evidence amid a vast pool of semantically similar historical events in long-term daily-life memory.

1 Introduction

In recent years, long-term personalized assistants powered by large language model agents have advanced rapidly [16, 18, 14, 2, 34]. Sustaining such long-horizon interactions requires a foundational capability: retrieving pertinent evidence from an ever-growing history of daily events to address user queries [5, 10]. However, daily events are highly homogeneous in surface semantics—"had dinner with family" can recur hundreds of times within a year—and the cue that genuinely tells one occurrence from another is often when it took place. This makes time-aware retrieval the central bottleneck: the system must locate the right evidence among many semantically similar events recurring at different times. In long-horizon personalized memory benchmarks such as LifeBench [4] and ATM-Bench [17], 80–90% of questions involve temporal expressions such as "what did I have for lunch after returning from Japan?", making time-aware retrieval indispensable rather than incidental.

†^{\dagger}Corresponding author.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Time-sensitive queries require evidence from a specific window, but semantic-only retrieval ranks semantically similar memories from the wrong time. TIDER predicts a temporal window to define the temporal channel, and promotes temporally aligned evidence into the retrieved context.

Existing agentic memory systems incorporate temporal information mostly outside the retrieval stage. Some inject temporal cues during memory organization with timestamps, temporal knowledge graphs, or time-aware structures [11, 21, 26]; others strengthen temporal reasoning during answer generation with neuro-symbolic reasoning, program solvers, or temporal operators [7, 25, 13, 29]; recent RL-based methods optimize memory operations or post-retrieval candidate filtering [31, 27, 6]. None of these methods addresses the root cause: once the correct evidence has been crowded out at retrieval, downstream reasoning and post-retrieval filtering can only operate on an incomplete or contaminated candidate set. Borrowing prior time-aware retrieval is also a poor fit: rule-based normalizers [33] fail on personal, fuzzy phrasings such as “the week of her birthday”, while time-sensitive encoders [1, 28, 20] couple temporal and semantic signals in one vector space, demanding extra supervision and degrading semantic recall. Long-term memory, therefore, calls for a retrieval-stage, query-adaptive temporal mechanism decoupled from the semantic encoder.

Motivated by the temporal contiguity effect in human episodic memory, where retrieval is shaped by temporal distance as well as semantic association [9], we propose TIDER (Temporal Interval-driven Dual-channel Evidence Retrieval), a time-aware agentic retrieval framework for long-term memory; the basic idea is illustrated in Figure 1. TIDER decouples temporal cues from the semantic encoder and represents them as temporal windows at the retrieval stage. Central to TIDER is a temporal interval locator πθ\pi_{\theta} trained via reinforcement learning: given a query and a timeline summary, πθ\pi_{\theta} decides whether the query is time-sensitive and predicts the windows that contain the target evidence. Window localization is a discrete, non-differentiable decision, so we cast it as an RL problem. The predicted windows define an independent temporal retrieval channel, while the semantic retrieval channel runs in parallel. Results from the two channels are merged and reranked by their distance to the predicted windows, promoting temporally aligned evidence into the top-k and suppressing semantically close but temporally mismatched distractors. πθ\pi_{\theta} is trained under a composite reward over temporal need, window localization, evidence coverage, and answer correctness. When the query is non-temporal, πθ\pi_{\theta} closes the temporal channel, and TIDER falls back to the semantic retrieval.

We evaluate TIDER on LifeBench [4] and LoCoMo [15], where it consistently outperforms prior agentic memory frameworks, time-aware retrieval methods, and temporal reasoning methods, with the largest gains on hard queries that require distinguishing semantically similar events recurring at different times. Our contributions are:

  1. A time-aware agentic retrieval framework for long-term memory. TIDER predicts query-adaptive temporal windows that define a temporal channel parallel to the semantic one, and reranks merged candidates by window distance, resolving the bottleneck that semantically similar events from different times are hard to distinguish at retrieval.

  2. A reinforcement-learning algorithm for training the temporal interval locator. Rewards over temporal need, window localization, evidence coverage, and answer correctness convert sparse answer-only supervision into fine-grained retrieval-stage feedback, enabling the locator to predict evidence-covering windows that improve downstream retrieval.

  3. State-of-the-art performance on long-horizon memory benchmarks. With only a 1.7B locator, TIDER reaches 61.52% on LifeBench (+8.82%) and 78.96% on LoCoMo (+3.66%), indicating that temporal cues are crucial for pinpointing target evidence amid a vast pool of semantically similar historical events in long-term daily-life memory.

References (35)