Enregistré dans:
Détails bibliographiques
Auteurs principaux: Fan, Wei, Zhou, Yining, Zhang, Mufan, Weng, Yanbing, HU, Yiran, Zheng, Tianshi, Xu, Baixuan, Li, Chunyang, Yang, Jianhui, Li, Haoran, Song, Yangqiu
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:https://arxiv.org/abs/2605.25920
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918521654476800
author Fan, Wei
Zhou, Yining
Zhang, Mufan
Weng, Yanbing
HU, Yiran
Zheng, Tianshi
Xu, Baixuan
Li, Chunyang
Yang, Jianhui
Li, Haoran
Song, Yangqiu
author_facet Fan, Wei
Zhou, Yining
Zhang, Mufan
Weng, Yanbing
HU, Yiran
Zheng, Tianshi
Xu, Baixuan
Li, Chunyang
Yang, Jianhui
Li, Haoran
Song, Yangqiu
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25920
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Can LLMs Time Travel? Enhancing Temporal Consistency in Legal Agentic Search through Reinforcement Learning
Fan, Wei
Zhou, Yining
Zhang, Mufan
Weng, Yanbing
HU, Yiran
Zheng, Tianshi
Xu, Baixuan
Li, Chunyang
Yang, Jianhui
Li, Haoran
Song, Yangqiu
Computation and Language
Artificial Intelligence
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.
title Can LLMs Time Travel? Enhancing Temporal Consistency in Legal Agentic Search through Reinforcement Learning
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2605.25920