arXiv:2608.24794cs.AIAug 2026

Manuscript Offprint

arXiv:2608.24794

CAFE: Self-Improving Search Agents Need Co-Evolving Feedback

Boyang Liu, Senjie Jin, Peixin Wang, Zhangyue Yin, Yibo Wang, Yuhao Zhou, Xinbing Liang, Shizheng Zhu, Yuhui Wang, Jingqi Tong, Zhiheng Xi, Jiazheng Zhang, Clive Bai, Clarenceai, Blaze Chen, Tao Gui, Qi Zhang, Xuanjing Huang

ABSTRACT

Outcome-supervised search agents learn when and how to retrieve evidence, but terminal rewards neither localize intermediate errors nor redirect an ongoing trajectory before those errors compound. Treating corrective feedback as a learned in-trajectory intervention couples the two roles: the agent must decide when to request and use feedback, while the critic must infer useful corrections from outcome-confounded rollouts whose failure patterns shift as the agent improves. We introduce CAFE (Coupled Agent–Feedback Evolution), a framework in which a shared-parameter model alternates between search-agent and critic roles. CAFE initializes feedback-conditioned recovery from trajectories built around the base agent's own failures, then couples online and offline optimization. During online RL, a comparative feedback estimate uses a prompt-level call–skip success gap to shape request returns, while feedback-aware advantage shaping reweights token advantages before and after feedback. Offline, rollout-derived preference optimization learns feedback from matched successful and unsuccessful trajectories. On seven agentic search benchmarks, CAFE outperforms the evaluated RL-based search agents on average, retains its gains across all six out-of-domain benchmarks, and reduces answer-level hallucinations. One-sided ablations show that improving only the agent or only the critic eventually plateaus, whereas alternating the two updates continues to improve performance. These findings suggest that a self-improving search agent needs feedback that co-evolves with the policy it guides.

1 INTRODUCTION

Search agents answer knowledge-intensive questions by iteratively interacting with external search environments, issuing queries and revising their behavior based on retrieved evidence (Xi et al., 2025; Li et al., 2025b; Zheng et al., 2025b). Many earlier retrieval-augmented pipelines relied on fixed strategies that determined when retrieval should occur, either at predetermined reasoning stages (Trivedi et al., 2023) or when a hand-crafted condition was triggered (Jiang et al., 2023). In contrast, outcome-supervised search agents learn policies for when and how to search from terminal task rewards (Jin et al., 2025a; Song et al., 2025). Yet this autonomy remains largely outward-facing, with agents learning what external knowledge to seek while lacking comparable introspection into their own search trajectories.

In long-horizon search, an early directional error may receive no immediate corrective signal. Its cost is not confined to the errant step but propagates throughout the subsequent trajectory (Wang et al., 2026a; An et al., 2026; Qi et al., 2026). Nor is the source of failure easy to identify retrospectively. For instance, the agent may apply a constraint to the initial candidates but silently drop it in later steps, leave a required subgoal unexplored, or repeatedly rephrase a query without acquiring new evidence (Wong et al., 2026; Polshkov et al., 2026). In such scenarios, the trajectory

*Equal Contribution † Corresponding Author ‡ Project Leader begins correctly but ends in failure, and the terminal reward cannot say where. Recent work has therefore introduced finer-grained credit through information gain (Wang et al., 2025), confidence change (Xie et al., 2026), and local state comparison (Zheng et al., 2025a; Feng et al., 2025). These signals remain evaluative rather than instructive (Sutton et al., 1998), assigning credit retrospectively while deferring correction to future policy updates. Redirecting the active trajectory instead requires in-context feedback that diagnoses where the search has drifted and prescribes what to try next.

Although prior work has explored in-context feedback, methods such as Reflexion (Shinn et al., 2023), Self-Refine (Madaan et al., 2023), and CRITIC (Gou et al., 2024) typically return natural-language critiques post hoc and via prompted rather than trained models. Making such feedback learnable and delivering it within the active trajectory introduces three intertwined challenges. The first lies with the agent, which must learn when to request an intervention, while its learning objective must determine which behavior the resulting success should reinforce, given that a rescued trajectory and a flawless one yield identical rewards (Uesato et al., 2022). The second lies with the critic, whose feedback must be learned without ground truth, from a reward confounded by both the preceding search and the agent's subsequent actions. The third emerges between them, as online updates shift the states the agent visits and the failures it encounters (Ackermann et al., 2025), potentially leaving a static critic misaligned with the evolving policy it is meant to guide.

To address these challenges, we introduce CAFE (Coupled Agent–Feedback Evolution), an iterative, shared-parameter framework that integrates corrective feedback into the active search trajectory and alternates optimization of the agent and critic capabilities. Learning this coupled interaction directly from sparse outcomes is difficult, so we initialize CAFE with recovery demonstrations constructed from the base agent's own failures. Rather than replacing a failed rollout with an ideal trajectory, we preserve its erroneous prefix, insert corrective feedback, and retain a successful continuation. This teaches the model to request, generate, and use feedback at states its own policy actually visits. Imitation alone, however, does not reveal when an intervention is useful or how the resulting success should be credited. During online RL, the comparative feedback estimate (CFE) measures feedback utility through the prompt-level success gap between rollouts with and without feedback requests, while feedback-aware advantage shaping redistributes credit across the intervention. Offline, rollout-derived preference optimization (RDPO) learns from prefix-matched successful and failed trajectories, reducing outcome confounding. At each iteration, CAFE alternates online agent learning with offline critic refinement using the latest rollouts, maintaining alignment between the two capabilities as they co-evolve.

We evaluate CAFE using Qwen2.5-7/3B-Instruct (Qwen et al., 2025) across seven agentic SearchQA benchmarks, with additional evaluation on BrowseComp-Plus (Chen et al., 2025). At the 7B scale, CAFE achieves the strongest average performance among competing RL-based search methods, outperforming the strongest baseline by 2.1 EM and 1.3 F1. Notably, these gains are consistent across all six out-of-domain benchmarks and generalize robustly to the 3B scale. Extensive component and objective ablations confirm the necessity of our feedback-aware credit assignment and the alternating optimization schedule. Furthermore, in-depth analyses of agent–critic cross-play, training dynamics, and hallucination (reducing the average answer-level rate from 17.6% to 12.6%) explicitly demonstrate how sustained co-evolution actively drives the observed performance improvements.

Our contributions are fourfold:

① We formulate self-improving search as a coupled agent–feedback learning problem. CAFE integrates both roles within a shared-parameter model, alternating online policy updates with offline critic refinement.

② We develop a targeted RL framework for seeking and utilizing feedback. Our comparative feedback estimate (CFE) and advantage shaping actively learn when to trigger interventions and how to assign credit.

③ We introduce rollout-derived preference optimization (RDPO) for feedback generation. By learning from prefix-matched preference pairs mined from the latest online rollouts, RDPO keeps the critic aligned with the agent as it evolves.

④ We provide empirical evidence for co-evolution. CAFE achieves the best average performance among the evaluated RL-based baselines, transfers robustly to all out-of-domain datasets, reduces hallucinations, and drives sustained gains in both trajectory quality and search performance.

Figure

Figure 1: Overview of CAFE. One shared model serves as agent and critic. CFE shapes request returns from the call–skip gap; advantage shaping weights tokens before and after feedback. RDPO updates the critic from prefix-matched pairs mined from recent rollouts.