Manuscript Offprint

arXiv:2610.25980

ClueFlow: Learning Long-Horizon Search through Attributed Research-State Transitions

Yicheng Wang, Wentao Tan, Yidan Huang, Yifei Liu, Qiong Cao

Abstract

Long-horizon search requires agents to acquire relevant evidence and integrate it into an evolving research state. Existing methods maintain research states to guide exploration or assign turn-level progress signals, yet grounding these signals in explicit, attributable state changes remains underexplored. We introduce ClueFlow, which learns long-horizon search from attributed research-state transitions. ClueFlow constructs Source–State–Final attribution chains that connect evidence-acquiring browser actions, Evidence and Candidate updates, and the final answer supported by those updates. During search, ClueFlow records typed state changes and potentially supporting browser actions, then applies gold-conditioned semantic validation and source tracing after execution. We use this attribution to guide both supervised fine-tuning and reinforcement learning. During SFT, attribution selects which decisions receive supervision with their original interaction contexts. During Turn-PPO, the same attribution augments outcome-based turn advantages with credit assigned along the Source–State–Final chains. Transition-level validation also recovers useful supervision from gold-consistent state changes in trajectories with incorrect final answers. We evaluate ClueFlow across two Qwen backbones and four search benchmarks spanning live-web and fixed-corpus settings, observing consistent gains from SFT and further improvements from PPO. With Qwen3.5-35B-A3B, ClueFlow achieves 60.0% accuracy on BrowseComp and 72.0% on BrowseComp-Plus. In controlled BrowseComp-Plus experiments, attribution-guided SFT matches all-turn exact-context SFT using about 30% of the training tokens, while attribution-guided PPO outperforms outcome-only PPO by 4.1 pp. These results demonstrate that state-transition attribution enables efficient supervision and effective credit assignment for long-horizon search agents.

1 Introduction

Long-horizon search requires agents to gather evidence, evaluate candidate answers, and revise their hypotheses across extended interactions. For a multi-constraint question, a page may reveal evidence that confirms or rules out a candidate, prompting the agent to preserve that evidence and update its research state. A correct final answer alone does not distinguish useful evidence acquisition and state updates from routine exploration. Conversely, filtering out trajectories with incorrect final answers may discard valid intermediate progress. Learning from long search trajectories therefore requires identifying which research-state changes constitute meaningful progress and which information-gathering actions support those changes.

Recent methods organize accumulated findings into explicit research states, such as evolving reports (Chen et al., 2026a), structured summaries (Zhu et al., 2026), and candidate–constraint tables (Lan et al., 2026), to preserve useful information and guide subsequent exploration. Related memory methods learn to manage retained information through outcome-based reinforcement learning (Yan et al., 2026) or explicit feedback on memory informativeness (Li et al., 2026b). Other methods select valuable steps for supervision (Chen et al., 2025b; Slinko et al., 2026) or provide fine-grained credit assignment (Wang et al., 2025; 2026a; Liu et al., 2026a; Wang et al., 2026b). However, using validated research-state changes and explicit links to their supporting search actions to guide supervision and credit assignment remains underexplored. Figure 1 illustrates this distinction.

*Work done during an internship at Joy Future Academy. Email: yichengwang.992@gmail.com.

†^{\dagger}Corresponding author: mathqiong2012@gmail.com.

Figure

(a) Textual state

(b) Tabular state

Figure

(c) ClueFlow

Source action

Figure 1: Learning from attributed research-state transitions. (a) Textual-state agents maintain evolving reports that summarize accumulated findings (e.g., IterResearch; Chen et al., 2026a). (b) Tabular-state agents maintain tables tracking candidates, constraints, and collected information (e.g., Table-as-Search; Lan et al., 2026). Both update and consult these states to guide subsequent search. (c) ClueFlow additionally learns from record-level transitions through post-execution validation and source attribution.

Our key insight is that validating research-state transitions and tracing their supporting evidence makes explicit both what progress was made and which search actions supplied the evidence for that progress. A state records the agent's current evidence and answer hypotheses; a transition makes explicit how these records change. Based on this insight, ClueFlow constructs Source–State–Final attribution chains that connect evidence-acquiring browser actions, Evidence and Candidate transitions, and the final answer supported by those transitions.

During search, ClueFlow maintains persistent Evidence and Candidate records and logs typed state changes together with potentially supporting browser actions for each Evidence update. A recorded state change does not by itself establish useful research progress. After execution, gold-conditioned semantic validation identifies Evidence and Candidate transitions that make useful progress toward the reference answer. Source tracing then links validated Evidence transitions to the browser actions that supplied their supporting information. Gold answers and validation judges are used only for post-execution attribution and are never exposed to the search policy at test time. For correct trajectories, the resulting attribution connects evidence-acquiring browser actions and validated state transitions to the final answer they support. For trajectories ending in incorrect answers, ClueFlow retains validated Source–State partial chains that capture gold-consistent intermediate progress.

We apply this attribution principle in both supervised fine-tuning and reinforcement learning. During supervised fine-tuning, attribution selects which decisions are supervised with their original interaction contexts, while other valid turns in successful trajectories are supervised with compactly serialized contexts. During Turn-PPO (Li et al., 2026a), the same attribution augments outcome-based turn advantages with credit assigned along the Source–State–Final chains. Both stages also use validated Source–State progress recovered from trajectories with incorrect final answers.

Our main contributions are:

• We introduce attributed research-state transitions to represent verifiable research progress and link it to the browser actions that supplied its supporting evidence, providing an explicit basis for agent learning.

• We develop ClueFlow, which constructs Source–State–Final attribution chains through semantic validation and source tracing to guide SFT context selection and Turn-PPO credit assignment. Both stages also learn from validated partial progress in trajectories with incorrect final answers.

• We conduct controlled ablations on BrowseComp-Plus, showing that attribution-guided SFT matches all-turn exact-context SFT using about 30% of the training tokens, while attribution-guided PPO with failure recovery outperforms outcome-only PPO by 4.1 pp. ClueFlow SFT also outperforms the strongest tested ReAct SFT configuration by 6.5 pp. We further evaluate ClueFlow with two Qwen backbones on four benchmarks spanning live-web and fixed-corpus search, supporting the applicability of attributed research-state learning across different models and search environments.

References (78)