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 +6 more
9/12/2022
cs.DCcs.AIcs.CV

Official code: HelloZicky/DUET (26 stars, Python, GPL-3.0, last commit 2025-03-03).

Abstract

Device Model Generalization (DMG) is a practical yet under-investigated research topic for on-device machine learning applications. It aims to improve the generalization ability of pre-trained models when deployed on resource-constrained devices, such as improving the performance of pre-trained cloud models on smart mobiles.

Show full abstract

While quite a lot of works have investigated the data distribution shift across clouds and devices, most of them focus on model fine-tuning on personalized data for individual devices to facilitate DMG. Despite their promising, these approaches require on-device re-training, which is practically infeasible due to the overfitting problem and high time delay when performing gradient calculation on real-time data. In this paper, we argue that the computational cost brought by fine-tuning can be rather unnecessary. We consequently present a novel perspective to improving DMG without increasing computational cost, i.e., device-specific parameter generation which directly maps data distribution to parameters. Specifically, we propose an efficient Device-cloUd collaborative parametErs generaTion framework DUET. DUET is deployed on a powerful cloud server that only requires the low cost of forwarding propagation and low time delay of data transmission between the device and the cloud. By doing so, DUET can rehearse the device-specific model weight realizations conditioned on the personalized real-time data for an individual device. Importantly, our DUET elegantly connects the cloud and device as a 'duet' collaboration, frees the DMG from fine-tuning, and enables a faster and more accurate DMG paradigm. We conduct an extensive experimental study of DUET on three public datasets, and the experimental results confirm our framework's effectiveness and generalisability for different DMG tasks.

View on arXivView PDF

Code Implementations(1)

HelloZicky/DUETOfficial100%
GPL-3.0

[WWW2023] PyTorch implementation of "DUET: A Tuning-Free Device-Cloud Collaborative Parameters Generation Framework for Efficient Device Model Generalization".

260Python, ShellSep 9, 20231 years agoGPL-3.0
computer-visiondevice-clouddevice-cloud-collaborationdevice-generalizationdomain-adaptation+10 more

Similar Papers

Cite this paper

@article{lv2022duet,
  title  = {DUET: A Tuning-Free Device-Cloud Collaborative Parameters Generation Framework for Efficient Device Model Generalization},
  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},
  year   = {2022},
  eprint = {2209.05227},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.05227}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.05227.svg)](https://codeofpaper.com/paper/2209.05227)

Discussion