arXiv · 2612.00386
Dependency-Aware Task Decomposition and Parallel Multi-LLM Execution on Serverless Workflows
Abstract
Complex LLM tasks are increasingly solved by splitting them into dependent subtasks, yet these subtasks are usually executed sequentially by a single strong model. This inflates latency, since independent subtasks wait on one another, and cost, since simple subtasks are over-provisioned with an expensive model. We present RouteFlow, a serverless framework that decomposes a task into a dependency graph, assigns each subtask to a strong, medium or lightweight LLM according to the type of computation it performs, and executes the graph as a serverless workflow in which independent subtasks run in parallel. We evaluate RouteFlow on 100 LongCoT chemistry problems of easy, medium and hard difficulty, using each problem's own decomposition, against two baselines that use GPT-5.2 for every subtask, one sequential and one parallel. Running independent subtasks in parallel reduces end-to-end latency by 22%. Also assigning simpler subtasks to the medium and lightweight models raises the speedup to 1.47x over sequential execution and reduces cost by 7-9% compared with the parallel baseline and by 2-4% compared with the sequential one, while solving about as many tasks (15-16 of 100 in every configuration).
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Jackson Beem, Amine Barrak. 2026-11-30. Dependency-Aware Task Decomposition and Parallel Multi-LLM Execution on Serverless Workflows. https://doi.org/10.1145/3861043.3861053. https://searcharxiv.org/abs/2612.00386
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.