BADiff: Bandwidth Adaptive Diffusion Model

Xi Zhang, Hanwei Zhu, Yan Zhong, Jiamang Wang, Weisi Lin
10/24/2025
cs.CVcs.LG

Official code: xzhang9308/BADiff (14 stars, last commit 2025-10-24).

Abstract

In this work, we propose a novel framework to enable diffusion models to adapt their generation quality based on real-time network bandwidth constraints. Traditional diffusion models produce high-fidelity images by performing a fixed number of denoising steps, regardless of downstream transmission limitations. However, in practical cloud-to-device scenarios, limited bandwidth often necessitates heavy compression, leading to loss of fine textures and wasted computation. To address this, we introduce a joint end-to-end training strategy where the diffusion model is conditioned on a target quality level derived from the available bandwidth. During training, the model learns to adaptively modulate the denoising process, enabling early-stop sampling that maintains perceptual quality appropriate to the target transmission condition. Our method requires minimal architectural changes and leverages a lightweight quality embedding to guide the denoising trajectory. Experimental results demonstrate that our approach significantly improves the visual fidelity of bandwidth-adapted generations compared to naive early-stopping, offering a promising solution for efficient image delivery in bandwidth-constrained environments. Code is available at: https://github.com/xzhang9308/BADiff.

View on arXivView PDF

Code Implementations(1)

xzhang9308/BADiffOfficial100%

[NeurIPS 2025] Official PyTorch implementation of paper "BADiff: Bandwidth Adaptive Diffusion Model"

141Oct 24, 202512 months ago

Similar Papers

Cite this paper

@article{zhang2025badiff,
  title  = {BADiff: Bandwidth Adaptive Diffusion Model},
  author = {Xi Zhang and Hanwei Zhu and Yan Zhong and Jiamang Wang and Weisi Lin},
  year   = {2025},
  eprint = {2510.21366},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.21366v2}
}

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/2510.21366.svg)](https://codeofpaper.com/paper/2510.21366)

Discussion