Skip to main content
QUICK REVIEW

[논문 리뷰] MoMA: Multimodal LLM Adapter for Fast Personalized Image Generation

Kunpeng Song, Yizhe Zhu|arXiv (Cornell University)|2024. 04. 08.
Image Retrieval and Classification TechniquesComputer Science인용 수 3
한 줄 요약

MoMA는 파라미터 미세조정이 필요 없고 개방형 어휘를 지원하는 어댑터로, 참조 이미지와 텍스트 프롬프트를 고해상도 이미지 특징으로 융합하기 위해 다중모odal 대규모 언어모델(MLLM)을 활용한다. 자기주의 어텐션 단서와 반복적 마스킹을 도입함으로써 단일 순방향 전파만으로도 주제 기반 이미지 생성에서 뛰어난 정체성 유지 및 세부 사항 충실도를 달성하여, 미세조정 없이도 기존 방법들을 능가한다.

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.

연구 동기 및 목표

  • 개인화된 이미지 생성에서 파라미터 효율적인 미세조정 방법의 한계를 해결하기 위해, 광범위한 계산 및 저장 자원이 요구되는 문제를 해결한다.
  • 모델의 미세조정 없이도 제로샷, 개방형 어휘 개인화를 가능하게 하여 재맥락화 및 텍스처 편집을 지원한다.
  • 기본 디퓨전 모델을 동결함으로써 최소한의 계산 오버헤드로 디퓨전 모델을 향상시키는 즉시 사용 가능한 어댑터를 개발한다.
  • 새로운 자기주의 어텐션 특징 전달 메커니즘을 도입하여 개인화된 이미지 생성의 세부 사항 정확도를 향상시킨다.
  • 기본 모델을 동결함으로써 다양한 커뮤니티가 튜닝한 디퓨전 모델에 대한 일반화 능력을 확보한다.

제안 방법

  • 사전에 훈련된 다중모달 대규모 언어모델(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로 증가함에 따라 주제의 세부 사항은 사실적인 사진 스타일에서 피크시 스타일로 변화하며, 헤드라이트 형태와 텍스처가 점점 더 정확해진다.
  • 반복적 마스킹은 배경 아티팩트를 감소시키고 이미지 품질을 향상시키며, 마스킹을 완전히 적용했을 때 가장 깔끔한 크로스 어텐션 맵을 관찰할 수 있다.
  • 모델은 액세서리 통합, 자세 수정, 카메라 시점 제어와 같은 다양한 작업에서 높은 성능을 유지하여 강력한 프롬프트 준수 능력을 보여준다.
  • MoMA는 Stabe Diffusion v1.5에서 튜닝된 Realistic Vision V4.0, ReV-Animated, Anything v4, Esthetic Retro Anime와 같은 커뮤니티 모델들에 대해 재학습 없이도 효과적으로 일반화된다.
  • 정량적 아블레이션 분석 결과 마스킹과 β 튜닝이 CLIP 및 DINO 점수를 크게 향상시키며, 마스킹을 생략한 경우 점수는 낮아진다 (예: DINO: 0.575 vs. 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

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.