FlowBot: Inducing LLM Workflows with Bilevel Optimization and Textual Gradients
arXiv cs.CL 6 hours ago
Researchers introduced FlowBot, a method for automatically designing LLM workflows using bilevel optimization that structures multiple LLM calls without manual crafting. The approach uses textual gradients to optimize both the overall workflow architecture and individual LLM prompts in a modular fashion. FlowBot achieves competitive performance compared to human-designed and generated workflows across tested tasks.