SearcharxivSearch

arXiv subjects

Shining Wu

Publications and source records attributed to Shining Wu.

2 recordsLinked to original sources

Threshold-Based Exclusive Batching for LLM Inference

Mixed batching (MB)--interleaving prefill and decode in a single batch--has become the standard scheduling strategy for large language model (LLM) inference due to its efficiency in maximizing compute and memory utilization. However, through controlled experiments, we find that prefill-decode interference inflates MB's per-step marginal cost above that of pure decode. On the high-bandwidth H200 (4.8 TB/s), this occurs only when decode tokens exceed 80% of the batch; however, on the bandwidth-constrained RTX PRO 6000 (1.792 TB/s), this threshold plummets to just 20%. Consequently, the optimal choice between MB and exclusive batching (EB) fundamentally depends on GPU memory bandwidth, model size, and workload composition. We derive a closed-form condition for this EB-MB performance crossover, along with asymptotically optimal phase-switching thresholds and memory-safe batch sizing for EB. Optimized EB achieves up to 41.9% higher throughput on bandwidth-constrained GPUs, while MB retains its advantage on high-bandwidth hardware with larger models. Our hybrid scheduler EB+ applies this condition online to dynamically switch between EB and MB without manual intervention. Under non-stationary traffic with distribution or concurrency shifts, EB+ attains the highest or near-highest throughput in every setting, outperforming MB by up to 36.4%.

cs.AI

A Hybrid Vehicle Platoon for Connected and Automated Vehicles: Formulation, Stability Analysis, and Applications

Vehicle platooning has the potential to significantly improve traffic throughput and reduce fuel consumption and emissions and thus has attracted extensive attention recently. In this study, we propose a hybrid vehicle platoon system for the connected and automated vehicles (CAVs). First, a hybrid spacing policy combining the constant time gap (CTG) and constant spacing (CS) is formulated for the proposed platoon system, where the leader adopts the CTG and the followers use the CS policy. Based on the h2-norm string stability criteria, the notions of exogenous-head-to-tail string stability and hybrid string stability are newly introduced, and the sufficient conditions of the hybrid string stability in the frequency domain are derived using the Laplace transform. Numerical experiments are conducted to validate the hybrid string stability. Moreover, two typical scenarios and several measurements of effectiveness (MOE) are adopted to verify the effectiveness of the proposed hybrid platoon system in various aspects. The results show that the hybrid platoon system performs better than the CS-based platoon system. It also indicates that the hybrid platoon system has obvious advantages over the CTG-based platoon system under the periodical fluctuation scenario and it is also comparable to the CTG-based platoon system under the large deceleration and acceleration scenario. The findings have demonstrated the merits of the combined implementation of CTG and CS policy in enhancing the performance and applicability of the platoon system for CAVs.

eess.SY