Skip to Content
ElectronicsElectronics
  • Article
  • Open Access

27 August 2026

33 Pages

MorphCloud-LLM: Elastic Spot-Instance-Aware LLM Serving with Transparent Preemption Recovery and Speculative Decoding Continuity

1
Department of Computer Science, College of Engineering and Computer Science, Jazan University, P.O. Box 706, Jazan 45142, Saudi Arabia
2
Engineering and Technology Research Center, Jazan University, P.O. Box 114, Jazan 82817, Saudi Arabia

Abstract

Serving large language models (LLMs) on cloud spot and preemptible instances reduces costs by 60 to 90 percent compared to on-demand pricing, but unpredictable instance preemptions cause request failures, KV-cache state loss, and degraded user experience. We present MorphCloud-LLM, an elastic LLM serving system designed to achieve the reliability properties of on-demand serving at spot-instance pricing. MorphCloud-LLM integrates three synergistic components: (1) an asynchronous incremental KV-cache checkpointing engine that streams only delta state to disaggregated persistent storage with less than 3% throughput overhead, enabling sub-second KV-cache delta streaming and reconstruction for KV-cache sizes up to 32 GB on replacement instances (total end-to-end migration latency: 1390 ms); (2) a gradient-boosted preemption prediction model trained on spot market telemetry that achieves 89% recall at a 30-s prediction horizon, providing sufficient lead time for proactive migration before forced eviction; and (3) a speculative decoding continuity engine that offloads draft model token generation to on-demand fallback nodes during migration windows, bounding the user-visible interruption to a sub-second buffering pause. MorphCloud-LLM is deployed and evaluated on AWS and GCP using LLaMA-70B and Mixtral-8x7B across 521 trace-injected preemption events, achieving up to 76% cost reduction under active-serving accounting (69.8% for LLaMA-70B; 67% including warm standby fallback capacity) with only 2.1% p99 latency overhead and zero dropped requests. Extensive ablation studies confirm the contribution of each component to overall system resilience. Note that preemption events are reproduced via a trace-driven simulation framework built on empirical AWS and GCP spot interruption traces rather than fully uncontrolled live production preemptions. Production generalizability under uncontrolled preemption—including simultaneous multi-node failures, network congestion, storage contention, and replacement-instance scarcity remains subject to future validation in sustained live deployments.

1. Introduction

The rapid expansion of large language models (LLMs) in business and consumer applications has created unprecedented demand for scalable and cost-efficient inference infrastructure [1,2,3]. Serving modern LLMs such as GPT-4, LLaMA-70B, and Mixtral-8x7B requires substantial GPU memory and real-time responsiveness, with inference accounting for 60 to 80 percent of the total operational cost of AI-based services [4,5,6]. Cloud spot instances offered by AWS, GCP, and Microsoft Azure provide a compelling cost optimization path, delivering equivalent compute capacity at a 60 to 90 percent discount relative to on-demand pricing [3]. However, the fundamental trade-off of spot instances is that the cloud provider retains the unilateral right to reclaim resources with minimal notice, making naive adoption impractical for latency-sensitive LLM serving workloads [1]. Recent developments in LLM serving systems, such as vLLM, TensorRT-LLM, and specialized inference engines, have achieved significant improvements in throughput and memory efficiency under constant resource assignments [7,8,9,10]. However, these systems assume uninterrupted GPU access and lack mechanisms for graceful instance preemption handling [11,12,13,14,15]. When a spot instance running an LLM serving process is reclaimed, all active requests abort, the KV-cache state accumulated during autoregressive decoding is irretrievably lost, and users experience visible service degradation [16,17,18,19,20,21]. SpotServe demonstrated that LLMs can be served on spot instances via instance migration and dynamic model parallelism reconfiguration; however, its synchronous full-state checkpointing imposes a latency penalty proportional to model scale, with migration latency that scales with checkpoint size at models around 30 billion parameters [22,23,24,25].
Efficient checkpoint and restore mechanisms for GPU applications have been a major area of concern in high-performance computing [15]. Yang et al. suggested on-demand parallel checkpoint/restore methods that minimize checkpoint overhead by selective capture of state [15], whereas PhoenixOS presented concurrent OS-level GPU checkpoint methods that were shown to support valid speculation [12]. These off-the-shelf solutions, however, fail to capture the specifics of the utilization of LLM serving workloads, in which the KV-cache is the predominant stateful element and has temporal locality metrics open to incremental streaming [4]. Moreover, serverless computing paradigms have been studied as a way to deploy LLMs to use resources more effectively [2,7], yet cold-start delays cannot be tolerated by interactive serving [26,27].
Another critical dimension that has not been extensively explored in the context of LLM serving is proactive preemption prediction for cloud spot instances. Existing cloud scheduling systems such as Sia and GFS incorporate spot-instance awareness for general ML workloads [3,16], but do not support the sub-minute prediction horizons required for seamless LLM inference migration. The convergence of intelligent cloud resource management [17,24] and efficient LLM deployment [7,21] presents an opportunity to design a unified system in which prediction, checkpointing, and inference continuity are co-designed components of a single elastic serving framework.
Speculative decoding has emerged as a widely adopted approach for accelerating LLM inference, in which a lightweight draft model generates candidate tokens that are subsequently verified in parallel by the target model [9,14]. However, existing speculative decoding implementations assume continuous resource availability and do not account for scenarios in which the verification model becomes temporarily unavailable due to instance preemption. No prior work has explored the use of speculative decoding as a service continuity mechanism during instance migration [18,23].
Figure 1 shows the high-level architecture of the proposed MorphCloud-LLM system, which illustrates how the preemption predictor, KV-cache checkpointing engine, and speculative decoding continuity module are integrated into a single elastic serving system. The system coordinates spot and on-demand instances to ensure continuous service delivery with the aim of maximizing cost savings.
Figure 1. High-level architecture of MorphCloud-LLM, showing how preemption prediction, KV-cache checkpointing, and speculative decoding continuity are integrated.
The key contributions of the paper include:
  • Asynchronous KV-Cache Checkpointing: We present a lightweight streaming KV-cache mechanism that continuously synchronizes incremental inference state to disaggregated persistent storage (Amazon S3 and Google Cloud Storage) with less than 3% throughput overhead, enabling sub-second KV-cache restoration for KV-cache sizes of up to 32 GB on replacement instances without transferring the full model state. Total end-to-end migration latency is 1390 ms, which includes detection, state transfer, instance provisioning, and KV restoration phases. It is important to note that these two figures measure different scopes: the sub-second KV-cache restoration refers specifically to the delta streaming and reconstruction phase, whereas the 1390 ms total end-to-end migration latency additionally encompasses instance activation (250 ms) and KV state handshake (150 ms).
  • Preemption Prediction Model: We develop a gradient-boosted ensemble model trained on historical spot market telemetry and real-time cloud API signals, achieving 89% recall at a 30 s prediction horizon and providing sufficient lead time to initiate proactive migration before forced eviction.
  • Speculative Decoding Continuity: We propose a novel speculative decoding continuity engine that offloads draft model token generation to on-demand fallback nodes during migration windows, bounding user-visible interruptions to the migration window without exposing unverified tokens.
  • Comprehensive Evaluation: We conduct extensive experiments on AWS and GCP with LLaMA-70B and Mixtral-8x7B models across 521 trace-injected preemption events, achieving up to 76% cost reduction under active-serving accounting (69.8% for LLaMA-70B; 67% including warm standby fallback capacity), with only 2.1% p99 latency overhead and zero dropped requests. Preemption events are synthesized using empirical AWS and GCP spot market interruption traces to enable reproducible and statistically controlled evaluation, as described in detail in Section 4.1. These results demonstrate the effectiveness of spot-instance LLM serving under MorphCloud-LLM within the evaluated trace-driven experimental conditions.
The remainder of this paper is organized as follows: Section 2 reviews related work on LLM serving systems, spot instance management, and checkpoint mechanisms. Section 3 presents the proposed MorphCloud-LLM system and its mathematical formulation. Section 4 presents experimental results and evaluation. Section 5 provides a discussion of findings. Section 6 addresses threats to validity. Section 7 concludes the paper.

3. Proposed Methodology

3.1. System Overview

As shown in Figure 1, MorphCloud-LLM consists of three core modules: asynchronous KV-cache checkpointing, preemption prediction, and speculative decoding continuity. The MorphCloud orchestrator coordinates these modules, manages spot and on-demand instances, routes inference requests, and initiates migration workflows when preemption risk exceeds the configured threshold.
Let S = {s1, s2, ..., sN} be the set of active spot instances, each hosting a model shard or full model replica. Let D = {d1, d2, ..., dM} be the set of M on-demand fallback nodes maintained in warm standby. The orchestrator manages a global request queue Q and allocates requests to instances based on current load, expected preemption risk, and KV-cache locality. The system state at time t is defined as:
Ψ(t) = ⟨S(t), D(t), Q(t), C(t), P(t)⟩
where C(t) is the distributed KV-cache state of all the instances and P(t) is the preemption probability vector of each spot instance.
Fallback Node Architecture: On-demand fallback nodes maintain pre-staged target model weights in GPU memory at all times using tensor parallelism. The fallback pool hosts only the model currently serving the active workload; LLaMA-70B and Mixtral-8x7B are never co-resident simultaneously. On AWS, four A10G nodes (96 GB total VRAM) host LLaMA-70B in INT8 quantization (approximately 70 GB), leaving approximately 26 GB of headroom for the draft model (approximately 14 GB FP16) and the active KV-cache budget. For Mixtral-8x7B serving on AWS, the draft model is CPU-offloaded to respect VRAM constraints, as the active Mixtral parameters in FP16 (approximately 93 GB) consume the majority of the 96 GB pool. On GCP, 8× T4 on-demand fallback nodes (n1-standard-8-t4, 16 GB VRAM each, 128 GB total) host LLaMA-70B in INT8 across 8-way tensor parallelism. During migration, the KV-cache delta state is transferred via Amazon S3 Express One Zone (AWS) and GCS regional endpoints (GCP), not via direct inter-instance RDMA. The 120 ms state-transfer component reflects round-trip latency to S3 Express One Zone within the same AZ. g5.xlarge fallback nodes connect via VPC endpoint (up to 25 Gbps ENA, not 100 Gbps EFA); 100 Gbps EFA applies to primary p4d.24xlarge spot instances. Effective measured throughput on the fallback-to-storage path is ~12 Gbps. The 120 ms figure is the S3 Express One Zone round-trip latency within the same Availability Zone, measured independently of payload size; transferring the ~1.2 GB delta for a 32 GB cache adds a further ~0.87 s, giving a total state-transfer contribution of ~0.99 s. The 250 ms activation time reflects transitioning pre-warmed fallback nodes from idle standby to active serving rather than cold instance provisioning, which typically requires 60 to 180 s for GPU instances.
Table 1 presents the per-platform fallback memory budget. On AWS, LLaMA-70B in INT8 occupies approximately 70 GB of the 96 GB total VRAM, leaving 26 GB for the draft model (approximately 14 GB FP16) and the active KV-cache. For Mixtral-8x7B on AWS, the draft model is CPU-offloaded because the active FP16 parameters (approximately 93 GB) consume the majority of the 96 GB pool. In all configurations, only one target model is active at a time; LLaMA-70B and Mixtral-8x7B are never co-resident simultaneously.
Table 1. Fallback node memory budget per platform and target model configuration.

