International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395-0056
Volume: 13 Issue: 04 | Apr 2026
p-ISSN: 2395-0072
www.irjet.net
COST–LATENCY TRADE-OFF MODELING FOR SERVERLESS ML INFERENCE USING PREDICTIVE WORKLOAD FORECASTING Vivek Shukla1, Dr. J.B. Singh2, Mr. Rajesh Kumar Sharma3 1Master of Technology, Computer Science and Engineering, Sagar Institute of Technology and Management,
Barabanki, India 2Professor, Department of Computer Science and Engineering, Sagar Institute of Technology and Management,
Barabanki, India 3Assistant Professor, Department of Computer Science and Engineering, Sagar Institute of Technology and Management, Barabanki, India ---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract -Serverless computing has emerged as a promising
shift is especially relevant for ML inference systems, where real-time responsiveness and cost efficiency are critical. However, despite these advantages, balancing operational cost and latency remains a complex challenge, particularly under highly dynamic workloads. This section introduces the background, problem context, research gap, and key contributions of this study.
paradigm for deploying machine learning (ML) inference workloads due to its scalability, flexibility, and pay-per-use pricing model. However, achieving an optimal balance between operational cost and system latency remains a significant challenge, particularly under dynamic and unpredictable workload conditions. Existing approaches largely rely on static resource provisioning or reactive scaling mechanisms, which often result in inefficient resource utilization, increased latency, and higher operational costs. This paper proposes a predictive and adaptive framework for cost–latency trade-off modeling in serverless ML inference systems. The approach integrates workload forecasting techniques, including ARIMA and Long Short-Term Memory (LSTM) models, to anticipate future request patterns and enable proactive resource allocation. A multi-objective optimization model is developed to jointly minimize cost and latency, leveraging weighted and Pareto-based strategies for efficient decision-making. The framework dynamically adjusts resource parameters such as memory allocation and concurrency levels based on predicted workloads and realtime feedback. Experimental evaluation using synthetic and real-world workload traces demonstrates that the proposed approach significantly improves system performance compared to baseline models. Results indicate reductions in latency and improved cost efficiency while maintaining scalability and robustness under varying workload conditions. The proposed framework provides a practical and effective solution for optimizing serverless ML inference deployments.
1.1 Background 1.1.1 Evolution: Cloud → Virtualization → Serverless (FaaS) Cloud computing has evolved from traditional on-premise infrastructures to highly abstracted service models that offer scalability and flexibility. Initially, virtualization technologies enabled efficient resource sharing by allowing multiple virtual machines to run on a single physical system. This was followed by containerization, which further improved deployment efficiency and portability. The latest evolution is serverless computing, also known as Function-as-a-Service (FaaS), where developers deploy functions without managing underlying infrastructure. In this model, resources are automatically provisioned and scaled based on demand, and users are billed only for actual execution time. This paradigm significantly reduces operational overhead and enables fine-grained scalability, making it well-suited for event-driven applications (Baldini et al., 2017; Jonas et al., 2019).
1.1.2 Importance of ML Inference in Real-Time Systems
Key Words: Serverless Computing, Machine Learning Inference, Cost–Latency Trade-Off, Workload Forecasting, LSTM, Multi-objective Optimization
Machine learning inference has become a core component of modern applications such as recommendation systems, fraud detection, healthcare diagnostics, and natural language processing. Unlike training, inference requires rapid processing of incoming data to generate predictions in real time. This necessitates low-latency responses and high system availability. Serverless platforms provide an attractive environment for deploying inference workloads due to their ability to scale automatically with fluctuating demand. However, maintaining consistent performance while controlling cost in such environments is challenging,
1. INTRODUCTION The rapid advancement of cloud computing has fundamentally transformed how computational resources are provisioned and consumed, particularly for dataintensive applications such as machine learning (ML). In recent years, serverless computing has emerged as a paradigm that abstracts infrastructure management while enabling dynamic scalability and fine-grained billing. This
© 2026, IRJET
|
Impact Factor value: 8.315
|
ISO 9001:2008 Certified Journal
|
Page 3631