Skip to main content
QUICK REVIEW

[論文レビュー] MoMA: Multimodal LLM Adapter for Fast Personalized Image Generation

Kunpeng Song, Yizhe Zhu|arXiv (Cornell University)|Apr 8, 2024
Image Retrieval and Classification TechniquesComputer Science被引用数 3
ひとこと要約

MoMAは、マルチモodal Large Language Model (MLLM) を用いて参照画像とテキストプロンプトを統合的に高精度な画像特徴に変換する、チューニング不要でオープンボキャブラリーなアダプタであり、1回のフォワードパスで優れたアイデンティティ保持と詳細再現性を達成する。自己注意機構のショートカットと反復的マスキングを導入することで、微調整なしに既存手法を上回る性能を発揮する。

ABSTRACT

In this paper, we present MoMA: an open-vocabulary, training-free personalized image model that boasts flexible zero-shot capabilities. As foundational text-to-image models rapidly evolve, the demand for robust image-to-image translation grows. Addressing this need, MoMA specializes in subject-driven personalized image generation. Utilizing an open-source, Multimodal Large Language Model (MLLM), we train MoMA to serve a dual role as both a feature extractor and a generator. This approach effectively synergizes reference image and text prompt information to produce valuable image features, facilitating an image diffusion model. To better leverage the generated features, we further introduce a novel self-attention shortcut method that efficiently transfers image features to an image diffusion model, improving the resemblance of the target object in generated images. Remarkably, as a tuning-free plug-and-play module, our model requires only a single reference image and outperforms existing methods in generating images with high detail fidelity, enhanced identity-preservation and prompt faithfulness. Our work is open-source, thereby providing universal access to these advancements.

研究の動機と目的

  • パラメータ効率の良い微調整手法に伴う計算量とストレージの増大という限界を解消すること。
  • モデルの微調整なしにゼロショットでオープンボキャブラリーなパーソナライズを実現し、再文脈化とテクスチャ編集を両立させること。
  • 最小限の計算コストで拡散モデルを強化する、即挿し可能なアダプタの開発。
  • 独自の自己注意特徴転送機構の導入により、パーソナライズド画像生成における詳細の正確性を向上させること。
  • トレーニング中にベースモデルを固定することで、多様なコミュニティがチューニングした拡散モデルへの一般化を確保すること。

提案手法

  • 事前学習済みのマルチモーダル Large Language Model (MLLM) を特徴抽出および生成のためのエンジンとして用い、参照画像とテキストプロンプトを統一された潜在特徴に変換する。
  • MLLMから拡散モデルのクロスアテンション層へ画像特徴を直接転送する自己注意ショートカットを導入し、詳細再現性を向上させる。
  • 被写体のクロスアテンションを段階的に適用する反復的マスキング戦略を採用し、背景生成への干渉を防ぎ、アーティファクトを低減する。
  • 視覚的特徴と言語的特徴をアテンション層で融合する学習可能なクロスアテンションインジェクション機構を適用し、文脈に適応した画像生成を実現する。
  • 下位の拡散モデルを微調整せず、大規模データセット上でエンドツーエンドにアダプタを学習させ、即挿し可能な展開を可能にする。
  • 推論時に真のアテンション分布を近似するためのマスクドアテンションマップを用い、特徴転送の正確性を向上させる。
Figure 1 : Example images generated by our open-vocabulary personalization model. without tuning. With just one image of a subject (circled in blue), our model can generate text-aligned, identity-preserved new images of the same subject with only a single forward pass. Our model supports both re-con
Figure 1 : Example images generated by our open-vocabulary personalization model. without tuning. With just one image of a subject (circled in blue), our model can generate text-aligned, identity-preserved new images of the same subject with only a single forward pass. Our model supports both re-con

実験結果

リサーチクエスチョン

  • RQ1チューニングなしでオープンボキャブラリーなアダプタが、拡散モデルの微調整なしに高精度なパーソナライズド画像生成を達成できるか?
  • RQ2MLLMから拡散モデルへ視覚的特徴を転送する自己注意ショートカットは、詳細再現性の向上にどの程度有効か?
  • RQ3提案手法は、再文脈化やテクスチャ編集を含む多様な生成タスクにおいて、被写体のアイデンティティとプロンプトの忠実度を保持できるか?
  • RQ4反復的マスキング機構は、生成画像の背景品質をどの程度向上させ、アーティファクトを低減できるか?
  • RQ5同じベースモデルから微調整された異なるコミュニティチューニング済み拡散チェックポイントに対しても、アダプタは一般化可能か?

主な発見

  • MoMAは最適設定下でDINOスコア0.618、CLIP-T(c)スコア0.348を達成し、被写体のアイデンティティ保持と詳細再現性において最先端の性能を発揮した。
  • 自己注意ショートカットは詳細再現性を顕著に向上させる:注入強度βを0から1.2に増加させると、被写体の詳細はフォトリアルからピクサー風に変化し、ヘッドライトの形状やテクスチャの再現性が向上した。
  • 反復的マスキングは背景のアーティファクトを低減させ、画像品質を向上させ、マスキングを完全に適用した際、最もクリアなクロスアテンションマップが観察された。
  • アクセサリーの統合、ポーズ変更、カメラ画角制御といった多様なタスクにおいても高い性能を維持し、プロンプトの忠実度が良好に保たれた。
  • Stable Diffusion v1.5から微調整されたRealistic Vision V4.0、ReV-Animated、Anything v4、Esthetic Retro Animeといったコミュニティモデルに対しても、再トレーニングなしに効果的に一般化された。
  • 定量的アブレーションでは、マスキングとβチューニングがCLIPおよびDINOスコアを顕著に向上させた。特にマスキングなしの条件では、DINOスコアが0.575(完全マスキング時:0.618)に低下した。
Figure 2 : Model structure. (1) On top-left, we adopt a generative multimodal image decoder to extract semantic features and modify them by the target prompt. These features are projected to text space and then injected into a pretrained frozen UNet with decoupled context cross-attentions as illustr
Figure 2 : Model structure. (1) On top-left, we adopt a generative multimodal image decoder to extract semantic features and modify them by the target prompt. These features are projected to text space and then injected into a pretrained frozen UNet with decoupled context cross-attentions as illustr

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。