Test-Time Agent Evolution for Long-Horizon Legal Reasoning
Haotian Chen, Shuaicheng Niu, Haocong Rao, Kaisong Song, Jun Lin, Lizhen Cui, Zhiqi Shen, Yonghui Xu
Abstract
Legal intelligence aims to support reliable decision-making across long-horizon legal processes involving evolving case states and multiple roles. However, real-world legal deployment exhibits substantial case heterogeneity in facts, evidence, and procedural contexts, exposing the limitations of static agent strategies. Moreover, legal reasoning is inherently interdependent across roles and procedural stages, making global reliability fundamentally different from isolated role competence. To address these challenges, we study training-free test-time agent adaptation, where agents continuously exploit deployment-time signals from preceding cases and ongoing interactions without updating model parameters. We propose , which introduces Test-Time Memory Evolution to retrieve reusable experience from previous cases, adapt it to the current factual and procedural context, and consolidate accumulated experience for subsequent decision-making. Further, Rubric-Aligned Collaboration verifies and revises role-specific actions according to behavioral and procedural requirements, enabling coordinated decision-making across roles and stages. Extensive experiments on J1-EVAL and LegalWorld across five backbone models demonstrate consistent improvements over representative reasoning and agent baselines with reasonable interaction and computational costs. Ablation and case studies further show that the two components provide complementary benefits in experience adaptation and cross-role coordination, improving the reliability and efficiency of long-horizon legal reasoning.
Create a lesson
Related papers
Self-Improving Long-Horizon Reasoning by Learning Summaries from Local Continuations
Shared title terminologycs.AIHaoqun Cao, Tengyang Xie
DMC-5: Dual-Model Collaboration with Cache-aware Context Compression for Long-horizon Agents
Shared title terminologycs.AIHaochen Li, Xiaobing Tu, Yinggui Wang et al.
AgentHorizon: Evaluating Agentic Judges for Long-Horizon Computer-Use Tasks
Shared title terminologycs.AIXing Han Lù, Dheeraj Vattikonda, Sina Hajimiri et al.
RewardWeaver: Long-Horizon Interactive Learning for Language Agents via Self-Evolving Reward Adaptation
Shared title terminologycs.AIHengbo Xiao, Boyao Zhang, Purui Liu et al.
Transect: Retaining Observability for Long-Horizon LLM Agent Evaluations
Shared title terminologycs.AIToby D. Pilditch, Konstantinos Voudouris, Alexandra Abbas et al.
ThinkFuse: Trajectory-Aware Test-Time Fusion for Small Reasoning Models
Shared title terminologycs.AIMyunghoon Kang, Jungseob Lee, Jaehyung Seo et al.