Can LLMs Time Travel? Enhancing Temporal Consistency in Legal Agentic Search through Reinforcement Learning
On the map: LLM agents and tool use → Social simulation and multi-agent debate
Abstract (arXiv)
While large language models (LLMs) augmented with agentic search capabilities show promise for legal reasoning, they overlook a fundamental constraint that applicable law must match the temporal context of each case, as retroactive application of statutes violates core legal principles and leads to erroneous conclusions. Our observations reveal that current legal LLMs suffer from temporal bias anchored to their training cutoff, while search agents rarely incorporate temporal constraints into queries, and that web search alone cannot provide the precise statute and precedent citations that legal reasoning demands. To address these challenges, we propose LegalSearch-R1, an end-to-end reinforcement learning framework that pairs local statute RAG for precise article matching with online web search for broader legal knowledge, trained on temporally-indexed data spanning multiple amendment periods to enforce temporal consistency. Extensive experiments on our benchmark covering 13 legal tasks demonstrate that our 7B-parameter agent outperforms state-of-the-art deep research frameworks and specialized legal LLMs by 12.9% to 29.8%, surpasses baselines by 57.7% to 80.3% on temporal consistency, and exhibits robust out-of-domain generalization. The code and data are available at https://github.com/AlexFanw/LegalSearch-R1.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Social simulation and multi-agent debate, one of 16 directions in LLM agents and tool use. Builds on 17 of its 39 references that are in the map. First posted on arXiv 25 May 2026.
Builds on
17 of 39 references.
Closest ancestors · 1
Same direction, newest first
Other references · 16
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
- 2025WebThinker: Empowering Large Reasoning Models with Deep Research Capabilitycited by 320
- 2023FreshLLMs: Refreshing Large Language Models with Search Engine Augmentationcited by 308
- 2024SaulLM-7B: A pioneering Large Language Model for Lawcited by 136
- 2023DISC-LawLLM: Fine-tuning Large Language Models for Intelligent Legal Servicescited by 117
- 2023SAILER: Structure-aware Pre-trained Language Model for Legal Case Retrievalcited by 61
- 2025EvolveSearch: An Iterative Self-Evolving Search Agentcited by 42
- 2024ChronosLex: Time-aware Incremental Training for Temporal Generalization of Legal Classification Taskscited by 11
- 2025LegalDelta: Enhancing Legal Reasoning in LLMs via Reinforcement Learning with Chain-of-Thought Guided Information Gaincited by 11
4 more
- 2025Unilaw-R1: A Large Language Model for Legal Reasoning with Reinforcement Learning and Iterative Inferencecited by 10
- 2025LexTime: A Benchmark for Temporal Ordering of Legal Eventscited by 9
- 2025LRAGE: Legal Retrieval Augmented Generation Evaluation Toolcited by 5
- 2025DeepPlanner: Scaling Planning Capability for Deep Research Agents via Advantage Shapingcited by 5
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026When Do LLMs Apply the Wrong Law? Diagnosing LLM Failures in Temporal Legal Reasoning
- 2026LexKairos: Benchmarking Legal Temporal Capabilities in LLMs
- 2026LLM Agents in Law: Taxonomy, Applications, and Challenges
- 2025Ready Jurist One: Benchmarking Language Agents for Legal Intelligence in Dynamic Environments
- 2024LegalAgentBench: Evaluating LLM Agents in Legal Domain
- 2025Continual Pre-Training is (not) What You Need in Domain Adaption
- 2026When Rules Learn: A Self-Evolving Agent for Legal Case Retrieval
- 2025A Reasoning-Focused Legal Retrieval Benchmark