arXiv:2604.12668cs.CV2026-04

一次训练生成多尺寸扩散模型,高效适配不同设备

OFA-Diffusion Compression: Compressing Diffusion Model in One-Shot Manner

论文配图:OFA-Diffusion Compression: Compressing Diffusion Model in One-Shot Manner
图 1 · 摘自论文原文
  • 一次训练构建多个不同参数量的子网络
  • 支持多种设备资源约束,训练开销显著降低
  • 适合边缘部署与多端适配的轻量化场景

扩散概率模型(DPM)在图像生成中表现卓越,但其参数量和计算开销限制了实际应用。现有方法通常固定架构进行压缩,但在不同设备部署时需重复训练,开销大。为此,我们提出一种一次性(OFA)压缩框架,通过一次训练生成多个计算量不同的子网络。针对传统OFA候选空间过大导致优化慢的问题,我们限定候选子网络为一组特定参数规模,每个规模对应一个子网络。具体地,按通道重要性逐步分配保留通道,并引入重加权策略平衡各子网络优化过程。实验表明,该方法能在极低训练开销下生成适用于多种规模的压缩DPM,性能良好。

原文摘要 · Abstract (English)

The Diffusion Probabilistic Model (DPM) achieves remarkable performance in image generation, while its increasing parameter size and computational overhead hinder its deployment in practical applications. To improve this, the existing literature focuses on obtaining a smaller model with a fixed architecture through model compression. However, in practice, DPMs usually need to be deployed on various devices with different resource constraints, which leads to multiple compression processes, incurring significant overhead for repeated training. To obviate this, we propose a once-for-all (OFA) compression framework for DPMs that yields different subnetworks with various computations in a one-shot training manner. The existing OFA framework typically involves massive subnetworks with different parameter sizes, while such a huge candidate space slows the optimization. Thus, we propose to restrict the candidate subnetworks with a certain set of parameter sizes, where each size corresponds to a specific subnetwork. Specifically, to construct each subnetwork with a given size, we gradually allocate the maintained channels by their importance. Furthermore, we propose a reweighting strategy to balance the optimization process of different subnetworks. Experimental results show that our approach can produce compressed DPMs for various sizes with significantly lower training overhead while achieving satisfactory performance.

扩散模型模型压缩一次性训练轻量化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。