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 条
  • [1] Gradient-Free Kernel Stein Discrepancy
    Fisher, Matthew A.
    Oates, Chris. J.
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [2] Gradient-free Algorithms for Graph Embedding
    Qu, Liang
    Shi, Yuhui
    2019 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2019, : 2746 - 2752
  • [3] THERMAL GRADIENT-FREE CRYOPRESERVATION OF TISSUE
    PERSIDSK.MD
    LEEF, J
    BIOPHYSICAL JOURNAL, 1969, 9 : A192 - &
  • [4] Gradient-free Stein variational gradient descent with kernel approximation
    Yan, Liang
    Zou, Xiling
    APPLIED MATHEMATICS LETTERS, 2021, 121 (121)
  • [5] Distributed Online Optimization With Gradient-free Design
    Wang, Lingfei
    Wang, Yinghui
    Hong, Yiguang
    PROCEEDINGS OF THE 38TH CHINESE CONTROL CONFERENCE (CCC), 2019, : 5677 - 5682
  • [6] Gradient-free method for nonsmooth distributed optimization
    Li, Jueyou
    Wu, Changzhi
    Wu, Zhiyou
    Long, Qiang
    JOURNAL OF GLOBAL OPTIMIZATION, 2015, 61 (02) : 325 - 340
  • [7] Gradient-Free and Gradient-Based Optimization of a Radial Turbine
    Lachenmaier, Nicolas
    Baumgaertner, Daniel
    Schiffer, Heinz-Peter
    Kech, Johannes
    INTERNATIONAL JOURNAL OF TURBOMACHINERY PROPULSION AND POWER, 2020, 5 (03)
  • [8] Gradient-free distributed optimization with exact convergence
    Pang, Yipeng
    Hu, Guoqiang
    AUTOMATICA, 2022, 144
  • [9] Gradient-free method for nonsmooth distributed optimization
    Jueyou Li
    Changzhi Wu
    Zhiyou Wu
    Qiang Long
    Journal of Global Optimization, 2015, 61 : 325 - 340
  • [10] NONPERTURBATIVE RENORMALIZABILITY FOR A CLASS OF GRADIENT-FREE MODELS
    KOTECKY, R
    PREISS, D
    PHYSICAL REVIEW D, 1978, 18 (06) : 2187 - 2192