All-to-key Attention for Arbitrary Style Transfer

12/08/2022
by   Mingrui Zhu, et al.
0

Attention-based arbitrary style transfer studies have shown promising performance in synthesizing vivid local style details. They typically use the all-to-all attention mechanism: each position of content features is fully matched to all positions of style features. However, all-to-all attention tends to generate distorted style patterns and has quadratic complexity. It virtually limits both the effectiveness and efficiency of arbitrary style transfer. In this paper, we rethink what kind of attention mechanism is more appropriate for arbitrary style transfer. Our answer is a novel all-to-key attention mechanism: each position of content features is matched to key positions of style features. Specifically, it integrates two newly proposed attention forms: distributed and progressive attention. Distributed attention assigns attention to multiple key positions; Progressive attention pays attention from coarse to fine. All-to-key attention promotes the matching of diverse and reasonable style patterns and has linear complexity. The resultant module, dubbed StyA2K, has fine properties in rendering reasonable style textures and maintaining consistent local structure. Qualitative and quantitative experiments demonstrate that our method achieves superior results than state-of-the-art approaches.

READ FULL TEXT

page 1

page 4

page 5

page 7

page 8

page 15

page 16

page 17

research
01/02/2023

Edge Enhanced Image Style Transfer via Transformers

In recent years, arbitrary image style transfer has attracted more and m...
research
08/08/2021

AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style Transfer

Fast arbitrary neural style transfer has attracted widespread attention ...
research
07/19/2023

AesPA-Net: Aesthetic Pattern-Aware Style Transfer Networks

To deliver the artistic expression of the target style, recent studies e...
research
01/16/2019

Attention-aware Multi-stroke Style Transfer

Neural style transfer has drawn considerable attention from both academi...
research
02/17/2020

Neural arbitrary style transfer for portrait images using the attention mechanism

Arbitrary style transfer is the task of synthesis of an image that has n...
research
10/26/2019

ETNet: Error Transition Network for Arbitrary Style Transfer

Numerous valuable efforts have been devoted to achieving arbitrary style...
research
05/09/2023

Joint Multi-scale Cross-lingual Speaking Style Transfer with Bidirectional Attention Mechanism for Automatic Dubbing

Automatic dubbing, which generates a corresponding version of the input ...

Please sign up or login with your details

Forgot password? Click here to reset