An Edge-Cloud Collaboration Framework for Generative AI Service Provision With Synergetic Big Cloud Model and Small Edge Models

Yuqing Tian, Zhaoyang Zhang, Yuzhi Yang, Zirui Chen, Zhaohui Yang, Richeng Jin, Tony Q. S. Quek, Kai-Kit Wong

Introduction

The rapid proliferation of Generative AI (GenAI) models, such as GPT-4 and Stable Diffusion, has transformed digital services but introduced significant infrastructure challenges. Currently, these "Big AI Models" (BAIMs) are primarily deployed via a "top-down" centralized cloud architecture. While powerful, this approach suffers from high latency, privacy concerns regarding user data, and immense computational bottlenecks at the cloud level.

To address these issues, this paper proposes a novel "bottom-up" framework for GenAI. Instead of compressing a massive central model for edge deployment, the framework synthesizes a robust cloud-based model from smaller, specialized models trained at the network edge. This synergetic approach leverages the low latency and privacy of edge computing alongside the vast computational resources of the cloud.

The Bottom-Up Architecture

The core innovation of this framework is the shift from centralized training to an Edge-to-Cloud Synthesis model. The architecture is built on several key components designed to handle the complexities of distributed generative tasks:

1. Mixture-of-Experts (MoE) and Hierarchical Gating

The framework treats edge-trained models as "experts" within a global Mixture-of-Experts structure. To manage these experts, the authors introduce Hierarchical Gating (HierGate), which consists of two layers:

  • Task-Specific Gate (TSGate): This gate identifies the nature of the incoming request and routes it to the most relevant group of expert models.
  • Learner-Selected Gate (LSGate): Within the selected group, this gate identifies the top-$K$ most relevant edge-trained modules to process the specific input, ensuring that only the most qualified components are activated.

2. Overcoming Hardware Heterogeneity

A common pitfall in collaborative learning is the requirement for identical hardware and model architectures across all nodes. This framework bypasses this limitation using Linear Projections. These layers act as bridges, connecting heterogeneous edge model architectures into a unified cloud backbone, allowing the system to benefit from diverse edge contributions regardless of their original structure.

3. Task-Oriented Deployment

Once the cloud model is synthesized and refined, the framework employs a task-oriented deployment strategy. Rather than sending the entire global model back to the user, only the relevant expert modules and gating mechanisms are deployed to the edge. This results in a lightweight, personalized version of the model that provides high-performance service with minimal local overhead.

Experimental Validation

The framework was evaluated using an image generation task based on the CelebA dataset, a large-scale collection of facial attributes. The setup involved 10 edge nodes training heterogeneous Variational Autoencoders (VAEs) on a dataset of approximately 15,000 images.

Key Performance Metrics

  • Service Delay and Efficiency: Compared to traditional paradigms like Federated Learning (FL) and Split Learning (SL), the proposed framework demonstrated superior performance in service delay and communication efficiency. By activating only sparse components of the model via MoE, the system significantly reduced the computational load.
  • Image Quality: Using the Fréchet Inception Distance (FID) metric, the researchers found that their "Fine-tuning" strategy—where the cloud model is refined and then redeployed—produced significantly higher image quality than standalone local models.
  • Convergence: The training process reached lower loss levels faster when using the fine-tuning approach compared to training from scratch or using static "frozen" edge modules.

Discussion and Future Work

The "bottom-up" approach represents a significant shift in GenAI deployment, prioritizing modularity and edge intelligence. By treating edge models as modular components, the cloud can build a robust global intelligence without requiring access to raw, private user data. This creates a synergy where the cloud provides global logic and connectivity while the edge provides local expertise and low-latency execution.

However, several challenges remain for future exploration:

  • Asynchronous Updates: Future iterations must account for the intermittent connectivity of edge nodes in 6G networks to prevent "stale" updates from degrading the global model.
  • Extreme Heterogeneity: While linear projections are effective, fusing radically different architectures (e.g., small CNNs with large Transformers) remains a complex task.
  • Security: While the framework enhances privacy by keeping raw data local, the authors note that defense mechanisms against "model inversion attacks" must be strengthened to ensure the security of the model weights themselves.

Conclusion

By reimagining the relationship between the cloud and the edge, this framework provides a scalable, efficient, and privacy-preserving path forward for Generative AI. The transition from a monolithic "top-down" model to a synergetic "bottom-up" synthesis allows for high-quality AI services that are both responsive to user needs and sustainable for network infrastructure.

Summary updated

BibTeX
@article{tian2024edge,
  author = {Yuqing Tian and Zhaoyang Zhang and Yuzhi Yang and Zirui Chen and Zhaohui Yang and Richeng Jin and Tony Q. S. Quek and Kai-Kit Wong},
  title = {{An Edge-Cloud Collaboration Framework for Generative AI Service Provision With Synergetic Big Cloud Model and Small Edge Models}},
  journal = {IEEE Network},
  year = {2024},
  doi = {10.1109/mnet.2024.3420755},
}
Figure