Gradient-Free Textual Inversion

被引:3
|
作者
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 条
  • [41] 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
  • [42] Distributed gradient-free and projection-free algorithm for stochastic constrained optimization
    Hou J.
    Zeng X.
    Chen C.
    Autonomous Intelligent Systems, 2024, 4 (01):
  • [43] "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
  • [44] Faster Gradient-Free Algorithms for Nonsmooth Nonconvex Stochastic Optimization
    Chen, Lesi
    Xu, Jing
    Luo, Luo
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 202, 2023, 202
  • [45] Gradient-Free Scheduling of Fog Computation for Marine Data Feedback
    Xu, Yanli
    IEEE INTERNET OF THINGS JOURNAL, 2021, 8 (07) : 5657 - 5668
  • [46] A gradient-free adaptation method for nonlinear active noise control
    Spiriti, Emanuele
    Morici, Simone
    Piroddi, Luigi
    JOURNAL OF SOUND AND VIBRATION, 2014, 333 (01) : 13 - 30
  • [47] Determination of the thermal degradation of solids in an isothermal gradient-free reactor
    Hornung, U
    Hornung, A
    Bockhorn, H
    CHEMIE INGENIEUR TECHNIK, 1998, 70 (1-2) : 145 - 148
  • [48] A stochastic subspace approach to gradient-free optimization in high dimensions
    Kozak, David
    Becker, Stephen
    Doostan, Alireza
    Tenorio, Luis
    COMPUTATIONAL OPTIMIZATION AND APPLICATIONS, 2021, 79 (02) : 339 - 368
  • [49] Improvement of Capacitive Behavior on Gradient-Free PZT Thin Films
    Pelloquin, Sylvain
    Le Rhun, Gwenael
    Defay, Emmanuel
    Renaux, Philippe
    Nolot, Emmanuel
    Abergel, Julie
    Sibuet, Henri
    INTEGRATED FERROELECTRICS, 2014, 157 (01) : 132 - 138
  • [50] Gradient-Free Multi-Agent Nonconvex Nonsmooth Optimization
    Hajinezhad, Davood
    Zavlanos, Michael M.
    2018 IEEE CONFERENCE ON DECISION AND CONTROL (CDC), 2018, : 4939 - 4944