Bespoke Solvers for Generative Flow Models

Diffusion or flow-based models are powerful generative paradigms that are notoriously hard to sample as samples are defined as solutions to high-dimensional Ordinary or Stochastic Differential Equations (ODEs/SDEs) which require a large Number of Function Evaluations (NFE) to approximate well. Exist...

Full description

Saved in:
Bibliographic Details
Main Authors Shaul, Neta, Perez, Juan, Chen, Ricky T. Q, Thabet, Ali, Pumarola, Albert, Lipman, Yaron
Format Journal Article
LanguageEnglish
Published 29.10.2023
Subjects
Online AccessGet full text

Cover

Loading…
Abstract Diffusion or flow-based models are powerful generative paradigms that are notoriously hard to sample as samples are defined as solutions to high-dimensional Ordinary or Stochastic Differential Equations (ODEs/SDEs) which require a large Number of Function Evaluations (NFE) to approximate well. Existing methods to alleviate the costly sampling process include model distillation and designing dedicated ODE solvers. However, distillation is costly to train and sometimes can deteriorate quality, while dedicated solvers still require relatively large NFE to produce high quality samples. In this paper we introduce "Bespoke solvers", a novel framework for constructing custom ODE solvers tailored to the ODE of a given pre-trained flow model. Our approach optimizes an order consistent and parameter-efficient solver (e.g., with 80 learnable parameters), is trained for roughly 1% of the GPU time required for training the pre-trained model, and significantly improves approximation and generation quality compared to dedicated solvers. For example, a Bespoke solver for a CIFAR10 model produces samples with Fr\'echet Inception Distance (FID) of 2.73 with 10 NFE, and gets to 1% of the Ground Truth (GT) FID (2.59) for this model with only 20 NFE. On the more challenging ImageNet-64$\times$64, Bespoke samples at 2.2 FID with 10 NFE, and gets within 2% of GT FID (1.71) with 20 NFE.
AbstractList Diffusion or flow-based models are powerful generative paradigms that are notoriously hard to sample as samples are defined as solutions to high-dimensional Ordinary or Stochastic Differential Equations (ODEs/SDEs) which require a large Number of Function Evaluations (NFE) to approximate well. Existing methods to alleviate the costly sampling process include model distillation and designing dedicated ODE solvers. However, distillation is costly to train and sometimes can deteriorate quality, while dedicated solvers still require relatively large NFE to produce high quality samples. In this paper we introduce "Bespoke solvers", a novel framework for constructing custom ODE solvers tailored to the ODE of a given pre-trained flow model. Our approach optimizes an order consistent and parameter-efficient solver (e.g., with 80 learnable parameters), is trained for roughly 1% of the GPU time required for training the pre-trained model, and significantly improves approximation and generation quality compared to dedicated solvers. For example, a Bespoke solver for a CIFAR10 model produces samples with Fr\'echet Inception Distance (FID) of 2.73 with 10 NFE, and gets to 1% of the Ground Truth (GT) FID (2.59) for this model with only 20 NFE. On the more challenging ImageNet-64$\times$64, Bespoke samples at 2.2 FID with 10 NFE, and gets within 2% of GT FID (1.71) with 20 NFE.
Author Lipman, Yaron
Pumarola, Albert
Thabet, Ali
Shaul, Neta
Perez, Juan
Chen, Ricky T. Q
Author_xml – sequence: 1
  givenname: Neta
  surname: Shaul
  fullname: Shaul, Neta
– sequence: 2
  givenname: Juan
  surname: Perez
  fullname: Perez, Juan
– sequence: 3
  givenname: Ricky T. Q
  surname: Chen
  fullname: Chen, Ricky T. Q
– sequence: 4
  givenname: Ali
  surname: Thabet
  fullname: Thabet, Ali
– sequence: 5
  givenname: Albert
  surname: Pumarola
  fullname: Pumarola, Albert
– sequence: 6
  givenname: Yaron
  surname: Lipman
  fullname: Lipman, Yaron
