GithubHelp home page GithubHelp logo

bi-diffsr's Introduction

Binarized Diffusion Model for Image Super-Resolution

Zheng Chen, Haotong Qin, Yong Guo, Xiongfei Su, Xin Yuan, Linghe Kong, and Yulun Zhang, "Binarized Diffusion Model for Image Super-Resolution", arXiv, 2024

[arXiv] [visual results] [pretrained models]

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ News

  • 2024-06-09: This repo is released.

Abstract: Advanced diffusion models (DMs) perform impressively in image super-resolution (SR), but the high memory and computational costs hinder their deployment. Binarization, an ultra-compression algorithm, offers the potential for effectively accelerating DMs. Nonetheless, due to the model structure and the multi-step iterative attribute of DMs, existing binarization methods result in significant performance degradation. In this paper, we introduce a novel binarized diffusion model, BI-DiffSR, for image SR. First, for the model structure, we design a UNet architecture optimized for binarization. We propose the consistent-pixel-downsample (CP-Down) and consistent-pixel-upsample (CP-Up) to maintain dimension consistent and facilitate the full-precision information transfer. Meanwhile, we design the channel-shuffle-fusion (CS-Fusion) to enhance feature fusion in skip connection. Second, for the activation difference across timestep, we design the timestep-aware redistribution (TaR) and activation function (TaA). The TaR and TaA dynamically adjust the distribution of activations based on different timesteps, improving the flexibility and representation alability of the binarized module. Comprehensive experiments demonstrate that our BI-DiffSR outperforms existing binarization methods.



HR LR SR3 (FP) BBCU BI-DiffSR (ours)

TODO

  • Release code and pretrained models

Contents

  1. Datasets
  2. Models
  3. Training
  4. Testing
  5. Results
  6. Citation
  7. Acknowledgements

Results

We achieved state-of-the-art performance. Detailed results can be found in the paper.

Quantitative Comparisons (click to expand)
  • Results in Table 2 (main paper)

Visual Comparisons (click to expand)
  • Results in Figure 8 (main paper)

  • Results in Figure 13 (supplemental material)

  • Results in Figure 14 (supplemental material)

Citation

If you find the code helpful in your research or work, please cite the following paper(s).

@article{chen2024binarized,
    title={Binarized Diffusion Model for Image Super-Resolution},
    author={Chen, Zheng and Qin, Haotong and Guo, Yong and Su, Xiongfei and Yuan, Xin and Kong, Linghe and Zhang, Yulun},
    journal={arXiv preprint arXiv:2406.05723},
    year={2024}
}

Acknowledgements

This code is built on BasicSR, Image-Super-Resolution-via-Iterative-Refinement.

bi-diffsr's People

Contributors

zhengchen1999 avatar

Stargazers

Ren Yulin avatar  avatar  avatar Aman avatar  avatar  avatar zikomo avatar  avatar Chaofeng Chen avatar Hang Guo avatar Yulun Zhang avatar Eduard Zamfir avatar  avatar

Watchers

 avatar

bi-diffsr's Issues

train code

Hello, when will the training code be made public? Thank you very much!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.