Saved in:
Bibliographic Details
Main Authors: Wang, Cong, Tian, Kuan, Guan, Yonghang, Shen, Fei, Jiang, Zhiwei, Gu, Qing, Zhang, Jun
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.17082
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913703860895744
author Wang, Cong
Tian, Kuan
Guan, Yonghang
Shen, Fei
Jiang, Zhiwei
Gu, Qing
Zhang, Jun
author_facet Wang, Cong
Tian, Kuan
Guan, Yonghang
Shen, Fei
Jiang, Zhiwei
Gu, Qing
Zhang, Jun
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_17082
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Ensembling Diffusion Models via Adaptive Feature Aggregation
Wang, Cong
Tian, Kuan
Guan, Yonghang
Shen, Fei
Jiang, Zhiwei
Gu, Qing
Zhang, Jun
Computer Vision and Pattern Recognition
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.
title Ensembling Diffusion Models via Adaptive Feature Aggregation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2405.17082