JOURNAL ARTICLE

AttCST: attention improves style transfer via contrastive learning

Lei ZhouTao Zhang

Year: 2023 Journal:   Journal of Electronic Imaging Vol: 32 (03)   Publisher: SPIE

Abstract

Arbitrary style transfer has flexible applicability and aims to learn the painting styles of different artists through one model training and re-render to everyday photos. Existing domain-to-domain style transfer methods based on generative adversarial networks achieve good results in image generation quality but need more flexibility in various style transfer tasks. In the image-to-image style transfer method, focusing on the fusion of content image and style image can learn local detail texture very well. Still, there are some defects in the preservation of the content structure. To alleviate the above two problems, we leverage both advantages, using attention improves style transfer via contrastive learning. Specifically, the attention mechanism is used to fuse the multi-scale features of the content and style images. The previous shallow features are fully utilized to supplement the texture information lost by the deep features. Then the currently learned style image is distinguished from other style images by contrastive learning modules, thereby enhancing the ability of the network to learn style images. We also derive a local loss based on the transferred blocks to improve the visual quality of the generated images. We conduct extensive qualitative and quantitative analyses, the results of which demonstrate the effectiveness of our approach.

Keywords:
Computer science Artificial intelligence Leverage (statistics) Style (visual arts) Flexibility (engineering) Generative grammar Quality (philosophy) Computer vision Natural language processing Mathematics

Metrics

3
Cited By
0.55
FWCI (Field Weighted Citation Impact)
0
Refs
0.59
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Generative Adversarial Networks and Image Synthesis
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Image Enhancement Techniques
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition

Related Documents

JOURNAL ARTICLE

Arbitrary Motion Style Transfer via Contrastive Learning

Zhao YangZhongwen LuoZ. WangYuanyuan Liu

Journal:   Applied Sciences Year: 2025 Vol: 15 (4)Pages: 1817-1817
JOURNAL ARTICLE

CLAST: Contrastive Learning for Arbitrary Style Transfer

Xinhao WangWenjing WangShuai YangJiaying Liu

Journal:   IEEE Transactions on Image Processing Year: 2022 Vol: 31 Pages: 6761-6772
JOURNAL ARTICLE

Contrastive attention and fine-grained feature fusion for artistic style transfer

Honggang ZhaoBingtian ZhangYijun Yang

Journal:   Journal of Visual Communication and Image Representation Year: 2025 Vol: 110 Pages: 104451-104451
© 2026 ScienceGate Book Chapters — All rights reserved.