Local Implicit Wavelet Transformer for Arbitrary-Scale Super-Resolution

Minghong Duan, Linhao Qu, Shaolei Liu, Manning Wang

TL;DR

The Local Implicit Wavelet Transformer (LIWT) advances arbitrary-scale image super-resolution by integrating Discrete Wavelet Transform (DWT) priors into implicit neural representations. By replacing rigid coordinate-based feature ensembling with a texture-aware cross-attention mechanism, LIWT effectively recovers fine, high-frequency details at both integer and non-integer scaling factors.

What Problem Does This Paper Address?

Single Image Super-Resolution (SISR) aims to reconstruct a high-resolution (HR) image from a low-resolution (LR) input. Traditional deep learning models are limited to fixed, integer upscaling factors (e.g., $\times 2$ or $\times 4$) and require retraining for new scales. Recent arbitrary-scale SR methods solve this by using implicit neural representations (like LIIF or LTE), which map continuous 2D coordinates to RGB values using Multi-Layer Perceptrons (MLPs).

However, these methods suffer from a major drawback: they rely on a coordinate-based local ensemble technique that calculates pixel values based purely on geometric distance to the nearest latent codes. This spatial-only approach ignores the actual feature content, leading to blurry textures and lost high-frequency details, especially at large scales. While the Discrete Wavelet Transform (DWT) is excellent at isolating high-frequency components, standard DWT-based SR methods are constrained to power-of-2 scale factors due to their reliance on inverse DWT operations. LIWT bridges this gap by using wavelet features as structural priors rather than explicit upsampling blocks.

Figure 1: Motivation and effectiveness of our method. (a) LIIF [5] and LTE [16] have dif- ficulty reconstructing high-frequency details using the local ensemble technique. (b) LIWT introduces the high-frequency prior via DWT. (c) LIWT can reconstruct high-frequency de- tails using attention weight based on the high-frequency prior.

Methods

LIWT introduces a novel architecture that injects frequency domain awareness into continuous implicit functions. The pipeline consists of the following key components:

  1. Feature Extraction & DWT Decomposition: A standard backbone encoder (such as EDSR, RDN, or SwinIR) extracts latent features $Z$ from the LR image. These features are decomposed via a Haar DWT into four sub-bands: one low-frequency ($LL$) and three high-frequency ($LH, HL, HH$).
  2. Wavelet Enhanced Residual Module (WERM): To isolate and amplify structural details, the sub-bands are processed through a series of Wavelet High-Frequency Enhancement Residual Blocks (WHFERB). This module refines the high-frequency components into an enhanced texture prior ($F_W$).
  3. Wavelet Mutual Projected Fusion (WMPF): The upsampled texture prior is fused back with the original encoder features $Z$ using a channel-wise attention mechanism, ensuring the model focuses dynamically on regions rich in high-frequency details.
  4. Wavelet-aware Implicit Attention (WIA): Instead of standard coordinate ensembling, LIWT performs cross-attention over a $3 \times 3$ local grid. The query ($q$) is derived from the high-frequency prior, while keys ($k$) and values ($v$) are projected from the encoder features. This allows the network to adaptively weight neighboring features based on texture relevance rather than just spatial proximity.

Finally, a 5-layer MLP decoder maps the attention-fused embeddings and the target pixel cell size to the final RGB values. To stabilize training across diverse scales, the authors also introduce a Curriculum Learning Strategy, gradually expanding the upsampling factor range (from $U(1,4)$ up to $U(1,8)$) across 1,000 epochs.

Figure 2: (a) Overview of the proposed framework. (b) Diagram of the local grid. (c) Structure of the WIA. (d) Structure of the WERM.

Datasets

The model was trained and evaluated using standard SISR benchmarks:

  • Training: DIV2K (800 high-resolution training images).
  • Evaluation: DIV2K validation set, Set5, Set14, B100, and Urban100.

Performance was quantified using Peak Signal-to-Noise Ratio (PSNR), Structural Similarity Index (SSIM), and Learned Perceptual Image Patch Similarity (LPIPS).

Key Insights and Ideas

  • Frequency-Guided Attention: The core "aha moment" is that geometric distance is a poor proxy for feature aggregation in image upscaling. By using wavelet-derived high-frequency priors to guide the cross-attention mechanism, the network learns to look along structural edges rather than blindly averaging a local bounding box.
  • Decoupling DWT from Scale Constraints: By treating DWT components as a prior input to an implicit function rather than using an inverse DWT for the final image reconstruction, the authors successfully leverage wavelet benefits without inheriting their strict power-of-2 scaling limitations.
  • Curriculum Scaling: Training an arbitrary-scale network on massive scale factors early on degrades performance on simple, low-scale factors. Gradually increasing the scale variance during training acts as a regularizer that preserves low-scale fidelity while unlocking high-scale capacity.

Key Results

LIWT consistently outperforms state-of-the-art arbitrary-scale SR methods (including LIIF, LTE, and Meta-SR) across all benchmark datasets.

  • Quantitative Gains: When using RDN as the backbone encoder on the DIV2K validation set, LIWT achieves a PSNR of 25.00 dB at $\times 12$ upscaling, outperforming RDN-LTE (24.79 dB) and RDN-LIIF (24.86 dB).
  • Large-Scale Superiority: The performance gap widens at extreme upscaling factors ($\times 6$ to $\times 30$). On Urban100 at $\times 8$, LIWT delivers a 22.71 dB PSNR compared to LTE's 21.22 dB.
  • Qualitative Clarity: Visual reconstructions demonstrate that LIWT accurately restores sharp, repeating patterns—such as building facades and fine text—where competing methods produce severe aliasing or blurriness.

Limitations and Future Work

The primary trade-off for LIWT's superior texture reconstruction is computational complexity. As detailed in the paper's complexity analysis, incorporating DWT branches and cross-attention blocks increases the model parameter count (3.97M vs. LTE's 1.71M) and roughly doubles the inference time per image (0.50s vs. LTE's 0.26s on an NVIDIA RTX 3090).

Future work will likely focus on optimizing the efficiency of the Wavelet-aware Implicit Attention block to make the framework more viable for real-time deployment on edge devices.

Summary updated

BibTeX
@inproceedings{duan2024local,
  author = {Minghong Duan and Linhao Qu and Shaolei Liu and Manning Wang},
  title = {{Local Implicit Wavelet Transformer for Arbitrary-Scale Super-Resolution}},
  booktitle = {BMVC},
  year = {2024},
}
Figure