NeurIPS 2026QuestionsPapersAreasAboutMarkdown

HierFlow: Hierarchical Coupled Dual-Space Search for Automatic Agentic Workflow Generation

Dong Li, Yanchi Liu, Xujiang Zhao, Wei Cheng, Zhengzhang Chen, Xintao Wu, Zhong Chen, Chen Zhao, Haifeng Chen

NeurIPS page · Open on the map

Category: LLM Agents, Evals & Benchmarks › Agentic Workflow and Environment Generation · Type: new method · Keywords: hierarchical workflow generation, agentic AI, test-time search, topology-execution coupling, adaptive gating

Areas: Code & Coding Agents › Code Generation and Optimization › Evolutionary Search and Self-Evolution; AI Agents › Agentic Decision Making › Agent Architectures

Summary

HierFlow introduces a training-free hierarchical test-time search framework that couples topology refinement and execution-level optimization for automatic agentic workflow generation.

Explained to a 5-year-old

Agents are AI helpers that follow steps to solve problems. Making those steps automatically is hard because there are many possible ways. The new idea uses a two-level search: first it decides what big steps to take, then it refines the small steps based on feedback. It also decides when it needs to look harder at the small steps. This helps create good steps quickly without training a lot.

Explained to a 5-year-old, longer

Imagine a robot helper that can solve puzzles by following a list of steps. Usually people have to write those steps by hand, which takes a lot of time. The paper talks about making those steps automatically, which is a tricky problem. There are many possible ways to arrange the steps, like a big puzzle. The authors split the problem into two parts: deciding the big steps and then fine-tuning the small steps. The big steps create special mini-problems for each part of the task. After trying a small step, the system gets feedback and can change the big steps if needed. They also use a smart rule to know when it is worth spending time to improve the small steps. This way the system can adjust the workflow on the fly, without needing to be trained beforehand. The approach works like a tree search, exploring possibilities quickly. It also includes an analysis that tells us when this two-level idea helps the most. Overall, the method creates good workflows faster and with less effort than older methods.

For a technical reader

The paper addresses the challenge of automatically constructing structured workflows for agentic AI systems, which traditionally require manual design or extensive offline training. It formulates the problem as a coupled search between high-level topology and low-level execution, using hierarchical decomposition to define subtask-specific search spaces. The proposed framework employs feedback-driven refinement of the topology together with an MCTS-inspired tree search for optimizing sub-workflows, and a gating mechanism decides when deeper search is needed. A coupling-aware analysis provides insight into when hierarchical decomposition and proxy gating are advantageous. Experiments on QA, mathematical reasoning, and code generation benchmarks demonstrate strong performance and efficiency without additional training.

Problem

Automatically generating structured workflows for agentic AI remains challenging due to the discrete and combinatorial search space, and existing methods often rely on offline search or training, limiting query-level adaptability.

Method

The approach formulates workflow generation as a coupled topology-execution search problem, using hierarchical decomposition where the upper-level topology defines subtask-specific code-search domains, and lower-level execution feedback refines the topology. It employs feedback-driven topology refinement combined with an MCTS-inspired lightweight tree search for execution-level sub-workflow optimization, and an adaptive gating mechanism to decide when to trigger execution search.

Results

The approach demonstrates strong performance and favorable efficiency-quality trade-offs, outperforming competitive baselines without requiring additional training.

Contributions

The paper introduces a training-free hierarchical test-time search formulation for workflow generation, coupling topology refinement with execution-level optimization and providing a coupling-aware analysis of hierarchical decomposition and gating. It also presents experiments across multiple benchmarks showing the effectiveness of the approach.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction