Cloud-Device Collaborative Learning for Multimodal Large Language Models

Guanqun Wang, Jiaming Liu, Chenxuan Li, Yuan Zhang, Junpeng Ma, Xinyu Wei, Kevin Zhang, Maurice Chong, Renrui Zhang, Yijiang Liu, Shanghang ZhangCVPR 2023

Abstract The deployment of large-scale Multimodal Large Language Models (MLLMs) on client devices is hindered by their extensive model parameters, leading to a notable decline in generalization capabilities when compressed. We introduce a Cloud-Device Collaborative Continual Adaptation (CD-CCA) framework designed to enhance the performance of compressed, device-deployed MLLMs by leveraging robust cloud-based models. Our framework consists of an Uncertainty-guided Token Sampling (UTS) uplink for efficient data transmission, cloud-based Adapter-based Knowledge Distillation (AKD), and a Dynamic Weight update Compression (DWC) downlink. Extensive experiments demonstrate the superiority of CD-CCA over prior methods, significantly reducing transmission costs while maintaining high accuracy in changing environments.

Introduction

Multimodal Large Language Models (MLLMs) have revolutionized tasks like visual reasoning and image captioning. However, their massive size makes direct deployment on edge devices—such as smartphones or autonomous robots—impractical. While model compression offers a partial solution, compressed models often suffer from "distribution shifts," where performance drops sharply when the model encounters environments different from its training data (e.g., transitioning from clear weather to heavy fog).

The Cloud-Device Collaborative Continual Adaptation (CD-CCA) framework addresses this "deployment gap." It enables resource-constrained devices to maintain high performance by receiving targeted "tutoring" from a larger cloud-based model. This collaborative loop ensures the device model stays updated without overwhelming network bandwidth.

The CD-CCA Framework

The CD-CCA framework operates as a three-stage collaborative loop designed for efficiency and performance.

The CD-CCA architecture featuring Uncertainty-guided Token Sampling (Uplink), Cloud-side Finetuning with AKD, and Dynamic Weight update Compression (Downlink).
  1. Uplink: Uncertainty-guided Token Sampling (UTS). To minimize data transmission, the device model identifies "uncertain" instances using entropy. It then employs Variance-Informed Sampling (VIS) to select only the most informative visual tokens. This "smart filter" reduces uplink data volume to just 0.21% of the original input.
  2. Cloud-Side: Adapter-based Knowledge Distillation (AKD). In the cloud, a large "Teacher" model (e.g., LLaMA2-13B) generates pseudo-labels for the received data. Knowledge is transferred to a smaller "Student" model (e.g., LLaMA2-7B) using specialized adapters—small, trainable layers that align the student's representations with the teacher's high-level understanding.
  3. Downlink: Dynamic Weight update Compression (DWC). Instead of transmitting the entire updated model, CD-CCA identifies the most significant weight changes, quantizes them, and sends only these compact updates. This reduces downlink latency from over a minute to mere milliseconds.

Experimental Evaluation

The framework was tested on major benchmarks, including VQA-v2, A-OKVQA, and COCO Captions. To simulate real-world challenges, the authors introduced VQAv2-IDS (Image Domain Shift), incorporating environmental effects like rain, snow, and fog.

Key Results and Insights

CD-CCA consistently outperformed "source-only" models (models deployed without adaptation). On the VQA-v2 to A-OKVQA shift, it improved Multiple Choice (MC) accuracy by 3.93% and Direct Answer (DA) accuracy by 3.19%.

Accuracy trends over multiple rounds of adaptation, comparing the CD-CCA framework (Ours) against source-only baselines for both Multiple Choice (MC) and Direct Answer (DA) tasks.

In the IDS benchmarks, the framework showed a +6.04% improvement under adverse weather conditions. Real-world robot testing further validated its efficiency, reducing parameter transmission from 7.78 billion to just 1.65 million, making real-time updates feasible over standard Wi-Fi.

Conclusion

The CD-CCA framework provides a scalable solution for deploying MLLMs on edge devices. By combining intelligent data sampling, adapter-based distillation, and weight compression, it bridges the gap between massive cloud intelligence and constrained local execution. Future work will explore expanding the framework to handle additional modalities like video and audio, as well as addressing the privacy implications of cloud-device data exchange.

Summary updated

BibTeX
@inproceedings{wang2023cloud,
  author = {Guanqun Wang and Jiaming Liu and Chenxuan Li and Yuan Zhang and Junpeng Ma and Xinyu Wei and Kevin Zhang and Maurice Chong and Renrui Zhang and Yijiang Liu and Shanghang Zhang},
  title = {{Cloud-Device Collaborative Learning for Multimodal Large Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=1WCjPKSCN3},
}
Figure