TL;DR
LSM (Linear recurrent unit with Semantic Modulation) is the first architecture to successfully adapt Linear Recurrent Units (LRUs) for image super-resolution. By combining highly efficient, static 1D scanning with an input-dependent Semantic Modulating Unit (SMU), LSM delivers state-of-the-art image restoration quality while dramatically cutting down on parameters, FLOPs, and memory usage compared to Transformer and Mamba baselines.
What Problem Does This Paper Address?
Single-image super-resolution (SR) requires a network to capture both fine-grained local textures and sweeping, long-range global context. While Transformer-based models excel at this, their self-attention mechanisms suffer from quadratic computational complexity.
Recently, State-Space Models (SSMs) like Mamba have emerged as a linear-complexity alternative. However, Mamba relies on complex, data-dependent dynamic scanning that can be computationally heavy and difficult to interpret. Linear Recurrent Units (LRUs) offer a highly stable and efficient alternative by using static parameterization (fixed scanning dynamics). The catch? Because a vanilla LRU treats every pixel sequence identically regardless of spatial context, it struggles to adapt to the highly diverse, spatially varying patterns found in 2D images.
LSM bridges this gap, bringing the efficiency of LRUs to the 2D vision domain.
Methods
The authors introduce the Category-based Modulated LRU (CML) block, which integrates a standard LRU with a novel Semantic Modulating Unit (SMU). The network architecture serially pairs a local Window-based Multi-head Self-attention (WMS) block with this global CML block.
The SMU dynamically upgrades the static LRU through three cooperative roles:
- LRU Modulation: Instead of running a heavy dynamic scan, LSM performs a lightweight static scan but modulates the LRU's transition matrices pixel-wise. The SMU generates input-dependent modulating tokens ($M_k$) that scale the recurrence behavior on the fly.
- Semantic Categorization: Standard 1D recurrence struggles to connect pixels that are spatially far apart but semantically identical. The SMU uses a learned dictionary and a temperature-controlled Gumbel Softmax to pre-categorize pixels by semantic similarity before the scan, allowing distant but related features to interact.
- Global Feature Enhancement: In parallel, the SMU performs cross-attention over its learned dictionary to aggregate global context across the entire image, which is then concatenated directly to the LRU's output.
Datasets
- Training: DIV2K and Flickr2K.
- Classic SR Evaluation: Standard benchmark datasets including Set5, Set14, B100, Urban100, and Manga109.
- High-Resolution Evaluation: Test2k, Test4k, and Test8k datasets to rigorously evaluate long-range dependency modeling.
Key Insights and Ideas
- The "Modulated Static" Sweet Spot: Completely dynamic scanning (Mamba) is computationally expensive, while completely static scanning (Vanilla LRU) is too rigid for images. LSM proves that static scanning modulated by pixel-wise semantic tokens yields dynamic-like expressivity with minimal overhead.
- SR Demands a Full Phase Range: In natural language processing, initializing LRU eigenvalues with smaller phase values often yields better results. For image super-resolution, the authors discovered the exact opposite: a full ring distribution ($\theta_{max} = 2\pi$) in the complex plane is vital. Restricting the phase range severely harms the reconstruction of fine, repetitive textures.
- Reclaiming Memory for Performance: Because the LRU backbone is incredibly lightweight, it drastically reduces GPU memory consumption during training. The authors turned this efficiency into a performance gain by utilizing the freed memory budget to train on larger input patch sizes, allowing the model to learn better large-scale structural context.
Key Results
- Superiority over Mamba: On the challenging $\times4$ Urban100 dataset, LSM-S outperforms MambaIRv2-S by 0.15 dB PSNR while reducing FLOPs by 32.8% compared to the original MambaIR.
- Dismantling Transformers on Efficiency: Compared to the Transformer-based CAT-A, LSM reduces parameters by 41.2% and FLOPs by 44.8% while delivering higher fidelity.
- Lightweight Latency Wins: LSM-light cuts FLOPs by 35% and achieves 1.5$\times$ lower latency than the dictionary-driven ATD-light model, maintaining highly competitive performance.
- Visual Fidelity: Qualitatively, LSM successfully recovers sharp, repetitive geometric patterns (like window grids and building facades) where competing models produce severe aliasing artifacts or unnatural blurriness.
Limitations and Future Work
Not explicitly discussed in the paper.
Summary updated