Skip to main navigation Skip to search Skip to main content

SPAST: Arbitrary style transfer with style priors via pre-trained large-scale model

  • Zhanjie Zhang
  • , Quanwei Zhang
  • , Junsheng Luan
  • , Mengyuan Yang
  • , Yun Wang
  • , Lei Zhao*
  • *Corresponding author for this work

Research output: Journal Publications and Reviews › RGC 21 - Publication in refereed journal › peer-review

Abstract

Given an arbitrary content and style image, arbitrary style transfer aims to render a new stylized image which preserves the content image's structure and possesses the style image's style. Existing arbitrary style transfer methods are based on either small models or pre-trained large-scale models. The small model-based methods fail to generate high-quality stylized images, bringing artifacts and disharmonious patterns. The pre-trained large-scale model-based methods can generate high-quality stylized images but struggle to preserve the content structure and cost long inference time. To this end, we propose a new framework, called SPAST, to generate high-quality stylized images with less inference time. Specifically, we design a novel Local–global Window Size Stylization Module (LGWSSM) to fuse style features into content features. Besides, we introduce a novel style prior loss, which can dig out the style priors from a pre-trained large-scale model into the SPAST and motivate the SPAST to generate high-quality stylized images with short inference time. We conduct abundant experiments to verify that our proposed method can generate high-quality stylized images and less inference time compared with the SOTA arbitrary style transfer methods. © 2025
Original languageEnglish
Article number107556
JournalNeural Networks
Volume189
Online published10 May 2025
DOIs
Publication statusPublished - Sept 2025

Funding

This work was supported in part by Zhejiang Province Program ( 2024C03263 , LZ25F020006 ), the National Program of China ( 62172365 , 2021YFF0900604 , 19ZDA197 ), Macau project: Key technology research and display system development for new personalized controllable dressing dynamic display, Ningbo Science and Technology Plan Project ( 2022Z167 , 2023Z137 ), and MOE Frontier Science Center for Brain Science & Brain-Machine Integration (Zhejiang University) .

Research Keywords

  • Artistic style transfer
  • Pre-trained large-scale model

Fingerprint

Dive into the research topics of 'SPAST: Arbitrary style transfer with style priors via pre-trained large-scale model'. Together they form a unique fingerprint.

Cite this