Skip to main content
QUICK REVIEW

[논문 리뷰] Ensembling Diffusion Models via Adaptive Feature Aggregation

Cong Wang, Kuan Tian|arXiv (Cornell University)|2024. 05. 27.
Text and Document Classification TechnologiesComputer Science인용 수 3
한 줄 요약

이 논문은 중간 특징을 블록 수준에서 다이나믹하게 융합하는 동적 앙상블 방법인 적응형 특징 융합(Adaptive Feature Aggregation, AFA)을 제안한다. 이는 프롬프트, 노이즈 제거 단계, 초기 노이즈, 공간적 위치를 기반으로 다이나믹한 어텐션 맵을 생성하는 경량의 공간 인식형 블록 단위(Spatial-Aware Block-Wise, SABW) 융합기로, 여러 텍스트-이미지 확산 모델의 중간 특징을 적응적으로 융합한다. AFA는 최소한의 계산 오버헤드로 기반 모델과 정적 앙상블 기반 모델을 능가하는 최고 수준의 이미지 품질과 맥락 일치도를 달성한다.

ABSTRACT

The success of the text-guided diffusion model has inspired the development and release of numerous powerful diffusion models within the open-source community. These models are typically fine-tuned on various expert datasets, showcasing diverse denoising capabilities. Leveraging multiple high-quality models to produce stronger generation ability is valuable, but has not been extensively studied. Existing methods primarily adopt parameter merging strategies to produce a new static model. However, they overlook the fact that the divergent denoising capabilities of the models may dynamically change across different states, such as when experiencing different prompts, initial noises, denoising steps, and spatial locations. In this paper, we propose a novel ensembling method, Adaptive Feature Aggregation (AFA), which dynamically adjusts the contributions of multiple models at the feature level according to various states (i.e., prompts, initial noises, denoising steps, and spatial locations), thereby keeping the advantages of multiple diffusion models, while suppressing their disadvantages. Specifically, we design a lightweight Spatial-Aware Block-Wise (SABW) feature aggregator that adaptive aggregates the block-wise intermediate features from multiple U-Net denoisers into a unified one. The core idea lies in dynamically producing an individual attention map for each model's features by comprehensively considering various states. It is worth noting that only SABW is trainable with about 50 million parameters, while other models are frozen. Both the quantitative and qualitative experiments demonstrate the effectiveness of our proposed Adaptive Feature Aggregation method.

연구 동기 및 목표

  • 다양한 생성 상태에서 노이즈 제거 능력의 동적 변동을 고려하지 못하는 정적 모델 앙상블 방법의 한계를 해결하기 위해.
  • 프롬프트, 노이즈 수준, 노이즈 제거 단계, 공간적 위치에 따라 각 모델의 강점을 적응적으로 활용할 수 있는 다이나믹한 특징 수준의 융합을 가능하게 하기 위해.
  • 기본 모델을 파인튜닝 없이도 다수의 U-Net 노이즈 제거기에서 온 특징에 대해 다이나믹한 어텐션 가중치를 할당할 수 있도록 학습 가능한 경량 융합기(SABW)를 설계하기 위해.
  • 단일 모델 추론 수준과 유사한 계산 효율성을 유지하면서도, 훨씬 뛰어난 이미지 생성 품질과 맥락 일치도를 달성하기 위해.

제안 방법

  • AFA는 다수의 U-Net 노이즈 제거기에서 블록 단위 중간 특징을 공간 인식형 블록 단위(Spatial-Aware Block-Wise, SABW) 특징 융합기를 사용해 다이나믹하게 융합한다. 이 융합기는 각 모델별로 개별 어텐션 맵을 생성한다.
  • SABW 융합기는 프롬프트, 노이즈 제거 단계, 초기 노이즈, 공간적 위치 등 다양한 상태를 고려하여 각 모델의 특징에 대한 적응형 어텐션 가중치를 생성한다.
  • 어텐션 맵은 텍스트, 단계 기반, 공간 조건 신호를 융합하는 학습 가능한 메커니즘을 통해 계산되며, 이는 특징 기여도를 조절한다.
  • SABW 모듈만 학습 가능하며 약 50M 파라미터를 차지하지만, 모든 기본 확산 모델은 동결되어 사전 학습된 능력을 유지한다.
  • 이 방법은 역노이즈 제거 과정 중에 작동하며, 최종 예측 이전에 각 블록에서 특징을 융합함으로써 맥락 인식형 다이나믹 모델 조합이 가능하다.
  • 이 프레임워크는 정량적 및 정성적 평가 모두를 지원하며, 아블레이션 스터디를 통해 각 구성 요소의 기여도를 검증한다.
Figure 1 : Examples to illustrate the dynamical change of the denoising capabilities across various states. We conduct experiments on different prompts with various initial noises. We then plot the proportion of wins ( i.e . , the model with the least error between the predicted noise and the initia
Figure 1 : Examples to illustrate the dynamical change of the denoising capabilities across various states. We conduct experiments on different prompts with various initial noises. We then plot the proportion of wins ( i.e . , the model with the least error between the predicted noise and the initia

실험 결과

연구 질문

  • RQ1다양한 확산 모델 간의 다이나믹하고 상태 인식형 특징 융합이 정적 앙셈블이나 개별 모델 대비 이미지 생성 품질과 일치도를 향상시키는가?
  • RQ2프롬프트, 초기 노이즈, 노이즈 제거 단계, 공간적 위치 등의 다양한 생성 상태는 개별 확산 모델의 상대적 성능에 어떤 영향을 미치는가?
  • RQ3특징 융합을 위한 공간 인식형 어텐션 맵을 학습하는 것이 스칼라 또는 균일 가중치 방법보다 성능 향상에 기여하는가?
  • RQ4다양한 모델을 융합함에도 불구하고 AFA 방법이 계산 효율성을 얼마나 유지하는가?
  • RQ5시간 단계 및 텍스트 조건 신호를 어텐션 메커니즘에 통합함으로써 다이나믹 모델 앙셈블에 어떤 영향을 미치는가?

주요 결과

  • AFA는 FID와 CLIP 점수 모두 최고 수준의 성능을 달성하였으며, Group I에서는 FID 0.4388, Group II에서는 FID 0.4892를 기록하여 기반 모델과 정적 앙셈블 기반 모델을 크게 능가했다.
  • 아블레이션 스터디 결과, 공간적 위치 모델링을 제거할 경우 FID가 0.4044로 떨어지며, 이는 공간 인식이 효과적인 특징 융합에 필수적임을 시사한다.
  • 시간 단계 또는 텍스트 조건 신호를 생략할 경우 FID는 각각 0.4235와 0.4163로 떨어지며, 이는 다이나믹 가중치에 있어 이들 신호의 중요성을 확인한다.
  • AFA는 단지 20회의 추론 단계(총 8.8초 소요)에서도 뛰어난 성능을 유지하며, 표준 앙셈블 대비 추론 단계 수가 줄어든 경우에도 높은 내성성을 보였다.
  • 단일 추론 단계 시간은 다수의 모델 실행으로 인해 비례 증가하지만, 효율적인 추론 내성성 덕분에 전체 생성 시간은 기반 모델과 유사하게 유지된다.
  • 블록 단위 평균화나 마지막 블록 전용 앙셈블은 FID ≥ 0.4176로 낮은 성능을 보이며, SABW를 통한 전체 블록의 적응형 융합이 반드시 필요함을 확인한다.
Figure 2 : Framework of ensembling multiple diffusion models by our Adaptive Feature Aggregation (AFA) method.
Figure 2 : Framework of ensembling multiple diffusion models by our Adaptive Feature Aggregation (AFA) method.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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