DUET: A Tuning-Free Device-Cloud Collaborative Parameters Generation Framework for Efficient Device Model Generalization

Zheqi Lv, Wenqiao Zhang, Shengyu Zhang, Kun Kuang, Feng Wang, Yongwei Wang, Zhengyu Chen, Tao Shen, Hongxia Yang, Beng Chin Ooi, Fei Wu

Abstract

Personalizing AI models for resource-constrained mobile devices typically requires on-device fine-tuning, which is often hindered by data sparsity, annotation demands, and high computational costs. This paper introduces DUET (Device-cloUd collaborative parametErs generaTion), a tuning-free framework that leverages a cloud-based generator to produce custom model weights in real-time. By mapping unlabeled local data distributions directly to optimal parameters, DUET reduces adaptation latency from minutes to milliseconds while simultaneously improving model accuracy across recommendation and vision tasks.

Introduction

Deploying cloud-trained AI models to mobile devices often encounters the "data distribution shift" problem, where a global model fails to account for individual user variations. While Device Model Generalization (DMG) through on-device fine-tuning is a common remedy, it faces three significant challenges: overfitting due to sparse local data, the requirement for real-time labeled data (annotation demand), and high battery/latency costs associated with backpropagation on mobile hardware.

The DUET Framework

DUET addresses these issues by shifting the personalization workload to the cloud using a parameter generation approach. Instead of retraining, the framework treats personalization as a direct mapping problem from data distribution to model weights. The architecture is composed of three primary modules:

  • Universal Meta Network (UMN): Splits the model into static backbone layers and dynamic classifier layers that are targeted for personalization.
  • Personalized Parameters Generator (PPG): A cloud-resident module inspired by HyperNetworks. It takes unlabeled real-time data embeddings from the device and generates optimized weights for the dynamic layers.
  • Stable Weight Adapter (SWA): To prevent weight oscillation, SWA uses an ensemble of generators and a self-similarity matrix to produce robust, averaged parameters.
The DUET framework architecture, illustrating the Universal Meta Network (UMN), Personalized Parameters Generator (PPG), and Stable Weight Adapter (SWA).

The workflow involves the device sending a small data representation to the cloud, which then returns custom weights for instant local inference, bypassing the need for on-device gradient updates.

Experimental Results

The researchers evaluated DUET on sequential recommendation (Movielens) and facial expression recognition (CK+) datasets. The results demonstrate that DUET significantly outperforms traditional fine-tuning in both efficiency and accuracy.

Comparison of DUET and traditional fine-tuning, highlighting advantages in real-time performance, cost, and the trade-off between AUC and time delay.

Key findings include:

  • Massive Speedup: In recommendation tasks, DUET reduced time delay from 60,000ms (traditional fine-tuning) to just 0.34ms.
  • Improved Accuracy: On Movielens-1M, DUET achieved an AUC of 0.9230, surpassing the fine-tuning baseline of 0.9080.
  • Vision Performance: In facial recognition tasks, DUET improved MobileNetV3-Large accuracy from 76.97% to 82.45%.
  • Zero-Annotation Learning: Because the PPG is trained on global data, it can generate weights using only unlabeled real-time inputs from the device.

Conclusion and Future Work

DUET offers a paradigm shift for mobile AI by replacing slow, resource-intensive on-device learning with instantaneous cloud-based parameter generation. While the framework currently depends on stable connectivity and raises potential privacy considerations regarding data embeddings, it provides a highly efficient path toward real-time, personalized device models. Future research will explore more complex backbones and extreme "cold-start" scenarios for new devices.

Summary updated

BibTeX
@inproceedings{lv2023duet,
  author = {Zheqi Lv and Wenqiao Zhang and Shengyu Zhang and Kun Kuang and Feng Wang and Yongwei Wang and Zhengyu Chen and Tao Shen and Hongxia Yang and Beng Chin Ooi and Fei Wu},
  title = {{DUET: A Tuning-Free Device-Cloud Collaborative Parameters Generation Framework for Efficient Device Model Generalization}},
  booktitle = {The Web Conference},
  year = {2023},
  doi = {10.1145/3543507.3583451},
}
Figure