A Transformer-Based Deformable Convolution UNet for Adaptive Arbitrary Style Transfer

Abstract In recent years, image style transfer has matured significantly in the field of computer vision. However, current methods for image style transfer still face the challenge of balancing between content edge contours and style texture strokes, as it is difficult to control the degree of stylization. To address this issue, we propose a UNet based on Transformer feature fusion, named Trans-DCUNet. The network adaptively integrates content and style features by taking advantage of the self-learning characteristics of the cross-attention mechanism in the Transformer. The network combines Transformer and CNN, which takes advantage of the global context capture ability of Transformers and the local modeling ability of convolutional neural networks to fully learn image features at multiple levels, thereby generating stylized images. To enhance texture generation, we introduce a deformable convolutional residual module, which allows the convolution kernel to adapt to varying image features, capturing fine texture details more effectively. Additionally, we augment the traditional perception loss with edge detection loss and frequency perception loss, aiming to better preserve the edge contours of the content image and learn the texture strokes of the style image. Our experiments were conducted on the Microsoft COCO and WikiArt datasets. Experimental results show that our method achieves a content retention SSIM of up to 0.8655 and a style similarity LPIPS of 0.5655, outperforming most competing methods, while generating more artistic stylized images with significantly improved visual effects.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-07-25
DOI
https://doi.org/10.1038/s41598-026-59037-1
Primary Topic
Generative Adversarial Networks and Image Synthesis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Transformer-Based Deformable Convolution UNet for Adaptive Arbitrary Style Transfer

Y ZHAO, Chaoyi Pang, Genlang Chen, L N Xu et al.
Scientific Reports
Generative Adversarial Networks and Image Synthesis
article

A Transformer-Based Deformable Convolution UNet for Adaptive Arbitrary Style Transfer

Y ZHAO, Chaoyi Pang, Genlang Chen, L N Xu, Huanhuan Wang, Xin Yu
article en

Abstract

Abstract In recent years, image style transfer has matured significantly in the field of computer vision. However, current methods for image style transfer still face the challenge of balancing between content edge contours and style texture strokes, as it is difficult to control the degree of stylization. To address this issue, we propose a UNet based on Transformer feature fusion, named Trans-DCUNet. The network adaptively integrates content and style features by taking advantage of the self-learning characteristics of the cross-attention mechanism in the Transformer. The network combines Transformer and CNN, which takes advantage of the global context capture ability of Transformers and the local modeling ability of convolutional neural networks to fully learn image features at multiple levels, thereby generating stylized images. To enhance texture generation, we introduce a deformable convolutional residual module, which allows the convolution kernel to adapt to varying image features, capturing fine texture details more effectively. Additionally, we augment the traditional perception loss with edge detection loss and frequency perception loss, aiming to better preserve the edge contours of the content image and learn the texture strokes of the style image. Our experiments were conducted on the Microsoft COCO and WikiArt datasets. Experimental results show that our method achieves a content retention SSIM of up to 0.8655 and a style similarity LPIPS of 0.5655, outperforming most competing methods, while generating more artistic stylized images with significantly improved visual effects.

Scientific Reports
Griffith University (AU), Ningbo University of Technology (CN), Xi’an Jiaotong-Liverpool University (CN)
Natural Science Foundation of Ningbo
Openalex Percentile: Top 9%
Generative Adversarial Networks and Image Synthesis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.