3.2. Asynchronous KV-Cache Checkpointing Engine

The KV-cache is the most prominent changeable autoregressive inference state in LLM. For a transformer model with L layers and H attention heads and head dimension d h , the KV-cache of a sequence of length n occupies:
M kv   =   2   ·   L   ·   H   ·   d h   ·   n   ·   s i z e o f ( d t y p e )
LLaMA-70B uses grouped-query attention (GQA) with H k v = 8 KV heads (rather than the 64 query heads). Substituting L = 80 ,   H k v = 8 ,   d h = 128 ,   n = 2048 , and FP16 storage (2 bytes) into Equation (2) gives M k v = 2 × 80 × 8 × 128 × 2048 × 2 ≈ 0.67   G B per sequence. For models without GQA ( H = H k v = 64 ), the full-head formula yields 2 × 80 × 64 × 128 × 2048 × 2 ≈ 5.37 GB. Equation (2) is correct in form; H should refer to the number of KV heads for GQA models. The previously cited 2.56 GB figure was a typographical error and has been corrected. MorphCloud-LLM uses a streaming model instead of checkpointing the whole KV-cache. The delta of the checkpoint of time step t is given as:
Δ C ( t )   =   C ( t )   ∖   C ( t   −   δ )
where δ is the checkpoint period in steps of the decoding. The incremental delta only records the KV entries that have been created since the previous checkpoint, and thus the transmissions are 85–95% that of full-state checkpointing. The stream checkpoint is done asynchronously with a special background thread that overlays inference calculation:
T c k p t   =   m a x ( T c o m p u t e ,   T t r a n s f e r ( Δ C ) )
The bandwidth of the network between the GPU instance and disaggregated storage is B net and limits the effective checkpoint throughput:
T t r a n s f e r =   | Δ C |   /   B n e t
To reduce the effects of inference on the throughput, we adopt a scheme of double buffering such that the KV-cache write pointer switches among two pinned memory regions. Whereas one buffer is used in active inference, the other is asynchronously transferred to disaggregated persistent storage (Amazon S3 Express One Zone on AWS; GCS regional endpoints on GCP) via the VPC endpoint network path. A monotonically increasing version number is used to ensure checkpoint consistency:
V ( t )   =   [ v 1 ( t ) ,   v 2 ( t ) ,   … ,   v l ( t ) ]
where v 1 (t) contains the most recent token position on layer l at the checkpoint. The system restores the KV-cache state to the lowest version across all the layers upon recovery:
n r e c o v e r   =   m i n ( v l ( t ) )   f o r   l   =   1 ,   2 ,   … ,   L
The replacement process is conducted in three stages: (a) activating pre-staged model weights resident in fallback GPU memory; (b) reconstructing the complete KV-cache by loading the most recent full base snapshot from persistent storage and replaying all subsequent incremental deltas in version-vector order (the base snapshot written at session initialization and refreshed every 512-token epoch); and (c) recomputing tokens between nrecover and the current position. To clarify the relationship between the transferred volume and the complete KV-cache size: the 1216 MB transferred for a 32 GB cache does not represent a reconstruction of the full 32 GB from scratch. Instead, recovery proceeds in two steps. First, the base snapshot written to disaggregated persistent storage at session initialization and refreshed at every 512-token epoch boundary is loaded onto the replacement instance. Second, only the incremental deltas accumulated since the most recent epoch checkpoint are streamed; for a 32 GB cache, this amounts to 1216 MB (3.8% of the raw cache size), corresponding to the KV entries generated during the sub-epoch interval between the last epoch refresh and the preemption event. Replaying these deltas in version-vector order over the base snapshot fully reconstructs the complete KV-cache state. No compression, lossless or lossy, is applied at any stage; the reduction in transferred volume arises solely from the incremental streaming mechanism described above. The base snapshot itself is stored persistently and is not counted in the Delta Bytes Transferred column of Table 8, which reports only the sub-epoch incremental delta volume. Bytes transferred = basesnapshot + accumulateddeltas, not the full raw KV-cache. Table 8 reports total bytes transferred per cache size, explaining sub-second KV-cache restoration for caches up to 32 GB (note: total end-to-end migration latency is 1390 ms). The total recovery time is:
T r e c o v e r y   =   T w e i g h t   l o a d   +   T c a c h e   r e s t o r e   +   T r e c o m p u t e
In MorphCloud-LLM, T_weight_load = 0 because fallback on-demand nodes maintain model weights pre-staged in GPU memory at all times. For LLaMA-70B, with 70 billion FP16 parameters occupying approximately 140 GB, a cold weight load from S3 at 100 Gbps EFA bandwidth would require roughly 11.2 s. MorphCloud-LLM eliminates this cost entirely through warm standby pre-staging. The dominant terms are therefore T_cache_restore (180 ms, measured) and T_weight_load = 0 ms, with T_recompute remaining negligible: at a checkpoint interval of delta = 16 tokens and prefill throughput of 50,000 tokens/second, T_recompute is less than 0.32 ms.

3.3. Preemption Prediction Model

MorphCloud-LLM can also predict preemption proactively, allowing it to preempt the workflow of migration before forced eviction and thus incur much less recovery overhead. We develop preemption prediction as a binary prediction problem on a sliding time window, where x (t) represents the observed feature at time t, and it consists of:
x t =   P s p o t t ,   Δ P s p o t t ,   u a z t ,   n a c t i v e t ,   T u p t i m e t ,   h t ,   d t
where P s p o t (t) is the current spot instance price, collected every 10 s via the public AWS EC2 DescribeSpotPriceHistory API and the GCP Spot VM pricing API; Δ P s p o t (t) is the price velocity derived as the first-order finite difference of consecutive P s p o t (t) samples;   u a z (t) is the availability zone utilization, which is not obtained from any private provider telemetry but is instead estimated indirectly from the EC2 RunInstances API launch rejection rate in the target availability zone over a 60 s sliding window, serving as a reliable public signal of zone capacity pressure; n a c t i v e (t) is the count of active spot instances in the zone, retrieved from the public AWS CloudWatch EC2/InstanceCount metric filtered by spot lifecycle and availability zone;   T u p t i m e (t) is the current instance uptime duration, read from the AWS instance metadata service endpoint /latest/meta-data/instance-id combined with the launch timestamp from the DescribeInstances API; and h t , d t are temporal features encoding hour of day and day of week as cyclical sin/cos transformations of system clock timestamps. All seven features are obtainable exclusively from public cloud APIs, instance metadata endpoints, or derived arithmetic operations on previously collected samples. No proprietary or provider-internal telemetry is required at any point in the feature collection pipeline. The prediction target y(t) ∈ {0, 1} indicates whether preemption occurs within the prediction horizon τ.
y ( t ) = 1 [ ∃ t ′   ∈   ( t ,   t + τ )   :   p r e e m p t i o n ( t ′ ) = 1 ]
Our prediction model f_θ is a gradient-boosted decision tree ensemble (XGBoost) that is fitted using an asymmetric loss function, which penalizes false negatives more than false positives:
L ( θ )   =   − α   ·   y   ·   l o g ( f θ ( x ) )   −   ( 1   −   y )   ·   l o g ( 1   −   f θ ( x ) )
with α (greater than one) being the hyperparameter of the class weight that controls the recall-precision trade-off. Cross-validation on six months of AWS and GCP spot market data yields α = 3.5, producing the target recall of 89% at the 30 s horizon. The model is re-trained each week with the latest 30 days of telemetry data to align with the current dynamics in the spot market. The score of the confidence of the prediction is:
ρ ( t )   =   f θ ( x ( t ) )   ∈   [ 0 ,   1 ]
Migration occurs when ρ ( t ) becomes greater than a dynamically adjusted configurable threshold ρ t h r e s h :
ρ t h r e s h ( t )   =   ρ b a s e   ·   ( 1   −   λ   ·   l o a d ( t )   /   c a p a c i t y ( t ) )
and ρ base = 0.7 (nominal threshold) and λ = 0.3 (load sensitivity coefficient).
A lightweight three-class request-state classifier operates at the orchestrator level to track per-request operational state throughout the serving lifecycle. The three classes are: Normal (request being served on an active spot instance), Migrating (request paused during instance transition), and Recovered (request resumed on the replacement instance following KV-cache restoration). The classifier is trained on request-level event logs collected from the same six-month telemetry dataset used for preemption prediction. Features include request queue position, instance health signal, KV-cache checkpoint version vector availability, and elapsed time since the last verified token. Labels are derived deterministically from injection timestamps during trace-driven simulation. The model is a gradient-boosted classifier (XGBoost, 50 trees, maximum depth 4) trained with standard cross-entropy loss. It is distinct from the preemption prediction model in Section 3.3, which operates at instance level and predicts the probability of preemption; the request-state classifier operates at request level and tracks operational state after preemption has already been detected.
MorphCloud-LLM achieves 99.8% overall accuracy across the full evaluation window, which includes periods of normal serving as well as migration events; evaluated exclusively on the 521 preemption-event intervals, accuracy is 98.5% (as detailed in Section 4.4). These two figures measure distinct evaluation populations and are mutually consistent: the 99.8% figure covers all rounds, while the 98.5% figure is restricted to the 521 preemption-event intervals.

