Batch Query Processing and Optimization for Agentic Workflows
On the map: Efficient LLM inference and serving → Efficient reasoning and agent inference
Abstract (arXiv)
Large Language Models (LLMs) in agentic workflows combine multi-step reasoning, heterogeneous tool use, and collaboration across multiple specialized agents. Existing LLM serving engines optimize individual calls in isolation, while multi-agent frameworks focus on orchestration without system-level performance planning. As a result, repeated prompts, overlapping contexts, and fragmented CPU-GPU execution create substantial redundancy and poor hardware utilization, especially in batch analytics scenarios. We introduce Halo, a system that brings batch query processing and optimization into agentic LLM workflows. Halo represents each workflow as a structured query plan DAG and constructs a consolidated graph for batched queries that exposes shared computation. Guided by a cost model that jointly considers heterogeneous resource constraints, prefill and decode costs, cache reuse, and GPU placement, Halo performs plan-level optimization to minimize redundant execution. The Processor integrates adaptive batching, KV-cache sharing and migration, along with fine-grained CPU-GPU pipelining to maximize holistic hardware efficiency. Evaluation across six benchmarks shows that Halo achieves up to 3.6x speedup for batch inference and 2.6x throughput improvement under online serving, scaling to workloads of thousands of queries and complex graphs. These gains are achieved without compromising output quality. By unifying query optimization with heterogeneous LLM serving, Halo enables efficient agentic workflows in data analytics and decision-making applications.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Efficient reasoning and agent inference, one of 12 directions in Efficient LLM inference and serving. Builds on 59 of its 130 references that are in the map. First posted on arXiv 2 Sep 2025.
Builds on
59 of 130 references.
Closest ancestors · 3
Same direction, newest first
- 2025KVFlow: Efficient Prefix Caching for Accelerating LLM-Based Multi-Agent Workflows10 Jul
- 2025Autellix: An Efficient Serving Engine for LLM Agents as General Programs19 Feb
- 2024DroidSpeak: KV Cache Sharing for Cross-LLM Communication and Multi-LLM Serving5 Nov
Other references · 56
- 2017Attention Is All You Needcited by 59,932
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2025Qwen3 Technical Reportcited by 8,195
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
38 more
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,838
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2025Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learningcited by 1,371
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,173
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 516
- 2023SpecInfer: Accelerating Generative Large Language Model Serving with Tree-based Speculative Inference and Verificationcited by 359
- 2025EAGLE-3: Scaling up Inference Acceleration of Large Language Models via Training-Time Testcited by 318
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 255
- 2025Small Language Models are the Future of Agentic AIcited by 254
- 2024LLM Agents Grounded in Self-Reports Enable General-Purpose Simulation of Individualscited by 235
- 2024Bridging Language and Items for Retrieval and Recommendation: Benchmarking LLMs as Semantic Encoderscited by 213
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 211
- 2023CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Servingcited by 199
- 2024TradingAgents: Multi-Agents LLM Financial Trading Frameworkcited by 182
- 2025Beyond Ten Turns: Unlocking Long-Horizon Agentic Search with Large-Scale Asynchronous RLcited by 144
- 2024AgentScope: A Flexible yet Robust Multi-Agent Platformcited by 120
- 2024Parrot: Efficient Serving of LLM-based Applications with Semantic Variablecited by 96
- 2019Neo: A Learned Query Optimizercited by 80
- 2020MLIR: A Compiler Infrastructure for the End of Moore's Lawcited by 64
- 2025PathRAG: Pruning Graph-based Retrieval Augmented Generation with Relational Pathscited by 60
- 2020Heterogeneity-Aware Cluster Scheduling Policies for Deep Learning Workloadscited by 56
- 2024DocETL: Agentic Query Rewriting and Evaluation for Complex Document Processingcited by 49
- 2025AutoAgent: A Fully-Automated and Zero-Code Framework for LLM Agentscited by 49
- 2020HetPipe: Enabling Large DNN Training on (Whimpy) Heterogeneous GPU Clusters through Integration of Pipelined Model Parallelism and Data Parallelismcited by 46
- 2024Project Sid: Many-agent simulations toward AI civilizationcited by 46
- 2018BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analyticscited by 41
- 2024A Declarative System for Optimizing AI Workloadscited by 35
- 2024Teola: Towards End-to-End Optimization of LLM-based Applicationscited by 32
- 2024Semantic Operators: A Declarative Model for Rich, AI-based Data Processingcited by 29
- 2024Optimizing LLM Queries in Relational Data Analytics Workloadscited by 20
- 2025AgentScope 1.0: A Developer-Centric Framework for Building Agentic Applicationscited by 16
- 2024AI Metropolis: Scaling Large Language Model-based Multi-Agent Simulation with Out-of-order Executioncited by 14
50 most cited of 56 All 56 (JSON)
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026Efficient LLM Serving for Agentic Workflows: A Data Systems Perspectivecited by 10
- 2026TOPAS: Workflow-Aware Prefix-State Scheduling for Multi-Agent LLM Servingcited by 1
- 2026Towards Effective Orchestration of AI x DB Workloadscited by 0
- 2026SCALE: Scalable Cross-Attention Learning with Extrapolation for Agentic Workflow Schedulingcited by 0
- 2026HeraSys: Collaborative Serving of Multiple LLM Workflows via Fine-Grained End-to-End Optimizationcited by 0
- 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Servingcited by 0
- 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Serving25 Sep 2026
- 2026TOPAS: Workflow-Aware Prefix-State Scheduling for Multi-Agent LLM Serving26 Aug 2026
- 2026HeraSys: Collaborative Serving of Multiple LLM Workflows via Fine-Grained End-to-End Optimization7 Jun 2026
- 2026SCALE: Scalable Cross-Attention Learning with Extrapolation for Agentic Workflow Scheduling5 Jun 2026
- 2026Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective17 Mar 2026
- 2026Towards Effective Orchestration of AI x DB Workloads4 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2026FlowBank: Query-Adaptive Agentic Workflows Optimization through Precompute-and-Reuse
- 2026AAFLOW: Scalable Patterns for Agentic AI Workflows
- 2026Pythia: Exploiting Workflow Predictability for Efficient Agent-Native LLM Serving
- 2026Scepsy: Serving Agentic Workflows Using Aggregate LLM Pipelines
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents
- 2026APWA: A Distributed Architecture for Parallelizable Agentic Workflows
- 2026SAGA: Workflow-Atomic Scheduling for AI Agent Inference on GPU Clusters
- 2026[AAFLOW+] Stateful Operator Abstraction with Zero-Copy Distributed KV Cache Orchestration for Multi-Agent Workflows