Skip to main content
QUICK REVIEW

[Paper 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 Science3 citations
TL;DR

MoMA is a tuning-free, open-vocabulary adapter for fast personalized image generation that leverages a Multimodal Large Language Model (MLLM) to fuse reference image and text prompts into high-fidelity image features. By introducing a self-attention shortcut and iterative masking, it achieves superior identity preservation and detail fidelity in subject-driven image generation with only a single forward pass, outperforming existing methods without fine-tuning.

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.

Motivation & Objective

  • To address the limitations of parameter-efficient fine-tuning methods in personalized image generation, which require extensive computation and storage.
  • To enable zero-shot, open-vocabulary personalization that supports both recontextualization and texture editing without model tuning.
  • To develop a plug-and-play adapter that enhances diffusion models with minimal computational overhead while preserving subject identity and prompt fidelity.
  • To improve detail accuracy in personalized image generation by introducing a novel self-attention feature transfer mechanism.
  • To ensure generalization across diverse community-tuned diffusion models by freezing the base model during training.

Proposed method

  • Utilizes a pre-trained Multimodal Large Language Model (MLLM) as a feature extractor and generator to encode reference images and text prompts into unified latent features.
  • Introduces a self-attention shortcut that transfers image features directly from the MLLM to the diffusion model’s cross-attention layers, enhancing detail fidelity.
  • Employs an iterative masking strategy to selectively apply subject-cross-attention, preventing interference with background generation and reducing artifacts.
  • Applies a learnable cross-attention injection mechanism that fuses visual and textual features at the attention layer, enabling context-aware image generation.
  • Trains the adapter end-to-end on a large-scale dataset without tuning the underlying diffusion model, enabling plug-and-play deployment.
  • Uses a masked attention map to approximate the ground-truth attention distribution during inference, improving feature transfer accuracy.
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

Experimental results

Research questions

  • RQ1Can a tuning-free, open-vocabulary adapter achieve high-fidelity personalized image generation without fine-tuning the diffusion model?
  • RQ2How effective is a self-attention shortcut in transferring visual features from an MLLM to a diffusion model for improved detail accuracy?
  • RQ3Can the proposed method preserve subject identity and prompt fidelity across diverse generation tasks, including recontextualization and texture editing?
  • RQ4To what extent does the iterative masking mechanism improve background quality and reduce artifacts in generated images?
  • RQ5Can the adapter generalize across different community-tuned diffusion checkpoints trained from the same base model?

Key findings

  • MoMA achieves state-of-the-art performance in subject identity preservation and detail fidelity, with DINO score of 0.618 and CLIP-T(c) score of 0.348 under optimal settings.
  • The self-attention shortcut significantly improves detail fidelity: as the injection strength β increases from 0 to 1.2, subject details evolve from photorealistic to Pixar-style, with headlight shapes and textures becoming increasingly accurate.
  • Iterative masking reduces background artifacts and improves image quality, with the cleanest cross-attention maps observed when masking is fully applied.
  • The model maintains high performance across diverse tasks, including accessory incorporation, pose modification, and camera perspective control, demonstrating strong prompt adherence.
  • MoMA generalizes effectively to community models such as Realistic Vision V4.0, ReV-Animated, Anything v4, and Esthetic Retro Anime, all fine-tuned from Stable Diffusion v1.5, without retraining.
  • Quantitative ablation shows that masking and β tuning significantly improve CLIP and DINO scores, with w/o masking yielding lower scores (e.g., DINO: 0.575 vs. 0.618 with full masking).
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

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.