First-order State Space Model for Lightweight Image Super-resolution

Yujie Zhu, Xinyi Zhang, Yekai Lu, Guang Yang, Faming Fang, Guixu Zhang

Abstract

State Space Models (SSMs) have recently emerged as a powerful alternative to CNNs and Transformers for image processing, offering global receptive fields with linear computational complexity. However, standard SSMs typically employ zero-order hold (ZOH) discretization, which assumes input signals remain constant between discrete steps—an assumption that neglects the continuous spatial correlations inherent in images. This paper introduces the First-order State Space Model (FSSM), which utilizes a first-order hold (FOH) condition to better capture inter-pixel dependencies. By re-deriving the discretization process, FSSM improves reconstruction accuracy in lightweight image super-resolution (SR) tasks without increasing the model's parameter count.

Introduction

Single Image Super-Resolution (SR) aims to reconstruct high-resolution (HR) images from low-resolution (LR) counterparts. While CNNs are computationally efficient, they often lack the global context necessary for complex textures. Conversely, Transformers provide global modeling but suffer from quadratic complexity. Mamba-based SSMs offer a "third way," combining global context with linear efficiency.

A critical limitation of current SSMs in vision is their reliance on zero-order hold (ZOH) discretization. Designed for causal sequences like language, ZOH assumes the "next" step is unknown. In image processing, the entire "sequence" of pixels is available, allowing for a more sophisticated discretization that accounts for the gradients between neighboring pixels.

Methodology: First-Order State Space Model (FSSM)

The core contribution of this work is the transition from ZOH to First-Order Hold (FOH) discretization.

First-Order Hold Discretization

Instead of assuming a pixel's value is constant until the next discrete step, FSSM employs linear interpolation between adjacent tokens. This approach acknowledges that image data is spatially continuous. The re-derivation of the continuous differential equations governing the SSM leads to a new discrete-time form:

$$h_{n+1} = \bar{A}h_n + \bar{B}_1x_n + \bar{B}_2x_{n+1}$$

In this formulation, the state $h_{n+1}$ is influenced by both the current token $x_n$ and the subsequent token $x_{n+1}$, effectively allowing the model to "look ahead" and exploit local correlations more effectively.

Comparison of Zero-order hold (SSM) and First-order hold (FSSM) discretization conditions.

2D First-order Selective Scan

To adapt FSSM for 2D image data, the authors integrate it into a selective scan module. This module processes the image in four distinct directions (e.g., top-left to bottom-right, bottom-right to top-left), ensuring that every pixel benefits from a global context captured from multiple perspectives. To maintain efficiency, Taylor-series approximations are used to compute the transition matrices, and custom CUDA kernels ensure that the additional mathematical complexity does not significantly impact inference speed.

Experimental Results

The proposed FMambaIR (MambaIR enhanced with FSSM) was evaluated against several state-of-the-art lightweight SR models, including CARN, IMDN, and SwinIR-light.

Performance Benchmarks

Training was conducted on the DIV2K and DF2K datasets, with evaluation performed across five standard benchmarks: Set5, Set14, B100, Urban100, and Manga109. FMambaIR consistently outperformed the baseline MambaIR and other lightweight competitors. Notably, on the Urban100 (x2) dataset, FMambaIR achieved a 0.24dB PSNR improvement over the original MambaIR.

PSNR vs. Number of Parameters for various lightweight SR models. FMambaIR (ours) achieves the highest PSNR with a competitive parameter count.

Key Insights

  • Parameter Efficiency: FSSM improves performance purely through mathematical refinement of the discretization step. It achieves superior results without adding any extra parameters to the network.
  • Error Stability: Mathematical analysis demonstrates that FSSM provides a lower upper bound on cumulative error compared to ZOH-based SSMs, leading to more stable and accurate image reconstruction.
  • Visual Fidelity: Qualitative assessments show that FMambaIR excels at recovering sharp edges and intricate structural details, such as architectural patterns, which are often blurred by traditional methods.

Conclusion

The First-order State Space Model (FSSM) represents a significant advancement in applying SSMs to image restoration. By moving beyond the causal constraints of zero-order hold discretization, FSSM better aligns with the spatial nature of image data. While the current focus is on lightweight super-resolution, future research will explore the applicability of FSSM to broader vision tasks and the potential of even higher-order discretization methods.

Summary updated

BibTeX
@inproceedings{zhu2025first,
  author = {Yujie Zhu and Xinyi Zhang and Yekai Lu and Guang Yang and Faming Fang and Guixu Zhang},
  title = {{First-order State Space Model for Lightweight Image Super-resolution}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
}
Figure