Enregistré dans:
Détails bibliographiques
Auteurs principaux: Xie, Jiajian, Zhang, Shengyu, Zhao, Zhou, Wu, Fan, Wu, Fei
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:https://arxiv.org/abs/2507.11980
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866916848966041600
author Xie, Jiajian
Zhang, Shengyu
Zhao, Zhou
Wu, Fan
Wu, Fei
author_facet Xie, Jiajian
Zhang, Shengyu
Zhao, Zhou
Wu, Fan
Wu, Fei
contents Diffusion Models have shown remarkable proficiency in image and video synthesis. As model size and latency increase limit user experience, hybrid edge-cloud collaborative framework was recently proposed to realize fast inference and high-quality generation, where the cloud model initiates high-quality semantic planning and the edge model expedites later-stage refinement. However, excessive cloud denoising prolongs inference time, while insufficient steps cause semantic ambiguity, leading to inconsistency in edge model output. To address these challenges, we propose EC-Diff that accelerates cloud inference through gradient-based noise estimation while identifying the optimal point for cloud-edge handoff to maintain generation quality. Specifically, we design a K-step noise approximation strategy to reduce cloud inference frequency by using noise gradients between steps and applying cloud inference periodically to adjust errors. Then we design a two-stage greedy search algorithm to efficiently find the optimal parameters for noise approximation and edge model switching. Extensive experiments demonstrate that our method significantly enhances generation quality compared to edge inference, while achieving up to an average $2\times$ speedup in inference compared to cloud inference. Video samples and source code are available at https://ec-diff.github.io/.
format Preprint
id arxiv_https___arxiv_org_abs_2507_11980
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle EC-Diff: Fast and High-Quality Edge-Cloud Collaborative Inference for Diffusion Models
Xie, Jiajian
Zhang, Shengyu
Zhao, Zhou
Wu, Fan
Wu, Fei
Computer Vision and Pattern Recognition
Diffusion Models have shown remarkable proficiency in image and video synthesis. As model size and latency increase limit user experience, hybrid edge-cloud collaborative framework was recently proposed to realize fast inference and high-quality generation, where the cloud model initiates high-quality semantic planning and the edge model expedites later-stage refinement. However, excessive cloud denoising prolongs inference time, while insufficient steps cause semantic ambiguity, leading to inconsistency in edge model output. To address these challenges, we propose EC-Diff that accelerates cloud inference through gradient-based noise estimation while identifying the optimal point for cloud-edge handoff to maintain generation quality. Specifically, we design a K-step noise approximation strategy to reduce cloud inference frequency by using noise gradients between steps and applying cloud inference periodically to adjust errors. Then we design a two-stage greedy search algorithm to efficiently find the optimal parameters for noise approximation and edge model switching. Extensive experiments demonstrate that our method significantly enhances generation quality compared to edge inference, while achieving up to an average $2\times$ speedup in inference compared to cloud inference. Video samples and source code are available at https://ec-diff.github.io/.
title EC-Diff: Fast and High-Quality Edge-Cloud Collaborative Inference for Diffusion Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2507.11980