ENAF: A Multi-Exit Network with an Adaptive Patch Fusion for Large Image Super Resolution
Organizations: Hanoi University of Science and Technology Hanoi, Vietnam · Seoul National University South Korea, Seoul 08826
Abstract
To accelerate single image super-resolution (SISR) networks on large images (2K-8K), many recent approaches decompose an image into small patches and dynamically determine an execution path according to its difficulty (referred to as a dynamic network). To quantify the hardness of a patch, they mainly rely on a handcrafted assessment score, e.g., edge, which weakly associates a patch's texture with the computational complexity of a SISR model. To address the problem, we introduce ENAF - a dynamic network for SISR with an adaptive patch fusion. Built on top of a backbone, ENAF incorporates multiple early exits (EEs) to tackle the over-parameterized SISR model. More importantly, ENAF plugs a tiny network that estimates PSNR to associate data texture with a computation cost at an EE. Based on the scores, ENAF effectively assigns image patches to an exit, enhancing the quality-complexity trade-off. Extensive experiments on common datasets with popular SISR backbones demonstrate the effectiveness of ENAF in various settings. The source code is provided in https://github.com/nmduonggg/ENAF
Figures & tables
| Model | F2K | FLOPs | Test2K | FLOPs | Test4K | FLOPs | Test8K | FLOPs |
| FSRCNN | 27.91 (+0.00) | 468M (100%) | 25.61 (+0.00) | 468M (100%) | 26.90 (+0.00) | 468M (100%) | 32.66 (+0.00) | 468M (100%) |
| ClassSR | 27.93 (+0.02) | 297M (63%) | 25.61 (+0.00) | 311M (66%) | 26.91 (+0.01) | 286M (61%) | 32.73 (+0.07) | 238M (51%) |
| ARM-L | 27.98 (+0.07) | 380M (82%) | 25.64 (+0.03) | 366M (78%) | 26.93 (+0.03) | 341M (73%) | 32.75 (+0.09) | 290M (62%) |
| ARM-M | 27.91 (+0.00) | 276M (59%) | 25.61 (+0.00) | 289M (62%) | 26.90 (+0.00) | 282M (64%) | 32.73 (+0.07) | 249M (53%) |
| ARM-S | 27.65 (-0.26) | 184M (39%) | 25.59 (-0.02 | 245M (52%) | 26.87 (-0.03) | 230M (50%) | 32.66 (+0.00) | 187M (40%) |
| ENAF-L | 27.98 (+0.07) | 362M (77%) | 25.64 (+0.03) | 316M (68%) | 26.93 (+0.03) | 301M (64%) | 32.75 (+0.09) | 207M (44%) |
| Model | F2K | FLOPs | Test2K | FLOPs | Test4K | FLOPs |
|---|---|---|---|---|---|---|
| ENAF-L-NB | 27.98 (+0.07) | 379M (81%) | 25.64 (+0.03) | 368M (79%) | 26.93 (+0.03) | 375M (80%) |
| ENAF-M-NB | 27.91 (+0.00) | 262M (56%) | 25.61 (+0.00) | 271M (58%) | 26.90 (+0.00) | 284M (61%) |
| ENAF-S-NB | 27.65 (-0.26) | 105M (23%) | 25.59 (-0.02) | 247M (53%) | 26.87 (-0.03) | 256M (54%) |
| ENAF-L | 27.98 (+0.07) | 362M (77%) | 25.64 (+0.03) | 316M (68%) | 26.93 (+0.03) | 301M (64%) |
| ENAF-M | 27.91 (+0.00) | 231M (49%) | 25.61 (+0.00) | 229M (49%) | 26.90 (+0.00) | 222M (47%) |
| ENAF-S | 27.65 (-0.26) | 112M (24%) | 25.59 (-0.02) | 201M (43%) | 26.87 (-0.03) | 201M (43%) |
| Method | Level 0 | Level 1 | Level 2 | Level 3 |
|---|---|---|---|---|
| ARM LUT | 2.50 | 3.41 | 3.47 | 3,48 |
| ENAF Estimator | 2.93 | 2.90 | 2.94 | 2.93 |
Image Super-Resolution
Image super-resolution reconstructs high-resolution images from lower-resolution observations, balancing detail, fidelity, and computational cost.
See all 248 papers