arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.00333cs.CV
收藏

BiMaCoSR:利用灵活矩阵压缩的二进制一步扩散模型实现真实图像超分辨率

BiMaCoSR: Binary One-Step Diffusion Model Leveraging Flexible Matrix Compression for Real Super-Resolution

Shanghai Jiao Tong University(上海交通大学);South China University of Technology(华南理工大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Kai Liu, Kaicheng Yang, Zheng Chen, Zhiteng Li, Yong Guo, Wenbo Li, Linghe Kong, Yulun Zhang

AI总结:

BiMaCoSR结合二值化与一步蒸馏实现扩散模型超分辨率的极致压缩加速,并通过稀疏矩阵分支和低秩矩阵分支保留全精度信息,在取得23.8倍压缩比和27.4倍加速比的同时保持有竞争力的性能。

摘要:

虽然基于扩散模型(DM)的超分辨率(SR)方法已展现出令人鼓舞的性能,但由于其对内存和计算的大量需求,其部署受到阻碍。近期研究者采用两类方法来压缩或加速扩散模型。一类是将扩散模型压缩为1比特,即二值化,以缓解存储和计算压力。另一类将多步扩散模型蒸馏为仅一步,显著加快推理过程。然而,将扩散模型部署到资源受限的边缘设备仍然不可能。为解决这一问题,我们提出BiMaCoSR,它结合二值化和一步蒸馏以实现极致的压缩和加速。为防止二值化导致模型灾难性崩溃,我们提出了稀疏矩阵分支(SMB)和低秩矩阵分支(LRMB)。两个辅助分支均传递全精度(FP)信息,但方式不同。SMB吸收极端值,其输出为高秩,携带丰富的全精度信息。而LRMB的设计受LoRA启发,并以前r个SVD分量初始化,输出低秩表示。我们提出的分支的计算和存储开销可以安全地忽略。进行了全面的对比实验,以展示BiMaCoSR优于当前最先进的二值化方法,并与全精度一步模型相比获得具有竞争力的性能。与全精度对应模型相比,BiMaCoSR实现了23.8倍的压缩比和27.4倍的加速比。我们的代码和模型可在https://github.com/Kai-Liu001/BiMaCoSR获取。

英文摘要:

While super-resolution (SR) methods based on diffusion models (DM) have demonstrated inspiring performance, their deployment is impeded due to the heavy request of memory and computation. Recent researchers apply two kinds of methods to compress or fasten the DM. One is to compress the DM into 1-bit, aka binarization, alleviating the storage and computation pressure. The other distills the multi-step DM into only one step, significantly speeding up inference process. Nonetheless, it remains impossible to deploy DM to resource-limited edge devices. To address this problem, we propose BiMaCoSR, which combines binarization and one-step distillation to obtain extreme compression and acceleration. To prevent the catastrophic collapse of the model caused by binarization, we proposed sparse matrix branch (SMB) and low rank matrix branch (LRMB). Both auxiliary branches pass the full-precision (FP) information but in different ways. SMB absorbs the extreme values and its output is high rank, carrying abundant FP information. Whereas, the design of LRMB is inspired by LoRA and is initialized with the top r SVD components, outputting low rank representation. The computation and storage overhead of our proposed branches can be safely ignored. Comprehensive comparison experiments are conducted to exhibit BiMaCoSR outperforms current state-of-the-art binarization methods and gains competitive performance compared with FP one-step model. BiMaCoSR achieves a 23.8x compression ratio and a 27.4x speedup ratio compared to FP counterpart. Our code and model are available at https://github.com/Kai-Liu001/BiMaCoSR.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