BackLink https://doi.org/10.48550/arXiv.2310.19075$$DView paper in arXiv
BookMark eNotzr1uwjAUhmEPdKCUC2CqZ6RQ_x97pIg_KYiB7JFTn0hRQxw5VVruvi3t9Env8Ol5JJMudkjIgrOVslqzF5--mnEl5E_gjoGekuUrDn18R3qJ7YhpoHVMdI8dJv_RjEh3bfykpxiwHZ7IQ-3bAef_OyPFbltsDll-3h836zzzBnSmLRglQDBXObRSKOmtZAhCIjOMc82DrSsIzlVBKjShVgigQJkQuH3jckae_27v2LJPzdWnW_mLLu9o-Q1bOjwE
ContentType Journal Article
Copyright http://arxiv.org/licenses/nonexclusive-distrib/1.0
Copyright_xml – notice: http://arxiv.org/licenses/nonexclusive-distrib/1.0
DBID AKY
GOX
DOI 10.48550/arxiv.2310.19075
DatabaseName arXiv Computer Science
arXiv.org
DatabaseTitleList
Database_xml – sequence: 1
  dbid: GOX
  name: arXiv.org
  url: http://arxiv.org/find
  sourceTypes: Open Access Repository
DeliveryMethod fulltext_linktorsrc
ExternalDocumentID 2310_19075
GroupedDBID AKY
GOX
ID FETCH-LOGICAL-a675-5876427209b9e83243a830e723e0601151d8fb7d99bd34e6df4e774746dd18c13
IEDL.DBID GOX
IngestDate Mon Jan 08 05:41:47 EST 2024
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-a675-5876427209b9e83243a830e723e0601151d8fb7d99bd34e6df4e774746dd18c13
OpenAccessLink https://arxiv.org/abs/2310.19075
ParticipantIDs arxiv_primary_2310_19075
PublicationCentury 2000
PublicationDate 2023-10-29
PublicationDateYYYYMMDD 2023-10-29
PublicationDate_xml – month: 10
  year: 2023
  text: 2023-10-29
  day: 29
PublicationDecade 2020
PublicationYear 2023
Score 1.9032109
SecondaryResourceType preprint
Snippet Diffusion or flow-based models are powerful generative paradigms that are notoriously hard to sample as samples are defined as solutions to high-dimensional...
SourceID arxiv
SourceType Open Access Repository
SubjectTerms Computer Science - Artificial Intelligence
Computer Science - Computer Vision and Pattern Recognition
Computer Science - Learning
Title Bespoke Solvers for Generative Flow Models
URI https://arxiv.org/abs/2310.19075
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwdV1NSwMxEB3anryIolI_ycGTEG2-NpujimsR1IMV9rZsNgmIxUq3Vn--meyKXrwmITAJmfeSmbwBOFW81iw4S5kTDZWycTQ3eaBM-CBcxJhJeu-4f8imz_KuVOUAyM9fmHr59bLu9IFte4Hk4zxCllZDGHKOKVu3j2UXnExSXP3433GRY6amPyBRbMFmz-7IZbcd2zDwbztwdoV5qK-ePC0wDbklkSeSTu4ZfQ0p5otPgjXJ5u0uzIqb2fWU9iUKaB2ZNlXRl0iMZBprfDwbUtS5mHjNhUedk4imLg9WO2OsE9JnLkgf-ZaWmXMsb5jYg1G85fsxEOYCSoMJpY3C8hdxHlvLRlrOhFV8sg_jZFj13qlQVGhzlWw--L_rEDawPjo6W26OYLRafvjjiKIre5KW8hsYjW7X
link.rule.ids 228,230,783,888
linkProvider Cornell University
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Bespoke+Solvers+for+Generative+Flow+Models&rft.au=Shaul%2C+Neta&rft.au=Perez%2C+Juan&rft.au=Chen%2C+Ricky+T.+Q&rft.au=Thabet%2C+Ali&rft.date=2023-10-29&rft_id=info:doi/10.48550%2Farxiv.2310.19075&rft.externalDocID=2310_19075