In the rapidly evolving world of AI agents, the ability to navigate the open web is the ultimate "final boss." While large language models (LLMs) are great at reasoning over static data, they often struggle when tasked with complex, multi-step research. A new framework from researchers at ASTAR and NTU, FlowSearcher*, shifts the paradigm from simple tool-calling to sophisticated, memory-guided workflow synthesis.
TL;DR
FlowSearcher replaces rigid, linear agent trajectories with dynamic, graph-based workflows tailored to specific subgoals. By leveraging a hierarchical memory of past successes and failures, it enables agents to "learn" and adapt their search strategies on the fly without the need for expensive retraining or Reinforcement Learning from Human Feedback (RLHF).
What Problem Does This Paper Address?
Most current web agents follow the ReAct (Reason + Act) template: a linear "think-act-observe" loop. While effective for simple tasks, this approach is fundamentally brittle for deep research. Real-world information seeking is rarely linear; it involves branching paths, backtracking, and synthesizing information from disparate sources.
Furthermore, most agents suffer from episode isolation. Once a task is finished, the agent "forgets" everything it learned about which search queries worked or which websites were useless. Existing "plan-then-execute" frameworks also fall short because they often treat the plan as a fixed scaffold, failing to adapt when new evidence contradicts the initial strategy.
Methods: Memory-Guided Workflow Synthesis
FlowSearcher tackles these issues by decoupling high-level orchestration from low-level execution through a two-level process.
- High-Level Workflow Synthesis: Instead of predicting a single next action, the "Orchestrator" decomposes a query into subgoals and synthesizes a Directed Acyclic Graph (DAG) of tool-use patterns. It chooses from a library of building blocks (e.g., "Swift-Hit" searchers, "In-depth" browsers, or "Ensemble" summarizers) to create a custom workflow for that specific subgoal.
- Low-Level Workflow Execution: The "Executor" follows the synthesized graph, but its behavior at each node is guided by a Hierarchical Memory.
The core innovation is this Structured Compositional Memory, which operates at three levels:
- Task-level: Stores the overall problem context and whether it was solved.
- Graph-level: Records the specific workflow topology and its success rate.
- Node-level: Captures fine-grained action-observation traces (e.g., specific search keywords that yielded results).
When a new query arrives, FlowSearcher retrieves relevant "structural experiences" from this memory to guide both the design of the new workflow and the execution of individual steps.
Datasets
The researchers evaluated FlowSearcher across three challenging benchmarks that test different aspects of agentic capability:
- GAIA: A benchmark for general AI assistants requiring complex information retrieval and multi-step reasoning.
- BrowseComp: Specifically designed for browsing agents, featuring "hard to solve yet easy to verify" web tasks.
- GPQA-Diamond: A set of graduate-level science questions (Physics, Biology, Chemistry) that are "Google-proof" and typically require expert-level knowledge.
Key Insights and Ideas
- Structure Over Sequences: The authors argue that the bottleneck in agent performance isn't model scale, but decision structures. By representing solutions as manipulable graphs rather than linear chains, the agent gains the flexibility to explore multiple paths in parallel.
- Learning Without Training: FlowSearcher achieves performance gains comparable to (or better than) models fine-tuned with RLHF. It does this purely through in-context learning and memory retrieval, making it more practical for deployment.
- The Value of Failure: The hierarchical memory doesn't just store what worked; it stores what failed. By contrasting successful and unsuccessful traces, the orchestrator can avoid "fragile" tool chains and choose more robust strategies.
- Adaptive Complexity: Ablation studies showed that the agent naturally shifts toward more complex tools (like "In-depth Browsers") as the difficulty of the task increases (e.g., GAIA Level 1 vs. Level 3).
Key Results
FlowSearcher consistently outperformed strong baselines like WebThinker and WebDancer across various LLM backbones (including Qwen-2.5 and GPT-4o-mini).
- GAIA: Achieved an 11.5% improvement over WebThinker-Base.
- BrowseComp: Showed a 9.5% gain, proving its superior ability to navigate complex web environments.
- GPQA-Diamond: Using a QwQ-32B backbone, FlowSearcher reached a score of 71.2%, rivaling the performance of massive models like DeepSeek-R1-671B (74.2%).
- Flexibility: The "No Limitations" configuration (allowing the model full access to its block library) improved GAIA performance by 20.3% compared to a restricted "First-Hit" baseline.
Limitations and Future Work
While FlowSearcher is a significant step forward, the authors note a few areas for improvement:
- Backbone Dependency: The quality of the synthesized workflow is still heavily dependent on the underlying LLM's ability to reason about graph structures.
- Retrieval Heuristics: The current memory retrieval relies on weighted similarity between queries. More sophisticated retrieval mechanisms could further improve the relevance of injected experiences.
- Scaling Memory: As the memory grows, managing and distilling thousands of past workflows into "actionable insights" will become a significant engineering challenge.
FlowSearcher demonstrates that by giving agents a "memory" of how to structure their work, we can move closer to autonomous research assistants that actually get smarter with every search.
Source: FlowSearcher: Synthesizing Memory-Guided Agentic Workflows for Web Information Seeking (ICLR 2026). Code available at github.com/XiangKeYiNTU/flowsearcher.
Summary updated