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 条
  • [21] Topology optimization methods with gradient-free perimeter approximation
    Amstutz, Samuel
    Van Goethem, Nicolas
    INTERFACES AND FREE BOUNDARIES, 2012, 14 (03) : 401 - 430
  • [22] Gradient-free strategies to robust well control optimization
    Pinto, Jefferson Wellano Oliveira
    Tueros, Juan Alberto Rojas
    Horowitz, Bernardo
    da Silva, Silvana Maria Bastos Afonso
    Willmersdorf, Ramiro Brito
    de Oliveira, Diego Felipe Barbosa
    COMPUTATIONAL GEOSCIENCES, 2020, 24 (06) : 1959 - 1978
  • [23] 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
  • [24] An adaptive Bayesian approach to gradient-free global optimization
    Yu, Jianneng
    Morozov, Alexandre, V
    NEW JOURNAL OF PHYSICS, 2024, 26 (02):
  • [25] Gradient-free Online Learning in Games with Delayed Rewards
    Heliou, Amelie
    Mertikopoulos, Panayotis
    Zhou, Zhengyuan
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 119, 2020, 119
  • [26] Gradient-free algorithm for saddle point problems under
    Statkevich, Ekaterina
    Bondar, Sofiya
    Dvinskikh, Darina
    Gasnikov, Alexander
    Lobanov, Aleksandr
    CHAOS SOLITONS & FRACTALS, 2024, 185
  • [27] TRANSIENT TURING STRUCTURES IN A GRADIENT-FREE CLOSED SYSTEM
    LENGYEL, I
    KADAR, S
    EPSTEIN, IR
    SCIENCE, 1993, 259 (5094) : 493 - 495
  • [28] Metamaterials design using gradient-free numerical optimization
    Diest, Kenneth
    Sweatlock, Luke A.
    Marthaler, Daniel E.
    JOURNAL OF APPLIED PHYSICS, 2010, 108 (08)
  • [29] Gradient-free optimization of chaotic acoustics with reservoir computing
    Huhn, Francisco
    Magri, Luca
    PHYSICAL REVIEW FLUIDS, 2022, 7 (01)
  • [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