Gradient-Free Textual Inversion

被引:1
|
作者
Fei, Zhengcong [1 ]
Fan, Mingyuan [1 ]
Huang, Junshi [1 ]
机构
[1] Meituan, Beijing, Peoples R China
关键词
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 algorithms for distributed online convex optimization
    Liu, Yuhang
    Zhao, Wenxiao
    Dong, Daoyi
    ASIAN JOURNAL OF CONTROL, 2023, 25 (04) : 2451 - 2468
  • [32] 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
  • [33] 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
  • [34] Gradient-free MCMC methods for dynamic causal modelling
    Sengupta, Biswa
    Friston, Karl J.
    Penny, Will D.
    NEUROIMAGE, 2015, 112 : 375 - 381
  • [35] Gradient-Free Method for Heavily Constrained Nonconvex Optimization
    Shi, Wanli
    Gao, Hongchang
    Gu, Bin
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 162, 2022,
  • [36] Gradient-free directional cell migration in continuous microchannels
    Ko, Young-Gwang
    Co, Carlos C.
    Ho, Chia-Chi
    SOFT MATTER, 2013, 9 (08) : 2467 - 2474
  • [37] 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
  • [38] Gradient-free distributed resource allocation via simultaneous perturbation
    Ramirez-Llanos, Eduardo
    Martinez, Sonia
    2016 54TH ANNUAL ALLERTON CONFERENCE ON COMMUNICATION, CONTROL, AND COMPUTING (ALLERTON), 2016, : 590 - 595
  • [39] Efficient Gradient-Free Variational Inference using Policy Search
    Arenz, Oleg
    Zhong, Mingjun
    Neumann, Gerhard
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 80, 2018, 80
  • [40] "Gradient-free" diffuse approximations of the Willmore functional and Willmore flow
    Dabrock, Nils
    Knuettel, Sascha
    Roeger, Matthias
    ASYMPTOTIC ANALYSIS, 2023, 133 (1-2) : 185 - 226