Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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.

Hongda Liu, Longguang Wang, Ye Zhang, Ziru Yu, Yulan Guo• 2025

Related benchmarks

TaskDatasetResultRank
Style TransferMS-COCO (content) + WikiArt (style) (test)
LPIPS0.3884
31
Artistic Style TransferWikiArt Gauguin
FID159.5
8
Artistic Style TransferWikiArt Peploe
FID166.6
8
Artistic Style TransferGeneral Content Images
Inference Time (s)0.041
8
Artistic Style TransferWikiArt Van Gogh
FID108.5
8
Artistic Style TransferWikiArt Ukiyoe
FID135.1
8
Artistic Style TransferWikiArt Cezanne
FID146.4
8
Showing 7 of 7 rows

Other info

Follow for update