arXiv reaDer
任意のスタイル転送のためのすべての重要な注意
All-to-key Attention for Arbitrary Style Transfer
注意ベースの任意のスタイル転送研究は、鮮やかなローカル スタイルの詳細を合成する上で有望なパフォーマンスを示しています。それらは通常、全対全アテンション メカニズムを使用します。コンテンツ機能の各位置は、スタイル機能のすべての位置に完全に一致します。ただし、全対全の注意は、歪んだスタイル パターンを生成する傾向があり、二次的な複雑さがあります。これにより、任意のスタイル転送の有効性と効率の両方が事実上制限されます。この論文では、どのような注意メカニズムが任意のスタイル転送に適しているかを再考します。私たちの答えは、まったく新しい注目メカニズムです。つまり、コンテンツ機能の各位置は、スタイル機能の重要な位置に一致します。具体的には、分散型注意と漸進的注意という、新たに提案された 2 つの注意形式を統合します。注意分散は、複数の重要な位置に注意を向けます。プログレッシブ・アテンションは、粗いものから細かいものまで注意を払います。すべてに注意を払うことで、多様で合理的なスタイル パターンのマッチングが促進され、直線的な複雑性があります。その結果、StyA2K と呼ばれるモジュールは、合理的なスタイル テクスチャをレンダリングし、一貫したローカル構造を維持する優れた特性を備えています。定性的および定量的実験は、私たちの方法が最先端のアプローチよりも優れた結果を達成することを示しています。
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.
updated: Thu Dec 08 2022 06:46:35 GMT+0000 (UTC)
published: Thu Dec 08 2022 06:46:35 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト