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 条
  • [21] Concept for gradient-free MRI on twin natural slices
    Sarty, Gordon E.
    MAGNETIC RESONANCE MATERIALS IN PHYSICS BIOLOGY AND MEDICINE, 2023, 36 (04) : 671 - 686
  • [22] An adaptive Bayesian approach to gradient-free global optimization
    Yu, Jianneng
    Morozov, Alexandre, V
    NEW JOURNAL OF PHYSICS, 2024, 26 (02):
  • [23] Gradient-free Online Learning in Games with Delayed Rewards
    Heliou, Amelie
    Mertikopoulos, Panayotis
    Zhou, Zhengyuan
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 119, 2020, 119
  • [24] Gradient-free algorithm for saddle point problems under
    Statkevich, Ekaterina
    Bondar, Sofiya
    Dvinskikh, Darina
    Gasnikov, Alexander
    Lobanov, Aleksandr
    CHAOS SOLITONS & FRACTALS, 2024, 185
  • [25] Metamaterials design using gradient-free numerical optimization
    Diest, Kenneth
    Sweatlock, Luke A.
    Marthaler, Daniel E.
    JOURNAL OF APPLIED PHYSICS, 2010, 108 (08)
  • [26] TRANSIENT TURING STRUCTURES IN A GRADIENT-FREE CLOSED SYSTEM
    LENGYEL, I
    KADAR, S
    EPSTEIN, IR
    SCIENCE, 1993, 259 (5094) : 493 - 495
  • [27] Concept for gradient-free MRI on twin natural slices
    Gordon E. Sarty
    Magnetic Resonance Materials in Physics, Biology and Medicine, 2023, 36 : 671 - 686
  • [28] Gradient-free optimization of chaotic acoustics with reservoir computing
    Huhn, Francisco
    Magri, Luca
    PHYSICAL REVIEW FLUIDS, 2022, 7 (01)
  • [29] 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
  • [30] Learning a Gradient-free Riemannian Optimizer on Tangent Spaces
    Fan, Xiaomeng
    Gao, Zhi
    Wu, Yuwei
    Jia, Yunde
    Harandi, Mehrtash
    THIRTY-FIFTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THIRTY-THIRD CONFERENCE ON INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE AND THE ELEVENTH SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2021, 35 : 7377 - 7384