paper-with-me

홈 › Papers

FairBatching: Fairness-Aware Batch Formation for LLM Inference

2025-10-16 · Hongtao Lyu, Boyue Liu, Mingyu Wu, Haibo Chen arxiv

Large language model (LLM) inference systems face a fundamental tension between minimizing Time-to-First-Token (TTFT) latency for new requests and maintaining a high, steady token generation rate (low Time-Per-Output-Token, or TPOT) for ongoing requests. Existing stall-free batching schedulers proposed by Sarathi, while effective at preventing decode stalls, introduce significant computational unfairness. They prioritize decode tasks excessively, simultaneously leading to underutilized decode slack and unnecessary prefill queuing delays, which collectively degrade the system's overall quality of service (QoS). This work identifies the root cause of this unfairness: the non-monotonic nature of Time-Between-Tokens (TBT) as a scheduling metric and the rigid decode-prioritizing policy that fails to adapt to dynamic workload bursts. We therefore propose FairBatching, a novel LLM inference scheduler that enforces fair resource allocation between prefill and decode tasks. It features an adaptive batch capacity determination mechanism, which dynamically adjusts the computational budget to improve the GPU utilization without triggering SLO violations. Its fair and dynamic batch formation algorithm breaks away from the decode-prioritizing paradigm, allowing computation resources to be reclaimed from bursting decode tasks to serve prefill surges, achieving global fairness. Furthermore, FairBatching provides a novel load estimation method, enabling more effective coordination with upper-level schedulers. Implemented and evaluated on realistic traces, FairBatching significantly reduces TTFT tail latency by up to 2.29x while robustly maintaining TPOT SLOs, achieving overall 20.0% improvement in single-node capacity and 54.3% improvement in cluster-level capacity.

📄 PDF Abstract BibTeX arXiv:2510.14392

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

FairAdaBN: Mitigating unfairness with adaptive batch normalization and its application to dermatological disease classification

2023-03-15 · Zikang Xu, Shang Zhao, Quan Quan, Qingsong Yao 외

Deep learning is becoming increasingly ubiquitous in medical research and applications while involving sensitive information and even critical diagnosis decisions. Researchers observe a significant performance disparity …

AttributeFairness

Privacy-Preserving Federated Learning with Verifiable Fairness Guarantees

2026-01-18 · Mohammed Himayath Ali, Mohammed Aqib Abdullah, Syed Muneer Hussain, Mohammed Mudassir Uddin 외 arxiv

Federated learning enables collaborative model training across distributed institutions without centralizing sensitive data; however, ensuring algorithmic fairness across heterogeneous data distributions while preserving…

Federated Learning

Fairness in Serving Large Language Models

2023-12-31 · Ying Sheng, Shiyi Cao, Dacheng Li, Banghua Zhu 외

High-demand LLM inference services (e.g., ChatGPT and BARD) support a wide range of requests from short chat conversations to long document reading. To ensure that all client requests are processed fairly, most major LLM…

FairnessScheduling

Differentiable Optimization Layers for Guaranteed Fairness in Deep Learning

2026-05-16 · David Troxell, Noah Roemer, Guido Montúfar arxiv

Differentiable optimization layers are traditionally integrated in predict-then-optimize frameworks where a neural model estimates parameters that subsequently serve as fixed inputs to downstream decision-making optimiza…

LazyBatching: An SLA-aware Batching System for Cloud Machine Learning Inference

2020-10-25 · Yujeong Choi, Yunseong Kim, Minsoo Rhu

In cloud ML inference systems, batching is an essential technique to increase throughput which helps optimize total-cost-of-ownership. Prior graph batching combines the individual DNN graphs into a single one, allowing m…

BIG-bench Machine LearningScheduling