EnsIR: An Ensemble Algorithm for Image Restoration via Gaussian Mixture Models
About
Image restoration has experienced significant advancements due to the development of deep learning. Nevertheless, it encounters challenges related to ill-posed problems, resulting in deviations between single model predictions and ground-truths. Ensemble learning, as a powerful machine learning technique, aims to address these deviations by combining the predictions of multiple base models. Most existing works adopt ensemble learning during the design of restoration models, while only limited research focuses on the inference-stage ensemble of pre-trained restoration models. Regression-based methods fail to enable efficient inference, leading researchers in academia and industry to prefer averaging as their choice for post-training ensemble. To address this, we reformulate the ensemble problem of image restoration into Gaussian mixture models (GMMs) and employ an expectation maximization (EM)-based algorithm to estimate ensemble weights for aggregating prediction candidates. We estimate the range-wise ensemble weights on a reference set and store them in a lookup table (LUT) for efficient ensemble inference on the test set. Our algorithm is model-agnostic and training-free, allowing seamless integration and enhancement of various pre-trained image restoration models. It consistently outperforms regression based methods and averaging ensemble approaches on 14 benchmarks across 3 image restoration tasks, including super-resolution, deblurring and deraining. The codes and all estimated weights have been released in Github.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Super-resolution | Set5 (test) | PSNR33.103 | 544 | |
| Image Super-resolution | Set14 (test) | PSNR29.205 | 292 | |
| Single Image Super-Resolution | Urban100 (test) | PSNR27.795 | 289 | |
| Image Super-resolution | Manga109 (test) | PSNR32.468 | 233 | |
| Image Deblurring | GoPro | PSNR33.345 | 221 | |
| Super-Resolution | BSDS100 (test) | PSNR27.984 | 89 | |
| Image Deraining | Rain100H 74 (test) | PSNR31.739 | 11 | |
| Image Deraining | Rain100L 74 (test) | PSNR39.216 | 11 | |
| Image Deraining | Test100 88 (test) | PSNR32.064 | 11 | |
| Image Deraining | Test1200 86 (test) | PSNR33.445 | 11 |