[論文レビュー] AdaAttN: Revisit Attention Mechanism in Arbitrary Neural Style Transfer
AdaAttN は任意のスタイル転送に対して適応的な点ごとの注意正規化を導入し、浅い特徴と深い特徴の両方を活用して注意重み付きスタイル統計と局所的な特徴損失を計算し、局所品質を改善します。
Fast arbitrary neural style transfer has attracted widespread attention from academic, industrial and art communities due to its flexibility in enabling various applications. Existing solutions either attentively fuse deep style feature into deep content feature without considering feature distributions, or adaptively normalize deep content feature according to the style such that their global statistics are matched. Although effective, leaving shallow feature unexplored and without locally considering feature statistics, they are prone to unnatural output with unpleasing local distortions. To alleviate this problem, in this paper, we propose a novel attention and normalization module, named Adaptive Attention Normalization (AdaAttN), to adaptively perform attentive normalization on per-point basis. Specifically, spatial attention score is learnt from both shallow and deep features of content and style images. Then per-point weighted statistics are calculated by regarding a style feature point as a distribution of attention-weighted output of all style feature points. Finally, the content feature is normalized so that they demonstrate the same local feature statistics as the calculated per-point weighted style feature statistics. Besides, a novel local feature loss is derived based on AdaAttN to enhance local visual quality. We also extend AdaAttN to be ready for video style transfer with slight modifications. Experiments demonstrate that our method achieves state-of-the-art arbitrary image/video style transfer. Codes and models are available.
研究の動機と目的
- 内容を保ちながら局所的なスタイルパターンを捉えることができる、より局所性に配慮した任意のスタイル転送の必要性を動機づける。
- 浅い特徴と深い特徴の両方から点ごとに注意重み付きスタイル統計を計算する AdaAttN を提案する。
- 点ごとの統計を用いて内容特徴を正規化し、注意重み付きスタイル統計と整合させる。
- 局所的な視覚品質を高める局所特徴損失を導入し、フレームワークをビデオスタイル転送に拡張する。
提案手法
- 浅い特徴と深い特徴を連結した内容/スタイル特徴から注意マップを学習する AdaAttN モジュールを導入する。
- 注意スコアを用いてスタイル特徴の注意重み付き平均と分散マップを計算する。
- 局所的な分布整列を達成するために点ごとの注意重み付き統計を用いて内容特徴を正規化する。
- 局所的な忠実度を向上させるために点ごとのスタイル変換を監督する局所的特徴損失を定義する。
- コサインベースの注意と画像ごとの類似性損失を取り入れて temporal 一貫性を安定化させることでビデオへの拡張を行う。
実験結果
リサーチクエスチョン
- RQ1どのように点ごとで局所性を考慮した統計を用いて、内容構造を損なうことなく任意のスタイル転送を改善できるか?
- RQ2浅い特徴と深い特徴の両方を取り入れた注意機構は、グローバルな統計ベースの方法より局所的なスタイルパターンをより良く捉えられるか?
- RQ3注意主導の正規化と局所的特徴損失は、ビデオのスタイル転送において視覚品質と時間的一貫性を優越させるか?
主な発見
- AdaAttN は注意重み付きの点ごとのスタイル統計に内容特徴を整合させることで、任意の画像スタイル転送において最先端の結果を達成する。
- 本手法は内容構造を保持しつつ、局所的な詳細スタイルパターンを転送し、定性的評価でベースラインを上回る。
- 局所的特徴損失は局所的な視覚品質を向上させ、グローバルなスタイル損失を補完してより良いスタイリング結果をもたらす。
- コサインベースの注意を取り入れたビデオスタイル転送へ拡張することで、光学フローへの過度な依存なしに時間的安定性を改善する。
- アブレーション研究は、最終品質における浅い特徴の使用と局所的特徴損失の重要性を示す。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。