Cloud edge collaboration improves personalized large language models

CIDERS: Cloud-Edge LLM Collaborative Learning via Accelerating Personalized Bilevel Optimization

Distributed, Parallel, and Cluster ComputingArtificial Intelligence

Summary

Large language models (LLMs) often need to balance knowledge that is shared globally with personalization for specific users or tasks. The authors introduce a new way to train LLMs that run partly in the cloud and partly on edge devices, by organizing training into two levels: one for cloud knowledge transfer and one for edge personalization. They created a method called CIDERS that helps the models learn better personalized skills while still staying connected to global knowledge. Experiments show CIDERS improves results on tasks like math reasoning and code generation compared to other methods.

What this means in practice

  • For cloud platform engineers: Improve coordination between cloud servers and edge devices to deliver personalized LLM services that retain global knowledge efficiently.
  • For mobile app developers: Deploy AI applications on mobile devices that adapt to user-specific needs while leveraging cloud-based language model updates.

Authors

Victor H. Chen, Hairui Yu, Stella K. Chung, Hong Yan

Abstract

Amid the rapid advancement of physical-world intelligence, cloud-edge collaborative large language models (LLMs) have emerged as a promising roadmap for practical LLM deployment. However, existing cloud-edge paradigms struggle to balance global consensus with local personalization, which fails to satisfy the need for a unified knowledge foundation on the cloud and domain-specific adaptation at the edge. To address this, we introduce, for the first time, a personalized bilevel optimization framework that formalizes cloud-edge LLM collaboration as a dual structure: the upper level optimizes edge-side personalization, while the lower level governs cloud-side knowledge transfer, reaching cloud-edge evolving in coordination. We then propose CIDERS, an efficient solver that decomposes the model into a learnable backbone and a messenger. While the cloud performs knowledge transfer to the learnable backbone, the key lies in embedding global trajectories into each local personalization step via consensus-variate correction to reconcile personalization with consensus. We provide a comprehensive theoretical analysis, including a geometric characterization of the local trajectory and a full convergence guarantee, revealing an explicit trade-off structure between personalization and global convergence. Extensive experiments demonstrate that CIDERS consistently outperforms competitive baselines on the compressed edge path, with 3.1x and 1.7x gains on mathematical reasoning and code generation, respectively, and a 10\% relative gain on instruction metrics. Mechanism experiments attribute these gains to early consensus-corrected coordination and task-aware distillation. Overall, CIDERS offers a viable path toward consensus-guided continuous personalization in cloud-edge LLM systems.