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 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.
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