Skip to main content
QUICK REVIEW

[논문 리뷰] FuseDream: Training-Free Text-to-Image Generation with Improved CLIP+GAN Space Optimization

Xingchao Liu, Chengyue Gong|arXiv (Cornell University)|2021. 12. 02.
Generative Adversarial Networks and Image SynthesisComputer Science인용 수 36
한 줄 요약

FuseDream은 AugCLIP, 초기화/과다 파라미터화 전략, 그리고 합성 생성 접근법으로 CLIP+GAN 텍스트-투-이미지 생성의 성능을 향상시키고, 제너레이터를 학습시키지 않고 MS COCO 지표를 강하게 달성합니다.

ABSTRACT

Generating images from natural language instructions is an intriguing yet highly challenging task. We approach text-to-image generation by combining the power of the retrained CLIP representation with an off-the-shelf image generator (GANs), optimizing in the latent space of GAN to find images that achieve maximum CLIP score with the given input text. Compared to traditional methods that train generative models from text to image starting from scratch, the CLIP+GAN approach is training-free, zero shot and can be easily customized with different generators. However, optimizing CLIP score in the GAN space casts a highly challenging optimization problem and off-the-shelf optimizers such as Adam fail to yield satisfying results. In this work, we propose a FuseDream pipeline, which improves the CLIP+GAN approach with three key techniques: 1) an AugCLIP score which robustifies the CLIP objective by introducing random augmentation on image. 2) a novel initialization and over-parameterization strategy for optimization which allows us to efficiently navigate the non-convex landscape in GAN space. 3) a composed generation technique which, by leveraging a novel bi-level optimization formulation, can compose multiple images to extend the GAN space and overcome the data-bias. When promoted by different input text, FuseDream can generate high-quality images with varying objects, backgrounds, artistic styles, even novel counterfactual concepts that do not appear in the training data of the GAN we use. Quantitatively, the images generated by FuseDream yield top-level Inception score and FID score on MS COCO dataset, without additional architecture design or training. Our code is publicly available at \url{https://github.com/gnobitab/FuseDream}.

연구 동기 및 목표

  • 새로운 제너레이터를 학습시키지 않고 CLIP+GAN을 사용한 학습 없는 텍스트-투-이미지 생성을 동기 부여한다.
  • GAN 잠재 공간에서의 적대적 최적화에 대한 CLIP의 취약점을 다룬다.
  • 의미론적 정렬을 개선하기 위한 증강-강건 점수 함수인 AugCLIP를 제안한다.
  • 비볼록 GAN 잠재 공간을 보다 효과적으로 탐색하기 위한 초기화/과다 파라미터화를 도입한다.
  • 데이터 편향을 줄이고 분포 외 이미지(out-of-distribution)를 생성하기 위한 합성 생성 프레임워크를 개발한다.

제안 방법

  • 무작위 이미지 증강에 걸친 CLIP 점수를 평균화하여 적대적 공격에 견디는 AugCLIP를 정의한다.
  • 상위 k개의 초기 잠재 코드를 선형 결합하고 공동으로 최적화하는 과다 파라미터화된 다중 초기화 최적화를 사용한다.
  • 동적 배리어 그래디언트 하강을 통한 AugCLIP를 공동 최대화하고 지각 손실을 최소화하는 합성 생성의 이중 최적화를 정식화한다.
  • 전경/배경의 두 이미지 합성과 공간 배치 및 크기 조정을 구현하고, 합성된 이미지를 Poisson 블렌딩으로 제작한다.
  • 이산 합성 매개변수에 대한 맹목적 탐색과 보강된 목적함수로 연속 잠재 코드를 최적화한다.
  • 기준 CLIP+GAN 방법과 비교하고 MS COCO 지표(IS, FID, CLIP R-prec, R-prec)을 보고한다.

실험 결과

연구 질문

  • RQ1AugCLIP가 GAN 잠재 공간에서의 CLIP 기반 적대적 최대화에 대해 강건한가?
  • RQ2초기화/과다 파라미터화 전략이 CLIP+GAN 텍스트-투-이미지 생성의 최적화 결과를 개선하는가?
  • RQ3합성 생성이 GAN 공간을 확장하여 일관된 다중 객체 이미지를 생성하고 데이터 편향 아티팩트를 줄일 수 있는가?
  • RQ4FuseDream은 이전 방법들에 비해 MS COCO에서 어떻게 정량적으로 성능을 내는가?
  • RQ5합성 프레임워크가 의미론적 관련성을 유지하면서 반사실적(counterfactual) 또는 분포 외 이미지를 생성할 수 있는가?

주요 결과

  • AugCLIP은 적대적으로 유도된 아티팩트를 크게 줄이고 표준 CLIP 점수보다 더 의미론적으로 정렬된 이미지를 산출한다.
  • -top-k 잠재 코드와 과다 파라미터화가 최적화를 개선하여 로컬 최대값에서 벗어나도록 돕는다.
  • Bi-level 최적화를 이용한 합성 생성은 전경/배경 객체의 일관된 융합과 경계의 불연속성을 줄여준다.
  • FuseDream은 새로운 제너레이터를 학습시키지 않고도 MS COCO에서 상태-오브-더-아트에 근접한 IS와 경쟁력 있는 FID 및 CLIP 기반 지표를 달성한다.
  • MS COCO에 대한 정량적 결과는 FuseDream(k=5/256) IS=34.26, FID=21.16, CLIP R-prec=96.43, R-prec=65.56; (k=10/256) IS=34.67, FID=21.89, CLIP R-prec=98.46, R-prec=66.06; (k=5/512) IS=34.19, FID=21.52, CLIP R-prec=98.38, R-prec=63.67; (k=10/512) IS=32.88, FID=25.24, CLIP R-prec=98.44, R-prec=63.80이 됩니다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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