RE-TRAC: REcursive TRAjectory Compression for Deep Search Agents
Jialiang Zhu, Gongrui Zhang, Xiaolong Ma, Lin Xu, Miaosen Zhang, Ruiqi Yang, Song Wang, Kai Qiu, Zhirong Wu, Qi Dai, Ruichun Ma, Bei Liu, Yifan Yang, Chong Luo, Zhengyuan Yang, Linjie Li, Lijuan Wang, Weizhu Chen, Xin Geng, Baining Guo
TL;DR
RE-TRAC tackles the limitations of linear ReAct-based deep research agents by introducing a recursive trajectory compression mechanism that summarizes evidence, uncertainties, and future plans after each rollout. This structured state is used to condition subsequent rollouts, enabling cross-trajectory reflection, broader exploration, and reduced redundancy in tool use and token consumption. Empirically, RE-TRAC yields consistent improvements on frontier-model benchmarks and enables strong performance for smaller models via supervised fine-tuning, while also serving as a training-free test-time scaling method. The approach advances autonomous search by turning exploration into a progressively informed, memory-enabled process with practical benefits for efficiency and scalability.
Abstract
LLM-based deep research agents are largely built on the ReAct framework. This linear design makes it difficult to revisit earlier states, branch into alternative search directions, or maintain global awareness under long contexts, often leading to local optima, redundant exploration, and inefficient search. We propose Re-TRAC, an agentic framework that performs cross-trajectory exploration by generating a structured state representation after each trajectory to summarize evidence, uncertainties, failures, and future plans, and conditioning subsequent trajectories on this state representation. This enables iterative reflection and globally informed planning, reframing research as a progressive process. Empirical results show that Re-TRAC consistently outperforms ReAct by 15-20% on BrowseComp with frontier LLMs. For smaller models, we introduce Re-TRAC-aware supervised fine-tuning, achieving state-of-the-art performance at comparable scales. Notably, Re-TRAC shows a monotonic reduction in tool calls and token usage across rounds, indicating progressively targeted exploration driven by cross-trajectory reflection rather than redundant search.
