Continual Diffusion: Continual Customization of Text-to-Image Diffusion with C-LoRA


James Seale Smith1,2, Yen-Chang Hsu1, Lingyu Zhang1, Ting Hua1

Zsolt Kira2, Yilin Shen1, Hongxia Jin1


1Samsung Research America, 2Georgia Institute of Technology

Transactions on Machine Learning Research (TMLR) 2024


paper

A use case of our work - a mobile app sequentially learns new customized concepts. At a later time, the user can generate photos of prior learned concepts. The user should be able to generate photos with multiple concepts together, thus ruling out methods such as per-concept adapters or single-image conditioned diffusion. Furthermore, the concepts are fine-grained, and simply learning new tokens or words is not effective.

Abstract


Recent works demonstrate a remarkable ability to customize text-to-image diffusion models while only providing a few example images. What happens if you try to customize such models using multiple, fine-grained concepts in a sequential (i.e., continual) manner? In our work, we show that recent state-of-the-art customization of text-to-image models suffer from catastrophic forgetting when new concepts arrive sequentially. Specifically, when adding a new concept, the ability to generate high quality images of past, similar concepts degrade. To circumvent this forgetting, we propose a new method, C-LoRA, composed of a continually self-regularized low-rank adaptation in cross attention layers of the popular Stable Diffusion model. Furthermore, we use customization prompts which do not include the word of the customized object (i.e., person for a human face dataset) and are initialized as completely random embeddings. Importantly, our method induces only marginal additional parameter costs and requires no storage of user data for replay. We show that C-LoRA not only outperforms several baselines for our proposed setting of text-to-image continual customization, which we refer to as Continual Diffusion, but that we achieve a new state-of-the-art in the well-established rehearsal-free continual learning setting for image classification. The high achieving performance of C-LoRA in two separate domains positions it as a compelling solution for a wide range of applications, and we believe it has significant potential for practical impact.


Method


Our method, C-LoRA, updates the key-value (K-V) projection in U-Net cross-attention modules of Stable Diffusion using a continual, self-regulating low-rank weight adaptation. The past LoRA weight deltas are used to regulate the new LoRA weight deltas by guiding which parameters are most available to be updated. Unlike prior work, we initialize custom tokens as random features and remove the concept name (e.g., person) from the prompt.

Results: Faces


Qualitative results of continual customization using the Celeb-A HQ dataset. Results are shown for three concepts from the learning sequence sampled after training ten concepts sequentially.


Multi-concept results after training on 10 sequential tasks using Celeb-A HQ. Using standard quadrant numbering (I is upper right, II is upper left, III is lower left, IV is lower right), we label which target data belongs in which generated image by directly annotating the target data images.

Results: Landmarks


Qualitative results of continual customization using waterfalls from the Google Landmarks dataset. Results are shown for three concepts from the learning sequence sampled after training ten concepts sequentially.

BibTeX

                @article{smith2024continualdiffusion,
                  title={Continual Diffusion: Continual Customization of Text-to-Image Diffusion with C-LoRA},
                  author={Smith, James Seale and Hsu, Yen-Chang and Zhang, Lingyu and Hua, Ting and Kira, Zsolt and Shen, Yilin and Jin, Hongxia},
                  journal={Transactions on Machine Learning Research},
                  issn={2835-8856},
                  year={2024}
                }
              

主站蜘蛛池模板: 国产亚洲日韩在线a不卡 | 毛利兰的胸被狂揉扒开吃奶| 风间由美性色一区二区三区| 97麻豆精品国产自产在线观看| 中文字幕在线无码一区二区三区| 亚洲人成网站999久久久综合| 免费国产成人高清视频网站| 听了下面湿透的娇喘音频| 国产午夜鲁丝片av无码免费| 国产成人精品123区免费视频| 国产精品视频一| 图片区网友自拍另类图区| 天堂а√中文最新版在线| 奇米影视四色中文字幕| 女人是男人的未来你的皮肤很柔顺 | 四虎影视在线观看2022a| 国产一级特黄高清在线大片| 国产人伦视频在线观看| 国产区香蕉精品系列在线观看不卡| 国产精品怡红院永久免费| 国产精品视频永久免费播放| 夜色福利久久久久久777777| 处处吻动漫免费观看全集| 国产自在线观看| 大伊香蕉精品一区视频在线| 小天使抬起臀嗯啊h高| 少妇饥渴XXHD麻豆XXHD骆驼| 女人被男人狂躁免费视频| 天天操天天舔天天干| 国产超碰人人模人人爽人人添| 国产综合色在线精品| 国产精品一区二区av不卡| 国产成人99久久亚洲综合精品| 国产亚洲人成a在线v网站| 啊轻点灬大ji巴太粗太长了电影 | 色丁香在线观看| 精品免费人成视频APP| 免费在线视频a| 免费一级一片一毛片| 亚洲免费黄色网| 中文字幕色网站|