3.4. Speculative Decoding Continuity Engine

Speculative decoding will traditionally use a simple draft model M d to produce k candidate tokens, which are later checked in parallel with the target model M t. MorphCloud-LLM generalizes this concept by using it to fulfill two functions: normal operation is inferred much faster, and migration preserves service availability. The speculative probability of the token position, i, to be decoded is:
P a c c e p t ( x i )   =   m i n ( 1 ,   P M t ( x i   ∣   x ( <   i ) )   /   P M d ( x i   ∣   x ( <   i ) ) )  
The draft model uses the same GPU as the target model and produces speculative tokens when there are idle cycles. Upon predicting the preemption (ρ(t) > ρ thresh), the system goes to continuity:
M o d e ( t ) = N o r m a l , i f   ρ t ≤ ρ t h r e s h t C o n t i n u i t y , i f   ρ t > ρ t h r e s h t
Under continuity mode, draft model Md is offloaded to fallback node dj and generates tokens without immediate verification. Critically, draft tokens are BUFFERED and NOT streamed to the user until the target model is restored and retroactive verification is completed. Users observe a brief buffering pause (mean 547 ms; p99 812 ms) rather than receiving tokens that may be rolled back. Once Mt verifies the buffer, accepted tokens are flushed atomically, while rejected tokens are regenerated before flushing. Mean continuity-window duration: 547 ms (SD 83 ms) across 521 events; p95: 698 ms; p99: 812 ms; maximum observed: 934 ms. The p99 latency tables include migration stalls within the reported 2.1% p99 overhead. After migration, accumulated speculative tokens are verified retroactively:
x v e r i f i e d   =   V e r i f y ( M t ,   x s p e c u l a t i v e ,   x c o n t e x t )
The number of tokens that will have to resample upon verification is limited by:
E [ n r e s a m p l e ]   =   k   ·   ( 1   −   E [ P a c c e p t ] )
where k is the number of speculative tokens generated during migration. Empirical measurement across all 521 preemption events shows that for LLaMA-70B, the mean k is 41.2 tokens per migration event (standard deviation 8.7), with a token acceptance rate of 87.3%, resulting in a mean of 5.2 tokens resampled per event (resample rate 12.7%). For Mixtral-8x7B, the mean k is 38.7 tokens, with an acceptance rate of 89.1%, resulting in 4.3 tokens resampled per event (resample rate 11.1%). When resampling occurs, the system rewinds to the last verified token position and regenerates from that point using the restored target model, adding a mean rollback latency of 18.3 ms for LLaMA-70B and 14.6 ms for Mixtral-8x7B. This rollback overhead is already included within the reported p99 latency overhead of 2.1% and does not represent an additional cost beyond. Output quality measured via ROUGE-L score against on-demand reference outputs yields a mean of 0.923 (standard deviation 0.041) for LLaMA-70B and 0.941 for Mixtral-8x7B, confirming high semantic fidelity across all migration events. No safety-critical semantic drift was detected across the evaluated prompts drawn from the ShareGPT and LMSYS-Chat-1M datasets. For well-aligned draft models with an acceptance rate above 85%, this mechanism introduces negligible degradation in output quality while bounding user-visible interruption to a mean of 547 ms buffering pause. The end-to-end latency overhead during migration is:
During the continuity window, the draft model generates tokens conditioned on its own previous outputs rather than on immediate verification by the target model. This creates a transient distribution mismatch similar to exposure bias in autoregressive generation. MorphCloud-LLM mitigates this risk through short migration windows, high draft-target token acceptance rates, and retroactive verification by the restored target model. Tokens rejected during verification are rolled back to the last verified position and regenerated, preventing unverified drift from becoming part of the final user-visible response. Future work should investigate safety-aware speculative continuity constraints for adversarial, medical, legal, or safety-critical prompts. The transient distribution mismatch is analogous to the exposure-bias problem in sequence-to-sequence learning [27]. Longer migration windows may compound this mismatch, increasing rejection rates even when per-token acceptance rates remain high. Pozzi et al. [27] address this by adapting DAgger and Data-as-Demonstrator so that teacher predictions and ground-truth tokens serve as complementary expert demonstrations, reducing compounding error over multi-token generation. Recent work addresses exposure bias via imitation and reinforcement learning [27]; future MorphCloud-LLM versions should incorporate such approaches for stronger output-distribution guarantees during extended migration windows.
Δ T m i g r a t i o n = T r e c o v e r y + k   ·   t v e r i f y − k   ·   t d r a f t

3.5. Orchestration and Request Routing

The MorphCloud orchestrator is a risk-sensitive request routing policy that minimizes the anticipated service disruption. Given an incoming request r and an estimated generation length l r, the optimal instance assignment is:
s ∗   =   a r g   m i n S ∈ S   [ γ 1   ·   l o a d ( s )   +   γ 2   ·   Q ( s )   ·   l r   +   γ 3   ·   ( 1   −   l o c a l i t y ( s ,   r ) ) ]
where γ 1 ,   γ 2 ,   γ 3 are weighting factors ensuring the balance of load distribution, exposure to preemption risks, and KV-cache locality. The locality function captures the likelihood that an individual instance already contains useful KV-caches from previous requests by the same conversation session. The aim of the cost optimization of the overall serving cluster is:
m i n   C t o t a l   =   ∑ S ∈ S   c s p o t ( s )   +   ∑ ( d ∈ D )   c d e m a n d ( d )   +   c s t o r a g e ( C )
Under latency constraints, E[Tresponse] <= TSLA, and availability constraints, P(drop) = 0, where TSLA is the service-level latency bound and Tresponse is the end-to-end request response time.

3.6. Complexity Analysis

The computational cost of the core processes of the MorphCloud-LLM is discussed in what follows. The KV-cache checkpointing takes O ( 2   L   H   d h ) time per checkpoint interval, with δ being the checkpoint interval in decoding steps, H being the number of attention heads and dh the head dimension. The model of preemption prediction inference needs O T · D t r e e per evaluation, where T is the number of trees and D_tree is the maximum tree depth. The speculative decoding continuity adds O (k) of overhead per migration event, with k equal to the number of speculative tokens. The total per-request overhead is limited to:
O t o t a l   =   O ( δ   ·   L   ·   H   ·   d h   +   T   ·   D t r e e   +   k )
dominated by the KV-cache streaming component and is sub-linear versus the core inference computation O n · L · H · d h 2 . Algorithm 1 shows the MorphcloudLLM preemption aware serving.
Algorithm 1: MorphCloud-LLM Preemption-Aware Serving
Input: Request queue Q, spot instances S, fallback nodes D
Output: Generated responses without dropped requests
1: Initialize KV-Cache Checkpoint Engine with interval δ
2: Initialize Preemption Predictor fθ with trained weights
3: while serving do
4:   for each request r ∈ Q do
5:      s* ← SelectInstance(r, S, ρ, load)
6:      Assign r to s* and begin autoregressive decoding
7:   end for
8:   for each instance s ∈ S do
9:      ρ(s) ← fθ(xs(t))
10:     if ρ(s) > ρ_thresh(t) then
11:       Trigger PROACTIVE_MIGRATION(s)
12:       Activate Speculative Continuity on dj ∈ D
13:       Stream pending KV-cache delta to storage
14:       Acquire replacement instance s’
15:       Restore KV-cache on s’ from checkpoint
16:       Verify speculative tokens on s’
17:      end if
18:   end for
19:   AsyncCheckpoint(ΔC(t)) for all active instances
20: end while
Algorithm 2 shows the incremental KV-Cache checkpoint streaming.
Algorithm 2: Incremental KV-Cache Checkpoint Streaming
Input: KV-Cache C, checkpoint interval δ, storage endpoint E
Output: Consistent checkpoint state on persistent storage
1: V ← [0, 0, ..., 0] // Version vector for L layers
2: bufferidx ← 0 // Double-buffer index
3: while instance_active do
4: Wait until δ new tokens generated
5: ΔC ← C[nlast : ncurrent] // Extract incremental delta
6: Copy ΔC to pinned_buffer[bufferidx]
7: buffer_idx ← 1—bufferidx // Swap buffers
8: Async_Transfer(pinnedbuffer [1-bufferidx], E)
9: for l = 1 to L do
10: V[l] ← ncurrent
11: end for
12: Await confirmation of AsyncTransfer completion
13: Persist V to metadata store // Version committed only after confirmed successful transfer
14: end while

3.7. Comparison with Existing Approaches

The main distinctions between MorphCloud-LLM and the current serving methods of LLMs are summed up in Table 2. Compared to SpotServe [1], which is also asynchronous and does full-state migration, asynchronous incremental checkpointing in MorphCloud-LLM lowers the overhead of migration by 89% on 70B-parameter models. MorphCloud-LLM resolves the considerably different problem of preserving mid-inference state, in contrast to ServerlessLLM [2], which aims to optimize cold-start. MorphCloud-LLM is the only system with the speculative decoding continuity mechanism.
Table 2. Comparison of LLM serving approaches.

3.8. Spot Telemetry Dataset and Data Collection

