Interpreting the Weight Space of Customized Diffusion Models
Abstract
We investigate the space of weights spanned by a large collection of customized diffusion models. We populate this space by creating a dataset of over 60,000 models, each of which is a base model fine-tuned to insert a different person's visual identity. We model the underlying manifold of these weights as a subspace, which we term $\textit{weights2weights}$. We demonstrate three immediate applications of this space that result in new diffusion models -- sampling, editing, and inversion. First, sampling a set of weights from this space results in a new model encoding a novel identity. Next, we find linear directions in this space corresponding to semantic edits of the identity (e.g., adding a beard), resulting in a new model with the original identity edited. Finally, we show that inverting a single image into this space encodes a realistic identity into a model, even if the input image is out of distribution (e.g., a painting). We further find that these linear properties of the diffusion model weight space extend to other visual concepts. Our results indicate that the weight space of fine-tuned diffusion models can behave as an interpretable $\textit{meta}$-latent space producing new models.
Cite
Text
Dravid et al. "Interpreting the Weight Space of Customized Diffusion Models." Neural Information Processing Systems, 2024. doi:10.52202/079017-4363Markdown
[Dravid et al. "Interpreting the Weight Space of Customized Diffusion Models." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/dravid2024neurips-interpreting/) doi:10.52202/079017-4363BibTeX
@inproceedings{dravid2024neurips-interpreting,
title = {{Interpreting the Weight Space of Customized Diffusion Models}},
author = {Dravid, Amil and Gandelsman, Yossi and Wang, Kuan-Chieh and Abdal, Rameen and Wetzstein, Gordon and Efros, Alexei A. and Aberman, Kfir},
booktitle = {Neural Information Processing Systems},
year = {2024},
doi = {10.52202/079017-4363},
url = {https://mlanthology.org/neurips/2024/dravid2024neurips-interpreting/}
}