atlas

Research map / Architectures and efficiency / Attention and transformers

S2WAT: Image Style Transfer via Hierarchical Vision Transformer Using Strips Window Attention

AAAI 2024 · Architectures and efficiency › Attention and transformers · approach: Efficient and robust vision transformers · 50 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes S2WAT, a hierarchical vision transformer for arbitrary image style transfer that uses strip and square window attention fused by an "Attn Merge" similarity-weighted fusion to address the grid-like locality problem.

Problem

Window-based transformers used for style transfer produce grid-like or block artifacts due to the locality of window attention, while global attention loses local detail.

Approach

SpW Attention runs horizontal-strip, vertical-strip and square window attentions in parallel and fuses them with "Attn Merge", which weights each window output by its similarity to the input, instead of static sum or concatenation.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the S2WAT encoder with a Swin-based encoder (ablation)S2WAT · MS-COCO/WikiArt style transferSSIM: 0.651 -> 0.567Hurt
Reduce strip widths from 2, 4, 7 to 1, 1, 1 (ablation)S2WAT · MS-COCO/WikiArt style transferSSIM: 0.651 -> 0.647Hurt
Use only strip-based attentions (ablation)S2WAT · MS-COCO/WikiArt style transferStyle Loss: 1.74 -> 2.00Hurt
Replace Attn Merge with sum fusion (ablation)S2WAT SpW Attention · Image style transferStylized image qualityHurt
Replace Attn Merge with concatenation (ablation)S2WAT SpW Attention · Image style transferInput information retentionHurt
Use horizontal strip attention alone (ablation)S2WAT SpW Attention · Image style transferStylized image qualityHurt
Use vertical strip attention alone (ablation)S2WAT SpW Attention · Image style transferStylized image qualityHurt
Use square window attention alone (ablation)S2WAT SpW Attention · Image style transferStylized image qualityHurt

Surprising findings

Limitations

Experimental setup

Datasets: MS-COCO WikiArt

Benchmarks: MS-COCO WikiArt

Metrics: content loss style loss identity loss 1 identity loss 2 SSIM user preference percentage

Baselines: AdaIN WCT SANet MCC ArtFlow IEST CAST StyTr2 InST

Builds on: Swin Transformer StyTr2 CSWin AdaIN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy