Skip to main content
QUICK REVIEW

[논문 리뷰] FateZero: Fusing Attentions for Zero-shot Text-based Video Editing

Chenyang Qi, Xiaodong Cun|arXiv (Cornell University)|2023. 03. 16.
Generative Adversarial Networks and Image SynthesisComputer Science인용 수 10
한 줄 요약

FateZero는 DDIM 역추론의 어텐션 맵을 교차-어텐션 블렌딩 및 시공간 어텐션과 융합하여 제로샷 비디오 편집을 제시하고, 프리트레인된 이미지 확산 모델을 사용하는 동안 프롬프트별 추가 학습 없이도 일관된 스타일, 속성 및 모양 편집을 가능하게 합니다.

ABSTRACT

The diffusion-based generative models have achieved remarkable success in text-based image generation. However, since it contains enormous randomness in generation progress, it is still challenging to apply such models for real-world visual content editing, especially in videos. In this paper, we propose FateZero, a zero-shot text-based editing method on real-world videos without per-prompt training or use-specific mask. To edit videos consistently, we propose several techniques based on the pre-trained models. Firstly, in contrast to the straightforward DDIM inversion technique, our approach captures intermediate attention maps during inversion, which effectively retain both structural and motion information. These maps are directly fused in the editing process rather than generated during denoising. To further minimize semantic leakage of the source video, we then fuse self-attentions with a blending mask obtained by cross-attention features from the source prompt. Furthermore, we have implemented a reform of the self-attention mechanism in denoising UNet by introducing spatial-temporal attention to ensure frame consistency. Yet succinct, our method is the first one to show the ability of zero-shot text-driven video style and local attribute editing from the trained text-to-image model. We also have a better zero-shot shape-aware editing ability based on the text-to-video model. Extensive experiments demonstrate our superior temporal consistency and editing capability than previous works.

연구 동기 및 목표

  • 실세계 비디오의 프롬프트별 학습 없이 제로샷 텍스트 기반 편집을 유도한다.
  • 편집 중 역추론의 어텐션 맵을 활용하여 시계열 일관성을 유지한다.
  • 교차 어텐션 가이드 마스킹을 통해 원본 콘텐츠의 의미 누출을 줄인다.
  • 사이즈/형상 인식 편집과 스타일/속성 편집을 프리트레인된 이미지 확산 모델을 사용하여 향상시킨다.
  • 실세계 비디오에서 스타일, 속성, 국부 편집 및 형상 편집 등 광범위한 편집 능력을 시연한다.

제안 방법

  • 각 DDIM 역추론 단계에서 자기- 및 교차 어텐션 맵을 저장한다.
  • 주의 하나? 'Attention Fusion 연산을 통해 편집 단계의 디노이징과 역추론 어텐션 맵을 융합한다.
  • 편집된 단어의 교차 어텐션 맵을 공간 마스크로 사용하여 자기 어텐션을 혼합하고 의미 누출을 방지한다.
  • 프레임 간 일관성을 높이기 위한 시공간 자기 어텐션 공식화를 도입한다.
  • 모델 재학습 없이 이웃 프레임을 포함시켜 자기 어텐션을 시공간 어텐션으로 재구성한다.
  • 이미지 확산 모델로 외관/스타일 편집과 비디오 확산 모델로 형상 편집 모두에 이 방법을 적용한다.

실험 결과

연구 질문

  • RQ1프롬프트별 최적화나 마스크 없이도 실세계 비디오에 대해 제로샷 텍스트 기반 편집을 달성할 수 있는가?
  • RQ2역추론 시간의 어텐션 융합을 도입하는 것이 표준 프레임 단위 편집에 비해 시계열 일관성과 구조적 충실도를 향상시키는가?
  • RQ3교차 어텐션 기반 마스킹이 편집 중 의미 누출을 완화하고 편집되지 않은 영역을 보존하는 데 어떻게 기여하는가?
  • RQ4시공간 어텐션 공식화가 편집된 비디오의 시간적 응집력을 향상시키는가?
  • RQ5비디오 데이터에서 스타일/속성 편집과 형상 편집의 편집 능력과 한계는 무엇인가?

주요 결과

  • 사전 학습된 이미지 및 비디오 확산 모델을 사용하여 스타일, 속성 및 형상에 대한 시계열 일관성이 있는 제로샷 비디오 편집을 달성한다.
  • 역추론 중 어텐션 융합은 편집을 더해도 모션과 구조를 순진한 역추론-그다음 편집 접근법보다 잘 보존한다.
  • 교차 어텐션 기반 마스킹(Attention Blending)은 의미 누출을 줄이고 형상 편집 결과를 향상시킨다.
  • 시공간 자기 어텐션은 추가 학습 없이 프레임 간 응집력을 향상시킨다.
  • 정성적 평가 및 사용자 연구에서 시간적 일관성과 편집 충실도 면에서 기초선보다 우수하다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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