SaMam: Style-Aware State Space Model for Arbitrary Image Style Transfer

Abstract

Global effective receptive field plays a crucial role for image style transfer (ST) to obtain high-quality stylized results. However, existing ST backbones (e.g., CNNs and Transformers) suffer huge computational complexity to achieve global receptive fields. Recently, the State Space Model (SSM), especially the improved variant Mamba, has shown great potential for long-range dependency modeling with linear complexity, which offers a approach to resolve the above dilemma. In this paper, we develop a Mamba-based style transfer framework, termed SaMam. Specifically, a mamba encoder is designed to efficiently extract content and style information. In addition, a style-aware mamba decoder is developed to flexibly adapt to various styles. Moreover, to address the problems of local pixel forgetting, channel redundancy and spatial discontinuity of existing SSMs, we introduce both local enhancement and zigzag scan. Qualitative and quantitative results demonstrate that our SaMam outperforms state-of-the-art methods in terms of both accuracy and efficiency.

Cite

Text

Liu et al. "SaMam: Style-Aware State Space Model for Arbitrary Image Style Transfer." Conference on Computer Vision and Pattern Recognition, 2025. doi:10.1109/CVPR52734.2025.02651

Markdown

[Liu et al. "SaMam: Style-Aware State Space Model for Arbitrary Image Style Transfer." Conference on Computer Vision and Pattern Recognition, 2025.](https://mlanthology.org/cvpr/2025/liu2025cvpr-samam/) doi:10.1109/CVPR52734.2025.02651

BibTeX

@inproceedings{liu2025cvpr-samam,
  title     = {{SaMam: Style-Aware State Space Model for Arbitrary Image Style Transfer}},
  author    = {Liu, Hongda and Wang, Longguang and Zhang, Ye and Yu, Ziru and Guo, Yulan},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2025},
  pages     = {28468-28478},
  doi       = {10.1109/CVPR52734.2025.02651},
  url       = {https://mlanthology.org/cvpr/2025/liu2025cvpr-samam/}
}