The preemption prediction model is trained on 6 months of data (July–December 2024) from four regions (us-east-1/us-west-2 on AWS; us-central1/europe-west1 on GCP). This six-month training dataset is entirely separate from the 90-day spot interruption trace dataset used to drive the preemption injection simulation described in Section 4.1.2. Individual preemption events were NOT sourced from the AWS Spot Instance Advisor (which provides only aggregated frequency statistics). Event-level labels were derived from: (1) the AWS EC2 DescribeInstances API termination reason code Server.SpotInstanceShutdown, polled every 10 s; and (2) the GCP metadata server /computeMetadata/v1/instance/preempted flag. This yielded 3847 labeled events across 6,220,800 samples. Using a 30-s prediction window sampled at 10-s intervals, each preemption event generates 3 positive samples, giving 11,541 positive samples and a class imbalance ratio of 1:538. Anonymized event logs and held-out test-set prediction outputs from the XGBoost model will be included in the full GitHub repository, which will be made public upon acceptance. Dataset: us-east-1 and us-west-2 on AWS, and us-central1 and europe-west1 on GCP. The dataset covers 4320 h of spot market telemetry sampled every 10 s across four AWS/GCP regions. This yields 1,555,200 samples per region and 6,220,800 samples in total. The data are partitioned chronologically into training (70%; 4,354,560 samples), validation (15%; 933,120 samples), and test (15%; 933,120 samples) sets to prevent temporal leakage. A total of 3847 distinct preemption events were recorded, producing a class imbalance ratio of approximately 1:538 (11,541 positive samples versus 6,209,259 non-preemption samples). To address this imbalance, the Synthetic Minority Oversampling Technique (SMOTE) is applied during training, and asymmetric loss weighting ( α =   3.5 , Equation (11)) is used to penalize missed preemption events more heavily than false alarms. Continuous features, including spot price, availability zone utilization, and instance uptime, are normalized using min-max scaling. Temporal features, including hour of day and day of week, are encoded as cyclical sin/cos transformations to preserve their periodic structure.
The 6-month dataset is partitioned chronologically to prevent any temporal data leakage from future market conditions into training. Months 1 to 4 (July 2024 to October 2024) constitute the training set, representing 70% of the data with 4,354,560 total training samples across all four regions (1,088,640 samples per region). Month 5 (November 2024) constitutes the validation set used for hyperparameter tuning and early stopping, representing 15% of the data with 933,120 total validation samples (233,280 per region). Month 6 (December 2024) constitutes the held-out test set on which all reported prediction metrics are evaluated, representing the remaining 15% with 933,120 total test samples (233,280 per region). This strict chronological partitioning ensures the model is evaluated exclusively on market conditions unseen during training or validation, providing an unbiased estimate of real-world generalization. No region or instance-family cross-validation was performed; recall may be lower on regions or instance types outside the training distribution. Practitioners should collect local telemetry and retrain before relying on the reported 89% recall in new deployments.

4. Results and Evaluation

4.1. Experimental Setup

