AIセキュリティポータル K Program
AdjointDEIS: Efficient Gradients for Diffusion Models
Share
Abstract
The optimization of the latents and parameters of diffusion models with respect to some differentiable metric defined on the output of the model is a challenging and complex problem. The sampling for diffusion models is done by solving either the probability flow ODE or diffusion SDE wherein a neural network approximates the score function allowing a numerical ODE/SDE solver to be used. However, naive backpropagation techniques are memory intensive, requiring the storage of all intermediate states, and face additional complexity in handling the injected noise from the diffusion term of the diffusion SDE. We propose a novel family of bespoke ODE solvers to the continuous adjoint equations for diffusion models, which we call AdjointDEIS. We exploit the unique construction of diffusion SDEs to further simplify the formulation of the continuous adjoint equations using exponential integrators. Moreover, we provide convergence order guarantees for our bespoke solvers. Significantly, we show that continuous adjoint equations for diffusion SDEs actually simplify to a simple ODE. Lastly, we demonstrate the effectiveness of AdjointDEIS for guided generation with an adversarial attack in the form of the face morphing problem. Our code will be released at https: //github.com/zblasingame/AdjointDEIS.
High-resolution image synthesis with latent diffusion models
Robin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser, Björn Ommer
Published: 2022
Elucidating the design space of diffusion-based generative models
Tero Karras, Miika Aittala, Timo Aila, Samuli Laine
Published: 2022
Dpm-solver++: Fast solver for guided sampling of diffusion probabilistic models
Cheng Lu, Yuhao Zhou, Fan Bao, Jianfei Chen, Chongxuan Li, Jun Zhu
Published: 2023
Fast sampling of diffusion models with exponential integrator
Qinsheng Zhang, Yongxin Chen
Published: 2023
Generative modeling by estimating gradients of the data distribution
Yang Song, Stefano Ermon
Published: 2019
Image2stylegan: How to embed images into the stylegan latent space?
R. Abdal, Y. Qin, P. Wonka
Published: 2019
Image2stylegan++: How to edit the embedded images?
Rameen Abdal, Yipeng Qin, Peter Wonka
Published: 2020
On Neural Differential Equations
Patrick Kidger
Published: 2022
Exponential integrators
Marlis Hochbruck, Alexander Ostermann
Published: 2010
Numerical approximation of SDEs & the stochastic Swift-Hohenberg equation
Iyabo Ann Adamu
Published: 2011
SDEdit: Guided image synthesis and editing with stochastic differential equations
Chenlin Meng, Yutong He, Yang Song, Jiaming Song, Jiajun Wu, Jun-Yan Zhu, Stefano Ermon
Published: 2022
A latent space of stochastic diffusion models for zero-shot image editing and guidance
Chen Henry Wu, Fernando De la Torre
Published: 2023
Freedom: Training-free energy-guided conditional diffusion model
Jiwen Yu, Yinhuai Wang, Chen Zhao, Bernard Ghanem, Jian Zhang
Published: 2023
Greedy-dim: Greedy algorithms for unreasonably effective face morphs
Zander W. Blasingame, Chen Liu
Published: 2024
Flow-grad: Controlling the output of generative odes with gradients
Xingchao Liu, Lemeng Wu, Shujian Zhang, Chengyue Gong, Wei Ping, Qiang Liu
Published: 2023
Diffusion models for adversarial purification
Weili Nie, Brandon Guo, Yujia Huang, Chaowei Xiao, Arash Vahdat, Anima Anandkumar
Published: 2022
End-to-end diffusion latent optimization improves classifier guidance
Bram Wallace, Akash Gokul, Stefano Ermon, Nikhil Naik
Published: 2023
Leveraging diffusion for strong and high quality face morphing attacks
Zander W. Blasingame, Chen Liu
Published: 2024
Detecting morphed face images
R. Raghavendra, K. B. Raja, C. Busch
Published: 2016
Are gan-based morphs threatening face recognition?
Eklavya Sarkar, Pavel Korshunov, Laurent Colbois, Sébastien Marcel
Published: 2022
Fast-dim: Towards fast diffusion morphs
Zander W. Blasingame, Chen Liu
Published: 2024
Morph-pipe: Plugging in identity prior to enhance face morphing attack based on diffusion model
Haoyu Zhang, Raghavendra Ramachandra, Kiran Raja, Busch Christoph
Published: 2023
Diffusion autoencoders: Toward a meaningful and decodable representation
Konpat Preechakul, Nattanat Chatthee, Suttisak Wizadwongsa, Supasorn Suwajanakorn
Published: 2022
A style-based generator architecture for generative adversarial networks
T. Karras, S. Laine, T. Aila
Published: 2019
Arcface: Additive angular margin loss for deep face recognition
Jiankang Deng, Jia Guo, Niannan Xue, Stefanos Zafeiriou
Published: 2019
Mipgan—generating strong and high quality morphing attacks using identity prior driven gan
Haoyu Zhang, Sushma Venkatesh, Raghavendra Ramachandra, Kiran Raja, Naser Damer, Christoph Busch
Published: 2021
Analyzing and improving the image quality of stylegan
T. Karras, S. Laine, M. Aittala, J. Hellsten, J. Lehtinen, T. Aila
Published: 2020
Syn-mad 2022: Competition on face morphing attack detection based on privacy-aware synthetic training data
Marco Huber, Fadi Boutros, Anh Thi Luu, Kiran Raja, Raghavendra Ramachandra, Naser Damer, Pedro C. Neto, Tiago Gonçalves, Ana F. Sequeira, Jaime S. Cardoso, João Tremoço, Miguel Lourenço, Sergio Serra, Eduardo Cermeño, Marija Ivanovska, Borut Batagelj, Andrej Kronovšek, Peter Peer, Vitomir Štruc
Published: 2022
Elasticface: Elastic margin loss for deep face recognition
Fadi Boutros, Naser Damer, Florian Kirchbuchner, Arjan Kuijper
Published: 2022
Adaface: Quality adaptive margin for face recognition
Minchul Kim, Anil K Jain, Xiaoming Liu
Published: 2022
Biometric systems under morphing attacks: Assessment of morphing techniques and vulnerability reporting
Ulrich Scherhag, Andreas Nautsch, Christian Rathgeb, Marta Gomez-Barrero, Raymond N. J. Veldhuis, Luuk Spreeuwers, Maikel Schils, Davide Maltoni, Patrick Grother, Sebastien Marcel, Ralph Breithaupt, Raghavendra Ramachandra, Christoph Busch
Published: 2017
Stiff neural ordinary differential equations
Suyong Kim, Weiqi Ji, Sili Deng, Yingbo Ma, Christopher Rackauckas
Published: 2021
Edict: Exact diffusion inversion via coupled transformations
Bram Wallace, Akash Gokul, Nikhil Naik
Published: 2023
Share