paper-with-me

홈 › Papers

SMDP-Based Dynamic Batching for Improving Responsiveness and Energy Efficiency of Batch Services

2025-01-04 · Yaodan Xu, Sheng Zhou, Zhisheng Niu

For servers incorporating parallel computing resources, batching is a pivotal technique for providing efficient and economical services at scale. Parallel computing resources exhibit heightened computational and energy efficiency when operating with larger batch sizes. However, in the realm of online services, the adoption of a larger batch size may lead to longer response times. This paper aims to provide a dynamic batching scheme that delicately balances latency and efficiency. The system is modeled as a batch service queue with size-dependent service times. Then, the design of dynamic batching is formulated as a semi-Markov decision process (SMDP) problem, with the objective of minimizing the weighted sum of average response time and average power consumption. A method is proposed to derive an approximate optimal SMDP solution, representing the chosen dynamic batching policy. By introducing an abstract cost to reflect the impact of "tail" states, the space complexity and the time complexity of the procedure can decrease by 63.5% and 98%, respectively. Numerical results showcase the superiority of SMDP-based batching policies across various parameter setups. Additionally, the proposed scheme exhibits noteworthy flexibility in balancing power consumption and latency.

📄 PDF Abstract BibTeX arXiv:2501.02181

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

SMDP-Based Dynamic Batching for Efficient Inference on GPU-Based Platforms

2023-01-30 · Yaodan Xu, Jingzhou Sun, Sheng Zhou, Zhisheng Niu

In up-to-date machine learning (ML) applications on cloud or edge computing platforms, batching is an important technique for providing efficient and economical services at scale. In particular, parallel computing resour…

Edge-computingGPU

E-BATCH: Energy-Efficient and High-Throughput RNN Batching

2020-09-22 · Franyell Silfa, Jose Maria Arnau, Antonio Gonzalez

Recurrent Neural Network (RNN) inference exhibits low hardware utilization due to the strict data dependencies across time-steps. Batching multiple requests can increase throughput. However, RNN batching requires a large…

Vocal Bursts Intensity Prediction

Understanding Efficiency: Quantization, Batching, and Serving Strategies in LLM Energy Use

2026-01-29 · Julien Delavande, Regis Pierrard, Sasha Luccioni arxiv

Large Language Models (LLMs) are increasingly deployed in production, contributing towards shifting the burden in terms of computational resources and energy demands from training to inference. While prior work has exami…

Text Generation

ED-Batch: Efficient Automatic Batching of Dynamic Neural Networks via Learned Finite State Machines

2023-02-08 · Siyuan Chen, Pratik Fegade, Tianqi Chen, Phillip B. Gibbons 외

Batching has a fundamental influence on the efficiency of deep neural network (DNN) execution. However, for dynamic DNNs, efficient batching is particularly challenging as the dataflow graph varies per input instance. As…

CPUDynamic neural networksGPU

Batching for Green AI -- An Exploratory Study on Inference

2023-07-21 · Tim Yarally, Luís Cruz, Daniel Feitosa, June Sallou 외

The batch size is an essential parameter to tune during the development of new neural networks. Amongst other quality indicators, it has a large degree of influence on the model's accuracy, generalisability, training tim…