TL;DR
RE-TRAC (REcursive TRAjectory Compression) moves beyond the linear "ReAct" paradigm by allowing deep search agents to learn from their own failed or incomplete attempts. By recursively summarizing previous search trajectories into a structured state—capturing evidence, uncertainties, and abandoned plans—it enables agents to explore more broadly and efficiently, outperforming standard methods by 15–20% while using significantly fewer computational resources.
What Problem Does This Paper Address?
Most modern AI search agents rely on the ReAct framework, where the model interleaves reasoning steps with tool use (like web searching) in a single, linear sequence. While effective for simple tasks, this "linear" approach fails during complex, open-ended research.
The authors identify a core phenomenon called "incomplete branch exploration." In long-horizon tasks, an LLM might plan to check three different sources but, as the conversation context grows and becomes cluttered with search results, it "forgets" to follow through on the remaining branches. This leads to agents getting stuck in local optima, repeating the same searches, or failing to maintain global awareness. Essentially, the models have the reasoning capacity to find the answer (as evidenced by high pass@k scores), but they lack the "management" framework to organize a multi-round investigation.
Methods
The researchers introduce RE-TRAC, a recursive framework that treats research as a progressive, multi-round process rather than a single shot.
- Trajectory Compression: After each search "rollout," the agent doesn't just keep going. Instead, it generates a Structured State Representation ($S_t$). This summary includes:
- Answer & Analytical Conclusions: What do we know so far?
- Evidence Base & Source Verification: Which URLs were checked and what was verified?
- Uncertainties & Exploration Trace: What is still missing? Which paths were tried and failed?
- Recursive Execution: This compressed state is fed back to the agent as the starting point for the next round. This "summarize-and-reset" approach clears the distracting "noise" of raw search results while preserving the "signal" of the investigation's progress.
- SFT for Small Models: To make this work on smaller hardware, the authors developed a supervised fine-tuning (SFT) recipe. They synthesized 33,000 complex QA pairs and collected 104,000 high-quality RE-TRAC trajectories from a teacher model (GLM-4.7) to train 4B and 30B models to specifically use these structured summaries.
Datasets
The framework was evaluated across five challenging search-oriented benchmarks:
- BrowseComp & BrowseComp-zh: Benchmarks specifically designed for web-browsing agents (English and Chinese).
- GAIA: A benchmark for general AI assistants requiring tool use and multi-step reasoning.
- XBench: Evaluates agent productivity and real-world task completion.
- HLE (Humanity’s Last Exam): A very difficult dataset of high-level reasoning questions.
For training their smaller models, they used an entity-tree based method to generate 33k custom QA pairs from Wikipedia.
Key Insights and Ideas
- Verification > Generation: The authors lean into the fact that LLMs are better at verifying information than generating it from scratch. RE-TRAC uses the agent as its own "editor," allowing it to critique its previous path before starting a new one.
- The Efficiency Paradox: Usually, more "rounds" of thinking mean more cost. However, RE-TRAC shows a monotonic reduction in tool calls and token usage across rounds. Because the agent has a clear summary of what it already knows, it stops making redundant search queries, eventually becoming more "targeted" and economical.
- Bridging the Pass@1 vs. Pass@8 Gap: The paper notes that current models have a huge gap between their first-try success and their success over eight independent tries. RE-TRAC effectively "harvests" that untapped potential by turning those independent tries into a collaborative, cumulative effort.
Key Results
- Frontier Model Gains: On the BrowseComp benchmark, RE-TRAC improved the performance of top-tier models (like GPT-5-medium and o3) by 15–20% compared to standard ReAct.
- Small Model Dominance: The fine-tuned RE-TRAC-30B model achieved 53% accuracy on BrowseComp, actually outperforming much larger models like the 358B parameter GLM-4.7.
- State-of-the-Art for Scale: The RE-TRAC-4B model set a new SOTA for compact models, beating competitors like AgentCPM-4B and NestBrowse-4B by significant margins.
- Resource Savings: Compared to other "test-time scaling" methods (like Majority Voting), RE-TRAC achieved better accuracy while consuming 50% fewer resources because it avoids redundant exploration.
Limitations and Future Work
- Summarization Bottleneck: The authors noted that the 4B model’s performance is still limited by its ability to summarize its own trajectories. When they swapped in a stronger model (GLM-4.7) just to handle the "compression" step, the 4B model's accuracy jumped from 30% to 38.5%.
- Training Complexity: While RE-TRAC works as a "training-free" prompting strategy for frontier models, smaller models require specific SFT to learn how to ground their reasoning in the structured state.
- Future Directions: The team plans to explore integrating Reinforcement Learning (RL) to further optimize how the agents generate and use these experience summaries, potentially allowing the models to learn even more sophisticated search strategies autonomously.
Summary updated