Gradient-Free Textual Inversion

被引:3
|
作者
Fei, Zhengcong [1 ]
Fan, Mingyuan [1 ]
Huang, Junshi [1 ]
机构
[1] Meituan, Beijing, Peoples R China
来源
PROCEEDINGS OF THE 31ST ACM INTERNATIONAL CONFERENCE ON MULTIMEDIA, MM 2023 | 2023年
关键词
text-to-image generation; personalization; gradient-free optimization; textual inversion; OPTIMIZATION; ADAPTATION;
D O I
10.1145/3581783.3612599
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Recent works on personalized text-to-image generation usually learn to bind a special token with specific subjects or styles of a few given images by tuning its embedding through gradient descent. It is natural to question whether we can optimize the textual inversions by only accessing the process of model inference. As only requiring the forward computation to determine the textual inversion retains the benefits of less GPU memory, simple deployment, and secure access for scalable models. In this paper, we introduce a gradient-free framework to optimize the continuous textual inversion in an iterative evolutionary strategy. Specifically, we first initialize an appropriate token embedding for textual inversion with the consideration of visual and text vocabulary information. Then, we decompose the optimization of evolutionary strategy into dimension reduction of searching space and non-convex gradient-free optimization in subspace, which significantly accelerates the optimization process with negligible performance loss. Experiments in several creative applications demonstrate that the performance of text-to-image model equipped with our proposed gradient-free method is comparable to that of gradient-based counterparts with variant GPU/CPU platforms, flexible employment, as well as computational efficiency.
引用
收藏
页码:1364 / 1373
页数:10
相关论文
共 50 条
  • [31] Gradient-free strategies to robust well control optimization
    Jefferson Wellano Oliveira Pinto
    Juan Alberto Rojas Tueros
    Bernardo Horowitz
    Silvana Maria Bastos Afonso da Silva
    Ramiro Brito Willmersdorf
    Diego Felipe Barbosa de Oliveira
    Computational Geosciences, 2020, 24 : 1959 - 1978
  • [32] Concept for gradient-free MRI on twin natural slices
    Gordon E. Sarty
    Magnetic Resonance Materials in Physics, Biology and Medicine, 2023, 36 : 671 - 686
  • [33] Gradient-free algorithms for distributed online convex optimization
    Liu, Yuhang
    Zhao, Wenxiao
    Dong, Daoyi
    ASIAN JOURNAL OF CONTROL, 2023, 25 (04) : 2451 - 2468
  • [34] INCREMENTAL GRADIENT-FREE METHOD FOR NONSMOOTH DISTRIBUTED OPTIMIZATION
    Li, Jueyou
    Li, Guoquan
    Wu, Zhiyou
    Wu, Changzhi
    Wang, Xiangyu
    Lee, Jae-Myung
    Jung, Kwang-Hyo
    JOURNAL OF INDUSTRIAL AND MANAGEMENT OPTIMIZATION, 2017, 13 (04) : 1841 - 1857
  • [35] Gradient-free determination of isoelectric points of proteins on chip
    Lapinska, Urszula
    Saar, Kadi L.
    Yates, Emma V.
    Herling, Therese W.
    Muller, Thomas
    Challa, Pavan K.
    Dobson, Christopher M.
    Knowles, Tuomas P. J.
    PHYSICAL CHEMISTRY CHEMICAL PHYSICS, 2017, 19 (34) : 23060 - 23067
  • [36] Gradient-free MCMC methods for dynamic causal modelling
    Sengupta, Biswa
    Friston, Karl J.
    Penny, Will D.
    NEUROIMAGE, 2015, 112 : 375 - 381
  • [37] Gradient-Free Method for Heavily Constrained Nonconvex Optimization
    Shi, Wanli
    Gao, Hongchang
    Gu, Bin
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 162, 2022,
  • [38] Gradient-free directional cell migration in continuous microchannels
    Ko, Young-Gwang
    Co, Carlos C.
    Ho, Chia-Chi
    SOFT MATTER, 2013, 9 (08) : 2467 - 2474
  • [39] Learning Supervised PageRank with Gradient-Based and Gradient-Free Optimization Methods
    Bogolubsky, Lev
    Gusev, Gleb
    Raigorodskii, Andrei
    Tikhonov, Aleksey
    Zhukovskii, Maksim
    Dvurechensky, Pavel
    Gasnikov, Alexander
    Nesterov, Yurii
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 29 (NIPS 2016), 2016, 29
  • [40] Efficient Gradient-Free Variational Inference using Policy Search
    Arenz, Oleg
    Zhong, Mingjun
    Neumann, Gerhard
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 80, 2018, 80