NeurIPS 2026QuestionsPapersAreasAboutMarkdown

FlowBank: Query-Adaptive Agentic Workflows Optimization through Precompute-and-Reuse

Lingzhi Yuan, Chenghao Deng, Fangxu Yu, Souradip Chakraborty, Mohammad Rostami, Furong Huang

NeurIPS page · OpenReview · Open on the map

Category: LLM Agents, Evals & Benchmarks › Agentic Workflow and Environment Generation · Type: new method · Keywords: agentic workflow optimization, portfolio-based selection, query-adaptive, LLM multi-agent, cost-performance trade-off

Areas: AI Agents › Agent Systems and Interactions › Agent Orchestration

Summary

FlowBank introduces a three-stage framework that builds a compact bank of complementary workflows and adaptively selects them per query to balance performance and cost.

Explained to a 5-year-old

We have many little helpers that can solve problems. Instead of making a new helper every time we ask a question, we keep a small collection of helpers that can solve many different questions. We pick the best helper for each question. This makes solving questions faster. It also uses less energy.

Explained to a 5-year-old, longer

Imagine you have a robot friend that can answer questions. Usually, you either train one robot to answer everything, or you make a new robot for each question. Training one robot uses a lot of computer time, and making a new robot each time is also slow. The paper thinks there is a better way. It suggests keeping a small library of robot helpers that can cover many different kinds of questions. These helpers are made ahead of time and can be reused. For each new question, the system looks at the library and picks the helper that is most likely to give a good answer. This way, you don’t need to spend a lot of time making new helpers every time. It also saves computer power because you only use the helpers that are already ready. The helpers are chosen so that they cover different kinds of questions, not the same ones. This makes the system faster and cheaper while still giving good answers. In short, it’s like having a toolbox of specialized tools instead of building a new tool for every job.

For a technical reader

FlowBank builds a reusable portfolio of agentic workflows to avoid the high cost of per-query generation and the inefficiency of a single static workflow. It consists of three stages: diversifying, which generates a diverse candidate pool targeting under-covered queries; curating, which compresses the pool into a compact, low-redundancy set; and matching, which predicts the best workflow for each query using edge-value prediction on a bipartite graph. The matching stage routes queries to the most suitable portfolio member based on predicted utility while considering performance-cost trade-offs. This portfolio-based strategy yields higher average scores and better cost efficiency than existing baselines. The framework is evaluated on five benchmarks, showing relative improvements of 4.26% and 14.92% over automated and handcrafted baselines.

Problem

Optimizing agentic workflows currently involves a trade-off between offline compute and per-query inference cost, where either a single workflow is used for all queries or a new workflow is generated for each query, leading to inefficiency.

Method

The approach first generates a diverse set of candidate workflows targeting under-covered queries, then compresses them into a compact portfolio while minimizing redundancy, and finally matches each incoming query to the best portfolio member using edge-value prediction on a query-workflow graph.

Results

The approach achieves the highest average score among evaluated methods while staying cost-competitive, improving over the strongest baselines by 4.26% and 14.92% relative.

Contributions

It proposes a portfolio-based optimization objective that leverages complementary precomputed workflows, introduces techniques for diversifying, curating, and matching workflows, and demonstrates superior performance and cost efficiency across multiple benchmarks.

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