Wonder 4: A Mixture-of-Experts Recipe for Image Quality Enhancement
Organizations: Topaz Labs Research
Abstract
A real photograph is often blurry, grainy, compressed, scratched, and low-resolution at the same time. Each defect has its own severity and its own place in the image. The corrections for these defects conflict with each other. Exist- ing models describe the whole image with one description, so they cannot say where each correction belongs. To solve this problem, we present Wonder 4, a mixture-of-experts (MoE) model for image quality enhancement. It corrects several defects of a real photograph at the same time, each in the region where it occurs. Every block of the model holds a mixture of N = 13 experts. A router, trained with the model, sends every image patch to k = 5 of them. No degradation classifier, mask, prompt, detector, or task label is used. Another issue is that standard MoE training, taken from language models, pushes every expert toward equal use. Equal use applies every correction everywhere, even where it is not needed. We replace this rule with a bias that only sets a minimum share of use. Across all patches, an expert used less than this minimum gets higher router scores until it is selected again. An expert above the minimum is not changed, so no expert is forced to be used as often as the others. The bias needs no extra loss. The method adds no extra module and no extra processing step. We evaluate Wonder 4 on DIV2K and Flickr2K, against five published methods and three open-weight pipelines. It reaches the best LPIPS, DISTS, and NIQE on all three test settings (DIV2K x4, DIV2K x8, and Flickr2K x4).
Figures & tables
| DIV2K wild | DIV2K bicubic | Flickr2K unknown | ||||||||||
| Method | PSNR | LPIPS | DISTS | NIQE | PSNR | LPIPS | DISTS | NIQE | PSNR | LPIPS | DISTS | NIQE |
| Real-ESRGAN [ 25 ] | 18.96 | 0.4047 | 0.2107 | 4.36 | 23.43 | 0.3998 | 0.2016 | 5.80 | 22.07 | 0.3723 | 0.1887 | 4.46 |
| StableSR (Turbo) [ 26 ] | 19.09 | 0.4424 | 0.2186 | 6.05 | 24.09 | 0.4013 | 0.1998 | 5.78 | 22.04 | 0.3922 | 0.1950 | 5.83 |
| SeeSR [ 27 ] | 18.91 | 0.3641 | 0.1612 | 3.75 | 23.46 | 0.2927 | 0.1341 | 3.66 | 22.02 | 0.3387 | 0.1649 | 3.76 |
| SUPIR [ 28 ] | 19.07 | 0.3698 | 0.1849 | 3.82 | 23.42 | 0.3014 | 0.1490 | 3.66 | 22.64 | 0.3965 | 0.2194 | 4.75 |
| OSEDiff [ 29 ] | 18.67 | 0.3479 | 0.1629 | 3.59 | 23.10 | 0.2842 | 0.1355 | 3.61 | 21.24 | 0.3391 | 0.1618 | 4.02 |
Image Enhancement
Image enhancement restores visibility, color, detail, and dynamic range in degraded images for human viewing and downstream vision tasks.
See all 159 papers