BatchGen: An Architecture for Scalable and Efficient Batch Inference
Not on the map. Why?
Abstract (arXiv)
Batch inference has become a central mode of AI computation, yet existing inference engines still rely on execution models designed for interactive serving. When scaled to millions of sequences, batch workloads reveal two fundamental requirements: the ability to handle extreme inter- and intra-sequence load variation that emerges only at runtime, and the ability to sustain high utilization across large fleets of GPUs. Existing systems fail to meet these requirements, losing substantial fractions of achievable throughput. We introduce a new architectural foundation for batch inference: the sequence coroutine compute model, which represents each sequence as a fine-grained, event-driven coroutine. This model exposes expressive primitives that allow the runtime to reorganize work dynamically, enabling larger expert-level batches, mitigating stragglers, reallocating work across devices, and maintaining utilization even on cost-effective or memory-constrained GPUs. Building on this abstraction, we implement BatchGen, a production-ready system that uses the coroutine model at cluster scale. On a 128-GPU cluster, BatchGen reduces batch completion time by up to 2.3×, and on memory-constrained accelerators it outperforms the strongest offloading baseline by up to 9.6×. We will open-source BatchGen at https://github.com/batchgen-project/batchgen
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 30 of its 58 references that are in the map. First posted on arXiv 19 Jun 2026.
Builds on
30 of 58 references.
References · 30
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 595
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
- 2017Ray: A Distributed Framework for Emerging AI Applicationscited by 516
18 more
- 2024On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Surveycited by 240
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 232
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 210
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2022Accelerating Distributed MoE Training and Inference with Linacited by 109
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024NanoFlow: Towards Optimal Large Language Model Serving Throughputcited by 85
- 2024ServerlessLLM: Low-Latency Serverless Inference for Large Language Modelscited by 78
- 2024MoE-Lightning: High-Throughput MoE Inference on Memory-constrained GPUscited by 73
- 2022Data Augmentation for Intent Classification with Off-the-shelf Large Language Modelscited by 49
- 2024NEO: Saving GPU Memory Crisis with CPU Offloading for Online LLM Inferencecited by 37
- 2022Alpa: Automating Inter- and Intra-Operator Parallelism for Distributed Deep Learningcited by 20
- 2023Tenplex: Dynamic Parallelism for Deep Learning using Parallelizable Tensor Collectionscited by 15
- 2025MoE-CAP: Benchmarking Cost, Accuracy and Performance of Sparse Mixture-of-Experts Systemscited by 11
- 2024Data Cleaning Using Large Language Modelscited by 7
- 2025BitDecoding: Unlocking Tensor Cores for Long-Context LLMs with Low-Bit KV Cachecited by 7
- 2023GEAR: A GPU-Centric Experience Replay System for Large Reinforcement Learning Modelscited by 5
- 2025The Streaming Batch Model for Efficient and Fault-Tolerant Heterogeneous Executioncited by 3
Built on by
Not cited yet.