CSGO: Generalized Optimization for Cold Start in Wireless Collaborative Edge LLM Systems

Xuran Liu, Nan Xue, Rui Bao, Yaping Sun, Zhiyong Chen, Meixia Tao, Xiaodong Xu, Shuguang CuiarXiv 2025 · DOI

Abstract

Large Language Models (LLMs) are increasingly deployed on edge devices to ensure privacy and reduce latency. However, the "cold start" problem—the time required to load model parameters from persistent storage into memory—remains a significant barrier to responsive user experiences in distributed edge environments. We propose CSGO (Generalized Optimization for Cold Start), a framework designed to minimize this latency by treating model loading as an integral part of the pipeline scheduling process. By overlapping model loading with active computation and communication across heterogeneous devices, CSGO achieves up to a 50% reduction in cold start latency compared to traditional partitioning strategies.

Introduction

The deployment of multi-billion parameter LLMs on mobile devices is constrained by limited memory and processing power. Pipeline Parallelism (PP) addresses this by sharding the model across multiple collaborative devices. While effective for steady-state inference, PP often neglects the initial "cold start" phase. In real-world mobile applications, models are frequently evicted from RAM to save power or resources. When a user initiates a prompt, the subsequent loading of model shards from slow flash storage creates significant idle periods, or "bubbles," in the pipeline. Existing scheduling methods ignore this loading phase, leading to a frustratingly slow first-response time for the user.

The CSGO Framework

CSGO addresses the cold start challenge by formulating the deployment as a Mixed-Integer Non-Linear Program (MINLP) aimed at minimizing the total makespan. The core innovation lies in its ability to "hide" loading times through strategic overlapping.

Conceptual comparison of scheduling strategies: CSGO (Our proposed) overlaps model loading with computation to minimize idle bubbles.

As illustrated in the figure above, traditional "Even" partitioning leads to significant bubbles where devices wait for predecessors to finish before they can begin their own computation, despite having finished their own model loading. CSGO aligns the finish time of a predecessor's computation exactly with the moment the successor finishes loading its model shard, effectively parallelizing I/O and processing.

To solve the NP-hard optimization problem efficiently, we developed a Dynamic Programming (DP) algorithm with a complexity of $O(K^2 \cdot L^2 \cdot 2^K)$. This algorithm accounts for hardware heterogeneity, including varying disk read speeds, GPU FLOPS (modeled via a saturating exponential function), and wireless channel conditions.

Experimental Evaluation

We evaluated CSGO using the architecture specifications of the Qwen3-14B model across a simulated network of four heterogeneous edge devices (PC, phone, tablet, laptop). The simulation incorporated real-world hardware profiles with disk speeds ranging from 2000 to 5000 MB/s and varying computational capacities.

Performance comparison of CSGO (Proposed DP) against baselines. (a) Absolute cold start latency across token lengths. (b) Percentage latency reduction relative to the best baseline.

Key Results

The experimental results demonstrate that CSGO consistently outperforms standard baselines such as "Even" partitioning and heuristic-based methods. As shown in the performance plots, CSGO reduces cold start latency by 8% to 50% depending on the input token length.

  • The "Straggler" Shift: For shorter prompts, where I/O is the primary bottleneck, CSGO's ability to mask loading time is particularly effective. For longer prompts, the framework adapts by shifting more computational load to more powerful devices to maintain pipeline alignment.
  • Efficiency Gains: On average, CSGO provides a 17.43% improvement over the best-performing baseline at any given token length. Detailed Gantt chart analysis confirms that CSGO successfully eliminates "obstructive bubbles"—idle periods where a device has finished loading but is still waiting for data from a predecessor.

Conclusion and Future Work

CSGO represents a significant step toward making edge-based LLMs practical for real-world, sporadic use. By treating model loading as a schedulable resource rather than a fixed overhead, the framework significantly reduces the "time-to-first-token" for users. Future work will focus on integrating this cold-start optimization into a unified framework that also optimizes for high-throughput steady-state generation and adapts to dynamic wireless environments and fluctuating device availability.

Summary updated

BibTeX
@misc{liu2025csgo,
  author = {Xuran Liu and Nan Xue and Rui Bao and Yaping Sun and Zhiyong Chen and Meixia Tao and Xiaodong Xu and Shuguang Cui},
  title = {{CSGO: Generalized Optimization for Cold Start in Wireless Collaborative Edge LLM Systems}},
  year = {2025},
  eprint = {2508.11287},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.11287},
}
Figure