MorphCloud-LLM is evaluated on two major cloud platforms using two open-source LLM architectures. Before presenting the results, we clarify the experimental setting to avoid any ambiguity. MorphCloud-LLM is deployed on real AWS and GCP cloud infrastructure. All throughput, latency, and cost measurements are collected from live cloud instances running genuine LLM inference workloads. However, preemption events are not passively awaited during the evaluation window. Instead, 521 preemption events are injected synthetically using a trace-driven simulation framework built on 90 days of empirical spot market interruption traces (distinct from the six-month telemetry set used to train the prediction model, described in Section 3.8) collected from the AWS EC2 DescribeInstances API and GCP preemptible VM termination logs, as fully detailed in Section 4.1.2. This hybrid methodology enables a reproducible, statistically controlled assessment of recovery behavior while preserving real hardware inference workloads. The experimental setup consists of the following components.
Datasets: Performance is evaluated on two datasets. (1) ShareGPT (https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered, accessed on 12 January 2026), which contains 90,000 multi-turn conversations that have realistic patterns of inference workloads with a wide range of input/output length distributions. (2) LMSYS-Chat-1M dataset (https://huggingface.co/datasets/lmsys/lmsys-chat-1m accessed on 12 January 2026), a collection of one million real user conversations gathered by the Chatbot Arena platform, enabling evaluation against production-representative traffic patterns. The dataset is used under the LMSYS-Chat-1M License, which permits non-commercial research use; only aggregate token-distribution statistics were derived from the dataset, no personally identifiable information was retained or processed, and no individual conversation content was stored beyond the evaluation window. The dataset characteristics are summarized in Table 3.
Table 3. Dataset statistics.
Hardware Configuration: On AWS, primary serving uses 8x NVIDIA A100-80GB SXM spot instances (p4d.24xlarge) with 4x A10G on-demand fallback nodes (g5.xlarge, 24 GB VRAM each, 96 GB total). On GCP, primary serving uses 8x A100-80GB spot VMs (a2-highgpu-8g) with 8 × T4 on-demand fallback nodes (n1-standard-8-t4, 16 GB VRAM each, 128 GB total). Fallback nodes maintain pre-staged target model weights in GPU memory at all times: LLaMA-70B in INT8 (approximately 70 GB) fits within the 96 GB AWS fallback pool using 4-way tensor parallelism, and Mixtral-8x7B in FP16 (approximately 93 GB active parameters) fits within the same pool. On GCP, both models are hosted in INT8 across the 128 GB T4 pool with 8-way tensor parallelism. This configuration is consistent with Table 1, which reports the authoritative per-platform fallback memory budget: 8 × T4 nodes totaling 128 GB VRAM with 8-way tensor parallelism for all GCP fallback serving. The draft model (7B parameters, approximately 14 GB FP16) is co-located on one fallback node within available VRAM headroom. Disaggregated storage uses Amazon S3 Express One Zone and Google Cloud Storage regional endpoints to minimize KV-cache streaming latency during recovery.
Models: We evaluate Meta LLaMA-70B (70B parameters, 80 layers, 8-way tensor-parallel) and Mistral Mixtral-8x7B (46.7B active parameters, 32 layers). On primary spot instances (A100-80GB), both models run in FP16 with PagedAttention. On on-demand fallback nodes (A10G/T4), models are quantized to INT8 to fit available VRAM (Table 1). This resolves the apparent inconsistency between FP16 serving text and INT8 configurations in Table 1 and Table 4. Fallback nodes serve only during migration windows (~600 ms); INT8 noise does not materially degrade output quality (ROUGE-L >= 0.92 across all migration events).
Table 4. Hardware and framework configuration.
Baselines: MorphCloud-LLM is compared against 11 baselines: (1) vLLM+Ckpt, (2) SpotServe [1], (3) ServerlessLLM [2], (4) GFS [3], (5) ServerlessPD [4], (6) On-demand only, (7) Vanilla spot, (8) Kubernetes auto-restart, (9) Cong et al. [14], (10) PhoenixOS-adapted [12], and (11) Native-Notify: a notification-driven proactive migration baseline using only the AWS 2-min spot-interruption notification or GCP 30-s shutdown signal, without ML prediction. Native-Notify achieves 82% recall and a 0.31% drop rate because 18% of preemptions lack sufficient notification lead time. MorphCloud-LLM reduces the drop rate from 0.31% to 0.00% by detecting preemption risk up to 30 s ahead of the actual reclamation event. The AWS spot interruption notification arrives approximately 2 min before reclamation; however, 18% of preemptions arrive with inadequate or no notification lead time. The gradient-boosted predictor covers precisely this gap, providing a proactive migration signal for the events that provider notifications alone cannot protect against. Table 4 shows the Hardware and framework configuration.
Each experiment is repeated 5 times with varied random seeds and preemption event sequences. Reported results represent mean values with standard deviation unless otherwise stated. Primary metrics are reported at a 95% confidence level. Bootstrap 95% CIs for zero drop rate: CI 0.000–0.000, reflecting 0 failures across 2605 total opportunities (521 events × 5 runs). Because runs on the same event are not independent, the correct resampling unit is the event: event-level bootstrap 95% CI upper bound is 0.73%. The Wilson score upper bound of 0.15% is derived from a binomial model treating all 2605 opportunities as independent and is reported in Table 5 for comparability with prior work; the more conservative event-level bound of 0.73% is the statistically appropriate estimate. Latency, cost, and ablation differences derive from 5-run Student’s t distributions and are reported as mean +/− SD.
Table 5. Main performance results across models and platforms.
Baseline Configuration Details: Every baseline ran on the same hardware as MorphCloud-LLM (Table 4). All baselines were executed from publicly released implementations: SpotServe from the author’s GitHub; ServerlessLLM from the OSDI 2024 artifact; vLLM+Ckpt from vLLM v0.4.2 with custom checkpointing added; GFS configured with its predictive scheduling and aggressive spot bidding policy, with scheduling decisions fed to the same vLLM v0.4.2 inference engine used by all other baselines to produce directly comparable serving metrics; ServerlessPD, Baton, and PhoenixOS from respective author codebases; K8s Auto-Restart from standard K8s policy. No results were taken from previously published tables. The cost advantage of pre-staged weights is separately quantified via the 69.8% (active-serving) vs. 67% (including warm standby) accounting figures. Hyperparameter tuning on validation, to the best of our knowledge, used the publicly available implementations by the authors of each baseline and the validation subset of the evaluation workload. Certain configurations are as follows: VLLM+Ckpt: vLLM v0.4.2 using PagedAttention; checkpointing to persistent storage every 256 tokens; batch size 256; degree of tensor parallelism 8. SpotServe: used with the reference code from the author’s repository; model parallelism reconfiguration enabled; synchronous full-state migration, with 4-way tensor parallelism; default checkpoint compression was disabled to keep storage backend performance up to the same level as storage backend capabilities. ServerlessLLM: using 4 checkpoint loading workers; using fast checkpoint format (FCF); cold-start pre-loading turned on for the top 5 most-requested model shards. GFS: predictive scheduling with a 60 s prediction horizon (its default setting); spot instance bidding policy configured to aggressive in order to make full use of the spot. ServerlessPD: RDMA prefill-decoding disaggregation turned on; prefill and decode stages are pinned to one of our hardware topology node pools. Baton: re-batching (maximum batch window 50 ms) that is dynamic, and on-demand instances only (no spot support), therefore cost = 100%. PhoenixOS-modified: the default OS-level checkpoint frequency of the GPUs is every 30 s; with a speculation window of 128 tokens. Kubernetes Auto-Restart: the default K8s pod restart policy and liveness probes at 10-s intervals; no model state. Every system was running PyTorch 2.3 in CUDA 12.4 and FP16 mode to infer the model.

4.1.1. Implementation Details and Reproducibility

MorphCloud-LLM is provided in Python 3.11 with the main deep learning library PyTorch 2.3 and CUDA 12.4 to run the model based on the inference provisioned by the computer. The serving engine was developed based on the vLLM v0.4.2 core with custom modules added to enable asynchronous KV-cache streaming, preemption prediction integration, and speculative decoding continuity. The KV-cache checkpointing engine uses the AWS SDK (v1.34) and Google Cloud storage Python client (v2.16) to access disaggregated persistent storage. XGBoost v2.0.3 with scikit-learn v1.4 was used to process pipelines implemented for the preemption prediction model. All components are containerized and orchestrated by Kubernetes v1.29 with the NVIDIA device plugin v0.14, using the Docker image https://docs.nvidia.com/deeplearning/frameworks/pytorch-release-notes/rel-23-12.html (accessed on 16 January 2026). Deployment files, Helm charts, and configuration files for the experimental environment will be available at https://github.com/morphcloud-llm/morphcloud-serving (accessed on 16 January 2026) upon acceptance. The anonymized spot interruption traces used for the 521-event simulation and the held-out test-set XGBoost prediction outputs will also be made available in the repository upon acceptance.

4.1.2. Preemption Event Simulation Protocol

To enable controlled and reproducible evaluation of recovery behavior, preemption events are injected synthetically into the live serving cluster using a trace-driven simulation framework constructed from empirical AWS and GCP spot market interruption data. This approach is a deliberate methodological choice: rather than waiting for naturally occurring preemptions during the evaluation window, which would be uncontrolled in timing and severity, we reproduce the statistical properties of real preemptions while running genuine LLM inference workloads on live hardware. We gathered 90 days of real spot interruption traces (distinct from the six-month predictor training dataset described in Section 3.8) from the AWS EC2 DescribeInstances API and GCP preemptible VM termination logs, and 2134 actual interruption signals were observed in the four assessment regions. Based on these traces, we were able to derive empirical distributions of inter-arrival times, time-of-day patterns, and duration-to-interruption profiles. Synthetic injection of simulation events into the live serving cluster was done with a synthetically triggered AWS spot interruption notification. AWS spot interruption events were modeled with a 2 min termination notice window consistent with the EC2 Spot Instance interruption notification specification, and GCP preemptible VM termination events were modeled with a 30 s notice window consistent with GCP preemptible VM termination behavior. Inverse transform sampling was used to sample events from the empirical inter-arrival distributions, and the mean inter-event interval was 47.3 min (38.9 min) on AWS and GCP respectively, which are similar to publicly available spot interruption frequencies of A100 instance types. A total of 521 preemption events were simulated: 274 on AWS (147 on LLaMA-70B and 127 on Mixtral-8x7B) and 247 on GCP (132 on LLaMA-70B and 115 on Mixtral-8x7B), spanning three categories of interruption severity: single-instance preemption (n = 312), concurrent dual-instance preemption (n = 156), and complete spot unavailability requiring fallback to on-demand serving (n = 53). All recovery time, migration latency, and request drop rate results reported in the paper derive from these 521 trace-injected preemption events. All throughput, latency, and cost figures derive from the live cloud inference workloads running simultaneously on real hardware during the same evaluation period.
To assess simulation fidelity, we compare the synthetic preemption inter-arrival distribution against the empirical AWS A100 instance interruption frequency reported in the AWS Spot Instance Advisor. The mean inter-event interval in our simulation is 47.3 min for AWS and 38.9 min for GCP, which aligns with publicly documented A100 instance interruption rates for the us-east-1 and us-central1 regions during the evaluation period. The time-of-day distribution of injected events matches the empirical diurnal pattern observed in the raw traces, with peak interruption frequency between 14:00 and 18:00 UTC. The three severity categories (single-instance, concurrent dual-instance, and complete spot unavailability) represent the full spectrum of real preemption scenarios observed in the 90-day trace collection. This simulation methodology follows established practice in cloud systems research for controlled fault injection evaluation.

4.2. Training Loss and Convergence Analysis

Figure 2 shows the training/validation log-loss convergence of the XGBoost preemption predictor versus a logistic regression baseline. The gradient-boosted ensemble converges to stable training and validation loss within 40 epochs, outpacing the logistic regression baseline, owing to the asymmetric recall-weighted loss in Equation (11). The enhanced rate of convergence is explained to be due to the asymmetric loss function (Equation (11)), which puts emphasis on recall optimization.
Figure 2. Loss convergence curves of the preemption prediction model comparing the gradient-boosted ensemble of MorphCloud-LLM and the baseline method.

4.3. Request-State Classification Accuracy

Figure 3 shows request-state classification accuracy across all evaluation rounds. The request-state classifier (three classes: Normal, Migrating, Recovered) is a lightweight orchestrator-level model for per-request state tracking; it is distinct from the preemption prediction model in Section 3.3. MorphCloud-LLM achieves 99.8% overall request-state classification accuracy across the full evaluation window, encompassing both preemption and non-preemption periods. This figure must be distinguished from the 98.5% accuracy reported in Section 4.4, which is measured exclusively on the 521 preemption-event intervals. The two figures are consistent: 99.8% covers the complete evaluation timeline, whereas 98.5% isolates performance during the preemption stress intervals. These accuracy figures represent the performance of the request-state classification model in identifying the operational state of each request (normal, migrating, or recovered), not the fraction of requests successfully completed. The zero dropped requests result reported in Table 5 refers to the fraction of user-facing requests that were fully served without interruption. For context, SpotServe and vLLM+Ckpt do not implement a dedicated request-state classifier. The 94.2% and 78.5% figures represent the accuracy with which those systems’ default serving logs could be post hoc labeled into the Normal/Migrating/Recovered taxonomy using the same deterministic labeling rules applied to MorphCloud-LLM event logs, evaluated against ground-truth state labels derived from preemption injection timestamps. These figures are included to illustrate the structural limitation of reactive systems in per-request state tracking, not to imply that those systems perform explicit classification of preemption and speculative continuity of decoding does away with the gap between the preemption detection and recovery completion.
Figure 3. Request-state classification accuracy (Normal, Migrating, Recovered) across 50 evaluation rounds, showing the high reliability of MorphCloud-LLM under preemption stress testing.

4.4. Preemption Prediction Performance

Figure 4 shows the three-class (Normal, Migrating, Recovered) confusion matrix across 521 preemption events. Overall accuracy is 98.5% on preemption-event intervals (513 of 521 events correctly classified); the 99.8% in Section 4.3 covers all evaluation rounds, including non-preemption periods. These are consistent figures for different evaluation windows, not a contradiction. Per class: Normal 99.7%, Migrating 96.2% (101 of 105), Recovered 94.0% (47 of 50). MorphCloud-LLM achieves an AUC of 0.97, compared to 0.91 for SpotServe and 0.84 for vanilla threshold-based detection.
Figure 4. Request state classification confusion matrix with high accuracy in all operational states.
Figure 5 shows the ROC curves for preemption prediction models comparing different methods, where MorphCloud-LLM achieves an AUC of 0.97. Figure 6 also compares the performance of the predictions in regard to various predictive horizons. The graceful decay of recall from 95 to 74 percent at 10 and 60 s respectively means that the model fits the short-term price movement and the long-term utilization trend. Table 6 measures the predictability metrics at the operational time of 30 s.
Figure 5. ROC curves for preemption prediction models comparing different methods, where MorphCloud-LLM achieves an AUC of 0.97.
Figure 6. Preemption prediction metrics (recall, precision, F1) as a function of prediction horizon.
Table 6. Prediction metrics at a 30-s horizon.

4.5. Scenario-Based Evaluation

Figure 7 shows the p99 latency in the five deployment scenarios of severity. The latency of MorphCloud-LLM is also relatively low in all conditions, but p99 latency rises only to 48 ms (no preemption) and 89 ms (complete spot unavailability). SpotServe, in turn, is characterized by high latency degradation during burst preemptions (145 ms) and spot unavailability (320 ms), whereas the default vLLM+Ckpt solution has disastrously high latency spikes of over 500 ms under extreme conditions.
Figure 7. p99 latency across five deployment scenarios of increasing preemption severity.

4.6. Cost Analysis

Figure 8 presents the normalized cost comparison across model configurations and cloud providers. MorphCloud-LLM achieves the lowest serving cost across all evaluated configurations, with normalized costs ranging from 24 to 31 percent of on-demand pricing. This advantage over SpotServe (39.9 percent of on-demand) results from two factors: the preemption prediction model reduces emergency fallback activations by 71 percent compared to SpotServe, and incremental KV-cache checkpointing reduces storage and network costs by transmitting only delta state rather than full snapshots. Table 7 provides a detailed per-component cost breakdown. The warm standby on-demand GPU cost ($1.12/h for MorphCloud versus $3.85/h for SpotServe) reflects the efficiency gain from proactive migration, which reduces the proportion of requests that require emergency fallback serving.
Figure 8. Normalized cost comparison across model configurations and cloud providers.
Table 7. Detailed cost breakdown (USD/hour).
To assess the robustness of achieving up to a 76% cost reduction under active-serving accounting (69.8% for LLaMA-70B; 67% including warm standby fallback capacity), we conduct a sensitivity analysis varying five key parameters while holding all others at default values. The spot discount rate has the largest impact: at a conservative 50% discount, MorphCloud-LLM achieves a 48% cost reduction, rising to 87% at a 90% discount, with the cost advantage over SpotServe maintained across all rates due to fewer emergency fallback activations. Fallback node count variation from 2× to 8× A10G shifts cost reduction between 75% and 68% respectively, with the default 4× A10G configuration representing the optimal cost-reliability trade-off. Checkpoint interval variation from delta = 8 to delta = 64 tokens produces a negligible cost range of 67% to 71%, with storage cost varying by less than $0.05/h. Storage pricing tier and workload intensity each contribute less than 2 percentage points of variation, with cross-region storage endpoints reducing cost reduction from 69.8% to 67.8%, and workload intensity ranging from 74% at 50 requests per second to 71% at 500 requests per second. These results confirm that the reported achievement of up to a 76% cost reduction under active-serving accounting (69.8% for LLaMA-70B; 67% including warm standby fallback capacity) is a robust mid-range estimate stable across realistic operating conditions.

4.7. KV-Cache Recovery Performance

Three recovery figures are reported and measure different intervals: the migration latency (detection through KV restoration), the end-to-end cache recovery time in Table 8 (which scales with cache size), and the speculative continuity window in Section 3.4 (the client-observed buffering pause). The recovery time versus KV-cache size is shown in Figure 9 for three checkpointing approaches. Three distinct recovery intervals are reported in this paper and measure different scopes of the migration timeline; they are fully consistent and must not be conflated. The 0.87 s figure in Table 8 (32 GB configuration) measures only the KV-cache delta streaming and reconstruction phase, that is, the time to transfer the incremental delta bytes from disaggregated storage to the replacement instance and replay them to restore the KV state. Critically, MorphCloud-LLM achieves end-to-end migration in 1390 ms not only through incremental checkpointing but also because model weight loading contributes zero milliseconds to the recovery timeline. Fallback on-demand nodes maintain pre-staged model weights in GPU memory at all times, so upon a preemption event, the replacement node requires no cold-start weight loading whatsoever. For LLaMA-70B with approximately 140 GB of FP16 weights, a cold load from Amazon S3 at 100 Gbps EFA bandwidth would require approximately 11.2 s, a cost that MorphCloud-LLM entirely eliminates via warm standby architecture. The remaining bottlenecks are KV-cache delta streaming (990 ms, comprising 870 ms transfer time plus approximately 120 ms S3 round-trip latency) and instance activation (250 ms). Table 8 presents detailed recovery metrics across cache sizes.
Table 8. KV-Cache recovery performance metrics.
Figure 9. Recovery time versus KV-cache size for incremental streaming (MorphCloud-LLM), SpotServe, and full checkpointing.
MorphCloud-LLM achieves sub-second KV-cache restoration for KV-cache sizes up to 32 GB in our evaluation. At 64 GB, KV-cache restoration increases to 1.42 s. Accordingly, the sub-second KV-cache restoration guarantee applies to cache sizes within the evaluated range of 32 GB.
Mean results were taken as the average of 5 experiments (n = 521 preemption events in total). The standard deviations indicate the variability concerning the preemption cases and types of instances.

4.8. Throughput Under Preemption Stress

The throughput time series during three consecutive preemption events is displayed in Figure 10. MorphCloud-LLM shows a fast throughput recovery (in 5 s) and a temporary drop in throughput is seen at 15% during migration. SpotServe takes 25 s to fully recover at a 60 percent throughput loss, while the vanilla checkpoint approach experiences a 90 percent throughput loss under 60 s of recovery windows.
Figure 10. Throughput time series of three consecutive preemption instances of the fast recovery of MorphCloud-LLM.

4.9. Ablation Study

Table 9 shows the results of the ablation study, which was conducted systematically to evaluate the contribution of every MorphCloud-LLM component. The largest decrease in performance, indicated by the removal of the preemption predictor (12.5% p99 latency and 0.8% request drop rate), shows that proactive migration is needed to sustain quality of service. The fact that disabling speculative decoding continuity caused the drop rate to rise from 0.00% to 0.30% is indicative of its importance in closing the migration gap. Incremental checkpointing has a primary contribution to the speed of recovery, and its absence adds 8.2 ms to p99 latency.
Table 9. Ablation study results on LLaMA-70B (AWS).
Differences between MorphCloud-LLM and the baselines exceed the run-to-run standard deviations reported in Table 5 by more than a factor of three across all five seeds.
Table 10 compares the performance of MorphCloud-LLM using two models (LLaMA-70B and Mixtral-8×7B) on two different platforms: AWS and GCP. Mixtral-8x7B has generally lower latency (38–43 ms p99), higher throughput (140–145 tok/s) and cost reduction (71–76%) than LLaMA-70B due to its sparse mixture-of-experts structure, which uses fewer active parameters. In all four setups, the system can maintain a zero-drop rate and a recovery time of less than one second (0.42–0.65 s), which adds to platform-neutral stability.
Table 10. Comparison of model-specific performance.
Table 10 shows that MorphCloud-LLM achieves a zero request drop rate in all the computed model-platform combinations, with Mixtral-8x7B performing better than LLaMA-70B in latency (38–47 ms vs. 44–52 ms), throughput (140–145 vs. 118–121 tok/s), and cost reduction (71–76% vs. 69–70%), which can be explained by its sparse mixture-of-experts design. Table 11 also demonstrates that MorphCloud-LLM achieves a total migration latency of 1390 ms, a 9.5× improvement over SpotServe (13,200 ms) and a 27.3× improvement over Kubernetes restart (38,000 ms), which is largely due to proactive prediction eliminating the detection delay and incremental checkpointing reducing the volume of state transfer. The fact that MorphCloud-LLM is the first model that does not incur overhead in detection and model loading proves that pre-staged weights and predictive migration traverse the costliest recovery bottlenecks faced by the competing systems.
Table 11. Latency breakdown during migration (ms).
Table 11 demonstrates that MorphCloud-LLM achieves a total migration latency of 1390 ms, which is 9.5× lower than SpotServe (13,200 ms), 22.1× lower than vLLM+Ckpt (30,700 ms), and 27.3× lower than Kubernetes restart (38,000 ms). Two phases deserve specific clarification to address the validity of the sub-second KV-cache restoration for KV-cache sizes up to 32 GB (note: the total end-to-end migration latency is 1390 ms, as shown in Table 11). First, the Detection phase shows 0 ms for MorphCloud-LLM because the preemption predictor initiates migration proactively up to 30 s before forced eviction, eliminating reactive detection latency entirely. Second, the Model Loading phase shows 0 ms for MorphCloud-LLM because fallback on-demand nodes maintain pre-staged LLaMA-70B and Mixtral-8x7B weights in GPU memory at all times. This is not an assumed value but a measured architectural property of the warm standby design. For comparison, a cold model weight load of LLaMA-70B from Amazon S3 at 100 Gbps EFA bandwidth would take approximately 11.2 s, which competing systems such as vLLM+Ckpt (5000 ms model loading) and Kubernetes restart (18,000 ms model loading) partially incur. The remaining MorphCloud-LLM recovery phases, namely State Transfer (990 ms), Instance Provision (250 ms), and KV Restoration (150 ms), are all directly measured from live cloud hardware under 521 trace-injected preemption events and reported as mean values with standard deviations in Table 8.

4.10. Speculative Decoding Quality Analysis

To assess the quality impact of speculative decoding continuity during migration, we measure the token acceptance rate, resampling rate, rollback behavior, and output quality across all 521 preemption events on both LLaMA-70B and Mixtral-8x7B. For LLaMA-70B, the mean speculative tokens per migration event is k = 41.2 (standard deviation 8.7), with a token acceptance rate of 87.3% and a resample rate of 12.7% (mean 5.2 tokens resampled per event). For Mixtral-8x7B, mean k = 38.7, acceptance rate = 89.1%, and resample rate = 11.1% (mean 4.3 tokens resampled). Both models exceed the 85% acceptance threshold identified in Section 3.4 as sufficient for negligible quality degradation. When resampling occurs, MorphCloud-LLM rewinds to the last verified token position and regenerates rejected tokens using the restored target model, adding a mean rollback latency of 18.3 ms for LLaMA-70B and 14.6 ms for Mixtral-8x7B, both already included within the reported p99 overhead of 2.1%. Output quality measured via ROUGE-L against on-demand reference outputs yields 0.923 for LLaMA-70B and 0.941 for Mixtral-8x7B, indicating high semantic fidelity. No safety-critical semantic drift was detected across any migration event on prompts from the ShareGPT and LMSYS-Chat-1M datasets, confirming that retroactive verification reliably enforces target model output distribution after every migration window. Table 12 presents representative examples of failed verification and rollback events drawn from the 521 preemption events.
Table 12. Representative failed verification and rollback examples drawn from 521 trace-injected preemption events.

5. Discussion

Three distinct recovery intervals are reported throughout this paper. The 1390 ms figure in Table 11 is the total end-to-end migration latency from preemption detection through KV-cache restoration. The cache recovery time in Table 8 scales with cache size and measures only the KV restoration phase. The 547 ms (SD 83 ms) figure in Section 3.4 is the client-observed buffering pause during speculative continuity, measuring only the window between the start of draft-only token generation and the restoration of target model verification; it is a subset of the total migration latency. The experimental results demonstrate that MorphCloud-LLM effectively resolves the fundamental conflict between cost efficiency and service reliability in LLM serving on spot instances. The up to 76% cost reduction under active-serving accounting (69.8% for LLaMA-70B; 67% including warm standby fallback capacity) achieved by MorphCloud-LLM represents a substantial improvement over existing methods, with SpotServe attaining a 62% and ServerlessLLM attaining a 55% cost reduction (Table 5). This advantage stems from two primary factors: the preemption prediction model reduces expensive emergency migrations by improving on-demand fallback utilization efficiency by 71% compared to SpotServe, and the low overhead of incremental KV-cache checkpointing preserves steady-state inference throughput throughout normal operation.
The empirically measured zero request drop rate of MorphCloud-LLM across 521 trace-injected preemption events represents a meaningful improvement over prior work within the evaluated experimental setting. This figure reflects performance under trace-driven simulation with controlled network conditions and does not capture all real-world variability, including simultaneous multi-node cascade failures, provider-side infrastructure anomalies, storage contention, or replacement-instance scarcity not observed in the 90-day trace collection. Future validation under sustained live production deployments with naturally occurring preemptions is planned. Table 5 demonstrates that all existing spot-aware serving systems exhibit non-zero drop rates, ranging from 0.12% for SpotServe to 8.50% for vanilla spot serving. Although 0.12% appears small in isolation, at production scale serving millions of requests per day, this rate translates to thousands of dropped requests and measurable user experience degradation. The speculative decoding continuity mechanism of MorphCloud-LLM substantially mitigates this failure mode by preserving request state across the migration window.
According to the ablation study (Table 9), the most important model is the preemption prediction model because its removal leads to the highest rise in latency (12.5%) and drop rate (0.8%). This observation is in line with that of Duan et al. [3] that predictive scheduling is much better in terms of handling the management of a GPU cluster compared to reactive ones. Although the speculative decoding continuity engine is less important in reducing latency, it is essential to the attainment of the empirically observed zero-drop performance. The incremental checkpointing mechanism has a more significant effect on recovery speed rather than on steady-state performance and is, therefore, complementary to the other two components.
Scalability is an important aspect that warrants discussion. The overhead of incremental checkpointing in MorphCloud-LLM scales linearly with the checkpoint interval delta and is independent of total model size, enabling scaling to models with 100B or more parameters. The preemption prediction model introduces negligible computational overhead (sub-millisecond inference) and may be shared among multiple serving instances. The speculative decoding continuity engine presupposes that warm on-demand fallback nodes are maintained, which is the main cost element in addition to the spot instance pricing (Table 7).
The end-to-end migration latency of 1390 ms achieved by MorphCloud-LLM (Table 11) (with sub-second KV-cache restoration for caches up to 32 GB) rests on two architectural commitments that eliminate the two costliest phases seen in competing systems: weight loading and detection delay. Regarding weight loading, LLaMA-70B contains 70 billion FP16 parameters occupying approximately 140 GB of storage. A cold load from Amazon S3 at 100 Gbps EFA network bandwidth would require approximately 11.2 s, and from Google Cloud Storage over 100 Gbps gVNIC bandwidth, a comparable duration. Competing systems such as SpotServe, vLLM+Ckpt, and Kubernetes restart all incur this cost, contributing 2500 ms, 5000 ms, and 18,000 ms respectively to their model loading phase, as shown in Table 11. MorphCloud-LLM eliminates this entirely: fallback on-demand nodes are pre-initialized with model weights loaded into GPU memory and the full serving stack configured, held in warm standby at all times. Upon a migration event, the fallback node requires only KV-cache restoration from disaggregated storage (150 ms) and the physical instance activation handshake (250 ms). The 250 ms instance provisioning time in Table 11, therefore, reflects the activation of a warm standby node, not cold cloud instance provisioning, which typically requires 60 to 180 s. This warm standby architecture is the primary reason MorphCloud-LLM achieves a total migration latency of 1390 ms, while Kubernetes restart requires 38,000 ms for the same workload.
The object storage latency of the checkpointing mechanism warrants further discussion. Amazon S3 Express One Zone and Google Cloud Storage regional endpoints were selected to minimize access latency; however, storage throughput variability under contention or across regions may affect checkpoint streaming rates and, consequently, recovery times. In order to counter this, the checkpoint interval of MorphCloud-LLM is adjustable: a larger δ means less streaming frequency and hence less sensitivity to transient storage latency spikes, but with a correspondingly larger token recomputation window on recovery. In high-latency storage environments, practitioners should tune delta based on empirical bandwidth measurements to maintain sub-second KV-cache restoration for KV-cache sizes up to 32 GB (total end-to-end migration latency: 1390 ms, Table 11).
The generalization of the preemption prediction model in unseen regions, instance families as well as changing spot market conditions is a significant weakness. The preemption prediction model was trained on six months of telemetry (July–December 2024) from four AWS and GCP regions; this training dataset is distinct from the 90-day evaluation trace dataset used for preemption injection in Section 4.1. The model might fail to reflect pricing dynamics and interruption patterns of other regions and instance types. Based on this, retraining of telemetry data collected locally should be considered before it is deployed in new settings, as well as the retraining period described in Section 3.3, and new weekly retraining should be continued in the future to ensure that the model is adjusted to changing market conditions.
The Native-Notify baseline isolates the incremental value of the gradient-boosted predictor over the provider-supplied interruption signal alone. Native-Notify achieves 82% recall and a 0.31% drop rate by acting exclusively on the AWS 2-min or GCP 30-s notification. MorphCloud-LLM reduces the drop rate to 0.00% by covering the residual 18% of preemptions that arrive with inadequate or no notification lead time, a failure category that Native-Notify cannot handle by design. This confirms that the gradient-boosted predictor trained on spot market telemetry adds substantive recovery capability beyond what cloud provider notifications deliver, and that the combination of predictive migration with speculative decoding continuity is necessary to achieve zero dropped requests under real spot market conditions.
The cross-platform analysis shows that performance between AWS and GCP is similar, with few differences that can be explained by the differences in the spot market and network infrastructure (Table 10). The latency of GCP is marginally higher because the GCP preemptible VM termination model issues a 30-s shutdown notice [GCP Preemptible VM termination, Google Cloud Documentation, 2024], whereas the AWS spot instance interruption notification arrives approximately two minutes before reclamation [AWS Spot Instance Interruption Notices, EC2 User Guide, 2024], providing more migration lead time. The fact that MorphCloud-LLM is portable to cloud providers means that it is architecturally generic and practical to implement in practice. Studies on intelligent cloud systems by Zhou et al. [24] and Rong et al. [17] also confirm the significance of using ML-based resource management in production settings. Table 13 presents an extensive comparison of MorphCloud-LLM against all evaluated baselines across the full set of performance dimensions.
Table 13. Extensive comparison with state-of-the-art methods.
The system is integrated with the already established infrastructure of LLM serving with minimal invasiveness. MorphCloud-LLM is an intermediary within the request router and inference engine and does not need any adjustments to the model structure or serving framework [13,18]. This design philosophy can be combined with the engine-agnostic approach described by Stoyanov et al. [5] and can also be combined with existing optimizations, including Liquid quantized inference [9] and Baton dynamic re-batching [14] optimizations.

6. Threats to Validity

The experimental evaluation is subject to threats to validity across three dimensions.
Regarding internal validity, preemption events are reproduced via a trace-driven simulation framework rather than fully uncontrolled live production preemptions. Although the simulation is constructed from empirical AWS and GCP spot market interruption traces and faithfully reproduces the statistical properties of real preemption events, including inter-arrival distributions, time-of-day patterns, and severity categories, the results may not capture every failure mode present in sustained live deployments, such as simultaneous multi-node failures under extreme capacity scarcity, network congestion coinciding with migration, or storage contention at high checkpoint throughput. The preemption prediction model is trained and evaluated on telemetry from four specific AWS and GCP regions over a six-month window; recall may be lower in regions, instance families, or market conditions outside this distribution.
Regarding external validity, the evaluation covers two cloud platforms (AWS and GCP) and two model architectures (LLaMA-70B and Mixtral-8x7B). Generalizability to other providers, instance families, or model families has not been demonstrated. The prediction model reflects pricing dynamics in four specific regions and may not transfer to other geographies without retraining on locally collected telemetry. The 521 preemption events, while statistically representative of the empirical trace distribution, were injected over a bounded evaluation window; behavior under sustained multi-month live deployment may differ, particularly as spot market conditions evolve. Single-tenant evaluation on dedicated hardware does not capture interference effects present in shared multi-tenant clusters.
Regarding construct validity, cost reduction is measured relative to on-demand pricing for the specific hardware configurations evaluated; alternative cost baselines such as reserved instances, savings plans, or per-token pricing models may yield different figures. Recovery time is measured as total migration latency under the specific storage topology and network conditions used; results may differ under higher storage contention, cross-region endpoints, or degraded network paths. The drop rate metric counts a request as successfully served if it receives a complete response within the SLA bound; it does not capture subtle output quality degradation arising from speculative token rollback, which is instead quantified separately via ROUGE-L score. The overall request-state classification accuracy of 99.8% reflects performance across the full evaluation window, including non-preemption periods; accuracy evaluated exclusively on the 521 preemption-event intervals is 98.5% (Section 4.4). Both figures are restricted to the evaluated workload distributions; accuracy on adversarial, out-of-distribution, or safety-critical prompts has not been assessed.

7. Conclusions

In this paper, MorphCloud-LLM, an elastic LLM serving system, is introduced and evaluated, demonstrating reliability properties that are production-capable through three complementary innovations: asynchronous incremental checkpointing of KV-caches for sizes up to 32 GB, a gradient-boosted preemption prediction model achieving 89% recall at a 30 s horizon, and a speculative decoding continuity engine that sustains token generation while workloads migrate between spot instances. Under live cloud inference workloads with trace-injected preemption events, MorphCloud-LLM achieved up to a 76% cost reduction under active-serving accounting (69.8% for LLaMA-70B), or 67% when warm standby capacity is included, with a 2.1% p99 latency overhead and zero dropped requests under the evaluated conditions. Future work will validate the system under uncontrolled production preemptions, broader cloud regions, and safety-critical prompt distributions. The 521 evaluation events were generated via trace-driven simulation; production deployments may encounter multi-node cascade failures, storage contention, and regional scarcity not captured in the current evaluation, and results should be interpreted accordingly. The ablation experiment proved the complementary role of the three components, with the preemption predictor found to make the most significant contribution to the study. Future directions include extending MorphCloud-LLM to multi-tenant serving environments, broadening preemption prediction to additional cloud providers, and integrating with emerging disaggregated hardware architectures that enable finer-grained state migration.
A theoretical concern with speculative continuity is the exposure-bias problem: the draft model generates tokens conditioned on its own prior outputs, creating a transient distribution mismatch relative to the target model distribution. The empirically measured acceptance rates of 87.3% (LLaMA-70B) and 89.1% (Mixtral-8x7B) confirm that this mismatch remains small in practice, and retroactive verification by the restored target model ensures that any rejected tokens are regenerated before reaching the user.

Funding

This research was funded by the Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia, through Project No. RP2026-041.

Data Availability Statement

The datasets used in this study are publicly available: ShareGPT (https://huggingface.co/datasets/anon8231489123/ShareGPT_Vicuna_unfiltered, accessed on 18 January 2026) and LMSYS-Chat-1M (https://huggingface.co/datasets/lmsys/lmsys-chat-1m, accessed on 18 January 2026). The MorphCloud-LLM source code and anonymized preemption traces will be made available in a public repository upon publication.

Acknowledgments

The author gratefully acknowledges the Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia, for funding this work through Project No. RP2026-041. The author gratefully acknowledges the support of the Engineering and Technology Research Center, Jazan University, Saudi Arabia.

Conflicts of Interest

The author declares no conflicts of interest.

Nomenclature

SymbolDescription
System State Variables
S Set of active spot instances
D Set of on-demand fallback nodes
Q Global request queue
C ( t ) Distributed KV-cache state at time t
P ( t ) Preemption probability vector
Ψ ( t ) System state tuple at time t
Memory and Cache Parameters
M K V KV-cache memory requirement
L Number of transformer layers
H Number of attention heads
d h Attention head dimension dh
δ Checkpoint interval (decoding steps)
Δ C ( t ) Incremental KV-cache delta at time t
B n e t Network bandwidth to storage
V ( t ) Version vector for checkpoint consistency
Preemption Prediction Model
x ( t ) Feature vector for preemption prediction
f θ Gradient-boosted prediction model parameterized by θ
α Asymmetric loss class weight
ρ ( t ) Prediction confidence score at time t
ρ t h r e s h Static migration trigger threshold
ρ b a s e Nominal (baseline) migration trigger threshold, before load-adaptive adjustment (Equation (13))
λ Load sensitivity coefficient governing adaptive threshold adjustment (Equation (13))
τ Preemption prediction horizon (seconds)
Q t h r e s h Preemption confidence threshold for speculative-decoding mode switching (Equation (15))
Speculative Decoding Continuity
M d Draft model used for speculative token generation during migration
M t Target model used for speculative token verification after recovery
k Number of speculative tokens generated per migration step (Equation (17))
t d r a f t Time to generate one speculative token by the draft model M_d (Equation (18))
t v e r i f y Time to verify one speculative token by the target model M_t (Equation (18))
n r e c o v e r Token position restored from the version vector V(t) on instance recovery (Equation (7))
Routing and SLA
γ 1 , γ 2 , γ 3 Request routing weight coefficients (latency, preemption risk, cache locality)
T S L A Service level agreement latency bound
Abbreviations
FLFederated Learning
KVKey-Value (attention cache)
LLMLarge Language Model
GPUGraphics Processing Unit
RDMARemote Direct Memory Access. Used by ServerlessPD [4] for disaggregated prefill-decoding. MorphCloud-LLM does not use RDMA for KV-cache transfer; all checkpoint streaming uses Amazon S3 Express One Zone (AWS) or GCS regional endpoints (GCP) via VPC endpoint network paths (Section 3.1 and Section 3.2).
AUCArea Under the ROC Curve

References

  1. Miao, X.; Shi, C.; Duan, J.; Xi, X.; Lin, D.; Cui, B.; Jia, Z. SpotServe: Serving generative large language models on preemptible instances. In Proceedings of the 29th ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS ‘24), La Jolla, CA, USA, 27 April–1 May 2024; Volume 2, pp. 1112–1127. [Google Scholar] [CrossRef] [Scilit]
  2. Kwon, W.; Li, Z.; Zhuang, S.; Sheng, Y.; Zheng, L.; Yu, C.H.; Gonzalez, J.; Zhang, H.; Stoica, I. Efficient Memory Management for Large Language Model Serving with PagedAttention. In Proceedings of the ACM Symposium on Operating Systems Principles (SOSP); Association for Computing Machinery: New York, NY, USA, 2023. [Google Scholar] [CrossRef] [Scilit]
  3. Duan, J.; Xu, S.; Qian, S.; Yang, D.; Wang, K.; Liao, C.; Yu, Y.; Hua, Q.; Hu, H.; Wang, Q.; et al. GFS: A preemption-aware scheduling framework for GPU clusters with predictive spot instance management. In Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS ‘26), Pittsburgh, PA, USA, 22–26 March 2026; Volume 1. [Google Scholar] [CrossRef] [Scilit]
  4. Liu, M.; Gu, J.; Zhao, T. ServerlessPD: Fast RDMA-Codesigned Disaggregated Prefill-Decoding for Serverless Inference of Large Language Models. In Proceedings of the 2025 IEEE International Conference on Web Services (ICWS), Helsinki, Finland, 7–12 July 2025; pp. 305–315. [Google Scholar] [CrossRef] [Scilit]
  5. Stoyanov, R.; Spišaková, V.; Reber, A.; Armour, W.; Copik, M.; Bruno, R. Engine-Agnostic Model Hot-Swapping for Cost-Effective LLM Inference. In Proceedings of the SC’25 Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis, St. Louis, MO, USA, 16–21 November 2025; pp. 114–125. [Google Scholar] [CrossRef] [Scilit]
  6. Patel, P.; Choukse, E.; Zhang, C.; Shah, A.; Goiri, I.; Maleki, S.; Bianchini, R. Splitwise: Efficient generative LLM inference using phase splitting. In Proceedings of the 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture (ISCA), Buenos Aires, Argentina, 29 June–3 July 2024; pp. 118–132. [Google Scholar] [CrossRef] [Scilit]
  7. Yin, W.; Yi, R.; Xu, D.; Huang, G.; Xu, M.; Liu, X. Elastic On-Device LLM Service. In Proceedings of the 31st Annual International Conference on Mobile Computing and Networking, Hong Kong, China, 4–8 November 2025; pp. 984–999. [Google Scholar] [CrossRef] [Scilit]
  8. Grigorov, D. Deploying LLM-powered applications. In Intermediate Python and Large Language Models; Springer: Berlin/Heidelberg, Germany, 2025; Available online: https://link.springer.com/chapter/10.1007/979-8-8688-1475-4_4 (accessed on 12 January 2026).
  9. Hu, H.; Xiao, B.; Sun, S.; Yin, J.; Zhang, Z.; Luo, X. LiquidGEMM: Hardware-efficient W4A8 GEMM kernel for high-performance LLM serving. In Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis (ASPLOS ‘25), Rotterdam, Netherlands, 30 March–3 April 2025. [Google Scholar] [CrossRef] [Scilit]
  10. Sui, Y.; Yu, H.; Hu, Y.; Li, J.; Wang, H. Accelerating ML Inference via Opportunistic Pre-Loading on Serverless Clusters. IEEE Trans. Parallel Distrib. Syst. 2026, 37, 472–488. [Google Scholar] [CrossRef] [Scilit]
  11. Joyce, J.E.; Nagaraj, A.K.; Soni, S. Autonomous infrastructure healing: A multi-agent Kubernetes recovery framework. In 2025 Supercomputing India (SCI); IEEE: New York, NY, USA, 2025; Available online: https://ieeexplore.ieee.org/abstract/document/11333843/ (accessed on 12 January 2026).
  12. Wei, X.; Huang, Z.; Sun, T.; Hao, Y.; Chen, R.; Han, M.; Gu, J.; Chen, H. PhoenixOS: Concurrent OS-level GPU checkpoint and restore with validated speculation. In Proceedings of the ACM SIGOPS 31st Symposium on Operating Systems Principles (SOSP ‘25), Seoul, Republic of Korea, 13–16 October 2025. [Google Scholar] [CrossRef] [Scilit]
  13. Liu, M.; Zhong, S.; Bi, W.; Zhang, Y.; Chen, Z.; Chen, Z.; Liu, X.; Ma, Y. A First Look at Bugs in LLM Inference Engines. ACM Trans. Softw. Eng. Methodol. 2026, 35, 284. [Google Scholar] [CrossRef] [Scilit]
  14. Cong, P.; Chen, Q.; Zhao, H.; Yang, T. BATON: Enhancing Batch-Wise Inference Efficiency for Large Language Models via Dynamic Re-Batching. In Proceedings of the ACM on Web Conference 2025 (WWW ‘25), Sydney, NSW, Australia, 28 April–2 May 2025; pp. 2309–2318. [Google Scholar] [CrossRef] [Scilit]
  15. Yang, Y.; Du, D.; Song, H.; Xia, Y. On-Demand and Parallel Checkpoint/Restore for GPU Applications. In Proceedings of the 2024 ACM Symposium on Cloud Computing (SoCC ‘24), Redmond, WA, USA, 20–22 November 2024; pp. 415–433. [Google Scholar] [CrossRef] [Scilit]
  16. Subramanya, S.J.; Arfeen, D.; Lin, S.; Qiao, A.; Jia, Z.; Ganger, G.R. Sia: Heterogeneity-Aware, Goodput-Optimized ML-Cluster Scheduling. In Proceedings of the 29th Symposium on Operating Systems Principles (SOSP), Koblenz, Germany, 23–26 October 2023; pp. 642–657. [Google Scholar] [CrossRef] [Scilit]
  17. Rong, B.; Rutagemwa, H. Leveraging large language models for intelligent control of 6G integrated TN-NTN with IoT service. IEEE Netw. 2024, 28, 136–142. [Google Scholar] [CrossRef] [Scilit]
  18. Wang, S.; Zhao, Y.; Hou, X.; Wang, H. Large language model supply chain: A research agenda. ACM Trans. Softw. Eng. Methodol. 2025, 34, 147. Available online: https://dl.acm.org/doi/abs/10.1145/3708531 (accessed on 12 January 2026).
  19. Lin, S.; Hua, W.; Wang, Z.; Jin, M.; Fan, L. EmojiPrompt: Generative prompt obfuscation for privacy-preserving communication with cloud-based LLMs. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics; Association for Computing Machinery: New York, NY, USA, 2025; Available online: https://aclanthology.org/2025.naacl-long.614/ (accessed on 12 January 2026).
  20. Nagarajan, R.; Kondo, M.; Salas, F.; Sezgin, E.; Yao, Y.; Klotzman, V.; Godambe, S.A.; Khan, N.; Limon, A.; Stephenson, G.; et al. Economics and Equity of Large Language Models: Health Care Perspective. J. Med. Internet Res. 2024, 26, e64226. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Chen, D.; Liu, Y.; Zhou, M.; Zhao, Y.; Wang, H. LLM for mobile: An initial roadmap. ACM Trans. Softw. Eng. Methodol. 2025, 34, 128. Available online: https://dl.acm.org/doi/abs/10.1145/3708528 (accessed on 12 January 2026).
  22. Saura, P.; Bernabe, J.; Skarmeta, A. Enhancing federated intrusion detection through LLM-driven alert enrichment and collaborative threat information sharing. Future Gener. Comput. Syst. 2026, 178, 108319. [Google Scholar] [CrossRef] [Scilit]
  23. Chen, G.; Subramaniyan, S.; Wang, X. Latency-Guaranteed Co-Location of Inference and Training for Reducing Data Center Expenses. In Proceedings of the IEEE 44th International Conference on Distributed Computing Systems (ICDCS), Jersey City, NJ, USA, 23–26 July 2024; pp. 473–484. [Google Scholar] [CrossRef] [Scilit]
  24. Zhou, Y.; Cheng, G.; Du, K.; Chen, Z. Toward Intelligent and Secure Cloud: Large Language Model Empowered Proactive Defense; IEEE Communications Magazine: New York, NY, USA, 2026; Available online: https://ieeexplore.ieee.org/abstract/document/11373463/ (accessed on 12 January 2026).
  25. Farhoudi, M.; Shokrnezhad, M.; Taleb, T. Service registration, indexing, discovery, and selection: An architectural survey toward a GenAI-driven future. IEEE Access 2025, 13, 209680–209722. [Google Scholar] [CrossRef] [Scilit]
  26. Mandal, S.; Maji, G.; Khatua, S.; Das, R.K. Cost Minimizing Reservation and Scheduling Algorithms for Public Clouds. IEEE Trans. Cloud Comput. 2021, 11, 1365–1380. [Google Scholar] [CrossRef] [Scilit]
  27. Pozzi, A.; Incremona, A.; Tessera, D.; Toti, D. Mitigating exposure bias in large language model distillation: An imitation learning approach. Neural Comput. Appl. 2025, 37, 12013–12029. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.