kelseye commited on
Commit
235ce3d
·
verified ·
1 Parent(s): 03185c4

Upload folder using huggingface_hub (part 12)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. parse/dev/2nJdh_C-UWe/images/c89c4ffb7d8cc5140248e1fc8c06e64f011a5a4fb8897abe7e8a4618c1bf202a.jpg +3 -0
  2. parse/dev/2nJdh_C-UWe/images/da415b428f532b23a44269b0f357ce8300025472fb61cb4e170a78f923ca4e61.jpg +3 -0
  3. parse/dev/2uAaGwlP_V/2uAaGwlP_V.md +340 -0
  4. parse/dev/2uAaGwlP_V/2uAaGwlP_V_content_list.json +1443 -0
  5. parse/dev/2uAaGwlP_V/2uAaGwlP_V_layout.pdf +3 -0
  6. parse/dev/2uAaGwlP_V/2uAaGwlP_V_middle.json +0 -0
  7. parse/dev/2uAaGwlP_V/2uAaGwlP_V_model.json +0 -0
  8. parse/dev/2uAaGwlP_V/2uAaGwlP_V_origin.pdf +3 -0
  9. parse/dev/2uAaGwlP_V/2uAaGwlP_V_span.pdf +3 -0
  10. parse/dev/2uAaGwlP_V/images/098b1c09edd91e1e8b539459bb92a3c5f191abb42aa1157755522d3dce62bcae.jpg +3 -0
  11. parse/dev/2uAaGwlP_V/images/114b9edc4cc71bed7f9d053944dde80589018ddf790160907d7334f50b5c35fb.jpg +3 -0
  12. parse/dev/2uAaGwlP_V/images/18da74f3ada9dcef2cf0de53303bacedefeb327430ef720bfe85381fb0de2f45.jpg +3 -0
  13. parse/dev/2uAaGwlP_V/images/28428e28211e5384d76d1e8330c965590495d098f46b2f50a448a40982e1a8f0.jpg +3 -0
  14. parse/dev/2uAaGwlP_V/images/3ad93903d54c31c8256e52d597943286bbf9fba385901a6d278538f4eb730eed.jpg +3 -0
  15. parse/dev/2uAaGwlP_V/images/4d6dd94407a2a26c38622fe661183fe6ba98b37b4ec1a90af34b958f1acc3ac9.jpg +3 -0
  16. parse/dev/2uAaGwlP_V/images/4e1bcabdec913d95ec9ff692dca4450fca481c16e793a3c86ffe1cf469e22305.jpg +3 -0
  17. parse/dev/2uAaGwlP_V/images/65fdde0d1d949853db59a598710255c20a35d6c68ca6401f8b46cd9f514525f2.jpg +3 -0
  18. parse/dev/2uAaGwlP_V/images/6f1153f8f759866e204632c40d87e1d736b7589259f6710fccd3282a51e399e5.jpg +3 -0
  19. parse/dev/2uAaGwlP_V/images/772c489895a83788baac27c0b2cc0da51d29a5ff2c72c378ea8301efa3cfe52d.jpg +3 -0
  20. parse/dev/2uAaGwlP_V/images/8433318473b1628737ca5404d0a929d6a4570d9919cf8824f87c274bc4a0bbfd.jpg +3 -0
  21. parse/dev/2uAaGwlP_V/images/8deaa6e7603de31da2fd31418b2d224dd8ec375a261d169ca354b6f5b2802791.jpg +3 -0
  22. parse/dev/2uAaGwlP_V/images/976243e2861066edc99111ffc150a8141dda0494f026576eb3e22e90ae405d03.jpg +3 -0
  23. parse/dev/2uAaGwlP_V/images/9abcfd7effacf68fb53c21394f34e41f5f607171cf80a13282a4bf3971c34831.jpg +3 -0
  24. parse/dev/2uAaGwlP_V/images/aa02a3d9e9670da70428ff51d8dccbfd33121e4f699e839306505e69a37a124c.jpg +3 -0
  25. parse/dev/2uAaGwlP_V/images/ad4609832a6419c85fb2132d9d91d2c95beec92e10bd4907c45b4ed7d6c517e6.jpg +3 -0
  26. parse/dev/2uAaGwlP_V/images/b98f04c1bbffa9531e257210ae6112c502489822e557b5a3afdb274392b83d54.jpg +3 -0
  27. parse/dev/2uAaGwlP_V/images/d804fb43f91c9fdbe50275bbfdd61568c9d23d13e7c4cea3f8e0751dee5a2bb6.jpg +3 -0
  28. parse/dev/2uAaGwlP_V/images/db0329942038b0f1cd9de0b5b9716a202705a11feeab57d38ae6c43085d15745.jpg +3 -0
  29. parse/dev/2uAaGwlP_V/images/dbc1e1d3bec4cc742d44654340bd9da788aefebc8fc4b4e2a9e38d739f018ceb.jpg +3 -0
  30. parse/dev/2uAaGwlP_V/images/e1a7a77f08fcf2344ebba70e31c391e6092d3781368a0af49fae27dbeb5b255e.jpg +3 -0
  31. parse/dev/2uAaGwlP_V/images/e5d12cd513ddf8ae3fa219a1feddb4594e4cf22e33260b27389e15d81ab87dc7.jpg +3 -0
  32. parse/dev/2uAaGwlP_V/images/e941fd95cbf3e1c496583b82dd623ff65158438a8e8529e43b6a17ad2855df95.jpg +3 -0
  33. parse/dev/3FvF1db-bKT/3FvF1db-bKT.md +385 -0
  34. parse/dev/3FvF1db-bKT/3FvF1db-bKT_content_list.json +0 -0
  35. parse/dev/3FvF1db-bKT/3FvF1db-bKT_layout.pdf +3 -0
  36. parse/dev/3FvF1db-bKT/3FvF1db-bKT_middle.json +0 -0
  37. parse/dev/3FvF1db-bKT/3FvF1db-bKT_model.json +0 -0
  38. parse/dev/3FvF1db-bKT/3FvF1db-bKT_origin.pdf +3 -0
  39. parse/dev/3FvF1db-bKT/3FvF1db-bKT_span.pdf +3 -0
  40. parse/dev/3FvF1db-bKT/images/01504f03f7ada796d4cba0d38187f79fff717bd6ed61294a2986883682426937.jpg +3 -0
  41. parse/dev/3FvF1db-bKT/images/02db34de261ebadeed56e54daa7a15cd3eaa86f7795ea776ca63ea498b28e4a9.jpg +3 -0
  42. parse/dev/3FvF1db-bKT/images/044f1a58776aef8f5591f62fd4befd55bb068565b2de2e9bd55b68ba18b06999.jpg +3 -0
  43. parse/dev/3FvF1db-bKT/images/04a19d0377699e430b4f1574cb88bab3737e06b72fd8ffdc284a657b70d4f26f.jpg +3 -0
  44. parse/dev/3FvF1db-bKT/images/05fa145f5cff98d6991c19b9092629fc2b252f77d6342710b829821bf26747c2.jpg +3 -0
  45. parse/dev/3FvF1db-bKT/images/0a1fac39e36905a3a4546a8f12f4e8cd9c64dd90538a0a88ad47d0994d897420.jpg +3 -0
  46. parse/dev/3FvF1db-bKT/images/0b5072d13dff98ceb3f376b6d3e0034b60f5da232a7265602f7ff6924a32a9a8.jpg +3 -0
  47. parse/dev/3FvF1db-bKT/images/1e622fbcf762f746fb35f524d6f052f3f1fd7930c093ae304997e6254e7022a0.jpg +3 -0
  48. parse/dev/3FvF1db-bKT/images/3969838a7b935379ff9a61fd7d4acd02bfdf7dbee1d678d807fb38029ca9429a.jpg +3 -0
  49. parse/dev/3FvF1db-bKT/images/410d67587b543d15cc65cba5cdc78b6ecc62b88dfffe4c1dfb7018aab80db729.jpg +3 -0
  50. parse/dev/3FvF1db-bKT/images/4b4f7de55c1633f1e64d504d7c14ecb1f9d93ef379b8dba8051c2b7e0be66189.jpg +3 -0
parse/dev/2nJdh_C-UWe/images/c89c4ffb7d8cc5140248e1fc8c06e64f011a5a4fb8897abe7e8a4618c1bf202a.jpg ADDED

Git LFS Details

  • SHA256: 1454f050c91e0e3e317ea30ed3213b1fedc3d3ff8b1b5cccc3481c1fa1151d93
  • Pointer size: 130 Bytes
  • Size of remote file: 89.4 kB
parse/dev/2nJdh_C-UWe/images/da415b428f532b23a44269b0f357ce8300025472fb61cb4e170a78f923ca4e61.jpg ADDED

Git LFS Details

  • SHA256: 64a97ea9fc4b17cb027a15f530cc38dc9015d508b623871192323dcf13563efa
  • Pointer size: 129 Bytes
  • Size of remote file: 8.81 kB
parse/dev/2uAaGwlP_V/2uAaGwlP_V.md ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps
2
+
3
+ Cheng $\mathbf { L } \mathbf { u } ^ { \dagger }$ , Yuhao Zhou†, Fan Bao†, Jianfei $\mathbf { C h e n } ^ { \dagger * }$ , Chongxuan $\mathbf { L i } ^ { \dagger }$ , Jun Zhu†∗ †Dept. of Comp. Sci. & Tech., Institute for AI, BNRist Center, THBI Lab †Tsinghua-Bosch Joint ML Center, Tsinghua University, Beijing, 100084 China ‡Gaoling School of Artificial Intelligence, Renmin University of China, ‡Beijing Key Laboratory of Big Data Management and Analysis Methods, Beijing, China {lucheng.lc15, yuhaoz.cs}@gmail.com; bf19@mails.tsinghua.edu.cn chongxuanli@ruc.edu.cn; {jianfeic, dcszj}@tsinghua.edu.cn
4
+
5
+ # Abstract
6
+
7
+ Diffusion probabilistic models (DPMs) are emerging powerful generative models. Despite their high-quality generation performance, DPMs still suffer from their slow sampling as they generally need hundreds or thousands of sequential function evaluations (steps) of large neural networks to draw a sample. Sampling from DPMs can be viewed alternatively as solving the corresponding diffusion ordinary differential equations (ODEs). In this work, we propose an exact formulation of the solution of diffusion ODEs. The formulation analytically computes the linear part of the solution, rather than leaving all terms to black-box ODE solvers as adopted in previous works. By applying change-of-variable, the solution can be equivalently simplified to an exponentially weighted integral of the neural network. Based on our formulation, we propose DPM-Solver, a fast dedicated high-order solver for diffusion ODEs with the convergence order guarantee. DPM-Solver is suitable for both discrete-time and continuous-time DPMs without any further training. Experimental results show that DPM-Solver can generate high-quality samples in only 10 to 20 function evaluations on various datasets. We achieve $4 . 7 0 \ : \mathrm { F I D }$ in 10 function evaluations and 2.87 FID in 20 function evaluations on the CIFAR10 dataset, and a $4 \sim 1 6 \times$ speedup compared with previous state-of-the-art training-free samplers on various datasets.2
8
+
9
+ # 1 Introduction
10
+
11
+ Diffusion probabilistic models (DPMs) [1–3] are emerging powerful generative models with promising performance on many tasks, such as image generation [4, 5], video generation [6], text-to-image generation [7], speech synthesis [8, 9] and lossless compression [10]. DPMs are defined by discretetime random processes [1, 2] or continuous-time stochastic differential equations (SDEs) [3], which learn to gradually remove the noise added to the data points. Compared with the widely-used generative adversarial networks (GANs) [11] and variational auto-encoders (VAEs) [12], DPMs can not only compute exact likelihood [3], but also achieve even better sample quality for image generation [4]. However, to obtain high-quality samples, DPMs usually need hundreds or thousands of sequential steps of large neural network evaluations, thereby resulting in a much slower sampling speed than the single-step GANs or VAEs. Such inefficiency is becoming a critical bottleneck for the adoption of DPMs in downstream tasks, leading to an urgent request to design fast samplers for DPMs.
12
+
13
+ ![](images/4d6dd94407a2a26c38622fe661183fe6ba98b37b4ec1a90af34b958f1acc3ac9.jpg)
14
+ Figure 1: Samples by DDIM [19] with 10, 15, 20, 100 number of function evaluations (NFE), and DPM-Solver (ours) with only 10 NFE, using the pre-trained DPMs on ImageNet $2 5 6 \times 2 5 6$ with classifier guidance [4].
15
+
16
+ Existing fast samplers for DPMs can be divided into two categories. The first category includes knowledge distillation [13, 14] and noise level or sample trajectory learning [15–18]. Such methods require a possibly expensive training stage before they can be used for efficient sampling. Furthermore, their applicability and flexibility might be limited. It might require nontrivial effort to adapt the method to different models, datasets, and number of sampling steps. The second category consists of training-free [19–21] samplers, which are suitable for all pre-trained DPMs in a simple plug-andplay manner. Training-free samplers include adopting implicit [19] or analytical [21] generation process, advanced differential equation (DE) solvers [3, 20, 22–24] and dynamic programming [18]. However, these methods still require $\sim 5 0$ function evaluations [21] to generate high-quality samples (comparable to those generated by plain samplers in about 1000 function evaluations), thereby are still time-consuming.
17
+
18
+ In this work, we bring the efficiency of training-free samplers to a new level to produce high-quality samples in the “few-step sampling” regime, where the sampling can be done within around 10 steps of sequential function evaluations. We tackle the alternative problem of sampling from DPMs as solving the corresponding diffusion ordinary differential equations (ODEs) of DPMs, and carefully examine the structure of diffusion ODEs. Diffusion ODEs have a semi-linear structure — they consist of a linear function of the data variable and a nonlinear function parameterized by neural networks. Such structure is omitted in previous training-free samplers [3, 20], which directly use black-box DE solvers. To utilize the semi-linear structure, we derive an exact formulation of the solutions of diffusion ODEs by analytically computing the linear part of the solutions, avoiding the corresponding discretization error. Furthermore, by applying change-of-variable, the solutions can be equivalently simplified to an exponentially weighted integral of the neural network. Such integral is very special and can be efficiently approximated by the numerical methods for exponential integrators [25].
19
+
20
+ Based on our formulation of solutions, we propose DPM-Solver, a fast dedicated solver for diffusion ODEs by approximating the above integral. Specifically, we propose first-order, second-order and third-order versions of DPM-Solver with convergence order guarantees. We further propose an adaptive step size schedule for DPM-Solver. In general, DPM-Solver is applicable to both continuoustime and discrete-time DPMs, and also conditional sampling with classifier guidance [4]. Fig. 1 demonstrates the speedup performance of a Denoising Diffusion Implicit Models (DDIM) [19] baseline and DPM-Solver, which shows that DPM-Solver can generate high-quality samples with as few as 10 function evaluations and is much faster than DDIM on the ImageNet 256x256 dataset [26]. Our additional experimental results show that DPM-Solver can greatly improve the sampling speed of both discrete-time and continuous-time DPMs, and it can achieve excellent sample quality in around 10 function evaluations, which is much faster than all previous training-free samplers of DPMs.
21
+
22
+ # 2 Diffusion Probabilistic Models
23
+
24
+ We review diffusion probabilistic models and their associated differential equations in this section.
25
+
26
+ # 2.1 Forward Process and Diffusion SDEs
27
+
28
+ Assume that we have a $D$ -dimensional random variable $\pmb { x } _ { 0 } \in \mathbb { R } ^ { D }$ with an unknown distribution $q _ { 0 } ( { \pmb x } _ { 0 } )$ . Diffusion Probabilistic Models (DPMs) [1–3, 10] define a forward process $\{ \pmb { x } _ { t } \} _ { t \in [ 0 , T ] }$ with $T > 0$ starting with $\scriptstyle { \mathbf { { \mathit { x } } } } _ { 0 }$ , such that for any $t \in [ 0 , T ]$ , the distribution of $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ conditioned on $\scriptstyle { \mathbf { { \mathit { x } } } } _ { 0 }$ satisfies
29
+
30
+ $$
31
+ \begin{array} { r } { q _ { 0 t } ( \pmb { x } _ { t } | \pmb { x } _ { 0 } ) = \mathcal { N } ( \pmb { x } _ { t } | \alpha ( t ) \pmb { x } _ { 0 } , \sigma ^ { 2 } ( t ) \pmb { I } ) , } \end{array}
32
+ $$
33
+
34
+ where $\alpha ( t ) , \sigma ( t ) \in \mathbb { R } ^ { + }$ are differentiable functions of $t$ with bounded derivatives, and we denote them as $\alpha _ { t } , \sigma _ { t }$ for simplicity. The choice for $\alpha _ { t }$ and $\sigma _ { t }$ is referred to as the noise schedule of a DPM. Let $q _ { t } ( \pmb { x } _ { t } )$ denote the marginal distribution of $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ , DPMs choose noise schedules to ensure that $q _ { T } ( \pmb { x } _ { T } ) \overset { \cdot } { \approx } \dot { \mathcal { N } } ( \pmb { x } _ { T } | \mathbf { 0 } , \tilde { \sigma } ^ { 2 } \pmb { I } )$ for some $\tilde { \sigma } > 0$ , and the signal-to-noise-ratio (SNR) $\alpha _ { t } ^ { 2 } / \sigma _ { t } ^ { 2 }$ is strictly decreasing w.r.t. $t$ [10]. Moreover, Kingma et al. [10] prove that the following stochastic differential equation (SDE) has the same transition distribution $q _ { 0 t } ( \pmb { x } _ { t } | \pmb { x } _ { 0 } )$ as in Eq. (2.1) for any $t \in [ 0 , T ]$ :
35
+
36
+ $$
37
+ \mathrm { d } \pmb { x } _ { t } = f ( t ) \pmb { x } _ { t } \mathrm { d } t + g ( t ) \mathrm { d } \pmb { w } _ { t } , \quad \pmb { x } _ { 0 } \sim q _ { 0 } ( \pmb { x } _ { 0 } ) ,
38
+ $$
39
+
40
+ where ${ \pmb w } _ { t } \in \mathbb { R } ^ { D }$ is the standard Wiener process, and
41
+
42
+ $$
43
+ f ( t ) = \frac { \mathrm { d } \log \alpha _ { t } } { \mathrm { d } t } , \quad g ^ { 2 } ( t ) = \frac { \mathrm { d } \sigma _ { t } ^ { 2 } } { \mathrm { d } t } - 2 \frac { \mathrm { d } \log \alpha _ { t } } { \mathrm { d } t } \sigma _ { t } ^ { 2 } .
44
+ $$
45
+
46
+ Under some regularity conditions, Song et al. [3] show that the forward process in Eq. (2.2) has an equivalent reverse process from time $T$ to $0$ , starting with the marginal distribution $q _ { T } ( { \pmb x } _ { T } )$ :
47
+
48
+ $$
49
+ \mathrm { d } \pmb { x } _ { t } = [ f ( t ) \pmb { x } _ { t } - g ^ { 2 } ( t ) \nabla _ { \pmb { x } } \log q _ { t } ( \pmb { x } _ { t } ) ] \mathrm { d } t + g ( t ) \mathrm { d } \bar { \pmb { w } } _ { t } , \quad \pmb { x } _ { T } \sim q _ { T } ( \pmb { x } _ { T } ) ,
50
+ $$
51
+
52
+ where $\bar { \mathbf { \nabla } } \bar { \mathbf { \nabla } } \bar { \mathbf { \nabla } } \bar { \mathbf { \nabla } } \bar { \mathbf { \nabla } } \bar { \mathbf { \nabla } } \bar { \mathbf { w } } _ { t }$ is a standard Wiener process in the reverse time. The only unknown term in Eq. (2.4) is the score function $\nabla _ { \pmb { x } } \log q _ { t } ( \pmb { x } _ { t } )$ at each time $t$ . In practice, DPMs use a neural network $\epsilon _ { \theta } ( x _ { t } , t )$ parameterized by $\theta$ to estimate the scaled score function: $- \sigma _ { t } \nabla _ { \pmb { x } } \log q _ { t } ( \pmb { x } _ { t } )$ . The parameter $\theta$ is optimized by minimizing the following objective [2, 3]:
53
+
54
+ $$
55
+ \begin{array} { l } { \displaystyle \mathcal { L } ( \theta ; \omega ( t ) ) : = \frac { 1 } { 2 } \int _ { 0 } ^ { T } \omega ( t ) \mathbb { E } _ { q _ { t } ( \mathbf { \Delta x } _ { t } ) } \Big [ \| \epsilon _ { \theta } ( \mathbf { x } _ { t } , t ) + \sigma _ { t } \nabla _ { \mathbf { x } } \log q _ { t } ( \mathbf { \Delta x } _ { t } ) \| _ { 2 } ^ { 2 } \Big ] \mathrm { d } t } \\ { \displaystyle \qquad = \frac { 1 } { 2 } \int _ { 0 } ^ { T } \omega ( t ) \mathbb { E } _ { q _ { 0 } ( \mathbf { x } _ { 0 } ) } \mathbb { E } _ { q ( \epsilon ) } \Big [ \| \epsilon _ { \theta } ( \mathbf { x } _ { t } , t ) - \epsilon \| _ { 2 } ^ { 2 } \Big ] \mathrm { d } t + C , } \end{array}
56
+ $$
57
+
58
+ where $\omega ( t )$ is a weighting function, $\epsilon \sim q ( \epsilon ) = \mathcal { N } ( \epsilon | \mathbf { 0 } , I )$ , ${ \pmb x } _ { t } = \alpha _ { t } { \pmb x } _ { 0 } + \sigma _ { t } { \pmb \epsilon }$ , and $C$ is a constant independent of $\theta$ . As $\epsilon _ { \theta } ( x _ { t } , t )$ can also be regarded as predicting the Gaussian noise added to $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ , it is usually called the noise prediction model. Since the ground truth of $\epsilon _ { \theta } ( x _ { t } , t )$ is $- \sigma _ { t } \nabla _ { \pmb { x } } \log q _ { t } ( \pmb { x } _ { t } )$ , DPMs replace the score function in Eq. (2.4) by $- \mathbf { \epsilon } \mathbf { \epsilon } \bar { \mathbf { \alpha } } ( \mathbf { x } _ { t } , t ) / \sigma _ { t }$ and define a parameterized reverse process (diffusion $S D E$ ) from time $T$ to $0$ , starting with $\pmb { x } _ { T } \overset { \cdot } { \sim } \mathcal { N } ( \mathbf { 0 } , \tilde { \sigma } ^ { 2 } \pmb { I } )$ :
59
+
60
+ $$
61
+ \mathrm { d } x _ { t } = \left[ f ( t ) x _ { t } + \frac { g ^ { 2 } ( t ) } { \sigma _ { t } } \epsilon _ { \theta } ( x _ { t } , t ) \right] \mathrm { d } t + g ( t ) \mathrm { d } \bar { w } _ { t } , \quad x _ { T } \sim \mathcal { N } ( \mathbf { 0 } , \tilde { \sigma } ^ { 2 } I ) .
62
+ $$
63
+
64
+ Samples can be generated from DPMs by solving the diffusion SDE in Eq. (2.5) with numerical solvers, which discretize the SDE from $T$ to 0. Song et al. [3] proved that the traditional ancestral sampling method for DPMs [2] can be viewed as a first-order SDE solver for Eq. (2.5). However, these first-order methods usually need hundreds of or thousands of function evaluations to converge [3], leading to extremely slow sampling speed.
65
+
66
+ # 2.2 Diffusion (Probability Flow) ODEs
67
+
68
+ When discretizing SDEs, the step size is limited by the randomness of the Wiener process [27, Chap. 11]. A large step size (small number of steps) often causes non-convergence, especially in high dimensional spaces. For faster sampling, one can consider the associated probability flow ODE [3], which has the same marginal distribution at each time $t$ as that of the SDE. Specifically, for DPMs, Song et al. [3] proved that the probability flow ODE of Eq. (2.4) is
69
+
70
+ $$
71
+ \frac { \mathrm { d } \pmb { x } _ { t } } { \mathrm { d } t } = f ( t ) \pmb { x } _ { t } - \frac { 1 } { 2 } g ^ { 2 } ( t ) \nabla _ { \pmb { x } } \log q _ { t } ( \pmb { x } _ { t } ) , \quad \pmb { x } _ { T } \sim q _ { T } ( \pmb { x } _ { T } ) ,
72
+ $$
73
+
74
+ where the marginal distribution of $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ is also $q _ { t } ( \pmb { x } _ { t } )$ . By replacing the score function with the noise prediction model, Song et al. [3] defined the following parameterized ODE (diffusion $O D E$ ):
75
+
76
+ $$
77
+ \frac { \mathrm { d } \pmb { x } _ { t } } { \mathrm { d } t } = \pmb { h } _ { \theta } ( \pmb { x } _ { t } , t ) : = f ( t ) \pmb { x } _ { t } + \frac { g ^ { 2 } ( t ) } { 2 \sigma _ { t } } \epsilon _ { \theta } ( \pmb { x } _ { t } , t ) , \quad \pmb { x } _ { T } \sim \mathcal { N } ( \mathbf { 0 } , \tilde { \sigma } ^ { 2 } \mathbf { I } ) .
78
+ $$
79
+
80
+ Samples can be drawn by solving the ODE from $T$ to 0. Comparing with SDEs, ODEs can be solved with larger step sizes as they have no randomness. Furthermore, we can take advantage of efficient numerical ODE solvers to accelerate the sampling. Song et al. [3] used the RK45 ODE solver [28] for the diffusion ODEs, which generates samples in $\sim 6 0$ function evaluations to reach comparable quality with a 1000-step SDE solver for Eq. (2.5) on the CIFAR-10 dataset [29]. However, existing general-purpose ODE solvers still cannot generate satisfactory samples in the few-step $\sim 1 0$ steps) sampling regime. To the best of our knowledge, there is still a lack of training-free samplers for DPMs in the few-step sampling regime, and the sampling speed of DPMs is still a critical issue.
81
+
82
+ # 3 Customized Fast Solvers for Diffusion ODEs
83
+
84
+ As highlighted in Sec. 2.2, discretizing SDEs is generally difficult in high dimensions [27, Chap. 11] and it is hard to converge within few steps. In contrast, ODEs are easier to solve, yielding a potential for fast samplers. However, as mentioned in Sec. 2.2, the general black-box ODE solver used in previous work [3] empirically fails to converge in few steps. This motivates us to design a dedicated solver for diffusion ODEs to enable fast and high-quality few-step sampling. We start with a detailed investigation of the specific structure of diffusion ODEs.
85
+
86
+ # 3.1 Simplified Formulation of Exact Solutions of Diffusion ODEs
87
+
88
+ The key insight of this work is that given an initial value $\mathbf { \delta } _ { \mathbf { \mathcal { X } } _ { s } }$ at time $s > 0$ , the solution $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ at each time $t < s$ of diffusion ODEs in Eq. (2.7) can be simplified into a very special exact formulation which can be efficiently approximated.
89
+
90
+ Our first key observation is that a part of the solution $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ can be exactly computed by considering the particular structure of diffusion ODEs. The r.h.s. of diffusion ODEs in Eq. (2.7) consists of two parts: the part $f ( t ) x _ { t }$ is a linear function of $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ , and the other part $\frac { g ^ { 2 } ( t ) } { 2 \sigma _ { t } } \epsilon _ { \theta } ( \pmb { x } _ { t } , t )$ is generally a nonlinear function of $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ because of the neural network $\epsilon _ { \theta } ( x _ { t } , t )$ . This type of ODE is referred to as semi-linear ODE. The black-box ODE solvers adopted by previous work [3] are ignorant of this semi-linear structure as they take the whole $h _ { \theta } ( x _ { t } , \bar t ) $ in Eq. (2.7) as the input, which causes discretization errors of both the linear and nonlinear term. We note that for semi-linear ODEs, the solution at time $t$ can be exactly formulated by the “variation of constants” formula [30]:
91
+
92
+ $$
93
+ \pmb { x } _ { t } = e ^ { \int _ { s } ^ { t } f ( \tau ) \mathrm { d } \tau } \pmb { x } _ { s } + \int _ { s } ^ { t } \left( e ^ { \int _ { \tau } ^ { t } f ( r ) \mathrm { d } r } \frac { g ^ { 2 } \big ( \tau \big ) } { 2 \sigma _ { \tau } } \epsilon _ { \theta } ( \pmb { x } _ { \tau } , \tau ) \right) \mathrm { d } \tau .
94
+ $$
95
+
96
+ This formulation decouples the linear part and the nonlinear part. In contrast to black-box ODE solvers, the linear part is now exactly computed, which eliminates the approximation error of the linear term. However, the integral of the nonlinear part is still complicated because it couples the coefficients about the noise schedule (i.e., $f ( \tau ) , g ( \tau ) \bar { , } \sigma _ { \tau } )$ and the complex neural network $\epsilon _ { \theta }$ , which is still hard to approximate.
97
+
98
+ Our second key observation is that the integral of the nonlinear part can be greatly simplified by introducing a special variable. Let $\lambda _ { t } : = \log \bar { ( \alpha _ { t } / \sigma _ { t } ) }$ (one half of the log-SNR), then $\lambda _ { t }$ is a strictly decreasing function of $t$ (due to the definition of DPMs as discussed in Sec. 2.1). We can rewrite $g ( t )$ in Eq. (2.3) as
99
+
100
+ $$
101
+ g ^ { 2 } ( t ) = \frac { \mathrm { d } \sigma _ { t } ^ { 2 } } { \mathrm { d } t } - 2 \frac { \mathrm { d } \log { \alpha _ { t } } } { \mathrm { d } t } \sigma _ { t } ^ { 2 } = 2 \sigma _ { t } ^ { 2 } \left( \frac { \mathrm { d } \log { \sigma _ { t } } } { \mathrm { d } t } - \frac { \mathrm { d } \log { \alpha _ { t } } } { \mathrm { d } t } \right) = - 2 \sigma _ { t } ^ { 2 } \frac { \mathrm { d } \lambda _ { t } } { \mathrm { d } t } .
102
+ $$
103
+
104
+ Combining with $f ( t ) = \mathrm { d } \log \alpha _ { t } / \mathrm { d } t$ in Eq. (2.3), we can rewrite Eq. (3.1) as
105
+
106
+ $$
107
+ \pmb { x } _ { t } = \frac { \alpha _ { t } } { \alpha _ { s } } \pmb { x } _ { s } - \alpha _ { t } \int _ { s } ^ { t } \left( \frac { \mathrm { d } \lambda _ { \tau } } { \mathrm { d } \tau } \right) \frac { \sigma _ { \tau } } { \alpha _ { \tau } } \pmb { \epsilon } _ { \theta } ( \pmb { x } _ { \tau } , \tau ) \mathrm { d } \tau .
108
+ $$
109
+
110
+ As $\lambda ( t ) = \lambda _ { t }$ is a strictly decreasing function of $t$ , it has an inverse function $t _ { \lambda } ( \cdot )$ satisfying $t = t _ { \lambda } ( \lambda ( t ) )$ . We further change the subscripts of $_ { \textbf { \em x } }$ and $\epsilon _ { \theta }$ from $t$ to $\lambda$ and denote $\hat { \pmb x } _ { \lambda } : = \pmb x _ { t _ { \lambda } ( \lambda ) }$ $\hat { \epsilon } _ { \boldsymbol { \theta } } ( \hat { x } _ { \lambda } , \lambda ) : = \epsilon _ { \boldsymbol { \theta } } ( x _ { t _ { \lambda } ( \lambda ) } , t _ { \lambda } ( \lambda ) )$ . Rewrite Eq. (3.3) by “change-of-variable” for $\lambda$ , then we have:
111
+
112
+ Proposition 3.1 (Exact solution of diffusion ODEs). Given an initial value $\mathbf { \delta } _ { \mathbf { \mathcal { X } } _ { s } }$ at time $s > 0$ , the solution $\mathbf { \Delta } _ { \mathbf { \mathcal { X } } _ { t } }$ at time $t \in [ 0 , s ]$ of diffusion ODEs in Eq. (2.7) is:
113
+
114
+ $$
115
+ \pmb { x } _ { t } = \frac { \alpha _ { t } } { \alpha _ { s } } \pmb { x } _ { s } - \alpha _ { t } \int _ { \lambda _ { s } } ^ { \lambda _ { t } } e ^ { - \lambda } \hat { \pmb { \epsilon } } _ { \theta } ( \hat { \pmb { x } } _ { \lambda } , \lambda ) \mathrm { d } \lambda .
116
+ $$
117
+
118
+ We call the integral $\begin{array} { r } { \int e ^ { - \lambda } \hat { \epsilon } _ { \theta } ( \hat { \pmb x } _ { \lambda } , \lambda ) \mathrm { d } \lambda } \end{array}$ the exponentially weighted integral of $\scriptstyle { \hat { \epsilon } } _ { \theta }$ , which is very special and highly related to the exponential integrators in the literature of ODE solvers [25]. To the best of our knowledge, such formulation has not been revealed in prior work of diffusion models.
119
+
120
+ Eq. (3.4) provides a new perspective for approximating the solutions of diffusion ODEs. Specifically, given $\mathbf { \delta } _ { \mathbf { \mathcal { X } } _ { s } }$ at time $s$ , According to Eq. (3.4), approximating the solution at time $t$ is equivalent to directly approximating the exponentially weighted integral of $\hat { \epsilon } _ { \theta }$ from $\lambda _ { s }$ to $\lambda _ { t }$ , which avoids the error of the linear terms and is well-studied in the literature of exponential integrators [25, 31]. Based on this insight, we propose fast solvers for diffusion ODEs, as detailed in the following sections.
121
+
122
+ # 3.2 High-Order Solvers for Diffusion ODEs
123
+
124
+ In this section, we propose high-order solvers for diffusion ODEs with convergence order guarantee by leveraging our proposed solution formulation Eq. (3.4). The proposed solvers and analysis are highly motivated by the methods of exponential integrators [25, 31] in the ODE literature.
125
+
126
+ Specifically, given an initial value $\mathbf { \nabla } _ { \mathbf { x } _ { T } }$ at time $T$ and $M + 1$ time steps $\{ t _ { i } \} _ { i = 0 } ^ { M }$ decreasing from $t _ { 0 } = T$ to $t _ { M } = 0$ . Let $\tilde { \mathbf { x } } _ { t _ { 0 } } = \mathbf { x } _ { T }$ be the initial value. The proposed solvers use $M$ steps to iteratively compute a sequence $\{ \tilde { { \pmb { x } } } _ { t _ { i } } \} _ { i = 0 } ^ { M }$ to approximate the true solutions at time steps $\{ t _ { i } \} _ { i = 0 } ^ { M }$ . In particular, the last iterate $\tilde { \boldsymbol { x } } _ { t _ { M } }$ approximates the true solution at time 0.
127
+
128
+ In order to reduce the approximation error between $\tilde { \pmb { x } } _ { t _ { M } }$ and the true solution at time 0, we need to reduce the approximation error for each $\tilde { \mathbf { x } } _ { t _ { i } }$ at every step [30]. Starting with the previous value $\tilde { \pmb { x } } _ { t _ { i - 1 } }$ at time $t _ { i - 1 }$ , according to Eq. (3.4), the exact solution $\pmb { x } _ { t _ { i - 1 } t _ { i } }$ at time $t _ { i }$ is given by
129
+
130
+ $$
131
+ \pmb { x } _ { t _ { i - 1 } t _ { i } } = \frac { \alpha _ { t _ { i } } } { \alpha _ { t _ { i - 1 } } } \tilde { \pmb { x } } _ { t _ { i - 1 } } - \alpha _ { t _ { i } } \int _ { \lambda _ { t _ { i - 1 } } } ^ { \lambda _ { t _ { i } } } e ^ { - \lambda } \hat { \pmb { \epsilon } } _ { \theta } ( \hat { \pmb { x } } _ { \lambda } , \lambda ) \mathrm { d } \lambda .
132
+ $$
133
+
134
+ Therefore, to compute the value $\tilde { \boldsymbol { x } } _ { t _ { i } }$ for approximating $\pmb { x } _ { t _ { i - 1 } t _ { i } }$ , we need to approximate the exponentially weighted integral of $\hat { \epsilon } _ { \theta }$ from $\lambda _ { t _ { i - 1 } }$ to $\lambda _ { t _ { i } }$ . Denote $h _ { i } : = \lambda _ { t _ { i } } - \lambda _ { t _ { i - 1 } }$ , and $\hat { \epsilon } _ { \theta } ^ { ( n ) } ( \hat { { \mathbf x } } _ { \lambda } , \lambda ) \mathrel { \mathop : } =$ dnϵˆθ(xˆλ,λ)dλn as the n-th order total derivative of ϵˆθ(xˆλ, λ) w.r.t. λ. For k ≥ 1, the (k − 1)-th order Taylor expansion of $\hat { \epsilon } _ { \theta } ( \hat { \pmb x } _ { \lambda } , \lambda )$ w.r.t. $\lambda$ at $\lambda _ { t _ { i - 1 } }$ is
135
+
136
+ $$
137
+ \hat { \epsilon } _ { \theta } ( \hat { x } _ { \lambda } , \lambda ) = \sum _ { n = 0 } ^ { k - 1 } \frac { ( \lambda - \lambda _ { t _ { i - 1 } } ) ^ { n } } { n ! } \hat { \epsilon } _ { \theta } ^ { ( n ) } ( \hat { x } _ { \lambda _ { t _ { i - 1 } } } , \lambda _ { t _ { i - 1 } } ) + \mathcal { O } ( ( \lambda - \lambda _ { t _ { i - 1 } } ) ^ { k } ) ,
138
+ $$
139
+
140
+ Substituting the above Taylor expansion into Eq. (3.5) yields
141
+
142
+ $$
143
+ \pmb { x } _ { t _ { i - 1 } t _ { i } } = \frac { \alpha _ { t _ { i } } } { \alpha _ { t _ { i - 1 } } } \tilde { \pmb { x } } _ { t _ { i - 1 } } - \alpha _ { t _ { i } } \sum _ { n = 0 } ^ { k - 1 } \hat { \pmb { \epsilon } } _ { \theta } ^ { ( n ) } ( \hat { \pmb { x } } _ { { \pmb { \lambda } } _ { t _ { i - 1 } } } , \lambda _ { t _ { i - 1 } } ) \int _ { \lambda _ { t _ { i - 1 } } } ^ { \lambda _ { t _ { i } } } e ^ { - \lambda } \frac { ( \lambda - \lambda _ { t _ { i - 1 } } ) ^ { n } } { n ! } \mathrm { d } \lambda + \mathcal { O } ( h _ { i } ^ { k + 1 } ) ,
144
+ $$
145
+
146
+ where the integral $\begin{array} { r } { \int e ^ { - \lambda } \frac { ( \lambda - \lambda _ { t _ { i - 1 } } ) ^ { n } } { n ! } \mathrm { d } \lambda } \end{array}$ can be analytically computed by repeatedly applying $n$ times of integration-by-parts (see Appendix B.2). Therefore, to approximate $\pmb { x } _ { t _ { i - 1 } t _ { i } }$ , we only need to approximate the $n$ -th order total derivatives $\hat { \epsilon } _ { \theta } ^ { ( n ) } ( \hat { \pmb { x } } _ { \lambda } , \lambda )$ for $n \leq k - 1$ , which is a well-studied problem in the ODE literature [31, 32]. By dropping the $\mathcal { O } ( h _ { i } ^ { k + 1 } )$ error term and approximating the first $( k - 1 )$ -th total derivatives with the “stiff order conditions” [31, 32], we can derive $k$ -th-order ODE solvers for diffusion ODEs. We name such solvers as DPM-Solver overall, and DPM-Solver- $k$ for a specific order $k$ . Here we take $k = 1$ for demonstration. In this case, Eq. (3.6) becomes
147
+
148
+ $$
149
+ \begin{array} { l } { \displaystyle { \boldsymbol { x } } _ { t _ { i - 1 } \to t _ { i } } = \frac { \alpha _ { t _ { i } } } { \alpha _ { t _ { i - 1 } } } \tilde { \boldsymbol { x } } _ { t _ { i - 1 } } - \alpha _ { t _ { i } } \epsilon _ { \theta } ( \tilde { \boldsymbol { x } } _ { t _ { i - 1 } } , t _ { i - 1 } ) \int _ { \lambda _ { t _ { i - 1 } } } ^ { \lambda _ { t _ { i } } } e ^ { - \lambda } \mathrm { d } \lambda + \mathcal { O } ( h _ { i } ^ { 2 } ) } \\ { \displaystyle = \frac { \alpha _ { t _ { i } } } { \alpha _ { t _ { i - 1 } } } \tilde { \boldsymbol { x } } _ { t _ { i - 1 } } - \sigma _ { t _ { i } } ( e ^ { h _ { i } } - 1 ) \epsilon _ { \theta } ( \tilde { \boldsymbol { x } } _ { t _ { i - 1 } } , t _ { i - 1 } ) + \mathcal { O } ( h _ { i } ^ { 2 } ) . } \end{array}
150
+ $$
151
+
152
+ By dropping the high-order error term $\mathcal { O } ( h _ { i } ^ { 2 } )$ , we can obtain an approximation for $\pmb { x } _ { t _ { i - 1 } t _ { i } }$ . As $k = 1$ here, we call this solver DPM-Solver- $^ { l }$ , and the detailed algorithm is as following.
153
+
154
+ DPM-Solver-1. Given an initial value $\mathbf { \nabla } _ { \mathbf { x } _ { T } }$ and $M + 1$ time steps $\{ t _ { i } \} _ { i = 0 } ^ { M }$ decreasing from $t _ { 0 } = T$ to $t _ { M } = 0$ . Starting with $\tilde { \mathbf { x } } _ { t _ { 0 } } = \mathbf { x } _ { T }$ , the sequence $\{ \tilde { { x } } _ { t _ { i } } \} _ { i = 1 } ^ { M }$ is computed iteratively as follows:
155
+
156
+ $$
157
+ \tilde { \boldsymbol { x } } _ { t _ { i } } = \frac { \alpha _ { t _ { i } } } { \alpha _ { t _ { i - 1 } } } \tilde { \boldsymbol { x } } _ { t _ { i - 1 } } - \sigma _ { t _ { i } } ( e ^ { h _ { i } } - 1 ) \boldsymbol { \epsilon } _ { \boldsymbol { \theta } } ( \tilde { \boldsymbol { x } } _ { t _ { i - 1 } } , t _ { i - 1 } ) , \quad \mathrm { w h e r e ~ } h _ { i } = \lambda _ { t _ { i } } - \lambda _ { t _ { i - 1 } } .
158
+ $$
159
+
160
+ For $k \geq 2$ , approximating the first $k$ terms of the Taylor expansion needs additional intermediate points between $t$ and $s$ [31]. The derivation is more technical so we defer it to Appendix B. Below we propose algorithms for $k = 2 , 3$ and name them as DPM-Solver-2 and DPM-Solver-3, respectively.
161
+
162
+ # Algorithm 1 DPM-Solver-2.
163
+
164
+ Require: initial value $\mathbf { \nabla } _ { \mathbf { \mathcal { X } } T }$ , time steps $\{ t _ { i } \} _ { i = 0 } ^ { M }$ , model $\epsilon _ { \theta }$
165
+
166
+ # Algorithm 2 DPM-Solver-3.
167
+
168
+ Require: initial value $\mathbf { \nabla } _ { \mathbf { \mathcal { X } } T }$ , time steps $\{ t _ { i } \} _ { i = 0 } ^ { M }$ , model $\epsilon _ { \theta }$
169
+
170
+ $$
171
+ \begin{array} { r l } & { \quad _ { s 2 i - 1 } _ { t _ { \lambda } } ( \overline { { \lambda } } _ { t _ { i - 1 } } + r _ { 1 } h _ { i } ) , \quad s _ { 2 i } t _ { \lambda } ( \lambda _ { t _ { i - 1 } } + r _ { 2 } h _ { i } ) } \\ & { u _ { 2 i - 1 } \frac { \alpha _ { s _ { 2 i - 1 } } } { \alpha _ { t _ { i - 1 } } } \tilde { x } _ { t _ { i - 1 } } - \sigma _ { s _ { 2 i - 1 } } ( e ^ { r _ { 1 } h _ { i } } - 1 ) \epsilon _ { \theta } ( \tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) } \\ & { D _ { 2 i - 1 } \epsilon _ { \theta } ( u _ { 2 i - 1 } , s _ { 2 i - 1 } ) - \epsilon _ { \theta } ( \tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) } \\ & { u _ { 2 i } \frac { \alpha _ { s _ { 2 i } } } { \alpha _ { t _ { i - 1 } } } \tilde { x } _ { t _ { i - 1 } } - \sigma _ { s _ { 2 i } } ( e ^ { r _ { 2 } h _ { i } } - 1 ) \epsilon _ { \theta } ( \tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) - \frac { \sigma _ { s _ { 2 i } } r _ { 2 } } { r _ { 1 } } ( \frac { e ^ { r _ { 2 } h _ { i } } - 1 } { r _ { 2 } h _ { i } } - 1 ) D _ { 2 i - 1 } } \\ & { D _ { 2 i } \epsilon _ { \theta } ( u _ { 2 i } , s _ { 2 i } ) - \epsilon _ { \theta } ( \tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) } \\ & { \tilde { x } _ { t _ { i } } \frac { \alpha _ { t _ { i } } } { \alpha _ { t _ { i - 1 } } } \tilde { x } _ { t _ { i - 1 } } - \sigma _ { t _ { i } } ( e ^ { h _ { i } } - 1 ) \epsilon _ { \theta } ( \tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) - \frac { \sigma _ { t _ { i } } } { r _ { 2 } } ( \frac { e ^ { h _ { i } } - 1 } { h } - 1 ) D _ { 2 i } } \end{array}
172
+ $$
173
+
174
+ 10: return $\tilde { \pmb { x } } _ { t _ { M } }$
175
+
176
+ Here, $t _ { \lambda } ( \cdot )$ is the inverse function of $\lambda ( t )$ , which has an analytical formulation for the practical noise schedule used in [2, 16], as shown in Appendix D. The chosen intermediate points are $( s _ { i } , \pmb { u } _ { i } )$ for DPM-Solver-2 and $\left( s _ { 2 i - 1 } , { \pmb u } _ { 2 i - 1 } \right)$ and $( s _ { 2 i } , { \pmb u } _ { 2 i } )$ for DPM-Solver-3. As shown in the algorithm, DPM-Solver- $k$ requires $k$ function evaluations per step for $k = 1 , 2 , 3$ . Despite the more expensive steps, higher-order solvers $( k = 2 , 3$ ) are usually more efficient since they require much fewer steps to converge, due to their higher convergence order. We show that DPM-Solver- $k$ is $k$ -th-order solver, as stated in the following theorem. The proof is in Appendix B.
177
+
178
+ Theorem 3.2 (DPM-Solver- $k$ as a $k$ -th-order solver). Assume $\epsilon _ { \theta } ( x _ { t } , t )$ follows the regularity conditions detailed in Appendix B.1, then for $k = 1 , 2 , 3$ , DPM-Solver- $k$ is a $k$ -th order solver for diffusion ODEs, i.e., for the sequence $\{ \tilde { \pmb { x } } _ { t _ { i } } \} _ { i = 1 } ^ { M }$ computed by DPM-Solver- $k$ , the approximation error at time 0 satisfies $\tilde { \pmb { x } } _ { t _ { M } } - \pmb { x } _ { 0 } = \mathcal { O } ( h _ { \operatorname* { m a x } } ^ { k } )$ , where $h _ { m a x } = \mathrm { m a x } _ { 1 \leq i \leq M } ( \lambda _ { t _ { i } } - \lambda _ { t _ { i - 1 } } )$ .
179
+
180
+ Finally, solvers with $k \geq 4$ need much more intermediate points as shown by previous work [31, 32] for exponential integrators. Therefore, we only consider $k$ from 1 to 3 in this work, while leaving the solvers with higher $k$ for future study.
181
+
182
+ # 3.3 Step Size Schedule
183
+
184
+ The proposed solvers in Sec. 3.2 need to specify the time steps $\{ t _ { i } \} _ { i = 0 } ^ { M }$ in advance. We propose two choices of the time step schedule. One choice is handcrafted, which is to uniformly split the interval $[ \lambda _ { T } , \lambda _ { 0 } ]$ , i.e. $\begin{array} { r } { \lambda _ { t _ { i } } = \dot { \lambda _ { T } } + \frac { i } { M } ( \lambda _ { 0 } - \lambda _ { T } ) } \end{array}$ , $i = 0 , \ldots , M$ . Note that this is different from previous work [2, 3] which chooses uniform steps for $t _ { i }$ . Empirically, DPM-Solver with uniform time steps $\lambda _ { t _ { i } }$ can already generate quite good samples in few steps, where results are listed in Appendix E. As the other choice, we propose an adaptive step size algorithm, which dynamically adjusts the step size by combining different orders of DPM-Solver. The adaptive algorithm is inspired by [20] and we defer its implementation details to Appendix C.
185
+
186
+ For few-step sampling, we need to use up all the number of function evaluations (NFE). When the NFE is not divisible by 3, we firstly apply DPM-Solver-3 as much as possible, and then add a single step of DPM-Solver-1 or DPM-Solver-2 (dependent on the reminder of $K$ divided by 3), as detailed in Appendix D. In the subsequent experiments, we use such combination of solvers with the uniform step size schedule for $\mathrm { N F E } \leq 2 0$ , and otherwise the adaptive step size schedule.
187
+
188
+ # 3.4 Sampling from Discrete-Time DPMs
189
+
190
+ Discrete-time DPMs [2] train the noise prediction model at $N$ fixed time steps $\{ t _ { n } \} _ { n = 1 } ^ { N }$ , and the noise prediction model is parameterized by $\tilde { \epsilon } _ { \theta } ( { \boldsymbol x } _ { n } , n )$ for $n = 0 , \ldots , N - 1$ , where each ${ \pmb x } _ { n }$ is corresponding to the value at time $t _ { n + 1 }$ . We can transform the discrete-time noise prediction model to the continuous version by letting $\begin{array} { r } { \epsilon _ { \theta } ( x , t ) : = \tilde { \epsilon } _ { \theta } ( x , \frac { ( N - 1 ) t } { T } ) } \end{array}$ , for all $\pmb { x } \in \mathbb { R } ^ { d } , t \in [ 0 , T ]$ . Note that the input time of $\tilde { \epsilon } _ { \theta }$ may not be integers, but we find that the noise prediction model can still work well, and we hypothesize that it is because of the smooth time embeddings (e.g., position embeddings [2]). By such reparameterization, the noise prediction model can adopt the continuous-time steps as input, and thus we can also use DPM-Solver for fast sampling.
191
+
192
+ # 4 Comparison with Existing Fast Sampling Methods
193
+
194
+ Here, we discuss the relationship and highlight the difference between DPM-Solver and existing ODE-based fast sampling methods for DPMs. We further briefly discuss the advantage of training-free samplers over those training-based ones.
195
+
196
+ # 4.1 DDIM as DPM-Solver-1
197
+
198
+ Denoising Diffusion Implicit Models (DDIM) [19] design a deterministic method for fast sampling from DPMs. For two adjacent time steps $t _ { i - 1 }$ and $t _ { i }$ , assume that we have a solution $\tilde { \boldsymbol { x } } _ { t _ { i - 1 } }$ at time $t _ { i - 1 }$ , then a single step of DDIM from time $t _ { i - 1 }$ to time $t _ { i }$ is
199
+
200
+ $$
201
+ \tilde { \pmb { x } } _ { t _ { i } } = \frac { \alpha _ { t _ { i } } } { \alpha _ { t _ { i - 1 } } } \tilde { \pmb { x } } _ { t _ { i - 1 } } - \alpha _ { t _ { i } } \left( \frac { \sigma _ { t _ { i - 1 } } } { \alpha _ { t _ { i - 1 } } } - \frac { \sigma _ { t _ { i } } } { \alpha _ { t _ { i } } } \right) \epsilon _ { \theta } ( \tilde { \pmb { x } } _ { t _ { i - 1 } } , t _ { i - 1 } ) .
202
+ $$
203
+
204
+ Although motivated by entirely different perspectives, we show that the updates of DPM-Solver-1 and Denoising Diffusion Implicit Models (DDIM) [19] are identical. By the definition of $\lambda$ , we have $\frac { \sigma _ { t _ { i - 1 } } } { \alpha _ { t _ { i - 1 } } } = e ^ { - \lambda _ { t _ { i - 1 } } ^ { - } }$ and $\begin{array} { r } { \frac { \sigma _ { t _ { i } } } { \alpha _ { t _ { i } } } = e ^ { - \lambda _ { t _ { i } } } } \end{array}$ . Plugging these and $h _ { i } = \lambda _ { t _ { i } } - \lambda _ { t _ { i - 1 } }$ to Eq. (4.1) results in exactly a step of DPM-Solver-1 in Eq. (3.7). However, the semi-linear ODE formulation of DPM-Solver allows for principled generalization to higher-order solvers and convergence order analysis.
205
+
206
+ Recent work [13] also show that DDIM is a first-order discretization of diffusion ODEs by differentiating both sides of Eq. (4.1). However, they cannot explain the difference between DDIM and the first-order Euler discretization of diffusion ODEs. In contrast, by showing that DDIM is a special case of DPM-Solver, we reveal that DDIM makes full use of the semi-linearity of diffusion ODEs, which explains its superiority over traditional Euler methods.
207
+
208
+ # 4.2 Comparison with Traditional Runge-Kutta Methods
209
+
210
+ One can obtain a high-order solver by directly applying traditional explicit Runge-Kutta (RK) methods to the diffusion ODE in Eq. (2.7). Specifically, RK methods write the solution of Eq. (2.7) in the
211
+
212
+ Table 1: FID ↓ on CIFAR-10 for different orders of Runge-Kutta (RK) methods and DPM-Solvers, varying the number of function evaluations (NFE). For RK methods, we evaluate diffusion ODEs w.r.t. both $t$ (Eq. (2.7)) and $\lambda$ (Eq. (E.1)). We use uniform step size in $t$ for RK (t), and uniform step size in $\lambda$ for RK $( \lambda )$ and DPM-Solvers.
213
+
214
+ <table><tr><td>Sampling method\NFE</td><td>12</td><td>18</td><td>24</td><td>30</td><td>36</td><td>42</td><td>48</td></tr><tr><td>RK2 (t)</td><td>16.40</td><td>7.25</td><td>3.90</td><td>3.63</td><td>3.58</td><td>3.59</td><td>3.54</td></tr><tr><td>RK2(入)</td><td>107.81</td><td>42.04</td><td>17.71</td><td>7.65</td><td>4.62</td><td>3.58</td><td>3.17</td></tr><tr><td>DPM-Solver-2</td><td>5.28</td><td>3.43</td><td>3.02</td><td>2.85</td><td>2.78</td><td>2.72</td><td>2.69</td></tr><tr><td>RK3 (t)</td><td>48.75</td><td>21.86</td><td>10.90</td><td>6.96</td><td>5.22</td><td>4.56</td><td>4.12</td></tr><tr><td>RK3 (入)</td><td>34.29</td><td>4.90</td><td>3.50</td><td>3.03</td><td>2.85</td><td>2.74</td><td>2.69</td></tr><tr><td>DPM-Solver-3</td><td>6.03</td><td>2.90</td><td>2.75</td><td>2.70</td><td>2.67</td><td>2.65</td><td>2.65</td></tr></table>
215
+
216
+ following integral form:
217
+
218
+ $$
219
+ { \bf { x } } _ { t } = { \bf { x } } _ { s } + \int _ { s } ^ { t } h _ { \theta } ( { \bf { x } } _ { \tau } , \tau ) \mathrm { { d } } \tau = { \bf { x } } _ { s } + \int _ { s } ^ { t } \left( f ( \tau ) { \bf { x } } _ { \tau } + \frac { g ^ { 2 } ( \tau ) } { 2 \sigma _ { \tau } } \epsilon _ { \theta } ( { \bf { x } } _ { \tau } , \tau ) \right) \mathrm { { d } } \tau ,
220
+ $$
221
+
222
+ and use some intermediate time steps between $[ t , s ]$ and combine the evaluations of $h _ { \theta }$ at these time steps to approximate the whole integral. The approximation error of explicit RK methods depends on $h _ { \theta }$ , which consists of the error corresponding to both the linear term $f ( \tau ) x _ { \tau }$ and the nonlinear noise prediction model $\epsilon _ { \theta }$ . However, the error of the linear term may increase exponentially because the exact solution of the linear term has an exponential coefficient (as shown in Eq. (3.1)). There are many empirical evidence [25, 31] showing that directly using explicit RK methods for semi-linear ODEs may suffer from unstable numerical issues for large step size. We also demonstrate the empirical difference of the proposed DPM-Solver and the traditional explicit RK methods in Sec. 5.1, which shows that DPM-Solver have smaller discretization errors than the RK methods with the same order.
223
+
224
+ # 4.3 Training-based Fast Sampling Methods for DPMs
225
+
226
+ Samplers that need extra training or optimization include knowledge distillation [13, 14], learning the noise level or variance [15, 16, 33], and learning the noise schedule or sample trajectory [17, 18]. Although the progressive distillation method [13] can obtain a fast sampler within 4 steps, it needs further training costs and loses part of the information in the original DPM (e.g., after distillation, the noise prediction model cannot predict the noise (score function) at every time step between $[ 0 , T ] )$ . In contrast, training-free samplers can keep all the information of the original model, and thereby can be directly extended to the conditional sampling by combining the original model and an external classifier [4] (e.g. see Appendix D for the conditional sampling with classifier guidance).
227
+
228
+ Beyond directly designing fast samplers for DPMs, several works also propose novel types of DPMs which supports faster sampling. For instance, defining a low-dimensional latent variable for DPMs [34]; designing special diffusion processes with bounded score functions [35]; combining GANs with the reverse process of DPMs [36]. The proposed DPM-Solver may also be suitable for accelerating the sampling of these DPMs, and we leave them for future work.
229
+
230
+ # 5 Experiments
231
+
232
+ In this section, we show that as a training-free sampler, DPM-Solver can greatly speedup the sampling of existing pre-trained DPMs, including both continuous-time and discrete-time ones, with both linear noise schedule [2, 19] and cosine noise schedule [16]. We vary different number of function evaluations (NFE) which is the number of calls to the noise prediction model $\epsilon _ { \theta } ( x _ { t } , t )$ , and compare the sample quality between DPM-Solver and other methods. For each experiment, We draw 50K samples and use the widely adopted FID score [37] to evaluate the sample quality, where lower FID usually implies better sample quality.
233
+
234
+ Unless explicitly mentioned, we always use the solver combination with the uniform step size schedule in Sec. 3.3 if the NFE budget is less than 20, and otherwise the DPM-Solver-3 with the adaptive step size schedule in Sec. 3.3. We refer to Appendix D for other implementation details of DPM-Solver and Appendix E for detailed settings.
235
+
236
+ ![](images/4e1bcabdec913d95ec9ff692dca4450fca481c16e793a3c86ffe1cf469e22305.jpg)
237
+ Figure 2: Sample quality measured by FID $\downarrow$ of different sampling methods for DPMs on CIFAR-10 with both continuous-time and discrete-time models, CelebA 64x64, ImageNet 64x64, ImageNet $1 2 8 \mathrm { x } 1 2 8$ and LSUN bedroom $2 5 6 \times 2 5 6$ with discrete-time models, varying the number of function evaluations (NFE). The method $^ { \dag } { \bf G } { \bf G } { \bf D } { \bf M }$ [18] needs extra training to optimize the sample trajectory, while other methods are training-free. To get the strongest baseline, we use the quadratic step size for DDIM on CelebA, which has a better FID than that of the uniform step size in the original paper [19].
238
+
239
+ # 5.1 Comparison with Continuous-Time Sampling Methods
240
+
241
+ We firstly compare DPM-Solver with other continuous-time sampling methods for DPMs. The compared methods include the Euler-Maruyama discretization for diffusion SDEs [3], the adaptive step size solver for diffusion SDEs [20] and the RK methods for diffusion ODEs [3, 28] in Eq. (2.7). We compare these methods for sampling from a pre-trained continuous-time “VP deep” model [3] on the CIFAR-10 dataset [29] with the linear noise schedule.
242
+
243
+ Fig. 2a shows the efficiency of compared solvers. We use uniform time steps with 50, 200, 1000 NFE for the diffusion SDE with Euler discretization, and vary the tolerance hyperparameter [3, 20] for the adaptive step size SDE solver [20] and RK45 ODE solver [28] to control the NFE. DPM-Solver can generate good sample quality within around 10 NFE, while other solvers have large discretization error even in 50 NFE, which shows that DPM-Solver can achieve ${ \sim } 5 $ speedup of the previous best solver. In particular, we achieve 4.70 FID with 10 NFE, 3.75 FID with 12 NFE, 3.24 FID with 15 NFE, and 2.87 FID with 20 NFE, which is the fastest sampler on CIFAR-10.
244
+
245
+ As an ablation study, we also compare the second-order and third-order DPM-Solver and RK methods, as shown in Table 1. We compare RK methods for diffusion ODEs w.r.t. both time $t$ in Eq. (2.7) and half-log-SNR $\lambda$ by applying change-of-variable (see detailed formulations in Appendix E.1). The results show that given the same NFE, the sample quality of DPM-Solver is consistently better than RK methods with the same order. The superior efficiency of DPM-Solver is particularly evident in the few-step regime under 15 NFE, where RK methods have rather large discretization errors. This is mainly because DPM-Solver analytically computes the linear term, avoiding the corresponding discretization error. Besides, the higher order DPM-Solver-3 converges faster than DPM-Solver-2, which matches the order analysis in Theorem 3.2.
246
+
247
+ # 5.2 Comparison with Discrete-Time Sampling Methods
248
+
249
+ We use the method in Sec. 3.4 for using DPM-Solver in discrete-time DPMs, and then compare DPM-Solver with other discrete-time training-free samplers, including DDPM [2], DDIM [19], Analytic-DDPM [21], Analytic-DDIM [21], PNDM [22], FastDPM [38] and Itô-Taylor [24]. We also compare with GGDM [18], which uses the same pre-trained model but needs further training for the sampling trajectory. We compare the sample quality by varying NFE from 10 to 1000.
250
+
251
+ Specifically, we use the discrete-time model trained by $L _ { \mathrm { s i m p l e } }$ in [2] on the CIFAR-10 dataset with linear noise schedule; the discrete-time model in [19] on CelebA 64x64 [39] with linear noise schedule; the discrete-time model trained by $L _ { \mathrm { h y b r i d } }$ in [16] on ImageNet 64x64 [26] with cosine noise schedule; the discrete-time model with classifier guidance in [4] on ImageNet 128x128 [26] with linear noise schedule; the discrete-time model in [4] on LSUN bedroom $2 5 6 \times 2 5 6$ [40] with linear noise schedule. For the models trained on ImageNet, we only use their “mean” model and omit the “variance” model. As shown in Fig. 2, on all datasets, DPM-Solver can obtain reasonable samples within 12 steps (FID 4.65 on CIFAR-10, FID 3.71 on CelebA 64x64 and FID 19.97 on ImageNet 64x64, FID 4.08 on ImageNet $1 2 8 \mathbf { x } 1 2 8 _ { \rho }$ ), which is $4 \sim 1 6 \times$ faster than the previous fastest training-free sampler. DPM-Solver even outperforms GGDM, which requires additional training.
252
+
253
+ # 6 Conclusions
254
+
255
+ We tackle the problem of fast and training-free sampling from DPMs. We propose DPM-Solver, a fast dedicated training-free solver of diffusion ODEs for fast sampling of DPMs in around 10 steps of function evaluations. DPM-Solver leverages the semi-linearity of diffusion ODEs and it directly approximates a simplified formulation of exact solutions of diffusion ODEs, which consists of an exponentially weighted integral of the noise prediction model. Inspired by numerical methods for exponential integrators, we propose first-order, second-order and third-order DPMSolver to approximate the exponentially weighted integral of noise prediction models with theoretical convergence guarantee. We propose both handcrafted and adaptive step size schedule, and apply DPM-Solver for both continuous-time and discrete-time DPMs. Our experimental results show that DPM-Solver can generate high-quality samples in around 10 function evaluations on various datasets, and it can achieve $4 \sim 1 6 \times$ speedup compared with previous state-of-the-art training-free samplers.
256
+
257
+ Limitations and broader impact Despite the promising speedup performance, DPM-Solver is designed for fast sampling, which may be not suitable for accelerating the likelihood evaluations of DPMs. Besides, compared to the commonly-used GANs, diffusion models with DPM-Solver are still not fast enough for real-time applications. In addition, like other deep generative models, DPMs may be used to generate adverse fake contents, and the proposed solver may further amplify the potential undesirable influence of deep generative models for malicious applications.
258
+
259
+ # Acknowledgements
260
+
261
+ This work was supported by National Key Research and Development Project of China (No. 2021ZD0110502); NSF of China Projects (Nos. 62061136001, 61620106010, 62076145, U19B2034, U1811461, U19A2081, 6197222, 62106120); Beijing NSF Project (No. JQ19016); Beijing Outstanding Young Scientist Program NO. BJJWZYJH012019100020098; a grant from Tsinghua Institute for Guo Qiang; the NVIDIA NVAIL Program with GPU/DGX Acceleration; the High Performance Computing Center, Tsinghua University; the Fundamental Research Funds for the Central Universities, and the Research Funds of Renmin University of China (22XNKJ13). J.Z is also supported by the XPlorer Prize.
262
+
263
+ # References
264
+
265
+ [1] J. Sohl-Dickstein, E. Weiss, N. Maheswaranathan, and S. Ganguli, “Deep unsupervised learning using nonequilibrium thermodynamics,” in International Conference on Machine Learning. PMLR, 2015, pp. 2256–2265.
266
+ [2] J. Ho, A. Jain, and P. Abbeel, “Denoising diffusion probabilistic models,” in Advances in Neural Information Processing Systems, vol. 33, 2020, pp. 6840–6851.
267
+ [3] Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, “Score-based generative modeling through stochastic differential equations,” in International Conference on Learning Representations, 2021.
268
+ [4] P. Dhariwal and A. Q. Nichol, “Diffusion models beat GANs on image synthesis,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 8780–8794.
269
+ [5] C. Meng, Y. Song, J. Song, J. Wu, J.-Y. Zhu, and S. Ermon, “SDEdit: Image synthesis and editing with stochastic differential equations,” in International Conference on Learning Representations, 2022.
270
+ [6] J. Ho, T. Salimans, A. Gritsenko, W. Chan, M. Norouzi, and D. J. Fleet, “Video diffusion models,” arXiv preprint arXiv:2204.03458, 2022.
271
+ [7] A. Ramesh, P. Dhariwal, A. Nichol, C. Chu, and M. Chen, “Hierarchical text-conditional image generation with CLIP latents,” arXiv preprint arXiv:2204.06125, 2022.
272
+ [8] N. Chen, Y. Zhang, H. Zen, R. J. Weiss, M. Norouzi, and W. Chan, “Wavegrad: Estimating gradients for waveform generation,” in International Conference on Learning Representations, 2021.
273
+ [9] N. Chen, Y. Zhang, H. Zen, R. J. Weiss, M. Norouzi, N. Dehak, and W. Chan, “Wavegrad 2: Iterative refinement for text-to-speech synthesis,” in International Speech Communication Association, 2021, pp. 3765–3769.
274
+ [10] D. P. Kingma, T. Salimans, B. Poole, and J. Ho, “Variational diffusion models,” in Advances in Neural Information Processing Systems, 2021.
275
+ [11] I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. C. Courville, and Y. Bengio, “Generative adversarial nets,” in Advances in Neural Information Processing Systems, vol. 27, 2014, pp. 2672–2680.
276
+ [12] D. P. Kingma and M. Welling, “Auto-encoding variational bayes,” in International Conference on Learning Representations, 2014.
277
+ [13] T. Salimans and J. Ho, “Progressive distillation for fast sampling of diffusion models,” in International Conference on Learning Representations, 2022.
278
+ [14] E. Luhman and T. Luhman, “Knowledge distillation in iterative generative models for improved sampling speed,” arXiv preprint arXiv:2101.02388, 2021.
279
+ [15] R. San-Roman, E. Nachmani, and L. Wolf, “Noise estimation for generative diffusion models,” arXiv preprint arXiv:2104.02600, 2021.
280
+ [16] A. Q. Nichol and P. Dhariwal, “Improved denoising diffusion probabilistic models,” in International Conference on Machine Learning. PMLR, 2021, pp. 8162–8171.
281
+ [17] M. W. Lam, J. Wang, R. Huang, D. Su, and D. Yu, “Bilateral denoising diffusion models,” arXiv preprint arXiv:2108.11514, 2021.
282
+ [18] D. Watson, W. Chan, J. Ho, and M. Norouzi, “Learning fast samplers for diffusion models by differentiating through sample quality,” in International Conference on Learning Representations, 2022.
283
+ [19] J. Song, C. Meng, and S. Ermon, “Denoising diffusion implicit models,” in International Conference on Learning Representations, 2021.
284
+ [20] A. Jolicoeur-Martineau, K. Li, R. Piché-Taillefer, T. Kachman, and I. Mitliagkas, “Gotta go fast when generating data with score-based models,” arXiv preprint arXiv:2105.14080, 2021.
285
+ [21] F. Bao, C. Li, J. Zhu, and B. Zhang, “Analytic-DPM: An analytic estimate of the optimal reverse variance in diffusion probabilistic models,” in International Conference on Learning Representations, 2022.
286
+ [22] L. Liu, Y. Ren, Z. Lin, and Z. Zhao, “Pseudo numerical methods for diffusion models on manifolds,” in International Conference on Learning Representations, 2022.
287
+ [23] V. Popov, I. Vovk, V. Gogoryan, T. Sadekova, M. Kudinov, and J. Wei, “Diffusion-based voice conversion with fast maximum likelihood sampling scheme,” in International Conference on Learning Representations, 2022.
288
+ [24] H. Tachibana, M. Go, M. Inahara, Y. Katayama, and Y. Watanabe, “Itô-Taylor sampling scheme for denoising diffusion probabilistic models using ideal derivatives,” arXiv preprint arXiv:2112.13339, 2021.
289
+ [25] M. Hochbruck and A. Ostermann, “Exponential integrators,” Acta Numerica, vol. 19, pp. 209–286, 2010.
290
+ [26] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and L. Fei-Fei, “ImageNet: A large-scale hierarchical image database,” in 2009 IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 2009, pp. 248–255.
291
+ [27] P. E. Kloeden and E. Platen, Numerical Solution of Stochastic Differential Equations. Springer, 1992.
292
+ [28] J. R. Dormand and P. J. Prince, “A family of embedded Runge-Kutta formulae,” Journal of computational and applied mathematics, vol. 6, no. 1, pp. 19–26, 1980.
293
+ [29] A. Krizhevsky, “Learning multiple layers of features from tiny images,” Tech. Rep., 2009.
294
+ [30] K. Atkinson, W. Han, and D. E. Stewart, Numerical solution of ordinary differential equations. John Wiley & Sons, 2011, vol. 108.
295
+ [31] M. Hochbruck and A. Ostermann, “Explicit exponential Runge-Kutta methods for semilinear parabolic problems,” SIAM Journal on Numerical Analysis, vol. 43, no. 3, pp. 1069–1090, 2005.
296
+ [32] V. T. Luan, “Efficient exponential Runge-Kutta methods of high order: Construction and implementation,” BIT Numerical Mathematics, vol. 61, no. 2, pp. 535–560, 2021.
297
+ [33] F. Bao, C. Li, J. Sun, J. Zhu, and B. Zhang, “Estimating the optimal covariance with imperfect mean in diffusion probabilistic models,” arXiv preprint arXiv:2206.07309, 2022.
298
+ [34] A. Vahdat, K. Kreis, and J. Kautz, “Score-based generative modeling in latent space,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 11 287–11 302.
299
+ [35] T. Dockhorn, A. Vahdat, and K. Kreis, “Score-based generative modeling with critically-damped Langevin diffusion,” in International Conference on Learning Representations, 2022.
300
+ [36] Z. Xiao, K. Kreis, and A. Vahdat, “Tackling the generative learning trilemma with denoising diffusion GANs,” in International Conference on Learning Representations, 2022.
301
+ [37] M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, and S. Hochreiter, “GANs trained by a two time-scale update rule converge to a local Nash equilibrium,” in Advances in Neural Information Processing Systems, I. Guyon, U. von Luxburg, S. Bengio, H. M. Wallach, R. Fergus, S. V. N. Vishwanathan, and R. Garnett, Eds., vol. 30, 2017, pp. 6626–6637.
302
+ [38] Z. Kong and W. Ping, “On fast sampling of diffusion probabilistic models,” arXiv preprint arXiv:2106.00132, 2021.
303
+ [39] Z. Liu, P. Luo, X. Wang, and X. Tang, “Deep learning face attributes in the wild,” in Proceedings of the IEEE International Conference on Computer Vision, 2015, pp. 3730–3738.
304
+ [40] F. Yu, A. Seff, Y. Zhang, S. Song, T. Funkhouser, and J. Xiao, “LSUN: Construction of a large-scale image dataset using deep learning with humans in the loop,” arXiv preprint arXiv:1506.03365, 2015.
305
+ [41] Y. Song, C. Durkan, I. Murray, and S. Ermon, “Maximum likelihood training of score-based diffusion models,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 1415–1428.
306
+ [42] K. Yang, J. Yau, L. Fei-Fei, J. Deng, and O. Russakovsky, “A study of face obfuscation in ImageNet,” arXiv preprint arXiv:2103.06191, 2021.
307
+
308
+ # Checklist
309
+
310
+ 1. For all authors...
311
+
312
+ (a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes]
313
+ (b) Did you describe the limitations of your work? [Yes] See section 6.
314
+ (c) Did you discuss any potential negative societal impacts of your work? [Yes] See section 6.
315
+ (d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes]
316
+
317
+ 2. If you are including theoretical results...
318
+
319
+ (a) Did you state the full set of assumptions of all theoretical results? [Yes] See Appendix B. (b) Did you include complete proofs of all theoretical results? [Yes] See Appendix B.
320
+
321
+ 3. If you ran experiments...
322
+
323
+ (a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] Code is attached in the supplemental materials, with the appendix.
324
+ (b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] Our method is training-free. But we also report the hyperparameters for evaluations used in our proposed solver.
325
+ (c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] We observe that the standard deviation of the FID evaluations of DPM-Solver are rather small (mainly less than 0.01) because the FID is already averaged over 50K samples, following existing work [18, 20, 21]. The small standard deviation does not change the conclusion.
326
+ (d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] The GPU type and amount is detailed in Appendix E.
327
+
328
+ 4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets...
329
+
330
+ (a) If your work uses existing assets, did you cite the creators? [Yes]
331
+ (b) Did you mention the license of the assets? [Yes] See Appendix E
332
+ (c) Did you include any new assets either in the supplemental material or as a URL? [Yes] We include our code in the supplemental materials.
333
+ (d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No] All of the datasets used in the experiments are publicly available.
334
+ (e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] We mentioned the human privacy issues of the ImageNet dataset in Appendix E.
335
+
336
+ 5. If you used crowdsourcing or conducted research with human subjects...
337
+
338
+ (a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A]
339
+ (b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A]
340
+ (c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A]
parse/dev/2uAaGwlP_V/2uAaGwlP_V_content_list.json ADDED
@@ -0,0 +1,1443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "type": "text",
4
+ "text": "DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps ",
5
+ "text_level": 1,
6
+ "bbox": [
7
+ 199,
8
+ 122,
9
+ 799,
10
+ 172
11
+ ],
12
+ "page_idx": 0
13
+ },
14
+ {
15
+ "type": "text",
16
+ "text": "Cheng $\\mathbf { L } \\mathbf { u } ^ { \\dagger }$ , Yuhao Zhou†, Fan Bao†, Jianfei $\\mathbf { C h e n } ^ { \\dagger * }$ , Chongxuan $\\mathbf { L i } ^ { \\dagger }$ , Jun Zhu†∗ †Dept. of Comp. Sci. & Tech., Institute for AI, BNRist Center, THBI Lab †Tsinghua-Bosch Joint ML Center, Tsinghua University, Beijing, 100084 China ‡Gaoling School of Artificial Intelligence, Renmin University of China, ‡Beijing Key Laboratory of Big Data Management and Analysis Methods, Beijing, China {lucheng.lc15, yuhaoz.cs}@gmail.com; bf19@mails.tsinghua.edu.cn chongxuanli@ruc.edu.cn; {jianfeic, dcszj}@tsinghua.edu.cn ",
17
+ "bbox": [
18
+ 207,
19
+ 224,
20
+ 790,
21
+ 328
22
+ ],
23
+ "page_idx": 0
24
+ },
25
+ {
26
+ "type": "text",
27
+ "text": "Abstract ",
28
+ "text_level": 1,
29
+ "bbox": [
30
+ 462,
31
+ 363,
32
+ 535,
33
+ 380
34
+ ],
35
+ "page_idx": 0
36
+ },
37
+ {
38
+ "type": "text",
39
+ "text": "Diffusion probabilistic models (DPMs) are emerging powerful generative models. Despite their high-quality generation performance, DPMs still suffer from their slow sampling as they generally need hundreds or thousands of sequential function evaluations (steps) of large neural networks to draw a sample. Sampling from DPMs can be viewed alternatively as solving the corresponding diffusion ordinary differential equations (ODEs). In this work, we propose an exact formulation of the solution of diffusion ODEs. The formulation analytically computes the linear part of the solution, rather than leaving all terms to black-box ODE solvers as adopted in previous works. By applying change-of-variable, the solution can be equivalently simplified to an exponentially weighted integral of the neural network. Based on our formulation, we propose DPM-Solver, a fast dedicated high-order solver for diffusion ODEs with the convergence order guarantee. DPM-Solver is suitable for both discrete-time and continuous-time DPMs without any further training. Experimental results show that DPM-Solver can generate high-quality samples in only 10 to 20 function evaluations on various datasets. We achieve $4 . 7 0 \\ : \\mathrm { F I D }$ in 10 function evaluations and 2.87 FID in 20 function evaluations on the CIFAR10 dataset, and a $4 \\sim 1 6 \\times$ speedup compared with previous state-of-the-art training-free samplers on various datasets.2 ",
40
+ "bbox": [
41
+ 233,
42
+ 395,
43
+ 766,
44
+ 643
45
+ ],
46
+ "page_idx": 0
47
+ },
48
+ {
49
+ "type": "text",
50
+ "text": "1 Introduction ",
51
+ "text_level": 1,
52
+ "bbox": [
53
+ 174,
54
+ 672,
55
+ 310,
56
+ 690
57
+ ],
58
+ "page_idx": 0
59
+ },
60
+ {
61
+ "type": "text",
62
+ "text": "Diffusion probabilistic models (DPMs) [1–3] are emerging powerful generative models with promising performance on many tasks, such as image generation [4, 5], video generation [6], text-to-image generation [7], speech synthesis [8, 9] and lossless compression [10]. DPMs are defined by discretetime random processes [1, 2] or continuous-time stochastic differential equations (SDEs) [3], which learn to gradually remove the noise added to the data points. Compared with the widely-used generative adversarial networks (GANs) [11] and variational auto-encoders (VAEs) [12], DPMs can not only compute exact likelihood [3], but also achieve even better sample quality for image generation [4]. However, to obtain high-quality samples, DPMs usually need hundreds or thousands of sequential steps of large neural network evaluations, thereby resulting in a much slower sampling speed than the single-step GANs or VAEs. Such inefficiency is becoming a critical bottleneck for the adoption of DPMs in downstream tasks, leading to an urgent request to design fast samplers for DPMs. ",
63
+ "bbox": [
64
+ 174,
65
+ 705,
66
+ 826,
67
+ 858
68
+ ],
69
+ "page_idx": 0
70
+ },
71
+ {
72
+ "type": "image",
73
+ "img_path": "images/4d6dd94407a2a26c38622fe661183fe6ba98b37b4ec1a90af34b958f1acc3ac9.jpg",
74
+ "image_caption": [
75
+ "Figure 1: Samples by DDIM [19] with 10, 15, 20, 100 number of function evaluations (NFE), and DPM-Solver (ours) with only 10 NFE, using the pre-trained DPMs on ImageNet $2 5 6 \\times 2 5 6$ with classifier guidance [4]. "
76
+ ],
77
+ "image_footnote": [],
78
+ "bbox": [
79
+ 174,
80
+ 88,
81
+ 802,
82
+ 306
83
+ ],
84
+ "page_idx": 1
85
+ },
86
+ {
87
+ "type": "text",
88
+ "text": "Existing fast samplers for DPMs can be divided into two categories. The first category includes knowledge distillation [13, 14] and noise level or sample trajectory learning [15–18]. Such methods require a possibly expensive training stage before they can be used for efficient sampling. Furthermore, their applicability and flexibility might be limited. It might require nontrivial effort to adapt the method to different models, datasets, and number of sampling steps. The second category consists of training-free [19–21] samplers, which are suitable for all pre-trained DPMs in a simple plug-andplay manner. Training-free samplers include adopting implicit [19] or analytical [21] generation process, advanced differential equation (DE) solvers [3, 20, 22–24] and dynamic programming [18]. However, these methods still require $\\sim 5 0$ function evaluations [21] to generate high-quality samples (comparable to those generated by plain samplers in about 1000 function evaluations), thereby are still time-consuming. ",
89
+ "bbox": [
90
+ 174,
91
+ 354,
92
+ 825,
93
+ 506
94
+ ],
95
+ "page_idx": 1
96
+ },
97
+ {
98
+ "type": "text",
99
+ "text": "In this work, we bring the efficiency of training-free samplers to a new level to produce high-quality samples in the “few-step sampling” regime, where the sampling can be done within around 10 steps of sequential function evaluations. We tackle the alternative problem of sampling from DPMs as solving the corresponding diffusion ordinary differential equations (ODEs) of DPMs, and carefully examine the structure of diffusion ODEs. Diffusion ODEs have a semi-linear structure — they consist of a linear function of the data variable and a nonlinear function parameterized by neural networks. Such structure is omitted in previous training-free samplers [3, 20], which directly use black-box DE solvers. To utilize the semi-linear structure, we derive an exact formulation of the solutions of diffusion ODEs by analytically computing the linear part of the solutions, avoiding the corresponding discretization error. Furthermore, by applying change-of-variable, the solutions can be equivalently simplified to an exponentially weighted integral of the neural network. Such integral is very special and can be efficiently approximated by the numerical methods for exponential integrators [25]. ",
100
+ "bbox": [
101
+ 174,
102
+ 512,
103
+ 825,
104
+ 678
105
+ ],
106
+ "page_idx": 1
107
+ },
108
+ {
109
+ "type": "text",
110
+ "text": "Based on our formulation of solutions, we propose DPM-Solver, a fast dedicated solver for diffusion ODEs by approximating the above integral. Specifically, we propose first-order, second-order and third-order versions of DPM-Solver with convergence order guarantees. We further propose an adaptive step size schedule for DPM-Solver. In general, DPM-Solver is applicable to both continuoustime and discrete-time DPMs, and also conditional sampling with classifier guidance [4]. Fig. 1 demonstrates the speedup performance of a Denoising Diffusion Implicit Models (DDIM) [19] baseline and DPM-Solver, which shows that DPM-Solver can generate high-quality samples with as few as 10 function evaluations and is much faster than DDIM on the ImageNet 256x256 dataset [26]. Our additional experimental results show that DPM-Solver can greatly improve the sampling speed of both discrete-time and continuous-time DPMs, and it can achieve excellent sample quality in around 10 function evaluations, which is much faster than all previous training-free samplers of DPMs. ",
111
+ "bbox": [
112
+ 174,
113
+ 684,
114
+ 825,
115
+ 837
116
+ ],
117
+ "page_idx": 1
118
+ },
119
+ {
120
+ "type": "text",
121
+ "text": "2 Diffusion Probabilistic Models ",
122
+ "text_level": 1,
123
+ "bbox": [
124
+ 176,
125
+ 861,
126
+ 459,
127
+ 878
128
+ ],
129
+ "page_idx": 1
130
+ },
131
+ {
132
+ "type": "text",
133
+ "text": "We review diffusion probabilistic models and their associated differential equations in this section. ",
134
+ "bbox": [
135
+ 171,
136
+ 897,
137
+ 816,
138
+ 911
139
+ ],
140
+ "page_idx": 1
141
+ },
142
+ {
143
+ "type": "text",
144
+ "text": "2.1 Forward Process and Diffusion SDEs ",
145
+ "text_level": 1,
146
+ "bbox": [
147
+ 174,
148
+ 90,
149
+ 472,
150
+ 106
151
+ ],
152
+ "page_idx": 2
153
+ },
154
+ {
155
+ "type": "text",
156
+ "text": "Assume that we have a $D$ -dimensional random variable $\\pmb { x } _ { 0 } \\in \\mathbb { R } ^ { D }$ with an unknown distribution $q _ { 0 } ( { \\pmb x } _ { 0 } )$ . Diffusion Probabilistic Models (DPMs) [1–3, 10] define a forward process $\\{ \\pmb { x } _ { t } \\} _ { t \\in [ 0 , T ] }$ with $T > 0$ starting with $\\scriptstyle { \\mathbf { { \\mathit { x } } } } _ { 0 }$ , such that for any $t \\in [ 0 , T ]$ , the distribution of $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ conditioned on $\\scriptstyle { \\mathbf { { \\mathit { x } } } } _ { 0 }$ satisfies ",
157
+ "bbox": [
158
+ 174,
159
+ 116,
160
+ 825,
161
+ 161
162
+ ],
163
+ "page_idx": 2
164
+ },
165
+ {
166
+ "type": "equation",
167
+ "img_path": "images/b98f04c1bbffa9531e257210ae6112c502489822e557b5a3afdb274392b83d54.jpg",
168
+ "text": "$$\n\\begin{array} { r } { q _ { 0 t } ( \\pmb { x } _ { t } | \\pmb { x } _ { 0 } ) = \\mathcal { N } ( \\pmb { x } _ { t } | \\alpha ( t ) \\pmb { x } _ { 0 } , \\sigma ^ { 2 } ( t ) \\pmb { I } ) , } \\end{array}\n$$",
169
+ "text_format": "latex",
170
+ "bbox": [
171
+ 372,
172
+ 167,
173
+ 622,
174
+ 188
175
+ ],
176
+ "page_idx": 2
177
+ },
178
+ {
179
+ "type": "text",
180
+ "text": "where $\\alpha ( t ) , \\sigma ( t ) \\in \\mathbb { R } ^ { + }$ are differentiable functions of $t$ with bounded derivatives, and we denote them as $\\alpha _ { t } , \\sigma _ { t }$ for simplicity. The choice for $\\alpha _ { t }$ and $\\sigma _ { t }$ is referred to as the noise schedule of a DPM. Let $q _ { t } ( \\pmb { x } _ { t } )$ denote the marginal distribution of $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ , DPMs choose noise schedules to ensure that $q _ { T } ( \\pmb { x } _ { T } ) \\overset { \\cdot } { \\approx } \\dot { \\mathcal { N } } ( \\pmb { x } _ { T } | \\mathbf { 0 } , \\tilde { \\sigma } ^ { 2 } \\pmb { I } )$ for some $\\tilde { \\sigma } > 0$ , and the signal-to-noise-ratio (SNR) $\\alpha _ { t } ^ { 2 } / \\sigma _ { t } ^ { 2 }$ is strictly decreasing w.r.t. $t$ [10]. Moreover, Kingma et al. [10] prove that the following stochastic differential equation (SDE) has the same transition distribution $q _ { 0 t } ( \\pmb { x } _ { t } | \\pmb { x } _ { 0 } )$ as in Eq. (2.1) for any $t \\in [ 0 , T ]$ : ",
181
+ "bbox": [
182
+ 173,
183
+ 193,
184
+ 825,
185
+ 279
186
+ ],
187
+ "page_idx": 2
188
+ },
189
+ {
190
+ "type": "equation",
191
+ "img_path": "images/8433318473b1628737ca5404d0a929d6a4570d9919cf8824f87c274bc4a0bbfd.jpg",
192
+ "text": "$$\n\\mathrm { d } \\pmb { x } _ { t } = f ( t ) \\pmb { x } _ { t } \\mathrm { d } t + g ( t ) \\mathrm { d } \\pmb { w } _ { t } , \\quad \\pmb { x } _ { 0 } \\sim q _ { 0 } ( \\pmb { x } _ { 0 } ) ,\n$$",
193
+ "text_format": "latex",
194
+ "bbox": [
195
+ 348,
196
+ 285,
197
+ 648,
198
+ 303
199
+ ],
200
+ "page_idx": 2
201
+ },
202
+ {
203
+ "type": "text",
204
+ "text": "where ${ \\pmb w } _ { t } \\in \\mathbb { R } ^ { D }$ is the standard Wiener process, and ",
205
+ "bbox": [
206
+ 173,
207
+ 309,
208
+ 517,
209
+ 324
210
+ ],
211
+ "page_idx": 2
212
+ },
213
+ {
214
+ "type": "equation",
215
+ "img_path": "images/e5d12cd513ddf8ae3fa219a1feddb4594e4cf22e33260b27389e15d81ab87dc7.jpg",
216
+ "text": "$$\nf ( t ) = \\frac { \\mathrm { d } \\log \\alpha _ { t } } { \\mathrm { d } t } , \\quad g ^ { 2 } ( t ) = \\frac { \\mathrm { d } \\sigma _ { t } ^ { 2 } } { \\mathrm { d } t } - 2 \\frac { \\mathrm { d } \\log \\alpha _ { t } } { \\mathrm { d } t } \\sigma _ { t } ^ { 2 } .\n$$",
217
+ "text_format": "latex",
218
+ "bbox": [
219
+ 336,
220
+ 332,
221
+ 661,
222
+ 364
223
+ ],
224
+ "page_idx": 2
225
+ },
226
+ {
227
+ "type": "text",
228
+ "text": "Under some regularity conditions, Song et al. [3] show that the forward process in Eq. (2.2) has an equivalent reverse process from time $T$ to $0$ , starting with the marginal distribution $q _ { T } ( { \\pmb x } _ { T } )$ : ",
229
+ "bbox": [
230
+ 174,
231
+ 371,
232
+ 826,
233
+ 400
234
+ ],
235
+ "page_idx": 2
236
+ },
237
+ {
238
+ "type": "equation",
239
+ "img_path": "images/098b1c09edd91e1e8b539459bb92a3c5f191abb42aa1157755522d3dce62bcae.jpg",
240
+ "text": "$$\n\\mathrm { d } \\pmb { x } _ { t } = [ f ( t ) \\pmb { x } _ { t } - g ^ { 2 } ( t ) \\nabla _ { \\pmb { x } } \\log q _ { t } ( \\pmb { x } _ { t } ) ] \\mathrm { d } t + g ( t ) \\mathrm { d } \\bar { \\pmb { w } } _ { t } , \\quad \\pmb { x } _ { T } \\sim q _ { T } ( \\pmb { x } _ { T } ) ,\n$$",
241
+ "text_format": "latex",
242
+ "bbox": [
243
+ 266,
244
+ 406,
245
+ 728,
246
+ 426
247
+ ],
248
+ "page_idx": 2
249
+ },
250
+ {
251
+ "type": "text",
252
+ "text": "where $\\bar { \\mathbf { \\nabla } } \\bar { \\mathbf { \\nabla } } \\bar { \\mathbf { \\nabla } } \\bar { \\mathbf { \\nabla } } \\bar { \\mathbf { \\nabla } } \\bar { \\mathbf { \\nabla } } \\bar { \\mathbf { w } } _ { t }$ is a standard Wiener process in the reverse time. The only unknown term in Eq. (2.4) is the score function $\\nabla _ { \\pmb { x } } \\log q _ { t } ( \\pmb { x } _ { t } )$ at each time $t$ . In practice, DPMs use a neural network $\\epsilon _ { \\theta } ( x _ { t } , t )$ parameterized by $\\theta$ to estimate the scaled score function: $- \\sigma _ { t } \\nabla _ { \\pmb { x } } \\log q _ { t } ( \\pmb { x } _ { t } )$ . The parameter $\\theta$ is optimized by minimizing the following objective [2, 3]: ",
253
+ "bbox": [
254
+ 176,
255
+ 433,
256
+ 825,
257
+ 489
258
+ ],
259
+ "page_idx": 2
260
+ },
261
+ {
262
+ "type": "equation",
263
+ "img_path": "images/18da74f3ada9dcef2cf0de53303bacedefeb327430ef720bfe85381fb0de2f45.jpg",
264
+ "text": "$$\n\\begin{array} { l } { \\displaystyle \\mathcal { L } ( \\theta ; \\omega ( t ) ) : = \\frac { 1 } { 2 } \\int _ { 0 } ^ { T } \\omega ( t ) \\mathbb { E } _ { q _ { t } ( \\mathbf { \\Delta x } _ { t } ) } \\Big [ \\| \\epsilon _ { \\theta } ( \\mathbf { x } _ { t } , t ) + \\sigma _ { t } \\nabla _ { \\mathbf { x } } \\log q _ { t } ( \\mathbf { \\Delta x } _ { t } ) \\| _ { 2 } ^ { 2 } \\Big ] \\mathrm { d } t } \\\\ { \\displaystyle \\qquad = \\frac { 1 } { 2 } \\int _ { 0 } ^ { T } \\omega ( t ) \\mathbb { E } _ { q _ { 0 } ( \\mathbf { x } _ { 0 } ) } \\mathbb { E } _ { q ( \\epsilon ) } \\Big [ \\| \\epsilon _ { \\theta } ( \\mathbf { x } _ { t } , t ) - \\epsilon \\| _ { 2 } ^ { 2 } \\Big ] \\mathrm { d } t + C , } \\end{array}\n$$",
265
+ "text_format": "latex",
266
+ "bbox": [
267
+ 269,
268
+ 496,
269
+ 727,
270
+ 571
271
+ ],
272
+ "page_idx": 2
273
+ },
274
+ {
275
+ "type": "text",
276
+ "text": "where $\\omega ( t )$ is a weighting function, $\\epsilon \\sim q ( \\epsilon ) = \\mathcal { N } ( \\epsilon | \\mathbf { 0 } , I )$ , ${ \\pmb x } _ { t } = \\alpha _ { t } { \\pmb x } _ { 0 } + \\sigma _ { t } { \\pmb \\epsilon }$ , and $C$ is a constant independent of $\\theta$ . As $\\epsilon _ { \\theta } ( x _ { t } , t )$ can also be regarded as predicting the Gaussian noise added to $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ , it is usually called the noise prediction model. Since the ground truth of $\\epsilon _ { \\theta } ( x _ { t } , t )$ is $- \\sigma _ { t } \\nabla _ { \\pmb { x } } \\log q _ { t } ( \\pmb { x } _ { t } )$ , DPMs replace the score function in Eq. (2.4) by $- \\mathbf { \\epsilon } \\mathbf { \\epsilon } \\bar { \\mathbf { \\alpha } } ( \\mathbf { x } _ { t } , t ) / \\sigma _ { t }$ and define a parameterized reverse process (diffusion $S D E$ ) from time $T$ to $0$ , starting with $\\pmb { x } _ { T } \\overset { \\cdot } { \\sim } \\mathcal { N } ( \\mathbf { 0 } , \\tilde { \\sigma } ^ { 2 } \\pmb { I } )$ : ",
277
+ "bbox": [
278
+ 173,
279
+ 575,
280
+ 826,
281
+ 647
282
+ ],
283
+ "page_idx": 2
284
+ },
285
+ {
286
+ "type": "equation",
287
+ "img_path": "images/65fdde0d1d949853db59a598710255c20a35d6c68ca6401f8b46cd9f514525f2.jpg",
288
+ "text": "$$\n\\mathrm { d } x _ { t } = \\left[ f ( t ) x _ { t } + \\frac { g ^ { 2 } ( t ) } { \\sigma _ { t } } \\epsilon _ { \\theta } ( x _ { t } , t ) \\right] \\mathrm { d } t + g ( t ) \\mathrm { d } \\bar { w } _ { t } , \\quad x _ { T } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\tilde { \\sigma } ^ { 2 } I ) .\n$$",
289
+ "text_format": "latex",
290
+ "bbox": [
291
+ 266,
292
+ 654,
293
+ 732,
294
+ 689
295
+ ],
296
+ "page_idx": 2
297
+ },
298
+ {
299
+ "type": "text",
300
+ "text": "Samples can be generated from DPMs by solving the diffusion SDE in Eq. (2.5) with numerical solvers, which discretize the SDE from $T$ to 0. Song et al. [3] proved that the traditional ancestral sampling method for DPMs [2] can be viewed as a first-order SDE solver for Eq. (2.5). However, these first-order methods usually need hundreds of or thousands of function evaluations to converge [3], leading to extremely slow sampling speed. ",
301
+ "bbox": [
302
+ 174,
303
+ 695,
304
+ 826,
305
+ 766
306
+ ],
307
+ "page_idx": 2
308
+ },
309
+ {
310
+ "type": "text",
311
+ "text": "2.2 Diffusion (Probability Flow) ODEs ",
312
+ "text_level": 1,
313
+ "bbox": [
314
+ 176,
315
+ 781,
316
+ 454,
317
+ 797
318
+ ],
319
+ "page_idx": 2
320
+ },
321
+ {
322
+ "type": "text",
323
+ "text": "When discretizing SDEs, the step size is limited by the randomness of the Wiener process [27, Chap. 11]. A large step size (small number of steps) often causes non-convergence, especially in high dimensional spaces. For faster sampling, one can consider the associated probability flow ODE [3], which has the same marginal distribution at each time $t$ as that of the SDE. Specifically, for DPMs, Song et al. [3] proved that the probability flow ODE of Eq. (2.4) is ",
324
+ "bbox": [
325
+ 173,
326
+ 808,
327
+ 826,
328
+ 878
329
+ ],
330
+ "page_idx": 2
331
+ },
332
+ {
333
+ "type": "equation",
334
+ "img_path": "images/db0329942038b0f1cd9de0b5b9716a202705a11feeab57d38ae6c43085d15745.jpg",
335
+ "text": "$$\n\\frac { \\mathrm { d } \\pmb { x } _ { t } } { \\mathrm { d } t } = f ( t ) \\pmb { x } _ { t } - \\frac { 1 } { 2 } g ^ { 2 } ( t ) \\nabla _ { \\pmb { x } } \\log q _ { t } ( \\pmb { x } _ { t } ) , \\quad \\pmb { x } _ { T } \\sim q _ { T } ( \\pmb { x } _ { T } ) ,\n$$",
336
+ "text_format": "latex",
337
+ "bbox": [
338
+ 308,
339
+ 886,
340
+ 687,
341
+ 916
342
+ ],
343
+ "page_idx": 2
344
+ },
345
+ {
346
+ "type": "text",
347
+ "text": "where the marginal distribution of $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ is also $q _ { t } ( \\pmb { x } _ { t } )$ . By replacing the score function with the noise prediction model, Song et al. [3] defined the following parameterized ODE (diffusion $O D E$ ): ",
348
+ "bbox": [
349
+ 171,
350
+ 90,
351
+ 823,
352
+ 119
353
+ ],
354
+ "page_idx": 3
355
+ },
356
+ {
357
+ "type": "equation",
358
+ "img_path": "images/772c489895a83788baac27c0b2cc0da51d29a5ff2c72c378ea8301efa3cfe52d.jpg",
359
+ "text": "$$\n\\frac { \\mathrm { d } \\pmb { x } _ { t } } { \\mathrm { d } t } = \\pmb { h } _ { \\theta } ( \\pmb { x } _ { t } , t ) : = f ( t ) \\pmb { x } _ { t } + \\frac { g ^ { 2 } ( t ) } { 2 \\sigma _ { t } } \\epsilon _ { \\theta } ( \\pmb { x } _ { t } , t ) , \\quad \\pmb { x } _ { T } \\sim \\mathcal { N } ( \\mathbf { 0 } , \\tilde { \\sigma } ^ { 2 } \\mathbf { I } ) .\n$$",
360
+ "text_format": "latex",
361
+ "bbox": [
362
+ 277,
363
+ 121,
364
+ 720,
365
+ 155
366
+ ],
367
+ "page_idx": 3
368
+ },
369
+ {
370
+ "type": "text",
371
+ "text": "Samples can be drawn by solving the ODE from $T$ to 0. Comparing with SDEs, ODEs can be solved with larger step sizes as they have no randomness. Furthermore, we can take advantage of efficient numerical ODE solvers to accelerate the sampling. Song et al. [3] used the RK45 ODE solver [28] for the diffusion ODEs, which generates samples in $\\sim 6 0$ function evaluations to reach comparable quality with a 1000-step SDE solver for Eq. (2.5) on the CIFAR-10 dataset [29]. However, existing general-purpose ODE solvers still cannot generate satisfactory samples in the few-step $\\sim 1 0$ steps) sampling regime. To the best of our knowledge, there is still a lack of training-free samplers for DPMs in the few-step sampling regime, and the sampling speed of DPMs is still a critical issue. ",
372
+ "bbox": [
373
+ 173,
374
+ 155,
375
+ 826,
376
+ 267
377
+ ],
378
+ "page_idx": 3
379
+ },
380
+ {
381
+ "type": "text",
382
+ "text": "3 Customized Fast Solvers for Diffusion ODEs ",
383
+ "text_level": 1,
384
+ "bbox": [
385
+ 173,
386
+ 285,
387
+ 576,
388
+ 303
389
+ ],
390
+ "page_idx": 3
391
+ },
392
+ {
393
+ "type": "text",
394
+ "text": "As highlighted in Sec. 2.2, discretizing SDEs is generally difficult in high dimensions [27, Chap. 11] and it is hard to converge within few steps. In contrast, ODEs are easier to solve, yielding a potential for fast samplers. However, as mentioned in Sec. 2.2, the general black-box ODE solver used in previous work [3] empirically fails to converge in few steps. This motivates us to design a dedicated solver for diffusion ODEs to enable fast and high-quality few-step sampling. We start with a detailed investigation of the specific structure of diffusion ODEs. ",
395
+ "bbox": [
396
+ 173,
397
+ 314,
398
+ 825,
399
+ 398
400
+ ],
401
+ "page_idx": 3
402
+ },
403
+ {
404
+ "type": "text",
405
+ "text": "3.1 Simplified Formulation of Exact Solutions of Diffusion ODEs ",
406
+ "text_level": 1,
407
+ "bbox": [
408
+ 174,
409
+ 412,
410
+ 637,
411
+ 429
412
+ ],
413
+ "page_idx": 3
414
+ },
415
+ {
416
+ "type": "text",
417
+ "text": "The key insight of this work is that given an initial value $\\mathbf { \\delta } _ { \\mathbf { \\mathcal { X } } _ { s } }$ at time $s > 0$ , the solution $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ at each time $t < s$ of diffusion ODEs in Eq. (2.7) can be simplified into a very special exact formulation which can be efficiently approximated. ",
418
+ "bbox": [
419
+ 176,
420
+ 439,
421
+ 823,
422
+ 482
423
+ ],
424
+ "page_idx": 3
425
+ },
426
+ {
427
+ "type": "text",
428
+ "text": "Our first key observation is that a part of the solution $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ can be exactly computed by considering the particular structure of diffusion ODEs. The r.h.s. of diffusion ODEs in Eq. (2.7) consists of two parts: the part $f ( t ) x _ { t }$ is a linear function of $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ , and the other part $\\frac { g ^ { 2 } ( t ) } { 2 \\sigma _ { t } } \\epsilon _ { \\theta } ( \\pmb { x } _ { t } , t )$ is generally a nonlinear function of $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ because of the neural network $\\epsilon _ { \\theta } ( x _ { t } , t )$ . This type of ODE is referred to as semi-linear ODE. The black-box ODE solvers adopted by previous work [3] are ignorant of this semi-linear structure as they take the whole $h _ { \\theta } ( x _ { t } , \\bar t ) $ in Eq. (2.7) as the input, which causes discretization errors of both the linear and nonlinear term. We note that for semi-linear ODEs, the solution at time $t$ can be exactly formulated by the “variation of constants” formula [30]: ",
429
+ "bbox": [
430
+ 173,
431
+ 487,
432
+ 825,
433
+ 606
434
+ ],
435
+ "page_idx": 3
436
+ },
437
+ {
438
+ "type": "equation",
439
+ "img_path": "images/6f1153f8f759866e204632c40d87e1d736b7589259f6710fccd3282a51e399e5.jpg",
440
+ "text": "$$\n\\pmb { x } _ { t } = e ^ { \\int _ { s } ^ { t } f ( \\tau ) \\mathrm { d } \\tau } \\pmb { x } _ { s } + \\int _ { s } ^ { t } \\left( e ^ { \\int _ { \\tau } ^ { t } f ( r ) \\mathrm { d } r } \\frac { g ^ { 2 } \\big ( \\tau \\big ) } { 2 \\sigma _ { \\tau } } \\epsilon _ { \\theta } ( \\pmb { x } _ { \\tau } , \\tau ) \\right) \\mathrm { d } \\tau .\n$$",
441
+ "text_format": "latex",
442
+ "bbox": [
443
+ 307,
444
+ 607,
445
+ 691,
446
+ 643
447
+ ],
448
+ "page_idx": 3
449
+ },
450
+ {
451
+ "type": "text",
452
+ "text": "This formulation decouples the linear part and the nonlinear part. In contrast to black-box ODE solvers, the linear part is now exactly computed, which eliminates the approximation error of the linear term. However, the integral of the nonlinear part is still complicated because it couples the coefficients about the noise schedule (i.e., $f ( \\tau ) , g ( \\tau ) \\bar { , } \\sigma _ { \\tau } )$ and the complex neural network $\\epsilon _ { \\theta }$ , which is still hard to approximate. ",
453
+ "bbox": [
454
+ 173,
455
+ 643,
456
+ 825,
457
+ 713
458
+ ],
459
+ "page_idx": 3
460
+ },
461
+ {
462
+ "type": "text",
463
+ "text": "Our second key observation is that the integral of the nonlinear part can be greatly simplified by introducing a special variable. Let $\\lambda _ { t } : = \\log \\bar { ( \\alpha _ { t } / \\sigma _ { t } ) }$ (one half of the log-SNR), then $\\lambda _ { t }$ is a strictly decreasing function of $t$ (due to the definition of DPMs as discussed in Sec. 2.1). We can rewrite $g ( t )$ in Eq. (2.3) as ",
464
+ "bbox": [
465
+ 173,
466
+ 719,
467
+ 825,
468
+ 775
469
+ ],
470
+ "page_idx": 3
471
+ },
472
+ {
473
+ "type": "equation",
474
+ "img_path": "images/28428e28211e5384d76d1e8330c965590495d098f46b2f50a448a40982e1a8f0.jpg",
475
+ "text": "$$\ng ^ { 2 } ( t ) = \\frac { \\mathrm { d } \\sigma _ { t } ^ { 2 } } { \\mathrm { d } t } - 2 \\frac { \\mathrm { d } \\log { \\alpha _ { t } } } { \\mathrm { d } t } \\sigma _ { t } ^ { 2 } = 2 \\sigma _ { t } ^ { 2 } \\left( \\frac { \\mathrm { d } \\log { \\sigma _ { t } } } { \\mathrm { d } t } - \\frac { \\mathrm { d } \\log { \\alpha _ { t } } } { \\mathrm { d } t } \\right) = - 2 \\sigma _ { t } ^ { 2 } \\frac { \\mathrm { d } \\lambda _ { t } } { \\mathrm { d } t } .\n$$",
476
+ "text_format": "latex",
477
+ "bbox": [
478
+ 254,
479
+ 776,
480
+ 743,
481
+ 813
482
+ ],
483
+ "page_idx": 3
484
+ },
485
+ {
486
+ "type": "text",
487
+ "text": "Combining with $f ( t ) = \\mathrm { d } \\log \\alpha _ { t } / \\mathrm { d } t$ in Eq. (2.3), we can rewrite Eq. (3.1) as ",
488
+ "bbox": [
489
+ 171,
490
+ 813,
491
+ 676,
492
+ 829
493
+ ],
494
+ "page_idx": 3
495
+ },
496
+ {
497
+ "type": "equation",
498
+ "img_path": "images/d804fb43f91c9fdbe50275bbfdd61568c9d23d13e7c4cea3f8e0751dee5a2bb6.jpg",
499
+ "text": "$$\n\\pmb { x } _ { t } = \\frac { \\alpha _ { t } } { \\alpha _ { s } } \\pmb { x } _ { s } - \\alpha _ { t } \\int _ { s } ^ { t } \\left( \\frac { \\mathrm { d } \\lambda _ { \\tau } } { \\mathrm { d } \\tau } \\right) \\frac { \\sigma _ { \\tau } } { \\alpha _ { \\tau } } \\pmb { \\epsilon } _ { \\theta } ( \\pmb { x } _ { \\tau } , \\tau ) \\mathrm { d } \\tau .\n$$",
500
+ "text_format": "latex",
501
+ "bbox": [
502
+ 344,
503
+ 830,
504
+ 651,
505
+ 866
506
+ ],
507
+ "page_idx": 3
508
+ },
509
+ {
510
+ "type": "text",
511
+ "text": "As $\\lambda ( t ) = \\lambda _ { t }$ is a strictly decreasing function of $t$ , it has an inverse function $t _ { \\lambda } ( \\cdot )$ satisfying $t = t _ { \\lambda } ( \\lambda ( t ) )$ . We further change the subscripts of $_ { \\textbf { \\em x } }$ and $\\epsilon _ { \\theta }$ from $t$ to $\\lambda$ and denote $\\hat { \\pmb x } _ { \\lambda } : = \\pmb x _ { t _ { \\lambda } ( \\lambda ) }$ $\\hat { \\epsilon } _ { \\boldsymbol { \\theta } } ( \\hat { x } _ { \\lambda } , \\lambda ) : = \\epsilon _ { \\boldsymbol { \\theta } } ( x _ { t _ { \\lambda } ( \\lambda ) } , t _ { \\lambda } ( \\lambda ) )$ . Rewrite Eq. (3.3) by “change-of-variable” for $\\lambda$ , then we have: ",
512
+ "bbox": [
513
+ 173,
514
+ 867,
515
+ 825,
516
+ 912
517
+ ],
518
+ "page_idx": 3
519
+ },
520
+ {
521
+ "type": "text",
522
+ "text": "Proposition 3.1 (Exact solution of diffusion ODEs). Given an initial value $\\mathbf { \\delta } _ { \\mathbf { \\mathcal { X } } _ { s } }$ at time $s > 0$ , the solution $\\mathbf { \\Delta } _ { \\mathbf { \\mathcal { X } } _ { t } }$ at time $t \\in [ 0 , s ]$ of diffusion ODEs in Eq. (2.7) is: ",
523
+ "bbox": [
524
+ 171,
525
+ 90,
526
+ 823,
527
+ 121
528
+ ],
529
+ "page_idx": 4
530
+ },
531
+ {
532
+ "type": "equation",
533
+ "img_path": "images/9abcfd7effacf68fb53c21394f34e41f5f607171cf80a13282a4bf3971c34831.jpg",
534
+ "text": "$$\n\\pmb { x } _ { t } = \\frac { \\alpha _ { t } } { \\alpha _ { s } } \\pmb { x } _ { s } - \\alpha _ { t } \\int _ { \\lambda _ { s } } ^ { \\lambda _ { t } } e ^ { - \\lambda } \\hat { \\pmb { \\epsilon } } _ { \\theta } ( \\hat { \\pmb { x } } _ { \\lambda } , \\lambda ) \\mathrm { d } \\lambda .\n$$",
535
+ "text_format": "latex",
536
+ "bbox": [
537
+ 366,
538
+ 125,
539
+ 632,
540
+ 162
541
+ ],
542
+ "page_idx": 4
543
+ },
544
+ {
545
+ "type": "text",
546
+ "text": "We call the integral $\\begin{array} { r } { \\int e ^ { - \\lambda } \\hat { \\epsilon } _ { \\theta } ( \\hat { \\pmb x } _ { \\lambda } , \\lambda ) \\mathrm { d } \\lambda } \\end{array}$ the exponentially weighted integral of $\\scriptstyle { \\hat { \\epsilon } } _ { \\theta }$ , which is very special and highly related to the exponential integrators in the literature of ODE solvers [25]. To the best of our knowledge, such formulation has not been revealed in prior work of diffusion models. ",
547
+ "bbox": [
548
+ 173,
549
+ 174,
550
+ 825,
551
+ 217
552
+ ],
553
+ "page_idx": 4
554
+ },
555
+ {
556
+ "type": "text",
557
+ "text": "Eq. (3.4) provides a new perspective for approximating the solutions of diffusion ODEs. Specifically, given $\\mathbf { \\delta } _ { \\mathbf { \\mathcal { X } } _ { s } }$ at time $s$ , According to Eq. (3.4), approximating the solution at time $t$ is equivalent to directly approximating the exponentially weighted integral of $\\hat { \\epsilon } _ { \\theta }$ from $\\lambda _ { s }$ to $\\lambda _ { t }$ , which avoids the error of the linear terms and is well-studied in the literature of exponential integrators [25, 31]. Based on this insight, we propose fast solvers for diffusion ODEs, as detailed in the following sections. ",
558
+ "bbox": [
559
+ 173,
560
+ 223,
561
+ 825,
562
+ 292
563
+ ],
564
+ "page_idx": 4
565
+ },
566
+ {
567
+ "type": "text",
568
+ "text": "3.2 High-Order Solvers for Diffusion ODEs ",
569
+ "text_level": 1,
570
+ "bbox": [
571
+ 173,
572
+ 308,
573
+ 490,
574
+ 324
575
+ ],
576
+ "page_idx": 4
577
+ },
578
+ {
579
+ "type": "text",
580
+ "text": "In this section, we propose high-order solvers for diffusion ODEs with convergence order guarantee by leveraging our proposed solution formulation Eq. (3.4). The proposed solvers and analysis are highly motivated by the methods of exponential integrators [25, 31] in the ODE literature. ",
581
+ "bbox": [
582
+ 173,
583
+ 333,
584
+ 825,
585
+ 376
586
+ ],
587
+ "page_idx": 4
588
+ },
589
+ {
590
+ "type": "text",
591
+ "text": "Specifically, given an initial value $\\mathbf { \\nabla } _ { \\mathbf { x } _ { T } }$ at time $T$ and $M + 1$ time steps $\\{ t _ { i } \\} _ { i = 0 } ^ { M }$ decreasing from $t _ { 0 } = T$ to $t _ { M } = 0$ . Let $\\tilde { \\mathbf { x } } _ { t _ { 0 } } = \\mathbf { x } _ { T }$ be the initial value. The proposed solvers use $M$ steps to iteratively compute a sequence $\\{ \\tilde { { \\pmb { x } } } _ { t _ { i } } \\} _ { i = 0 } ^ { M }$ to approximate the true solutions at time steps $\\{ t _ { i } \\} _ { i = 0 } ^ { M }$ . In particular, the last iterate $\\tilde { \\boldsymbol { x } } _ { t _ { M } }$ approximates the true solution at time 0. ",
592
+ "bbox": [
593
+ 173,
594
+ 381,
595
+ 825,
596
+ 439
597
+ ],
598
+ "page_idx": 4
599
+ },
600
+ {
601
+ "type": "text",
602
+ "text": "In order to reduce the approximation error between $\\tilde { \\pmb { x } } _ { t _ { M } }$ and the true solution at time 0, we need to reduce the approximation error for each $\\tilde { \\mathbf { x } } _ { t _ { i } }$ at every step [30]. Starting with the previous value $\\tilde { \\pmb { x } } _ { t _ { i - 1 } }$ at time $t _ { i - 1 }$ , according to Eq. (3.4), the exact solution $\\pmb { x } _ { t _ { i - 1 } t _ { i } }$ at time $t _ { i }$ is given by ",
603
+ "bbox": [
604
+ 174,
605
+ 444,
606
+ 825,
607
+ 487
608
+ ],
609
+ "page_idx": 4
610
+ },
611
+ {
612
+ "type": "equation",
613
+ "img_path": "images/e941fd95cbf3e1c496583b82dd623ff65158438a8e8529e43b6a17ad2855df95.jpg",
614
+ "text": "$$\n\\pmb { x } _ { t _ { i - 1 } t _ { i } } = \\frac { \\alpha _ { t _ { i } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { \\pmb { x } } _ { t _ { i - 1 } } - \\alpha _ { t _ { i } } \\int _ { \\lambda _ { t _ { i - 1 } } } ^ { \\lambda _ { t _ { i } } } e ^ { - \\lambda } \\hat { \\pmb { \\epsilon } } _ { \\theta } ( \\hat { \\pmb { x } } _ { \\lambda } , \\lambda ) \\mathrm { d } \\lambda .\n$$",
615
+ "text_format": "latex",
616
+ "bbox": [
617
+ 316,
618
+ 492,
619
+ 679,
620
+ 532
621
+ ],
622
+ "page_idx": 4
623
+ },
624
+ {
625
+ "type": "text",
626
+ "text": "Therefore, to compute the value $\\tilde { \\boldsymbol { x } } _ { t _ { i } }$ for approximating $\\pmb { x } _ { t _ { i - 1 } t _ { i } }$ , we need to approximate the exponentially weighted integral of $\\hat { \\epsilon } _ { \\theta }$ from $\\lambda _ { t _ { i - 1 } }$ to $\\lambda _ { t _ { i } }$ . Denote $h _ { i } : = \\lambda _ { t _ { i } } - \\lambda _ { t _ { i - 1 } }$ , and $\\hat { \\epsilon } _ { \\theta } ^ { ( n ) } ( \\hat { { \\mathbf x } } _ { \\lambda } , \\lambda ) \\mathrel { \\mathop : } =$ dnϵˆθ(xˆλ,λ)dλn as the n-th order total derivative of ϵˆθ(xˆλ, λ) w.r.t. λ. For k ≥ 1, the (k − 1)-th order Taylor expansion of $\\hat { \\epsilon } _ { \\theta } ( \\hat { \\pmb x } _ { \\lambda } , \\lambda )$ w.r.t. $\\lambda$ at $\\lambda _ { t _ { i - 1 } }$ is ",
627
+ "bbox": [
628
+ 173,
629
+ 536,
630
+ 825,
631
+ 603
632
+ ],
633
+ "page_idx": 4
634
+ },
635
+ {
636
+ "type": "equation",
637
+ "img_path": "images/976243e2861066edc99111ffc150a8141dda0494f026576eb3e22e90ae405d03.jpg",
638
+ "text": "$$\n\\hat { \\epsilon } _ { \\theta } ( \\hat { x } _ { \\lambda } , \\lambda ) = \\sum _ { n = 0 } ^ { k - 1 } \\frac { ( \\lambda - \\lambda _ { t _ { i - 1 } } ) ^ { n } } { n ! } \\hat { \\epsilon } _ { \\theta } ^ { ( n ) } ( \\hat { x } _ { \\lambda _ { t _ { i - 1 } } } , \\lambda _ { t _ { i - 1 } } ) + \\mathcal { O } ( ( \\lambda - \\lambda _ { t _ { i - 1 } } ) ^ { k } ) ,\n$$",
639
+ "text_format": "latex",
640
+ "bbox": [
641
+ 264,
642
+ 608,
643
+ 732,
644
+ 651
645
+ ],
646
+ "page_idx": 4
647
+ },
648
+ {
649
+ "type": "text",
650
+ "text": "Substituting the above Taylor expansion into Eq. (3.5) yields ",
651
+ "bbox": [
652
+ 173,
653
+ 655,
654
+ 573,
655
+ 670
656
+ ],
657
+ "page_idx": 4
658
+ },
659
+ {
660
+ "type": "equation",
661
+ "img_path": "images/aa02a3d9e9670da70428ff51d8dccbfd33121e4f699e839306505e69a37a124c.jpg",
662
+ "text": "$$\n\\pmb { x } _ { t _ { i - 1 } t _ { i } } = \\frac { \\alpha _ { t _ { i } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { \\pmb { x } } _ { t _ { i - 1 } } - \\alpha _ { t _ { i } } \\sum _ { n = 0 } ^ { k - 1 } \\hat { \\pmb { \\epsilon } } _ { \\theta } ^ { ( n ) } ( \\hat { \\pmb { x } } _ { { \\pmb { \\lambda } } _ { t _ { i - 1 } } } , \\lambda _ { t _ { i - 1 } } ) \\int _ { \\lambda _ { t _ { i - 1 } } } ^ { \\lambda _ { t _ { i } } } e ^ { - \\lambda } \\frac { ( \\lambda - \\lambda _ { t _ { i - 1 } } ) ^ { n } } { n ! } \\mathrm { d } \\lambda + \\mathcal { O } ( h _ { i } ^ { k + 1 } ) ,\n$$",
663
+ "text_format": "latex",
664
+ "bbox": [
665
+ 181,
666
+ 674,
667
+ 787,
668
+ 718
669
+ ],
670
+ "page_idx": 4
671
+ },
672
+ {
673
+ "type": "text",
674
+ "text": "where the integral $\\begin{array} { r } { \\int e ^ { - \\lambda } \\frac { ( \\lambda - \\lambda _ { t _ { i - 1 } } ) ^ { n } } { n ! } \\mathrm { d } \\lambda } \\end{array}$ can be analytically computed by repeatedly applying $n$ times of integration-by-parts (see Appendix B.2). Therefore, to approximate $\\pmb { x } _ { t _ { i - 1 } t _ { i } }$ , we only need to approximate the $n$ -th order total derivatives $\\hat { \\epsilon } _ { \\theta } ^ { ( n ) } ( \\hat { \\pmb { x } } _ { \\lambda } , \\lambda )$ for $n \\leq k - 1$ , which is a well-studied problem in the ODE literature [31, 32]. By dropping the $\\mathcal { O } ( h _ { i } ^ { k + 1 } )$ error term and approximating the first $( k - 1 )$ -th total derivatives with the “stiff order conditions” [31, 32], we can derive $k$ -th-order ODE solvers for diffusion ODEs. We name such solvers as DPM-Solver overall, and DPM-Solver- $k$ for a specific order $k$ . Here we take $k = 1$ for demonstration. In this case, Eq. (3.6) becomes ",
675
+ "bbox": [
676
+ 173,
677
+ 722,
678
+ 826,
679
+ 833
680
+ ],
681
+ "page_idx": 4
682
+ },
683
+ {
684
+ "type": "equation",
685
+ "img_path": "images/e1a7a77f08fcf2344ebba70e31c391e6092d3781368a0af49fae27dbeb5b255e.jpg",
686
+ "text": "$$\n\\begin{array} { l } { \\displaystyle { \\boldsymbol { x } } _ { t _ { i - 1 } \\to t _ { i } } = \\frac { \\alpha _ { t _ { i } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { \\boldsymbol { x } } _ { t _ { i - 1 } } - \\alpha _ { t _ { i } } \\epsilon _ { \\theta } ( \\tilde { \\boldsymbol { x } } _ { t _ { i - 1 } } , t _ { i - 1 } ) \\int _ { \\lambda _ { t _ { i - 1 } } } ^ { \\lambda _ { t _ { i } } } e ^ { - \\lambda } \\mathrm { d } \\lambda + \\mathcal { O } ( h _ { i } ^ { 2 } ) } \\\\ { \\displaystyle = \\frac { \\alpha _ { t _ { i } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { \\boldsymbol { x } } _ { t _ { i - 1 } } - \\sigma _ { t _ { i } } ( e ^ { h _ { i } } - 1 ) \\epsilon _ { \\theta } ( \\tilde { \\boldsymbol { x } } _ { t _ { i - 1 } } , t _ { i - 1 } ) + \\mathcal { O } ( h _ { i } ^ { 2 } ) . } \\end{array}\n$$",
687
+ "text_format": "latex",
688
+ "bbox": [
689
+ 269,
690
+ 837,
691
+ 728,
692
+ 911
693
+ ],
694
+ "page_idx": 4
695
+ },
696
+ {
697
+ "type": "text",
698
+ "text": "By dropping the high-order error term $\\mathcal { O } ( h _ { i } ^ { 2 } )$ , we can obtain an approximation for $\\pmb { x } _ { t _ { i - 1 } t _ { i } }$ . As $k = 1$ here, we call this solver DPM-Solver- $^ { l }$ , and the detailed algorithm is as following. ",
699
+ "bbox": [
700
+ 171,
701
+ 90,
702
+ 823,
703
+ 119
704
+ ],
705
+ "page_idx": 5
706
+ },
707
+ {
708
+ "type": "text",
709
+ "text": "DPM-Solver-1. Given an initial value $\\mathbf { \\nabla } _ { \\mathbf { x } _ { T } }$ and $M + 1$ time steps $\\{ t _ { i } \\} _ { i = 0 } ^ { M }$ decreasing from $t _ { 0 } = T$ to $t _ { M } = 0$ . Starting with $\\tilde { \\mathbf { x } } _ { t _ { 0 } } = \\mathbf { x } _ { T }$ , the sequence $\\{ \\tilde { { x } } _ { t _ { i } } \\} _ { i = 1 } ^ { M }$ is computed iteratively as follows: ",
710
+ "bbox": [
711
+ 169,
712
+ 125,
713
+ 825,
714
+ 156
715
+ ],
716
+ "page_idx": 5
717
+ },
718
+ {
719
+ "type": "equation",
720
+ "img_path": "images/8deaa6e7603de31da2fd31418b2d224dd8ec375a261d169ca354b6f5b2802791.jpg",
721
+ "text": "$$\n\\tilde { \\boldsymbol { x } } _ { t _ { i } } = \\frac { \\alpha _ { t _ { i } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { \\boldsymbol { x } } _ { t _ { i - 1 } } - \\sigma _ { t _ { i } } ( e ^ { h _ { i } } - 1 ) \\boldsymbol { \\epsilon } _ { \\boldsymbol { \\theta } } ( \\tilde { \\boldsymbol { x } } _ { t _ { i - 1 } } , t _ { i - 1 } ) , \\quad \\mathrm { w h e r e ~ } h _ { i } = \\lambda _ { t _ { i } } - \\lambda _ { t _ { i - 1 } } .\n$$",
722
+ "text_format": "latex",
723
+ "bbox": [
724
+ 243,
725
+ 162,
726
+ 753,
727
+ 194
728
+ ],
729
+ "page_idx": 5
730
+ },
731
+ {
732
+ "type": "text",
733
+ "text": "For $k \\geq 2$ , approximating the first $k$ terms of the Taylor expansion needs additional intermediate points between $t$ and $s$ [31]. The derivation is more technical so we defer it to Appendix B. Below we propose algorithms for $k = 2 , 3$ and name them as DPM-Solver-2 and DPM-Solver-3, respectively. ",
734
+ "bbox": [
735
+ 173,
736
+ 207,
737
+ 825,
738
+ 250
739
+ ],
740
+ "page_idx": 5
741
+ },
742
+ {
743
+ "type": "text",
744
+ "text": "Algorithm 1 DPM-Solver-2. ",
745
+ "text_level": 1,
746
+ "bbox": [
747
+ 174,
748
+ 267,
749
+ 362,
750
+ 281
751
+ ],
752
+ "page_idx": 5
753
+ },
754
+ {
755
+ "type": "text",
756
+ "text": "Require: initial value $\\mathbf { \\nabla } _ { \\mathbf { \\mathcal { X } } T }$ , time steps $\\{ t _ { i } \\} _ { i = 0 } ^ { M }$ , model $\\epsilon _ { \\theta }$ ",
757
+ "bbox": [
758
+ 174,
759
+ 286,
760
+ 544,
761
+ 303
762
+ ],
763
+ "page_idx": 5
764
+ },
765
+ {
766
+ "type": "text",
767
+ "text": "Algorithm 2 DPM-Solver-3. ",
768
+ "text_level": 1,
769
+ "bbox": [
770
+ 174,
771
+ 462,
772
+ 364,
773
+ 476
774
+ ],
775
+ "page_idx": 5
776
+ },
777
+ {
778
+ "type": "text",
779
+ "text": "Require: initial value $\\mathbf { \\nabla } _ { \\mathbf { \\mathcal { X } } T }$ , time steps $\\{ t _ { i } \\} _ { i = 0 } ^ { M }$ , model $\\epsilon _ { \\theta }$ ",
780
+ "bbox": [
781
+ 174,
782
+ 482,
783
+ 544,
784
+ 498
785
+ ],
786
+ "page_idx": 5
787
+ },
788
+ {
789
+ "type": "equation",
790
+ "img_path": "images/ad4609832a6419c85fb2132d9d91d2c95beec92e10bd4907c45b4ed7d6c517e6.jpg",
791
+ "text": "$$\n\\begin{array} { r l } & { \\quad _ { s 2 i - 1 } _ { t _ { \\lambda } } ( \\overline { { \\lambda } } _ { t _ { i - 1 } } + r _ { 1 } h _ { i } ) , \\quad s _ { 2 i } t _ { \\lambda } ( \\lambda _ { t _ { i - 1 } } + r _ { 2 } h _ { i } ) } \\\\ & { u _ { 2 i - 1 } \\frac { \\alpha _ { s _ { 2 i - 1 } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { x } _ { t _ { i - 1 } } - \\sigma _ { s _ { 2 i - 1 } } ( e ^ { r _ { 1 } h _ { i } } - 1 ) \\epsilon _ { \\theta } ( \\tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) } \\\\ & { D _ { 2 i - 1 } \\epsilon _ { \\theta } ( u _ { 2 i - 1 } , s _ { 2 i - 1 } ) - \\epsilon _ { \\theta } ( \\tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) } \\\\ & { u _ { 2 i } \\frac { \\alpha _ { s _ { 2 i } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { x } _ { t _ { i - 1 } } - \\sigma _ { s _ { 2 i } } ( e ^ { r _ { 2 } h _ { i } } - 1 ) \\epsilon _ { \\theta } ( \\tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) - \\frac { \\sigma _ { s _ { 2 i } } r _ { 2 } } { r _ { 1 } } ( \\frac { e ^ { r _ { 2 } h _ { i } } - 1 } { r _ { 2 } h _ { i } } - 1 ) D _ { 2 i - 1 } } \\\\ & { D _ { 2 i } \\epsilon _ { \\theta } ( u _ { 2 i } , s _ { 2 i } ) - \\epsilon _ { \\theta } ( \\tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) } \\\\ & { \\tilde { x } _ { t _ { i } } \\frac { \\alpha _ { t _ { i } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { x } _ { t _ { i - 1 } } - \\sigma _ { t _ { i } } ( e ^ { h _ { i } } - 1 ) \\epsilon _ { \\theta } ( \\tilde { x } _ { t _ { i - 1 } } , t _ { i - 1 } ) - \\frac { \\sigma _ { t _ { i } } } { r _ { 2 } } ( \\frac { e ^ { h _ { i } } - 1 } { h } - 1 ) D _ { 2 i } } \\end{array}\n$$",
792
+ "text_format": "latex",
793
+ "bbox": [
794
+ 222,
795
+ 522,
796
+ 789,
797
+ 645
798
+ ],
799
+ "page_idx": 5
800
+ },
801
+ {
802
+ "type": "text",
803
+ "text": "10: return $\\tilde { \\pmb { x } } _ { t _ { M } }$ ",
804
+ "bbox": [
805
+ 176,
806
+ 655,
807
+ 279,
808
+ 670
809
+ ],
810
+ "page_idx": 5
811
+ },
812
+ {
813
+ "type": "text",
814
+ "text": "Here, $t _ { \\lambda } ( \\cdot )$ is the inverse function of $\\lambda ( t )$ , which has an analytical formulation for the practical noise schedule used in [2, 16], as shown in Appendix D. The chosen intermediate points are $( s _ { i } , \\pmb { u } _ { i } )$ for DPM-Solver-2 and $\\left( s _ { 2 i - 1 } , { \\pmb u } _ { 2 i - 1 } \\right)$ and $( s _ { 2 i } , { \\pmb u } _ { 2 i } )$ for DPM-Solver-3. As shown in the algorithm, DPM-Solver- $k$ requires $k$ function evaluations per step for $k = 1 , 2 , 3$ . Despite the more expensive steps, higher-order solvers $( k = 2 , 3$ ) are usually more efficient since they require much fewer steps to converge, due to their higher convergence order. We show that DPM-Solver- $k$ is $k$ -th-order solver, as stated in the following theorem. The proof is in Appendix B. ",
815
+ "bbox": [
816
+ 173,
817
+ 698,
818
+ 826,
819
+ 796
820
+ ],
821
+ "page_idx": 5
822
+ },
823
+ {
824
+ "type": "text",
825
+ "text": "Theorem 3.2 (DPM-Solver- $k$ as a $k$ -th-order solver). Assume $\\epsilon _ { \\theta } ( x _ { t } , t )$ follows the regularity conditions detailed in Appendix B.1, then for $k = 1 , 2 , 3$ , DPM-Solver- $k$ is a $k$ -th order solver for diffusion ODEs, i.e., for the sequence $\\{ \\tilde { \\pmb { x } } _ { t _ { i } } \\} _ { i = 1 } ^ { M }$ computed by DPM-Solver- $k$ , the approximation error at time 0 satisfies $\\tilde { \\pmb { x } } _ { t _ { M } } - \\pmb { x } _ { 0 } = \\mathcal { O } ( h _ { \\operatorname* { m a x } } ^ { k } )$ , where $h _ { m a x } = \\mathrm { m a x } _ { 1 \\leq i \\leq M } ( \\lambda _ { t _ { i } } - \\lambda _ { t _ { i - 1 } } )$ . ",
826
+ "bbox": [
827
+ 173,
828
+ 800,
829
+ 825,
830
+ 861
831
+ ],
832
+ "page_idx": 5
833
+ },
834
+ {
835
+ "type": "text",
836
+ "text": "Finally, solvers with $k \\geq 4$ need much more intermediate points as shown by previous work [31, 32] for exponential integrators. Therefore, we only consider $k$ from 1 to 3 in this work, while leaving the solvers with higher $k$ for future study. ",
837
+ "bbox": [
838
+ 174,
839
+ 868,
840
+ 825,
841
+ 911
842
+ ],
843
+ "page_idx": 5
844
+ },
845
+ {
846
+ "type": "text",
847
+ "text": "3.3 Step Size Schedule ",
848
+ "text_level": 1,
849
+ "bbox": [
850
+ 174,
851
+ 90,
852
+ 343,
853
+ 106
854
+ ],
855
+ "page_idx": 6
856
+ },
857
+ {
858
+ "type": "text",
859
+ "text": "The proposed solvers in Sec. 3.2 need to specify the time steps $\\{ t _ { i } \\} _ { i = 0 } ^ { M }$ in advance. We propose two choices of the time step schedule. One choice is handcrafted, which is to uniformly split the interval $[ \\lambda _ { T } , \\lambda _ { 0 } ]$ , i.e. $\\begin{array} { r } { \\lambda _ { t _ { i } } = \\dot { \\lambda _ { T } } + \\frac { i } { M } ( \\lambda _ { 0 } - \\lambda _ { T } ) } \\end{array}$ , $i = 0 , \\ldots , M$ . Note that this is different from previous work [2, 3] which chooses uniform steps for $t _ { i }$ . Empirically, DPM-Solver with uniform time steps $\\lambda _ { t _ { i } }$ can already generate quite good samples in few steps, where results are listed in Appendix E. As the other choice, we propose an adaptive step size algorithm, which dynamically adjusts the step size by combining different orders of DPM-Solver. The adaptive algorithm is inspired by [20] and we defer its implementation details to Appendix C. ",
860
+ "bbox": [
861
+ 173,
862
+ 116,
863
+ 825,
864
+ 228
865
+ ],
866
+ "page_idx": 6
867
+ },
868
+ {
869
+ "type": "text",
870
+ "text": "For few-step sampling, we need to use up all the number of function evaluations (NFE). When the NFE is not divisible by 3, we firstly apply DPM-Solver-3 as much as possible, and then add a single step of DPM-Solver-1 or DPM-Solver-2 (dependent on the reminder of $K$ divided by 3), as detailed in Appendix D. In the subsequent experiments, we use such combination of solvers with the uniform step size schedule for $\\mathrm { N F E } \\leq 2 0$ , and otherwise the adaptive step size schedule. ",
871
+ "bbox": [
872
+ 174,
873
+ 233,
874
+ 825,
875
+ 304
876
+ ],
877
+ "page_idx": 6
878
+ },
879
+ {
880
+ "type": "text",
881
+ "text": "3.4 Sampling from Discrete-Time DPMs ",
882
+ "text_level": 1,
883
+ "bbox": [
884
+ 176,
885
+ 320,
886
+ 467,
887
+ 335
888
+ ],
889
+ "page_idx": 6
890
+ },
891
+ {
892
+ "type": "text",
893
+ "text": "Discrete-time DPMs [2] train the noise prediction model at $N$ fixed time steps $\\{ t _ { n } \\} _ { n = 1 } ^ { N }$ , and the noise prediction model is parameterized by $\\tilde { \\epsilon } _ { \\theta } ( { \\boldsymbol x } _ { n } , n )$ for $n = 0 , \\ldots , N - 1$ , where each ${ \\pmb x } _ { n }$ is corresponding to the value at time $t _ { n + 1 }$ . We can transform the discrete-time noise prediction model to the continuous version by letting $\\begin{array} { r } { \\epsilon _ { \\theta } ( x , t ) : = \\tilde { \\epsilon } _ { \\theta } ( x , \\frac { ( N - 1 ) t } { T } ) } \\end{array}$ , for all $\\pmb { x } \\in \\mathbb { R } ^ { d } , t \\in [ 0 , T ]$ . Note that the input time of $\\tilde { \\epsilon } _ { \\theta }$ may not be integers, but we find that the noise prediction model can still work well, and we hypothesize that it is because of the smooth time embeddings (e.g., position embeddings [2]). By such reparameterization, the noise prediction model can adopt the continuous-time steps as input, and thus we can also use DPM-Solver for fast sampling. ",
894
+ "bbox": [
895
+ 173,
896
+ 344,
897
+ 826,
898
+ 460
899
+ ],
900
+ "page_idx": 6
901
+ },
902
+ {
903
+ "type": "text",
904
+ "text": "4 Comparison with Existing Fast Sampling Methods ",
905
+ "text_level": 1,
906
+ "bbox": [
907
+ 174,
908
+ 479,
909
+ 627,
910
+ 498
911
+ ],
912
+ "page_idx": 6
913
+ },
914
+ {
915
+ "type": "text",
916
+ "text": "Here, we discuss the relationship and highlight the difference between DPM-Solver and existing ODE-based fast sampling methods for DPMs. We further briefly discuss the advantage of training-free samplers over those training-based ones. ",
917
+ "bbox": [
918
+ 173,
919
+ 511,
920
+ 825,
921
+ 554
922
+ ],
923
+ "page_idx": 6
924
+ },
925
+ {
926
+ "type": "text",
927
+ "text": "4.1 DDIM as DPM-Solver-1 ",
928
+ "text_level": 1,
929
+ "bbox": [
930
+ 174,
931
+ 570,
932
+ 379,
933
+ 585
934
+ ],
935
+ "page_idx": 6
936
+ },
937
+ {
938
+ "type": "text",
939
+ "text": "Denoising Diffusion Implicit Models (DDIM) [19] design a deterministic method for fast sampling from DPMs. For two adjacent time steps $t _ { i - 1 }$ and $t _ { i }$ , assume that we have a solution $\\tilde { \\boldsymbol { x } } _ { t _ { i - 1 } }$ at time $t _ { i - 1 }$ , then a single step of DDIM from time $t _ { i - 1 }$ to time $t _ { i }$ is ",
940
+ "bbox": [
941
+ 174,
942
+ 595,
943
+ 825,
944
+ 638
945
+ ],
946
+ "page_idx": 6
947
+ },
948
+ {
949
+ "type": "equation",
950
+ "img_path": "images/3ad93903d54c31c8256e52d597943286bbf9fba385901a6d278538f4eb730eed.jpg",
951
+ "text": "$$\n\\tilde { \\pmb { x } } _ { t _ { i } } = \\frac { \\alpha _ { t _ { i } } } { \\alpha _ { t _ { i - 1 } } } \\tilde { \\pmb { x } } _ { t _ { i - 1 } } - \\alpha _ { t _ { i } } \\left( \\frac { \\sigma _ { t _ { i - 1 } } } { \\alpha _ { t _ { i - 1 } } } - \\frac { \\sigma _ { t _ { i } } } { \\alpha _ { t _ { i } } } \\right) \\epsilon _ { \\theta } ( \\tilde { \\pmb { x } } _ { t _ { i - 1 } } , t _ { i - 1 } ) .\n$$",
952
+ "text_format": "latex",
953
+ "bbox": [
954
+ 307,
955
+ 646,
956
+ 691,
957
+ 681
958
+ ],
959
+ "page_idx": 6
960
+ },
961
+ {
962
+ "type": "text",
963
+ "text": "Although motivated by entirely different perspectives, we show that the updates of DPM-Solver-1 and Denoising Diffusion Implicit Models (DDIM) [19] are identical. By the definition of $\\lambda$ , we have $\\frac { \\sigma _ { t _ { i - 1 } } } { \\alpha _ { t _ { i - 1 } } } = e ^ { - \\lambda _ { t _ { i - 1 } } ^ { - } }$ and $\\begin{array} { r } { \\frac { \\sigma _ { t _ { i } } } { \\alpha _ { t _ { i } } } = e ^ { - \\lambda _ { t _ { i } } } } \\end{array}$ . Plugging these and $h _ { i } = \\lambda _ { t _ { i } } - \\lambda _ { t _ { i - 1 } }$ to Eq. (4.1) results in exactly a step of DPM-Solver-1 in Eq. (3.7). However, the semi-linear ODE formulation of DPM-Solver allows for principled generalization to higher-order solvers and convergence order analysis. ",
964
+ "bbox": [
965
+ 174,
966
+ 688,
967
+ 825,
968
+ 765
969
+ ],
970
+ "page_idx": 6
971
+ },
972
+ {
973
+ "type": "text",
974
+ "text": "Recent work [13] also show that DDIM is a first-order discretization of diffusion ODEs by differentiating both sides of Eq. (4.1). However, they cannot explain the difference between DDIM and the first-order Euler discretization of diffusion ODEs. In contrast, by showing that DDIM is a special case of DPM-Solver, we reveal that DDIM makes full use of the semi-linearity of diffusion ODEs, which explains its superiority over traditional Euler methods. ",
975
+ "bbox": [
976
+ 174,
977
+ 770,
978
+ 826,
979
+ 840
980
+ ],
981
+ "page_idx": 6
982
+ },
983
+ {
984
+ "type": "text",
985
+ "text": "4.2 Comparison with Traditional Runge-Kutta Methods ",
986
+ "text_level": 1,
987
+ "bbox": [
988
+ 173,
989
+ 857,
990
+ 576,
991
+ 872
992
+ ],
993
+ "page_idx": 6
994
+ },
995
+ {
996
+ "type": "text",
997
+ "text": "One can obtain a high-order solver by directly applying traditional explicit Runge-Kutta (RK) methods to the diffusion ODE in Eq. (2.7). Specifically, RK methods write the solution of Eq. (2.7) in the ",
998
+ "bbox": [
999
+ 173,
1000
+ 882,
1001
+ 821,
1002
+ 911
1003
+ ],
1004
+ "page_idx": 6
1005
+ },
1006
+ {
1007
+ "type": "table",
1008
+ "img_path": "images/114b9edc4cc71bed7f9d053944dde80589018ddf790160907d7334f50b5c35fb.jpg",
1009
+ "table_caption": [
1010
+ "Table 1: FID ↓ on CIFAR-10 for different orders of Runge-Kutta (RK) methods and DPM-Solvers, varying the number of function evaluations (NFE). For RK methods, we evaluate diffusion ODEs w.r.t. both $t$ (Eq. (2.7)) and $\\lambda$ (Eq. (E.1)). We use uniform step size in $t$ for RK (t), and uniform step size in $\\lambda$ for RK $( \\lambda )$ and DPM-Solvers. "
1011
+ ],
1012
+ "table_footnote": [],
1013
+ "table_body": "<table><tr><td>Sampling method\\NFE</td><td>12</td><td>18</td><td>24</td><td>30</td><td>36</td><td>42</td><td>48</td></tr><tr><td>RK2 (t)</td><td>16.40</td><td>7.25</td><td>3.90</td><td>3.63</td><td>3.58</td><td>3.59</td><td>3.54</td></tr><tr><td>RK2(入)</td><td>107.81</td><td>42.04</td><td>17.71</td><td>7.65</td><td>4.62</td><td>3.58</td><td>3.17</td></tr><tr><td>DPM-Solver-2</td><td>5.28</td><td>3.43</td><td>3.02</td><td>2.85</td><td>2.78</td><td>2.72</td><td>2.69</td></tr><tr><td>RK3 (t)</td><td>48.75</td><td>21.86</td><td>10.90</td><td>6.96</td><td>5.22</td><td>4.56</td><td>4.12</td></tr><tr><td>RK3 (入)</td><td>34.29</td><td>4.90</td><td>3.50</td><td>3.03</td><td>2.85</td><td>2.74</td><td>2.69</td></tr><tr><td>DPM-Solver-3</td><td>6.03</td><td>2.90</td><td>2.75</td><td>2.70</td><td>2.67</td><td>2.65</td><td>2.65</td></tr></table>",
1014
+ "bbox": [
1015
+ 238,
1016
+ 137,
1017
+ 754,
1018
+ 247
1019
+ ],
1020
+ "page_idx": 7
1021
+ },
1022
+ {
1023
+ "type": "text",
1024
+ "text": "following integral form: ",
1025
+ "bbox": [
1026
+ 174,
1027
+ 275,
1028
+ 333,
1029
+ 290
1030
+ ],
1031
+ "page_idx": 7
1032
+ },
1033
+ {
1034
+ "type": "equation",
1035
+ "img_path": "images/dbc1e1d3bec4cc742d44654340bd9da788aefebc8fc4b4e2a9e38d739f018ceb.jpg",
1036
+ "text": "$$\n{ \\bf { x } } _ { t } = { \\bf { x } } _ { s } + \\int _ { s } ^ { t } h _ { \\theta } ( { \\bf { x } } _ { \\tau } , \\tau ) \\mathrm { { d } } \\tau = { \\bf { x } } _ { s } + \\int _ { s } ^ { t } \\left( f ( \\tau ) { \\bf { x } } _ { \\tau } + \\frac { g ^ { 2 } ( \\tau ) } { 2 \\sigma _ { \\tau } } \\epsilon _ { \\theta } ( { \\bf { x } } _ { \\tau } , \\tau ) \\right) \\mathrm { { d } } \\tau ,\n$$",
1037
+ "text_format": "latex",
1038
+ "bbox": [
1039
+ 251,
1040
+ 297,
1041
+ 745,
1042
+ 334
1043
+ ],
1044
+ "page_idx": 7
1045
+ },
1046
+ {
1047
+ "type": "text",
1048
+ "text": "and use some intermediate time steps between $[ t , s ]$ and combine the evaluations of $h _ { \\theta }$ at these time steps to approximate the whole integral. The approximation error of explicit RK methods depends on $h _ { \\theta }$ , which consists of the error corresponding to both the linear term $f ( \\tau ) x _ { \\tau }$ and the nonlinear noise prediction model $\\epsilon _ { \\theta }$ . However, the error of the linear term may increase exponentially because the exact solution of the linear term has an exponential coefficient (as shown in Eq. (3.1)). There are many empirical evidence [25, 31] showing that directly using explicit RK methods for semi-linear ODEs may suffer from unstable numerical issues for large step size. We also demonstrate the empirical difference of the proposed DPM-Solver and the traditional explicit RK methods in Sec. 5.1, which shows that DPM-Solver have smaller discretization errors than the RK methods with the same order. ",
1049
+ "bbox": [
1050
+ 173,
1051
+ 342,
1052
+ 825,
1053
+ 467
1054
+ ],
1055
+ "page_idx": 7
1056
+ },
1057
+ {
1058
+ "type": "text",
1059
+ "text": "4.3 Training-based Fast Sampling Methods for DPMs ",
1060
+ "text_level": 1,
1061
+ "bbox": [
1062
+ 173,
1063
+ 484,
1064
+ 560,
1065
+ 501
1066
+ ],
1067
+ "page_idx": 7
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "text": "Samplers that need extra training or optimization include knowledge distillation [13, 14], learning the noise level or variance [15, 16, 33], and learning the noise schedule or sample trajectory [17, 18]. Although the progressive distillation method [13] can obtain a fast sampler within 4 steps, it needs further training costs and loses part of the information in the original DPM (e.g., after distillation, the noise prediction model cannot predict the noise (score function) at every time step between $[ 0 , T ] )$ . In contrast, training-free samplers can keep all the information of the original model, and thereby can be directly extended to the conditional sampling by combining the original model and an external classifier [4] (e.g. see Appendix D for the conditional sampling with classifier guidance). ",
1072
+ "bbox": [
1073
+ 173,
1074
+ 511,
1075
+ 826,
1076
+ 622
1077
+ ],
1078
+ "page_idx": 7
1079
+ },
1080
+ {
1081
+ "type": "text",
1082
+ "text": "Beyond directly designing fast samplers for DPMs, several works also propose novel types of DPMs which supports faster sampling. For instance, defining a low-dimensional latent variable for DPMs [34]; designing special diffusion processes with bounded score functions [35]; combining GANs with the reverse process of DPMs [36]. The proposed DPM-Solver may also be suitable for accelerating the sampling of these DPMs, and we leave them for future work. ",
1083
+ "bbox": [
1084
+ 174,
1085
+ 628,
1086
+ 825,
1087
+ 698
1088
+ ],
1089
+ "page_idx": 7
1090
+ },
1091
+ {
1092
+ "type": "text",
1093
+ "text": "5 Experiments ",
1094
+ "text_level": 1,
1095
+ "bbox": [
1096
+ 174,
1097
+ 719,
1098
+ 312,
1099
+ 737
1100
+ ],
1101
+ "page_idx": 7
1102
+ },
1103
+ {
1104
+ "type": "text",
1105
+ "text": "In this section, we show that as a training-free sampler, DPM-Solver can greatly speedup the sampling of existing pre-trained DPMs, including both continuous-time and discrete-time ones, with both linear noise schedule [2, 19] and cosine noise schedule [16]. We vary different number of function evaluations (NFE) which is the number of calls to the noise prediction model $\\epsilon _ { \\theta } ( x _ { t } , t )$ , and compare the sample quality between DPM-Solver and other methods. For each experiment, We draw 50K samples and use the widely adopted FID score [37] to evaluate the sample quality, where lower FID usually implies better sample quality. ",
1106
+ "bbox": [
1107
+ 174,
1108
+ 752,
1109
+ 825,
1110
+ 849
1111
+ ],
1112
+ "page_idx": 7
1113
+ },
1114
+ {
1115
+ "type": "text",
1116
+ "text": "Unless explicitly mentioned, we always use the solver combination with the uniform step size schedule in Sec. 3.3 if the NFE budget is less than 20, and otherwise the DPM-Solver-3 with the adaptive step size schedule in Sec. 3.3. We refer to Appendix D for other implementation details of DPM-Solver and Appendix E for detailed settings. ",
1117
+ "bbox": [
1118
+ 176,
1119
+ 856,
1120
+ 825,
1121
+ 911
1122
+ ],
1123
+ "page_idx": 7
1124
+ },
1125
+ {
1126
+ "type": "image",
1127
+ "img_path": "images/4e1bcabdec913d95ec9ff692dca4450fca481c16e793a3c86ffe1cf469e22305.jpg",
1128
+ "image_caption": [
1129
+ "Figure 2: Sample quality measured by FID $\\downarrow$ of different sampling methods for DPMs on CIFAR-10 with both continuous-time and discrete-time models, CelebA 64x64, ImageNet 64x64, ImageNet $1 2 8 \\mathrm { x } 1 2 8$ and LSUN bedroom $2 5 6 \\times 2 5 6$ with discrete-time models, varying the number of function evaluations (NFE). The method $^ { \\dag } { \\bf G } { \\bf G } { \\bf D } { \\bf M }$ [18] needs extra training to optimize the sample trajectory, while other methods are training-free. To get the strongest baseline, we use the quadratic step size for DDIM on CelebA, which has a better FID than that of the uniform step size in the original paper [19]. "
1130
+ ],
1131
+ "image_footnote": [],
1132
+ "bbox": [
1133
+ 179,
1134
+ 87,
1135
+ 816,
1136
+ 364
1137
+ ],
1138
+ "page_idx": 8
1139
+ },
1140
+ {
1141
+ "type": "text",
1142
+ "text": "5.1 Comparison with Continuous-Time Sampling Methods ",
1143
+ "text_level": 1,
1144
+ "bbox": [
1145
+ 174,
1146
+ 462,
1147
+ 594,
1148
+ 477
1149
+ ],
1150
+ "page_idx": 8
1151
+ },
1152
+ {
1153
+ "type": "text",
1154
+ "text": "We firstly compare DPM-Solver with other continuous-time sampling methods for DPMs. The compared methods include the Euler-Maruyama discretization for diffusion SDEs [3], the adaptive step size solver for diffusion SDEs [20] and the RK methods for diffusion ODEs [3, 28] in Eq. (2.7). We compare these methods for sampling from a pre-trained continuous-time “VP deep” model [3] on the CIFAR-10 dataset [29] with the linear noise schedule. ",
1155
+ "bbox": [
1156
+ 174,
1157
+ 489,
1158
+ 825,
1159
+ 559
1160
+ ],
1161
+ "page_idx": 8
1162
+ },
1163
+ {
1164
+ "type": "text",
1165
+ "text": "Fig. 2a shows the efficiency of compared solvers. We use uniform time steps with 50, 200, 1000 NFE for the diffusion SDE with Euler discretization, and vary the tolerance hyperparameter [3, 20] for the adaptive step size SDE solver [20] and RK45 ODE solver [28] to control the NFE. DPM-Solver can generate good sample quality within around 10 NFE, while other solvers have large discretization error even in 50 NFE, which shows that DPM-Solver can achieve ${ \\sim } 5 $ speedup of the previous best solver. In particular, we achieve 4.70 FID with 10 NFE, 3.75 FID with 12 NFE, 3.24 FID with 15 NFE, and 2.87 FID with 20 NFE, which is the fastest sampler on CIFAR-10. ",
1166
+ "bbox": [
1167
+ 174,
1168
+ 565,
1169
+ 825,
1170
+ 662
1171
+ ],
1172
+ "page_idx": 8
1173
+ },
1174
+ {
1175
+ "type": "text",
1176
+ "text": "As an ablation study, we also compare the second-order and third-order DPM-Solver and RK methods, as shown in Table 1. We compare RK methods for diffusion ODEs w.r.t. both time $t$ in Eq. (2.7) and half-log-SNR $\\lambda$ by applying change-of-variable (see detailed formulations in Appendix E.1). The results show that given the same NFE, the sample quality of DPM-Solver is consistently better than RK methods with the same order. The superior efficiency of DPM-Solver is particularly evident in the few-step regime under 15 NFE, where RK methods have rather large discretization errors. This is mainly because DPM-Solver analytically computes the linear term, avoiding the corresponding discretization error. Besides, the higher order DPM-Solver-3 converges faster than DPM-Solver-2, which matches the order analysis in Theorem 3.2. ",
1177
+ "bbox": [
1178
+ 174,
1179
+ 669,
1180
+ 825,
1181
+ 792
1182
+ ],
1183
+ "page_idx": 8
1184
+ },
1185
+ {
1186
+ "type": "text",
1187
+ "text": "5.2 Comparison with Discrete-Time Sampling Methods ",
1188
+ "text_level": 1,
1189
+ "bbox": [
1190
+ 173,
1191
+ 814,
1192
+ 570,
1193
+ 829
1194
+ ],
1195
+ "page_idx": 8
1196
+ },
1197
+ {
1198
+ "type": "text",
1199
+ "text": "We use the method in Sec. 3.4 for using DPM-Solver in discrete-time DPMs, and then compare DPM-Solver with other discrete-time training-free samplers, including DDPM [2], DDIM [19], Analytic-DDPM [21], Analytic-DDIM [21], PNDM [22], FastDPM [38] and Itô-Taylor [24]. We also compare with GGDM [18], which uses the same pre-trained model but needs further training for the sampling trajectory. We compare the sample quality by varying NFE from 10 to 1000. ",
1200
+ "bbox": [
1201
+ 174,
1202
+ 842,
1203
+ 825,
1204
+ 911
1205
+ ],
1206
+ "page_idx": 8
1207
+ },
1208
+ {
1209
+ "type": "text",
1210
+ "text": "Specifically, we use the discrete-time model trained by $L _ { \\mathrm { s i m p l e } }$ in [2] on the CIFAR-10 dataset with linear noise schedule; the discrete-time model in [19] on CelebA 64x64 [39] with linear noise schedule; the discrete-time model trained by $L _ { \\mathrm { h y b r i d } }$ in [16] on ImageNet 64x64 [26] with cosine noise schedule; the discrete-time model with classifier guidance in [4] on ImageNet 128x128 [26] with linear noise schedule; the discrete-time model in [4] on LSUN bedroom $2 5 6 \\times 2 5 6$ [40] with linear noise schedule. For the models trained on ImageNet, we only use their “mean” model and omit the “variance” model. As shown in Fig. 2, on all datasets, DPM-Solver can obtain reasonable samples within 12 steps (FID 4.65 on CIFAR-10, FID 3.71 on CelebA 64x64 and FID 19.97 on ImageNet 64x64, FID 4.08 on ImageNet $1 2 8 \\mathbf { x } 1 2 8 _ { \\rho }$ ), which is $4 \\sim 1 6 \\times$ faster than the previous fastest training-free sampler. DPM-Solver even outperforms GGDM, which requires additional training. ",
1211
+ "bbox": [
1212
+ 173,
1213
+ 90,
1214
+ 825,
1215
+ 229
1216
+ ],
1217
+ "page_idx": 9
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "text": "6 Conclusions ",
1222
+ "text_level": 1,
1223
+ "bbox": [
1224
+ 174,
1225
+ 251,
1226
+ 305,
1227
+ 267
1228
+ ],
1229
+ "page_idx": 9
1230
+ },
1231
+ {
1232
+ "type": "text",
1233
+ "text": "We tackle the problem of fast and training-free sampling from DPMs. We propose DPM-Solver, a fast dedicated training-free solver of diffusion ODEs for fast sampling of DPMs in around 10 steps of function evaluations. DPM-Solver leverages the semi-linearity of diffusion ODEs and it directly approximates a simplified formulation of exact solutions of diffusion ODEs, which consists of an exponentially weighted integral of the noise prediction model. Inspired by numerical methods for exponential integrators, we propose first-order, second-order and third-order DPMSolver to approximate the exponentially weighted integral of noise prediction models with theoretical convergence guarantee. We propose both handcrafted and adaptive step size schedule, and apply DPM-Solver for both continuous-time and discrete-time DPMs. Our experimental results show that DPM-Solver can generate high-quality samples in around 10 function evaluations on various datasets, and it can achieve $4 \\sim 1 6 \\times$ speedup compared with previous state-of-the-art training-free samplers. ",
1234
+ "bbox": [
1235
+ 174,
1236
+ 282,
1237
+ 825,
1238
+ 435
1239
+ ],
1240
+ "page_idx": 9
1241
+ },
1242
+ {
1243
+ "type": "text",
1244
+ "text": "Limitations and broader impact Despite the promising speedup performance, DPM-Solver is designed for fast sampling, which may be not suitable for accelerating the likelihood evaluations of DPMs. Besides, compared to the commonly-used GANs, diffusion models with DPM-Solver are still not fast enough for real-time applications. In addition, like other deep generative models, DPMs may be used to generate adverse fake contents, and the proposed solver may further amplify the potential undesirable influence of deep generative models for malicious applications. ",
1245
+ "bbox": [
1246
+ 174,
1247
+ 440,
1248
+ 825,
1249
+ 525
1250
+ ],
1251
+ "page_idx": 9
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "text": "Acknowledgements ",
1256
+ "text_level": 1,
1257
+ "bbox": [
1258
+ 176,
1259
+ 545,
1260
+ 338,
1261
+ 561
1262
+ ],
1263
+ "page_idx": 9
1264
+ },
1265
+ {
1266
+ "type": "text",
1267
+ "text": "This work was supported by National Key Research and Development Project of China (No. 2021ZD0110502); NSF of China Projects (Nos. 62061136001, 61620106010, 62076145, U19B2034, U1811461, U19A2081, 6197222, 62106120); Beijing NSF Project (No. JQ19016); Beijing Outstanding Young Scientist Program NO. BJJWZYJH012019100020098; a grant from Tsinghua Institute for Guo Qiang; the NVIDIA NVAIL Program with GPU/DGX Acceleration; the High Performance Computing Center, Tsinghua University; the Fundamental Research Funds for the Central Universities, and the Research Funds of Renmin University of China (22XNKJ13). J.Z is also supported by the XPlorer Prize. ",
1268
+ "bbox": [
1269
+ 174,
1270
+ 577,
1271
+ 826,
1272
+ 688
1273
+ ],
1274
+ "page_idx": 9
1275
+ },
1276
+ {
1277
+ "type": "text",
1278
+ "text": "References ",
1279
+ "text_level": 1,
1280
+ "bbox": [
1281
+ 174,
1282
+ 710,
1283
+ 266,
1284
+ 726
1285
+ ],
1286
+ "page_idx": 9
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "text": "[1] J. Sohl-Dickstein, E. Weiss, N. Maheswaranathan, and S. Ganguli, “Deep unsupervised learning using nonequilibrium thermodynamics,” in International Conference on Machine Learning. PMLR, 2015, pp. 2256–2265. \n[2] J. Ho, A. Jain, and P. Abbeel, “Denoising diffusion probabilistic models,” in Advances in Neural Information Processing Systems, vol. 33, 2020, pp. 6840–6851. \n[3] Y. Song, J. Sohl-Dickstein, D. P. Kingma, A. Kumar, S. Ermon, and B. Poole, “Score-based generative modeling through stochastic differential equations,” in International Conference on Learning Representations, 2021. \n[4] P. Dhariwal and A. Q. Nichol, “Diffusion models beat GANs on image synthesis,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 8780–8794. \n[5] C. Meng, Y. Song, J. Song, J. Wu, J.-Y. Zhu, and S. Ermon, “SDEdit: Image synthesis and editing with stochastic differential equations,” in International Conference on Learning Representations, 2022. \n[6] J. Ho, T. Salimans, A. Gritsenko, W. Chan, M. Norouzi, and D. J. Fleet, “Video diffusion models,” arXiv preprint arXiv:2204.03458, 2022. \n[7] A. Ramesh, P. Dhariwal, A. Nichol, C. Chu, and M. Chen, “Hierarchical text-conditional image generation with CLIP latents,” arXiv preprint arXiv:2204.06125, 2022. \n[8] N. Chen, Y. Zhang, H. Zen, R. J. Weiss, M. Norouzi, and W. Chan, “Wavegrad: Estimating gradients for waveform generation,” in International Conference on Learning Representations, 2021. \n[9] N. Chen, Y. Zhang, H. Zen, R. J. Weiss, M. Norouzi, N. Dehak, and W. Chan, “Wavegrad 2: Iterative refinement for text-to-speech synthesis,” in International Speech Communication Association, 2021, pp. 3765–3769. \n[10] D. P. Kingma, T. Salimans, B. Poole, and J. Ho, “Variational diffusion models,” in Advances in Neural Information Processing Systems, 2021. \n[11] I. J. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. C. Courville, and Y. Bengio, “Generative adversarial nets,” in Advances in Neural Information Processing Systems, vol. 27, 2014, pp. 2672–2680. \n[12] D. P. Kingma and M. Welling, “Auto-encoding variational bayes,” in International Conference on Learning Representations, 2014. \n[13] T. Salimans and J. Ho, “Progressive distillation for fast sampling of diffusion models,” in International Conference on Learning Representations, 2022. \n[14] E. Luhman and T. Luhman, “Knowledge distillation in iterative generative models for improved sampling speed,” arXiv preprint arXiv:2101.02388, 2021. \n[15] R. San-Roman, E. Nachmani, and L. Wolf, “Noise estimation for generative diffusion models,” arXiv preprint arXiv:2104.02600, 2021. \n[16] A. Q. Nichol and P. Dhariwal, “Improved denoising diffusion probabilistic models,” in International Conference on Machine Learning. PMLR, 2021, pp. 8162–8171. \n[17] M. W. Lam, J. Wang, R. Huang, D. Su, and D. Yu, “Bilateral denoising diffusion models,” arXiv preprint arXiv:2108.11514, 2021. \n[18] D. Watson, W. Chan, J. Ho, and M. Norouzi, “Learning fast samplers for diffusion models by differentiating through sample quality,” in International Conference on Learning Representations, 2022. \n[19] J. Song, C. Meng, and S. Ermon, “Denoising diffusion implicit models,” in International Conference on Learning Representations, 2021. \n[20] A. Jolicoeur-Martineau, K. Li, R. Piché-Taillefer, T. Kachman, and I. Mitliagkas, “Gotta go fast when generating data with score-based models,” arXiv preprint arXiv:2105.14080, 2021. \n[21] F. Bao, C. Li, J. Zhu, and B. Zhang, “Analytic-DPM: An analytic estimate of the optimal reverse variance in diffusion probabilistic models,” in International Conference on Learning Representations, 2022. \n[22] L. Liu, Y. Ren, Z. Lin, and Z. Zhao, “Pseudo numerical methods for diffusion models on manifolds,” in International Conference on Learning Representations, 2022. \n[23] V. Popov, I. Vovk, V. Gogoryan, T. Sadekova, M. Kudinov, and J. Wei, “Diffusion-based voice conversion with fast maximum likelihood sampling scheme,” in International Conference on Learning Representations, 2022. \n[24] H. Tachibana, M. Go, M. Inahara, Y. Katayama, and Y. Watanabe, “Itô-Taylor sampling scheme for denoising diffusion probabilistic models using ideal derivatives,” arXiv preprint arXiv:2112.13339, 2021. \n[25] M. Hochbruck and A. Ostermann, “Exponential integrators,” Acta Numerica, vol. 19, pp. 209–286, 2010. \n[26] J. Deng, W. Dong, R. Socher, L. Li, K. Li, and L. Fei-Fei, “ImageNet: A large-scale hierarchical image database,” in 2009 IEEE Conference on Computer Vision and Pattern Recognition. IEEE, 2009, pp. 248–255. \n[27] P. E. Kloeden and E. Platen, Numerical Solution of Stochastic Differential Equations. Springer, 1992. \n[28] J. R. Dormand and P. J. Prince, “A family of embedded Runge-Kutta formulae,” Journal of computational and applied mathematics, vol. 6, no. 1, pp. 19–26, 1980. \n[29] A. Krizhevsky, “Learning multiple layers of features from tiny images,” Tech. Rep., 2009. \n[30] K. Atkinson, W. Han, and D. E. Stewart, Numerical solution of ordinary differential equations. John Wiley & Sons, 2011, vol. 108. \n[31] M. Hochbruck and A. Ostermann, “Explicit exponential Runge-Kutta methods for semilinear parabolic problems,” SIAM Journal on Numerical Analysis, vol. 43, no. 3, pp. 1069–1090, 2005. \n[32] V. T. Luan, “Efficient exponential Runge-Kutta methods of high order: Construction and implementation,” BIT Numerical Mathematics, vol. 61, no. 2, pp. 535–560, 2021. \n[33] F. Bao, C. Li, J. Sun, J. Zhu, and B. Zhang, “Estimating the optimal covariance with imperfect mean in diffusion probabilistic models,” arXiv preprint arXiv:2206.07309, 2022. \n[34] A. Vahdat, K. Kreis, and J. Kautz, “Score-based generative modeling in latent space,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 11 287–11 302. \n[35] T. Dockhorn, A. Vahdat, and K. Kreis, “Score-based generative modeling with critically-damped Langevin diffusion,” in International Conference on Learning Representations, 2022. \n[36] Z. Xiao, K. Kreis, and A. Vahdat, “Tackling the generative learning trilemma with denoising diffusion GANs,” in International Conference on Learning Representations, 2022. \n[37] M. Heusel, H. Ramsauer, T. Unterthiner, B. Nessler, and S. Hochreiter, “GANs trained by a two time-scale update rule converge to a local Nash equilibrium,” in Advances in Neural Information Processing Systems, I. Guyon, U. von Luxburg, S. Bengio, H. M. Wallach, R. Fergus, S. V. N. Vishwanathan, and R. Garnett, Eds., vol. 30, 2017, pp. 6626–6637. \n[38] Z. Kong and W. Ping, “On fast sampling of diffusion probabilistic models,” arXiv preprint arXiv:2106.00132, 2021. \n[39] Z. Liu, P. Luo, X. Wang, and X. Tang, “Deep learning face attributes in the wild,” in Proceedings of the IEEE International Conference on Computer Vision, 2015, pp. 3730–3738. \n[40] F. Yu, A. Seff, Y. Zhang, S. Song, T. Funkhouser, and J. Xiao, “LSUN: Construction of a large-scale image dataset using deep learning with humans in the loop,” arXiv preprint arXiv:1506.03365, 2015. \n[41] Y. Song, C. Durkan, I. Murray, and S. Ermon, “Maximum likelihood training of score-based diffusion models,” in Advances in Neural Information Processing Systems, vol. 34, 2021, pp. 1415–1428. \n[42] K. Yang, J. Yau, L. Fei-Fei, J. Deng, and O. Russakovsky, “A study of face obfuscation in ImageNet,” arXiv preprint arXiv:2103.06191, 2021. ",
1291
+ "bbox": [
1292
+ 179,
1293
+ 734,
1294
+ 826,
1295
+ 911
1296
+ ],
1297
+ "page_idx": 9
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "text": "",
1302
+ "bbox": [
1303
+ 171,
1304
+ 65,
1305
+ 828,
1306
+ 916
1307
+ ],
1308
+ "page_idx": 10
1309
+ },
1310
+ {
1311
+ "type": "text",
1312
+ "text": "",
1313
+ "bbox": [
1314
+ 171,
1315
+ 64,
1316
+ 828,
1317
+ 907
1318
+ ],
1319
+ "page_idx": 11
1320
+ },
1321
+ {
1322
+ "type": "text",
1323
+ "text": "Checklist ",
1324
+ "text_level": 1,
1325
+ "bbox": [
1326
+ 174,
1327
+ 89,
1328
+ 254,
1329
+ 106
1330
+ ],
1331
+ "page_idx": 12
1332
+ },
1333
+ {
1334
+ "type": "text",
1335
+ "text": "1. For all authors... ",
1336
+ "bbox": [
1337
+ 214,
1338
+ 116,
1339
+ 339,
1340
+ 130
1341
+ ],
1342
+ "page_idx": 12
1343
+ },
1344
+ {
1345
+ "type": "text",
1346
+ "text": "(a) Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope? [Yes] \n(b) Did you describe the limitations of your work? [Yes] See section 6. \n(c) Did you discuss any potential negative societal impacts of your work? [Yes] See section 6. \n(d) Have you read the ethics review guidelines and ensured that your paper conforms to them? [Yes] ",
1347
+ "bbox": [
1348
+ 238,
1349
+ 135,
1350
+ 825,
1351
+ 239
1352
+ ],
1353
+ "page_idx": 12
1354
+ },
1355
+ {
1356
+ "type": "text",
1357
+ "text": "2. If you are including theoretical results... ",
1358
+ "bbox": [
1359
+ 214,
1360
+ 243,
1361
+ 493,
1362
+ 258
1363
+ ],
1364
+ "page_idx": 12
1365
+ },
1366
+ {
1367
+ "type": "text",
1368
+ "text": "(a) Did you state the full set of assumptions of all theoretical results? [Yes] See Appendix B. (b) Did you include complete proofs of all theoretical results? [Yes] See Appendix B. ",
1369
+ "bbox": [
1370
+ 238,
1371
+ 262,
1372
+ 825,
1373
+ 308
1374
+ ],
1375
+ "page_idx": 12
1376
+ },
1377
+ {
1378
+ "type": "text",
1379
+ "text": "3. If you ran experiments... ",
1380
+ "bbox": [
1381
+ 214,
1382
+ 311,
1383
+ 393,
1384
+ 325
1385
+ ],
1386
+ "page_idx": 12
1387
+ },
1388
+ {
1389
+ "type": "text",
1390
+ "text": "(a) Did you include the code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL)? [Yes] Code is attached in the supplemental materials, with the appendix. \n(b) Did you specify all the training details (e.g., data splits, hyperparameters, how they were chosen)? [Yes] Our method is training-free. But we also report the hyperparameters for evaluations used in our proposed solver. \n(c) Did you report error bars (e.g., with respect to the random seed after running experiments multiple times)? [No] We observe that the standard deviation of the FID evaluations of DPM-Solver are rather small (mainly less than 0.01) because the FID is already averaged over 50K samples, following existing work [18, 20, 21]. The small standard deviation does not change the conclusion. \n(d) Did you include the total amount of compute and the type of resources used (e.g., type of GPUs, internal cluster, or cloud provider)? [Yes] The GPU type and amount is detailed in Appendix E. ",
1391
+ "bbox": [
1392
+ 238,
1393
+ 332,
1394
+ 825,
1395
+ 531
1396
+ ],
1397
+ "page_idx": 12
1398
+ },
1399
+ {
1400
+ "type": "text",
1401
+ "text": "4. If you are using existing assets (e.g., code, data, models) or curating/releasing new assets... ",
1402
+ "bbox": [
1403
+ 207,
1404
+ 536,
1405
+ 823,
1406
+ 551
1407
+ ],
1408
+ "page_idx": 12
1409
+ },
1410
+ {
1411
+ "type": "text",
1412
+ "text": "(a) If your work uses existing assets, did you cite the creators? [Yes] \n(b) Did you mention the license of the assets? [Yes] See Appendix E \n(c) Did you include any new assets either in the supplemental material or as a URL? [Yes] We include our code in the supplemental materials. \n(d) Did you discuss whether and how consent was obtained from people whose data you’re using/curating? [No] All of the datasets used in the experiments are publicly available. \n(e) Did you discuss whether the data you are using/curating contains personally identifiable information or offensive content? [Yes] We mentioned the human privacy issues of the ImageNet dataset in Appendix E. ",
1413
+ "bbox": [
1414
+ 238,
1415
+ 555,
1416
+ 825,
1417
+ 689
1418
+ ],
1419
+ "page_idx": 12
1420
+ },
1421
+ {
1422
+ "type": "text",
1423
+ "text": "5. If you used crowdsourcing or conducted research with human subjects... ",
1424
+ "bbox": [
1425
+ 214,
1426
+ 694,
1427
+ 705,
1428
+ 708
1429
+ ],
1430
+ "page_idx": 12
1431
+ },
1432
+ {
1433
+ "type": "text",
1434
+ "text": "(a) Did you include the full text of instructions given to participants and screenshots, if applicable? [N/A] \n(b) Did you describe any potential participant risks, with links to Institutional Review Board (IRB) approvals, if applicable? [N/A] \n(c) Did you include the estimated hourly wage paid to participants and the total amount spent on participant compensation? [N/A] ",
1435
+ "bbox": [
1436
+ 238,
1437
+ 712,
1438
+ 825,
1439
+ 801
1440
+ ],
1441
+ "page_idx": 12
1442
+ }
1443
+ ]
parse/dev/2uAaGwlP_V/2uAaGwlP_V_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efef78215742d2e53f6103ab4f59c7b9859bb02e3313139d78817f6a5456a572
3
+ size 3934565
parse/dev/2uAaGwlP_V/2uAaGwlP_V_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/2uAaGwlP_V/2uAaGwlP_V_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/2uAaGwlP_V/2uAaGwlP_V_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af8fa309f5c93919c6526c7b2ab6a4ee5954e690b6438f4c266d9d9d535bdaea
3
+ size 3722409
parse/dev/2uAaGwlP_V/2uAaGwlP_V_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c79651a2e4730a17e46f02f4ebb0ef34d5050293a62e9d83acaf931c9e5b6055
3
+ size 3947683
parse/dev/2uAaGwlP_V/images/098b1c09edd91e1e8b539459bb92a3c5f191abb42aa1157755522d3dce62bcae.jpg ADDED

Git LFS Details

  • SHA256: 5d660087f37c030c4ae332cab05a6217e890ffc60755dd8a3a3d8d1de12e4205
  • Pointer size: 129 Bytes
  • Size of remote file: 8.31 kB
parse/dev/2uAaGwlP_V/images/114b9edc4cc71bed7f9d053944dde80589018ddf790160907d7334f50b5c35fb.jpg ADDED

Git LFS Details

  • SHA256: 554dd2ce408f3085af11c95d7cf607b1bdda3da4804c563aa845a12217d2a746
  • Pointer size: 130 Bytes
  • Size of remote file: 42.4 kB
parse/dev/2uAaGwlP_V/images/18da74f3ada9dcef2cf0de53303bacedefeb327430ef720bfe85381fb0de2f45.jpg ADDED

Git LFS Details

  • SHA256: c3e50cb9fd2238ec844be254e6c9c90a3ac35ef11a14e31af207f23ca3f85045
  • Pointer size: 130 Bytes
  • Size of remote file: 16.2 kB
parse/dev/2uAaGwlP_V/images/28428e28211e5384d76d1e8330c965590495d098f46b2f50a448a40982e1a8f0.jpg ADDED

Git LFS Details

  • SHA256: 7a3a219016e31560ce3660de0c765306b4acf1e16d82b8fcd36210d0bf73bc99
  • Pointer size: 130 Bytes
  • Size of remote file: 10.9 kB
parse/dev/2uAaGwlP_V/images/3ad93903d54c31c8256e52d597943286bbf9fba385901a6d278538f4eb730eed.jpg ADDED

Git LFS Details

  • SHA256: 810f44d349f4ce53c5f9ab8ebf6aaa366a775a0daeff567cbc5ac93fa221e238
  • Pointer size: 129 Bytes
  • Size of remote file: 7.33 kB
parse/dev/2uAaGwlP_V/images/4d6dd94407a2a26c38622fe661183fe6ba98b37b4ec1a90af34b958f1acc3ac9.jpg ADDED

Git LFS Details

  • SHA256: 2436ab1cdb4ba9571722c641e2181498c2155b38361940c6569731a62d6d356b
  • Pointer size: 130 Bytes
  • Size of remote file: 97.4 kB
parse/dev/2uAaGwlP_V/images/4e1bcabdec913d95ec9ff692dca4450fca481c16e793a3c86ffe1cf469e22305.jpg ADDED

Git LFS Details

  • SHA256: fb7553775df5c15bc80a47657e5c97346259afe6b065131e1e1223e72f3640fc
  • Pointer size: 130 Bytes
  • Size of remote file: 99.4 kB
parse/dev/2uAaGwlP_V/images/65fdde0d1d949853db59a598710255c20a35d6c68ca6401f8b46cd9f514525f2.jpg ADDED

Git LFS Details

  • SHA256: 778a26fa65aa7728b53483578d9dc3db8be0a2ab8d96c2aa7343fe0120fa3ae5
  • Pointer size: 129 Bytes
  • Size of remote file: 8.79 kB
parse/dev/2uAaGwlP_V/images/6f1153f8f759866e204632c40d87e1d736b7589259f6710fccd3282a51e399e5.jpg ADDED

Git LFS Details

  • SHA256: 0b59b286fdf0ef71986af0df9a5cfe1fee4fce64d1a074712bfe6cac6c6457da
  • Pointer size: 129 Bytes
  • Size of remote file: 7.87 kB
parse/dev/2uAaGwlP_V/images/772c489895a83788baac27c0b2cc0da51d29a5ff2c72c378ea8301efa3cfe52d.jpg ADDED

Git LFS Details

  • SHA256: 90b7010471b22426c4ab08259206f4022be5b2924b10c1f10ec97397855d8900
  • Pointer size: 129 Bytes
  • Size of remote file: 8.86 kB
parse/dev/2uAaGwlP_V/images/8433318473b1628737ca5404d0a929d6a4570d9919cf8824f87c274bc4a0bbfd.jpg ADDED

Git LFS Details

  • SHA256: 0a19c7bfd34732959f58b9492930f0bc502dca681082bd20347ba1399d4c7e97
  • Pointer size: 129 Bytes
  • Size of remote file: 5.33 kB
parse/dev/2uAaGwlP_V/images/8deaa6e7603de31da2fd31418b2d224dd8ec375a261d169ca354b6f5b2802791.jpg ADDED

Git LFS Details

  • SHA256: 4c4d8fa4242cb3bf662ba21b353e7210703115a38a093c9829b03d663b007329
  • Pointer size: 129 Bytes
  • Size of remote file: 8.01 kB
parse/dev/2uAaGwlP_V/images/976243e2861066edc99111ffc150a8141dda0494f026576eb3e22e90ae405d03.jpg ADDED

Git LFS Details

  • SHA256: 7ca8e38c6f9538207bd2a8af92b80fde66f5774338695a204ec2027a718e50a0
  • Pointer size: 129 Bytes
  • Size of remote file: 9.26 kB
parse/dev/2uAaGwlP_V/images/9abcfd7effacf68fb53c21394f34e41f5f607171cf80a13282a4bf3971c34831.jpg ADDED

Git LFS Details

  • SHA256: a26b3474968b9c67d6b6990f91822cd12a1540af7916d9499c2034b5a97d6897
  • Pointer size: 129 Bytes
  • Size of remote file: 5.44 kB
parse/dev/2uAaGwlP_V/images/aa02a3d9e9670da70428ff51d8dccbfd33121e4f699e839306505e69a37a124c.jpg ADDED

Git LFS Details

  • SHA256: c8e48fa6face3bf593b15a3ab83c1c368fdc1df3af8090c915d03a14943c86b9
  • Pointer size: 130 Bytes
  • Size of remote file: 12.4 kB
parse/dev/2uAaGwlP_V/images/ad4609832a6419c85fb2132d9d91d2c95beec92e10bd4907c45b4ed7d6c517e6.jpg ADDED

Git LFS Details

  • SHA256: 7844229bdd52214966dbe1a2fe77b11ea3680f06b692e2846995c3d411bf2326
  • Pointer size: 130 Bytes
  • Size of remote file: 36.4 kB
parse/dev/2uAaGwlP_V/images/b98f04c1bbffa9531e257210ae6112c502489822e557b5a3afdb274392b83d54.jpg ADDED

Git LFS Details

  • SHA256: 517ce01f27f1c2c9df4be35fec3eee2c0a04d00b254fa337058b298904d1cd89
  • Pointer size: 129 Bytes
  • Size of remote file: 5.18 kB
parse/dev/2uAaGwlP_V/images/d804fb43f91c9fdbe50275bbfdd61568c9d23d13e7c4cea3f8e0751dee5a2bb6.jpg ADDED

Git LFS Details

  • SHA256: 3a18760e3d49318baecbf37dce792bf8266fc9d3c82c4ae01e1e5f4c4f4ba717
  • Pointer size: 129 Bytes
  • Size of remote file: 6.81 kB
parse/dev/2uAaGwlP_V/images/db0329942038b0f1cd9de0b5b9716a202705a11feeab57d38ae6c43085d15745.jpg ADDED

Git LFS Details

  • SHA256: 7f9b738b54f4b28a5fd3722b7ab1ec2d034abd2c2eb7491f29ac9a5dfe949d0f
  • Pointer size: 129 Bytes
  • Size of remote file: 7.41 kB
parse/dev/2uAaGwlP_V/images/dbc1e1d3bec4cc742d44654340bd9da788aefebc8fc4b4e2a9e38d739f018ceb.jpg ADDED

Git LFS Details

  • SHA256: 9175b1c1317584f052d18412bebcfe14b5117dc9cef9b989d96b766f08fb1e33
  • Pointer size: 129 Bytes
  • Size of remote file: 9.73 kB
parse/dev/2uAaGwlP_V/images/e1a7a77f08fcf2344ebba70e31c391e6092d3781368a0af49fae27dbeb5b255e.jpg ADDED

Git LFS Details

  • SHA256: e4d46c3fe73c4f55fbb4ecf02d87748310b1b4c1808e3468ae04967ff40fa7ad
  • Pointer size: 130 Bytes
  • Size of remote file: 14.4 kB
parse/dev/2uAaGwlP_V/images/e5d12cd513ddf8ae3fa219a1feddb4594e4cf22e33260b27389e15d81ab87dc7.jpg ADDED

Git LFS Details

  • SHA256: 59d17193879dd79e24988942c2531ab5aa64ffcd29bfbd7c71e214453c342d28
  • Pointer size: 129 Bytes
  • Size of remote file: 7.22 kB
parse/dev/2uAaGwlP_V/images/e941fd95cbf3e1c496583b82dd623ff65158438a8e8529e43b6a17ad2855df95.jpg ADDED

Git LFS Details

  • SHA256: fc3fb4ea151ee9c20dde4130ee338f82f6732d0434514f7dbd55a46ab94ea073
  • Pointer size: 129 Bytes
  • Size of remote file: 6.76 kB
parse/dev/3FvF1db-bKT/3FvF1db-bKT.md ADDED
@@ -0,0 +1,385 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # LOCAL AUGMENTATION FOR GRAPH NEURAL NETWORKS
2
+
3
+ Anonymous authors Paper under double-blind review
4
+
5
+ # ABSTRACT
6
+
7
+ Data augmentation has been widely used in image data and linguistic data but remains under-explored for Graph Neural Networks (GNNs). Existing methods focus on augmenting the graph data from a global perspective and largely fall into two genres: structural manipulation and adversarial training with feature noise injection. However, recent graph data augmentation methods ignore the importance of local information for the GNNs’ message passing mechanism. In this work, we introduce the local augmentation, which enhances the locality of node representations by their subgraph structures. Specifically, we model the data augmentation as a feature generation process. Given a node’s features, our local augmentation approach learns the conditional distribution of its neighbors’ features and generates more neighbors’ features to boost the performance of downstream tasks. Based on the local augmentation, we further design a novel framework: LA-GNN, which can apply to any GNN models in a plug-and-play manner. Extensive experiments and analyses show that local augmentation consistently yields performance improvement for various GNN architectures across a diverse set of benchmarks.
8
+
9
+ # 1 INTRODUCTION
10
+
11
+ Graph Neural Networks (GNNs) and their variants (Abu-El-Haija et al., 2019; Kipf & Welling, 2017; Velickovi ˇ c et al., 2018) have achieved state-of-the-art performance for many tasks on graphs such as ´ recommendation system (Ying et al., 2018) and traffic prediction (Guo et al., 2019). However, most of the GNN models, such as GCN (Kipf & Welling, 2017) and GAT (Velickovi ˇ c et al., 2018), learn ´ the node representations by aggregating information over only the 2-hop neighborhood. Such shallow architectures limit their ability to extract information from higher-layer neighborhoods (Wang & Derr, 2021). But deep GNNs are prone to over-smoothing (Li et al., 2018), which suggests the node representations tend to converge to a certain vector and thus become indistinguishable. One solution to address this problem is to preserve the locality of node representations when increasing the number of layers. For example, JKNet (Xu et al., 2018) densely connects (Huang et al., 2017) each hidden layer to the final layer. GCNII (Chen et al., 2020) employs an initial residual to construct a skip connection from the input layer. Besides, Zeng et al. (2021) pointed out that the key for GNN is to smooth the local neighborhood into informative representation, no matter how deep it is. And they decouple the depth and scope of GNNs to help capture local graph structure. Prior works have emphasized the importance of local information, but one property of the graph is that the number of nodes in the local neighborhood is far fewer than higher-order neighbors. And this property limits the expressive power of GNNs due to the limited neighbors in the local structure. A very intuitive idea is to use data augmentation to increase the number of nodes in the local substructure.
12
+
13
+ However, existing graph data augmentation methods ignore the importance of local information and only perturb at the topology-level and feature-level from a global perspective, which can be divided into two categories: topology-level augmentation (Rong et al., 2020; Wang et al., 2020b; Zhao et al., 2021) and feature-level augmentation (Deng et al., 2019; Feng et al., 2019; Kong et al., 2020). Topology-level augmentation perturbs the adjacency matrix, yielding different graph structures. On the other hand, existing feature-level augmentation mainly exploits perturbation of node attributes guided by adversarial training (Deng et al., 2019; Feng et al., 2019; Kong et al., 2020). These augmentation techniques have two drawbacks. 1) Some of they employ full-batch training for augmentation, which is computationally expensive, and introduce some additional side effects such as over-smoothing. 2) The type of feature-level augmentation is coarse-grained, which focuses on global augmentation and overlooks the local information of the neighborhood. Moreover, to our best knowledge, none of the existing approaches combines both the feature representations and the graph topology, especially the local subgraph structures, for graph-level data augmentation.
14
+
15
+ In this work, we propose a framework: Local Augmentation for Graph Neural Networks (LA-GNNs), to further enhance the locality of node representations based on both the topology-level and featurelevel information in the substructure. The term "local augmentation" refers to the generation of neighborhood features via a generative model conditioned on local structures and node features. Specifically, our proposed framework learns the conditional distribution of the connected neighbors’ representations given the representation of the central node, bearing some similarities with the Skipgram (Mikolov et al., 2013) and Deepwalk Perozzi et al. (2014), with the difference that our method does not base on word or graph embedding.
16
+
17
+ The motivation behind this work concludes three-fold. 1) Existing feature-level augmentation works primarily pay attention to global augmentation without considering the informative neighborhood. 2) The distributions of the representations of the neighbors are closely connected to the central node, making ample room for feature augmentation. 3) Preserving the locality of node representations is key to avoiding over-smoothing $\mathrm { { X u } }$ et al., 2018; Klicpera et al., 2019; Chen et al., 2020). And there are several benefits in applying local augmentation for the GNN training. First, local augmentation is essentially a data augmentation technique that can improve the generalization of the GNN models and prevent over-fitting. Second, we can recover some missing contextual information of the local neighborhood in an attributed graph via the generative model (Jia & Benson, 2020). Third, our proposed framework is flexible and can be applied to various popular backbone networks such as GCN (Kipf & Welling, 2017), GAT (Velickovi ˇ c et al., 2018), GCNII (Chen et al., 2020), and ´ GRAND (Feng et al., 2020) to enhance their performance. Extensive experimental results demonstrate that our proposed framework could improve the performance of GNN variants on 7 benchmark datasets.
18
+
19
+ # 2 BACKGROUND
20
+
21
+ Notations. Let $G = ( V , E )$ represent the graph, where $V$ is the set of vertices $\{ v _ { 1 } , \cdots , v _ { N } \}$ with $| V | = N$ and $E$ is the set of edges. The adjacency matrix is defined as $\mathbf { A } \in \{ 0 , 1 \} ^ { N \times N }$ , and nod $\mathbf { A } _ { i j } = 1$ f and only if denote the d $( v _ { i } , v _ { j } ) \in E$ . Let ee ma $\mathcal { N } _ { i } \overset { \cdot } { = } \{ v _ { j } \vert \mathbf { A } _ { i j } = 1 \}$ the neighborhood of. The feature matrix $v _ { i }$ $\mathbf { D }$ $\begin{array} { r } { \dot { \bf D } _ { i i } = \dot { \sum } _ { j = 1 } ^ { n } { \bf A } _ { i j } } \end{array}$ is denoted as $\mathbf { X } \in \mathbb { R } ^ { N \times F }$ where each node $v$ is associated with a $F$ -dimensional feature vector $\mathbf { X } _ { v }$ . $\mathbf { Y } \in \{ 0 , 1 \} ^ { N \times C }$ denote the one-hot label matrix, where $\mathbf { Y } _ { i } \in \{ 0 , 1 \} ^ { C }$ is a one-hot vector and $\begin{array} { r } { \sum _ { j = 1 } ^ { C } \mathbf { Y } _ { i j } = 1 } \end{array}$ for any $v _ { i } \in V$ .
22
+
23
+ GNN. Graph Neural Network (GNN) is a type of neural network that directly operates on the graph structure, such as GCN and GAT (Kipf & Welling, 2017; Velickovi ˇ c et al., 2018), that capture the ´ dependence of graphs via message passing between the nodes of a graph as
24
+
25
+ $$
26
+ \mathbf { H } ^ { ( \ell ) } = f ( \mathbf { A } , \mathbf { H } ^ { ( \ell - 1 ) } ) ,
27
+ $$
28
+
29
+ where $f$ denotes the specific GNN layer for different models, $\mathbf { H } ^ { ( \ell ) }$ are the hidden vectors of the $\ell$ -th layer and $\mathbf { H } ^ { ( 0 ) } = \mathbf { X }$ . For example, $\dot { f ( \mathbf { A } , \mathbf { H } ) } = \sigma ( \hat { \mathbf { A } } \mathbf { H } \mathbf { W } )$ for GCN, where $\hat { \mathbf { A } } = \tilde { \mathbf { D } } ^ { - \frac { 1 } { 2 } } \tilde { \mathbf { A } } \tilde { \mathbf { D } } ^ { - \frac { 1 } { 2 } } ,$ $\tilde { \bf D }$ is the degree matrix of $\tilde { \mathbf { A } }$ , i.e., $\begin{array} { r } { \tilde { \bf D } _ { i i } = \sum _ { j } \tilde { \bf A } _ { i j } } \end{array}$ , and $\tilde { \mathbf { A } } = \mathbf { A } + \mathbf { I }$ .
30
+
31
+ Topology-level Augmentation. Topology-level augmentation usually perturbs $\mathbf { A }$ to generate different graph structures, which can be formulated as $\mathbf { A } ^ { \prime } = \mathcal { F } ( \mathbf { A } , \mathbf { X } )$ , where $\mathcal F ( \cdot )$ is a structure perturbation function. For example, DropEdge (Rong et al., 2020) considers $\mathcal { F } ( \mathbf { A } , \mathbf { X } ) = \mathbf { A } - \mathbf { A _ { s } }$ which is independent of $\mathbf { X }$ , where $\mathbf { A _ { s } }$ is a sparse matrix consists of a subset of the original edges $E$ . GAUG-O (Zhao et al., 2021) leverages their proposed neural edge predictors to produce a different structure $\mathbf { A } ^ { \prime }$ where $\begin{array} { r } { \mathbf { A } _ { i j } ^ { \prime } = \left\lfloor \frac { 1 } { 1 + e ^ { - \left( \log \mathbf { P } _ { i j } + G \right) / \tau } } + \frac { 1 } { 2 } \right\rfloor } \end{array}$ , $\mathbf { P } _ { i j } = \alpha \mathbf { M } _ { i j } + ( 1 - \alpha ) \mathbf { A } _ { i j }$ , $\mathbf { M } = { \boldsymbol { \sigma } } \left( \mathbf { Z } \mathbf { Z } ^ { T } \right)$ , $\mathbf { Z } = f \left( \mathbf { A } , f ( \mathbf { A } , \mathbf { X } ) \right)$ , $\tau$ is the temperature of Gumbel-Softmax distribution, $G \sim { \mathrm { G u m b e l } } ( 0 , 1 )$ is a Gumbel random variate, and $\alpha$ is a hyperparameter mediating the influence of edge predictor on the original graph.
32
+
33
+ # Feature-level Augmentation.
34
+
35
+ Besides, feature-level augmentation function can be defines as $\mathbf { X } ^ { \prime } \ = \ \mathcal { H } ( \mathbf { A } , \mathbf { X } )$ , where $\mathcal { H } ( \cdot )$ is a feature perturbation function. FLAG (Kong et al., 2020) defines the perturbation function as $\begin{array} { r } { \mathcal { H } ( \mathbf { A } , \mathbf { X } ) = \textbf { X } + \boldsymbol { \delta } } \end{array}$ where
36
+
37
+ Table 1: Comparison of existing graph data augmentation.
38
+
39
+ <table><tr><td colspan="4">GraphData Augmentation</td></tr><tr><td>Method</td><td>ConsideredPart</td><td>Type</td><td>Perturbed Part</td></tr><tr><td>DropEdge</td><td>A</td><td>Sampling</td><td>A</td></tr><tr><td>GAUG-O</td><td>A&amp;X</td><td>Reconstruction</td><td></td></tr><tr><td>FLAG</td><td>X</td><td>Noise Injection</td><td></td></tr><tr><td>G-GCN</td><td>A&amp;X</td><td>Reconstruction</td><td>AXX</td></tr><tr><td>Local Augmentation</td><td>A&amp;X</td><td>Generation</td><td>X</td></tr></table>
40
+
41
+ perturbation $\pmb { \delta }$ is updated iteratively during the adversarial training phase. G-GCN (plain) (Zhu et al., 2020) obtains the global attribute feature matrix $\mathbf { X } ^ { ( a ) } \in \bar { \mathbb { R } ^ { N \times d _ { a } } }$ through minimizing the objective Qv∈V Qa∈CA(v) v a Pk∈U expX(a)v ·Vk where $U$ is the set of all attributes, $C A ( v )$ is the sampled context attributes of $v$ , and $\mathbf { V } \in \mathbb { R } ^ { d _ { a } \times F }$ denotes the parameters. Obviously, the perturbation function of G-GCN has no close-form solution. In this work, we propose a novel feature-level augmentation method, named local augmentation. And the comparison of the details of various graph data augmentation techniques can be found in Table 1.
42
+
43
+ # 3 LOCAL AUGMENTATION
44
+
45
+ In this section, we describe details of the proposed method. The local augmentation framework consists of three modules: learning the conditional distribution via a generative model, the active learning trick, and the downstream GNN models, as illustrated in Figure 1. Note that the proposed algorithm enhances the locality of node representations through augmenting 1-hop neighbors in a generative way. Specifically, we exploit a generative model to learn the conditional distribution of the connected neighbors’ representations given the representation of a node. We describe the details of learning the conditional distribution and the motivation for why local augmentation is able to improve the performance in a probabilistic view in Sec. 3.1, detail the architecture of downstream GNN models in Sec. 3.2. We finally elaborate the training procedure of both the generative model and the downstream GNN models with the active learning trick in Sec. 3.3.
46
+
47
+ ![](images/a25e0a452d09cb122f2cc05b960b1e984bdab4b6769823194b1ac823b6b03d23.jpg)
48
+ Figure 1: A schematic depiction of our local augmentation. The purple and yellow circles on the graph correspond to the central node and its augmented neighbors respectively. After augmenting the neighborhood, we exploit the initial and the generated feature matrix as input for downstream GNNs.
49
+
50
+ # 3.1 LEARNING THE CONDITIONAL DISTRIBUTION
51
+
52
+ We start by reviewing the semi-supervised learning of GNNs in a probabilistic view. Most existing GNN models (Kipf & Welling, 2017; Velickovi ˇ c et al., 2018) are viewed as a classification function ´ to predict the class labels of the graph nodes. In this work, we use a GNN classification estimator $P _ { \theta } ( \mathbf { Y } | \mathbf { A } , \mathbf { X } )$ $\theta$ is the parameter) to model the conditional distribution of label $\mathbf { Y }$ with respect to the graph structure A and feature matrix X. Given training samples $\{ \mathbf { A } , \mathbf { X } , \mathbf { Y } \}$ , the parameter $\theta$ can be estimated using Maximum Likelihood Estimation (MLE), by optimizing the following likelihood function:
53
+
54
+ $$
55
+ \operatorname* { m a x } \prod _ { k \in \mathbf { K } } P _ { \theta } \left( \mathbf { Y } _ { k } | \mathbf { A } , \mathbf { X } \right) ,
56
+ $$
57
+
58
+ where $\mathbf { K }$ is the set of node indices of the training dataset whose labels are visible during the semi-supervised training. To further boost the performance of GNN, we introduce a new model $P _ { \theta } ( { \bf Y } , \overline { { { \bf X } } } | { \bf A } , { \bf X } )$ , where $\overline { { \mathbf { X } } }$ is generated features by feature-level augmentation. For this model, the MLE method needs to optimize a marginalized probability $P _ { \theta }$ over the generated feature matrix $\overline { { \mathbf { X } } }$ :
59
+
60
+ $$
61
+ \operatorname* { m a x } \prod _ { k \in \mathbf { K } } \int _ { \overline { { \mathbf { X } } } } P _ { \theta } \left( \mathbf { Y } _ { k } , \overline { { \mathbf { X } } } | \mathbf { A } , \mathbf { X } \right) .
62
+ $$
63
+
64
+ For Bayesian tractability, we decompose $P _ { \theta }$ in Eq.(3) as a product of two posterior probabilities:
65
+
66
+ $$
67
+ \begin{array} { r } { P _ { \theta , \phi } ( \mathbf { Y } _ { k } , \overline { { \mathbf { X } } } | \mathbf { A } , \mathbf { X } ) : = P _ { \theta } ( \mathbf { Y } _ { k } | \mathbf { A } , \mathbf { X } , \overline { { \mathbf { X } } } ) Q _ { \phi } ( \overline { { \mathbf { X } } } | \mathbf { A } , \mathbf { X } ) , } \end{array}
68
+ $$
69
+
70
+ where $P _ { \theta } ( \mathbf { Y } _ { k } | \mathbf { A } , \mathbf { X } , \mathbf { \overline { { X } } } )$ and $Q _ { \phi } ( { \overline { { \mathbf { X } } } } | \mathbf { A } , \mathbf { X } )$ denote the probabilistic distributions approximated by the downstream GNN and the (feature-level augmentation) generator respectively, parameterized by $\theta$ and $\phi$ . There are two benefits in the decomposition above. First, it allows us to decouple the training of the downstream predictor $P _ { \theta }$ and the generator $Q _ { \phi }$ , enabling the generator to easily generalize to other downstream tasks. Moreover, inspired by the successes of data augmentation via deep-learning-based generative modeling (Antoniou et al., 2017), the representation power of Eq.(4) is superior than that of a single predictor $P _ { \theta } \left( \mathbf { Y } _ { k } | \mathbf { A } , \mathbf { X } \right)$ without data augmentation.
71
+
72
+ Consequently, once a generator $Q _ { \phi }$ is trained very well, our training procedure can optimize $P _ { \theta } ( \mathbf { Y } _ { k } | \mathbf { A } , \mathbf { X } , \mathbf { \overline { { X } } } )$ with samples $\overline { { \mathbf { X } } }$ drawn from the fixed conditional distribution $Q _ { \phi }$ . Now, we show how to train the generator as follows.
73
+
74
+ Generator To learn a feature augmentation generator, a naive solution is to learn one single distribution for all the neighbors using the MLE method, i.e., solving the following optimization problem
75
+
76
+ $$
77
+ \operatorname* { m a x } _ { \psi } \sum _ { j \in \mathcal { N } _ { i } } \log p _ { \psi } \left( \mathbf { X } _ { j } | \mathbf { X } _ { i } \right) = \operatorname* { m a x } _ { \psi } \log \prod _ { j \in \mathcal { N } _ { i } } p _ { \psi } \left( \mathbf { X } _ { j } | \mathbf { X } _ { i } \right) ,
78
+ $$
79
+
80
+ where $\{ \mathbf { X } _ { j \mid j \in \mathcal { N } _ { i } } , \mathbf { X } _ { i } \}$ . Then $p _ { \psi }$ can be used to augment features for all the neighbors. However, this method ignores the differences between all the neighbors, which may induce severe noise.
81
+
82
+ To overcome the limitation, we assume that each neighbor satisfies a different conditional distribution. Specifically, there exists a conditional distribution $p ( \cdot | \mathbf { X } _ { i } , \mathbf { z } _ { j } )$ with latent random variable $\mathbf { z } _ { j }$ , such that we have $\mathbf { X } _ { j } \sim p ( \mathbf { X } | \mathbf { X } _ { i } , \mathbf { z } _ { j } )$ for $\mathbf { X } _ { j \mid j \in \mathcal { N } _ { i } }$ . Once we obtain $p ( \cdot | \mathbf { X } _ { i } , \mathbf { z } _ { j } )$ in some way, we can generate augmented features $\overline { { \mathbf { X } } }$ , and then we can train $P _ { \theta } ( \mathbf { Y } _ { k } | \mathbf { A } , \mathbf { X } , \mathbf { \overline { { X } } } )$ instead of $P _ { \theta } ( \mathbf { Y } _ { k } | \mathbf { A } , \mathbf { X } )$ to improve the final performance of $P _ { \theta }$ . Below, we will present how to find $p ( \cdot | \mathbf { X } _ { i } , \mathbf { z } _ { j } )$ , which will produce the generator $Q _ { \phi }$ .
83
+
84
+ To achieve our purpose, a suitable method is the conditional variational auto-encoder (CVAE) (Kingma & Welling, 2013; Sohn et al., 2015), which can help learn the distribution of the latent variable $\mathbf { z } _ { j }$ , and the conditional distribution $p ( \cdot | \mathbf { X } _ { i } , \mathbf { z } _ { j } )$ . So, a CVAE model $Q _ { \phi } \left( \overline { { \mathbf { X } } } | \mathbf { A } , \mathbf { X } \right)$ is adopted as our generator, where $\phi = \{ \varphi , \psi \}$ , $\varphi$ denotes the variational parameters and $\psi$ represents the generative parameters. To derive the optimization problem for CVAE, $\log p _ { \psi } \left( \mathbf { X } _ { j } | \mathbf { X } _ { i } \right)$ can be written with latent variables $\mathbf { z }$ as follows, following previous work (Pandey & Dukkipati, 2017; Sohn et al., 2015):
85
+
86
+ $$
87
+ \begin{array} { l } { \log p _ { \psi } ( \mathbf { X } _ { j } | \mathbf { X } _ { i } ) = \displaystyle \int q _ { \varphi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) \log \frac { p _ { \psi } ( \mathbf { X } _ { j } , \mathbf { z } | \mathbf { X } _ { i } ) } { q _ { \varphi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) } \mathrm { d } \mathbf { z } + K L ( q _ { \varphi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) \| p _ { \psi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) ) } \\ { \displaystyle \qquad \geq \int q _ { \varphi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) \log \frac { p _ { \psi } ( \mathbf { X } _ { j } , \mathbf { z } | \mathbf { X } _ { i } ) } { q _ { \varphi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) } \mathrm { d } \mathbf { z } , } \end{array}
88
+ $$
89
+
90
+ and the evidence lower bound (ELBO) can be written as:
91
+
92
+ $$
93
+ \mathcal { L } ( \mathbf { X } _ { j } , \mathbf { X } _ { i } ; \psi , \varphi ) = - K L ( q _ { \varphi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) | | p _ { \psi } ( \mathbf { z } | \mathbf { X } _ { i } ) ) + \int q _ { \varphi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) \log p _ { \psi } ( \mathbf { X } _ { j } | \mathbf { X } _ { i } , \mathbf { z } ) \mathrm { d } \mathbf { z } ,
94
+ $$
95
+
96
+ where the encoder $q _ { \varphi } ( \mathbf { z } | \mathbf { X } _ { j } , \mathbf { X } _ { i } ) \ = \ { \mathcal { N } } ( f ( \mathbf { X } _ { j } , \mathbf { X } _ { i } ) , g ( \mathbf { X } _ { j } , \mathbf { X } _ { i } ) )$ and decoder $p _ { \psi } ( { \bf X } _ { j } | { \bf X } _ { i } , { \bf z } ) =$ $\mathcal { N } ( h ( \mathbf { X } _ { i } , \mathbf { z } ) , c I )$ . The encoder is a two-layer MLP. $f$ and $g$ share the first layer, and their second layers employ different parameters. The decoder $h$ is two-layer MLP. For simplicity and tractability, the implemented generator $Q \left( \overline { { \mathbf { X } } } | \mathbf { A } , \mathbf { X } \right)$ uses the same parameters across all nodes $v _ { i } \in V$ .
97
+
98
+ Optimization of the MLE Now, we present how to optimize the MLE Eq.(4) using the feature matrix produced from the generator. Once the augmented feature matrix can be sampled from the generator, we can optimize the parameters of Eq.(4) in the following way. Firstly, the parameter $\bar { \phi } = \{ \psi , \varphi \}$ can be optimized by maximizing the ELBO of the generator (6), i.e., we train the generator. Secondly, the parameter $\theta$ is optimized by maximizing the MLE Eq.(4) with $\phi$ fixed, which is the conditional distribution of ${ \bf Y } _ { k }$ given A, $\mathbf { X }$ , and $\overline { { \mathbf { X } } }$ , i.e., we train the downstream GNN model.
99
+
100
+ In this paper, the MLE is formulated by a downstream GNN model as follows:
101
+
102
+ $$
103
+ P _ { \theta } \left( \mathbf { Y } _ { k } \mid \mathbf { A } , \mathbf { X } , { \overline { { \mathbf { X } } } } \right) \propto - { \overline { { \mathcal { L } } } } ( \theta | \mathbf { A } , \mathbf { X } , { \overline { { \mathbf { X } } } } , \phi ) ,
104
+ $$
105
+
106
+ $$
107
+ \begin{array} { r } { \overline { { \mathcal { L } } } ( \theta | \mathbf { A } , \mathbf { X } , \overline { { \mathbf { X } } } , \phi ) = - \sum _ { k \in \mathbf { T } } \sum _ { f = 1 } ^ { C } \mathbf { Y } _ { k f } \ln \Big ( \mathrm { s o f t m a x } \big ( \mathrm { G N N } ( \mathbf { A } , \mathbf { X } , \overline { { \mathbf { X } } } ) \big ) _ { k f } \Big ) . } \end{array}
108
+ $$
109
+
110
+ # 3.2 THE ARCHITECTURE OF LA-GNN
111
+
112
+ We discuss the details of downstream GNN models. And we use GCN, GAT, GCNII, and GRAND as the backbones and test them on semi-supervised node classification tasks. We name the modified GNN architecture as LA-GNN, where LA means local augmentation.
113
+
114
+ LA-GCN A 2-layer LA-GCN is defined as follows:
115
+
116
+ $$
117
+ \mathbf { H } ^ { ( 2 ) } = \sigma \left( \hat { \mathbf { A } } \left( \sigma \left( \hat { \mathbf { A } } \mathbf { X } \mathbf { W } _ { 1 } ^ { ( 1 ) } \right) \bigg | \bigg | \sigma \left( \hat { \mathbf { A } } \overline { { \mathbf { X } } } _ { 1 } \mathbf { W } _ { 2 } ^ { ( 1 ) } \right) \bigg | \bigg | \cdots \bigg | \bigg | \sigma \left( \hat { \mathbf { A } } \overline { { \mathbf { X } } } _ { n } \mathbf { W } _ { n + 1 } ^ { ( 1 ) } \right) \right) \mathbf { W } ^ { ( 2 ) } \right) ,
118
+ $$
119
+
120
+ where $\overline { { \mathbf { X } } } _ { i }$ $\bar { \mathsf { \bar { c } } } _ { i } ( i = 1 , 2 , \cdots , n )$ is the augmented feature matrix produced by the generator, $\parallel$ denotes an operator of column-wise concatenation, $\mathbf { W } _ { i } ^ { ( 1 ) } \left( i = 1 , 2 , \cdots , n \right)$ denotes the parameters of the first LA-GCN layer, and $\mathbf { W } ^ { ( 2 ) }$ denotes the parameters of the second LA-GCN layer.
121
+
122
+ LA-GCNII Since GCNII (Chen et al., 2020) applies a fully-connected neural network on $\mathbf { X }$ to obtain a lower-dimensional initial representation $\mathbf { H } ^ { ( 0 ) }$ before the forward propagation, we apply a fully-connected neural network on $\mathbf { X }$ and $\overline { { \mathbf { X } } }$ to obtain $\mathbf { H } ^ { ( 0 ) }$ for LA-GCNII as follows:
123
+
124
+ $$
125
+ \mathbf { H } ^ { ( 0 ) } = \sigma ( \mathbf { X } \mathbf { W } _ { 1 } ^ { ( 0 ) } ) \| \sigma ( \overline { { \mathbf { X } } } _ { 1 } \mathbf { W } _ { 2 } ^ { ( 0 ) } ) \| \cdots \| \sigma ( \overline { { \mathbf { X } } } _ { n } \mathbf { W } _ { n + 1 } ^ { ( 0 ) } ) .
126
+ $$
127
+
128
+ $\mathbf { H } ^ { ( 0 ) }$ is fed into the next forward propagation layer. Besides, we do not modify the architecture of GAT and GRAND, and just add our generated feature matrix to the input.
129
+
130
+ # 3.3 ACTIVE LEARNING
131
+
132
+ In this section, we introduce a trick for the overall training framework. After the training of the generator finishes, it contains an issue of using $Q _ { \phi } ( { \overline { { \mathbf { X } } } } | \mathbf { A } , \mathbf { X } )$ of Eq.(4) for inference because $Q$ may generate some samples from the side part of the distribution. This critical question makes the inferences inefficient. Inspired by Nielsen & Okoniewski (2019), we introduce active learning to capture the suitable generated feature matrix and the corresponding generator, which improves the inference efficiency and helps the optimization of the MLE. During active learning, the probability of each feature is proportional to its uncertainty evaluated by an acquisition function. We adopt the Bayesian Active Learning by Disagreement (BALD) acquisition function (Houlsby et al., 2011) to sample the most important inferences with the approximation from the Monte Carlo (MC) dropout samples as
133
+
134
+ $$
135
+ { \cal U } ( \overline { { \mathbf { X } } } ) \approx H \left[ \frac { 1 } { N } \sum _ { n = 1 } ^ { N } P \left( \mathbf { Y } _ { k } | \overline { { \mathbf { X } } } , \omega _ { n } \right) \right] - \frac { 1 } { N } \sum _ { n = 1 } ^ { N } H \left[ P \left( \mathbf { Y } _ { k } | \overline { { \mathbf { X } } } , \omega _ { n } \right) \right] ,
136
+ $$
137
+
138
+ where $N$ is the number of MC samples and $\omega _ { n }$ are the parameters of the network sampled for the $n$ -th MC dropout sample. A high BLAD score indicates a network with high uncertainty about the generated feature matrix. So it tends to be selected to improve the GNN model. Finally, the overall algorithm framework is summarized in Algorithm 1, which shows the optimization of Eq.(4).
139
+
140
+ Algorithm 1 The framework to train the Generator $Q _ { \phi }$ and the downstream GNN $P _ { \theta }$ using the initial feature matrix $\mathbf { X }$ and the generated feature matrix $\overline { { \mathbf { X } } }$ selected by the acquisition function
141
+
142
+ 1: Initialize $U { = }$ -inf, $\overline { { \mathbf { X } } }$ , $Q _ { \phi }$ , $\overline { { \mathbf { X } } } ^ { \prime }$ , and $Q _ { \phi } ^ { \prime }$
143
+ 2: for $i = 1$ to the number of generator iterations do
144
+ 3: Train the generator $Q _ { \phi }$ using $\mathbf { A }$ and $\mathbf { X }$
145
+ 4: Generate feature matrix $\overline { { \mathbf { X } } }$ using $Q _ { \phi }$
146
+ 5: Compute $U ( { \overline { { \mathbf { X } } } } )$ using Eq.(10).
147
+ 6: if $U ( { \overline { { \mathbf { X } } } } ) > U$ then
148
+ 7: $U = U ( { \overline { { \mathbf { X } } } } )$
149
+ 8: if $i > N _ { w a r m u p }$ then
150
+ 9: Train GNN $P _ { \theta }$ using $\mathbf { A }$ and $\overline { { \mathbf { X } } }$ for the number of continued GNN training iterations
151
+ 10: X 0 = X , Q 0φ = Q φ
152
+ 11: $\overline { { \mathbf { X } } } = \overline { { \mathbf { X } } } ^ { \prime }$ , $Q _ { \phi } = Q _ { \phi } ^ { \prime }$
153
+ 12: Train the downstream GNN $P _ { \theta }$ with the generated feature matrix $\overline { { \mathbf { X } } }$ , and generator $Q _ { \phi }$
154
+
155
+ # 4 DISCUSSION
156
+
157
+ In this section, we discuss the motivation of this work and provide some analysis.
158
+
159
+ Connection to EP-B and GraphSAGE We discuss how our proposed model distinguishes from the classical representation learning models on graphs. Previous methods such as EP-B (GarcíaDurán & Niepert, 2017) and GraphSAGE (Hamilton et al., 2017) rely on reconstruction loss function between the central node and its neighbors’ embeddings. EP-B aims to minimize the reconstruction error by optimizing the objective $\begin{array} { r } { \operatorname* { m i n } { \sum _ { u \in V \backslash \{ v \} } } \left[ \gamma + d ( \widetilde { \mathbf { X } } _ { v } , \mathbf { X } _ { v } ) - d ( \widetilde { \mathbf { X } } _ { v } , \mathbf { X } _ { u } ) \right] } \end{array}$ where $\mathbf { X } _ { v }$ represents the target node; $\mathbf { X } _ { u }$ denotes the neighbor nodes; $\widetilde { \mathbf { X } } _ { v } = \mathrm { A G G } ( \mathbf { X } _ { l } | l \in \mathcal { N } ( v ) )$ indicates the reconstruction from neighbors; and $\gamma$ refers to the bias. Besides, GraphSAGE exploits the negative sampling to differentiate the representations of remote node-pairs. GraphSAGE enforce nearby nodes to have similar representations and to enforce disparate nodes to be distinct by minimizing the objective $\operatorname* { m i n } - E _ { u \sim \mathcal { N } ( v ) } \overset { \cdot } { \log } \left( \left( \sigma ( \mathbf { X } _ { u } ^ { T } \mathbf { X } _ { v } ) \right) \right) - \lambda E _ { v _ { n } \sim P _ { n } ( v ) } \log \left( \left( \sigma ( - \mathbf { X } _ { v _ { n } } ^ { T } \mathbf { X } _ { v } ) \right) \right)$ where $\mathbf { X } _ { v }$ denotes target node; $\mathbf { X } _ { u }$ represents the neighbor node; ${ \bf X } _ { v _ { n } }$ is disparate node; and $P _ { n } ( v )$ is the negative sampling. These approaches build upon the assumption that adjacent nodes share similar attributes. In contrast, our model does not rely on such assumption and instead generates the neighboring node features from the conditional distribution of central node representations. Given the target node, $\mathbf { X } _ { v }$ , our aim is to learn the conditional distribution of the neighbor nodes, $\mathbf { X } _ { u }$ . A comparison between the reconstruction-based representation learning on graphs and our proposed framework is illustrated in Figure 2. And our local augmentation method is the third paradigm to exploit neighbors in a generative way.
160
+
161
+ ![](images/02db34de261ebadeed56e54daa7a15cd3eaa86f7795ea776ca63ea498b28e4a9.jpg)
162
+ Figure 2: (a) The original graph. (b) EP-B exploits the neighbors to reconstruct the central node’s embedding. (c) GraphSAGE encourages nearby nodes to have similar embeddings. (d) Given the representation of the central node, our aim is to infer the representations of the connected distribution of neighbors.
163
+
164
+ Local Augmentation vs. General Augmentation General image augmentation algorithms include geometric transformations, feature space augmentation, adversarial training, and generative adversarial networks (Shorten & Khoshgoftaar, 2019). It is impossible to apply geometric transformations directly to graph data augmentation since graphs are sensitive to node permutation. General adversarial training, feature space augmentation, and generative adversarial networks don’t take the graph structure into account. Graphs consist of a set of identities with certain pairs of these identities connected by edges. We need to consider node features and the graph structure when designing the graph data augmentation framework. Our proposed method of local augmentation fully considers these two points. By extracting the neighbors’ feature vectors, we have enough data points to learn the distribution. There are two benefits to designing local augmentation. First, by taking the sub-graph structure and feature representation associated with this sub-graph structure as input for the generative model, we can learn the information of the sub-graph structure. Second, the number of data points to learn the distribution depends on the node degree. This assures that we have enough data points compared with the general feature augmentation and we can learn a better distribution.
165
+
166
+ Complementing missing information Jia & Benson (2020) points out that some attribute information might be missing on a subset of vertices. By learning the distribution of node representations from the observed data, we can utilize the produced node representations from the generative model to complement the information missing in the nodes’ attributes, which boosts the robustness of downstream tasks. And we show that our model still works in the scenario that nodes lose a certain percentage of attributes. In other words, we can exploit the well-learned distribution to complement the contextual information of the local neighborhood to enhance the locality of the node representations.
167
+
168
+ # 5 EXPERIMENTS
169
+
170
+ In this section, we evaluate the performance of our proposed model on semisupervised node classification tasks on a variety of public graph datasets and compare our model with the state-of-the-art graph neural networks. We also carry out additional experiments to showcase the necessity of our design and its robustness to missing information.
171
+
172
+ Table 2: Classification results on fixed split $( \% )$
173
+
174
+ <table><tr><td>Method</td><td>Cora</td><td>Citeseer</td><td>Pubmed</td></tr><tr><td>Chebyshev (Defferrard et al.,2016)</td><td>81.2</td><td>69.8</td><td>74.4</td></tr><tr><td>APPNP (Klicpera et al.,2019)</td><td>83.8</td><td>71.6</td><td>79.7</td></tr><tr><td>MixHop (Abu-El-Haija et al.,2019)</td><td>81.9</td><td>71.4</td><td>80.8</td></tr><tr><td>Graph U-net (Gao&amp; Ji,2019)</td><td>84.4</td><td>73.2</td><td>79.6</td></tr><tr><td>GSNN-M (Wang et al.,2020a)</td><td>83.9</td><td>72.2</td><td>79.1</td></tr><tr><td>S²GC (Zhu &amp; Koniusz,2021)</td><td>83.5</td><td>73.6</td><td>80.2</td></tr><tr><td>GCN (Kipf &amp; Welling,2017)</td><td>81.6</td><td>70.3</td><td>78.9</td></tr><tr><td>G-GCN (Zhu et al.,2020)</td><td>83.7</td><td>71.3</td><td>80.9</td></tr><tr><td>DropEdge-GCN (Rong et al.,2020)</td><td>82.8</td><td>72.3</td><td>79.6</td></tr><tr><td>GAUG-O-GCN (Zhao et al.,2021)</td><td>83.6</td><td>73.3</td><td>79.3</td></tr><tr><td>LA-GCN</td><td>84.1</td><td>72.5</td><td>81.3</td></tr><tr><td>GAT (Velickovic et al., 2018)</td><td>83.0</td><td>70.4</td><td>0OM</td></tr><tr><td>LA-GAT</td><td>83.9</td><td>72.3</td><td>OOM</td></tr><tr><td>GCNII (Chen et al.,2020) LA-GCNII</td><td>85.2</td><td>73.1</td><td>80.0</td></tr><tr><td></td><td>85.2</td><td>73.7</td><td>81.6</td></tr><tr><td>GRAND (Feng et al.,2020)</td><td>85.4</td><td>75.4</td><td>82.7</td></tr><tr><td>LA-GRAND</td><td>85.8</td><td>75.8</td><td>83.3</td></tr></table>
175
+
176
+ # 5.1 DATASETS
177
+
178
+ We utilize seven public graph datasets (Cora, Citeseer, Pubmed, Squirrel, Actor, Chameleon, and Cornell) for semisupervised node classification tasks. The details of these datasets can be found in the appendix.
179
+
180
+ # 5.2 SEMI-SUPERVISED NODE CLASSIFICATION
181
+
182
+ Baselines and Experimental Setup. We apply the standard fixed splits (Yang et al., 2016) on three datasets Cora, Citeseer, and Pubmed, with 20 nodes per class for training, 500 nodes for validation, and 1,000 nodes for testing. And we consider four backbones: GCN (Kipf & Welling, 2017), GAT (Velickovi ˇ c et al., 2018), GCNII (Chen ´ et al., 2020), and GRAND (Feng et al., 2020) to evaluate our proposed framework and compare our model against state-of-the-art models including 1) backbone models: Chebyshev (Defferrard et al., 2016), GCN, GAT,
183
+
184
+ Table 3: Classification results on random split $( \% )$
185
+
186
+ <table><tr><td>Method</td><td>Squirrel</td><td>Actor</td><td>Chameleon</td><td>Cornell</td></tr><tr><td>APPNP</td><td>21.6</td><td>32.1</td><td>33.0</td><td>58.7</td></tr><tr><td>S²GC</td><td>21.3</td><td>27.8</td><td>30.2</td><td>57.2</td></tr><tr><td>GCN</td><td>22.5</td><td>26.2</td><td>25.1</td><td>55.7</td></tr><tr><td>DropEdge-GCN</td><td>21.9</td><td>26.5</td><td>25.0</td><td>53.6</td></tr><tr><td>LA-GCN</td><td>23.2</td><td>27.0</td><td>28.9</td><td>56.1</td></tr><tr><td>GAT</td><td>24.2</td><td>27.2</td><td>34.8</td><td>55.8</td></tr><tr><td>LA-GAT</td><td>28.2</td><td>27.4</td><td>38.6</td><td>56.5</td></tr><tr><td>GCNII</td><td>25.3</td><td>31.9</td><td>30.2</td><td>57.3</td></tr><tr><td>LA-GCNII</td><td>28.6</td><td>32.7</td><td>32.5</td><td>56.6</td></tr></table>
187
+
188
+ APPNP (Klicpera et al., 2019), Graph U-net (Gao & Ji, 2019), MixHop (Abu-El-Haija et al., 2019), GCNII, GSNN-M (Wang et al., 2020a), $\mathrm { { \cal S } ^ { 2 } { \cal G } { \cal C } }$ (Zhu & Koniusz, 2021), and GRAND and 2) featurelevel and topology-level augmentation models: G-GNNs (Zhu et al., 2020), DropEdge (Rong et al.,
189
+
190
+ 2020) and GAUG-O (Zhao et al., 2021). For four datasets Squirrel, Actor, Chameleon, and Cornell, we take 10 random splits (Shchur et al., 2018) where $10 \%$ , $30 \%$ , and $60 \%$ of the date for training, validation, testing; measure the performance of GCN, GAT, GCNII, and corresponding modified models.
191
+
192
+ Results For three datasets Cora, Citeseer, and Pubmed, we report the mean classification accuracy on the test nodes of all our models after 100 runs and report the values after running the experiments of their models with our server under their setting hyperparameters in their original papers. The results of the evaluation experiments are summarized in Tables 2, 3, and in the appendix, which demonstrate that the backbone models equipped with our method achieve the best performance across all the datasets except the Cornell dataset. More specifically, we can improve upon GCN by a margin of $2 . 5 \%$ , $2 . 2 \%$ , and $2 . 4 \%$ on Cora, Citeseer, and Pubmed respectively. Moreover, LA-GNN outperforms other backbone models including GAT and GCNII as well as data augmentation models (Zhu et al., 2020; Rong et al., 2020; Zhao et al., 2021) on these citation network datasets. Besids, we also provide the analysis of the distribution of our generated feature matrix. And Figure 3 shows the distribution of the attributes of the original
193
+
194
+ and inference neighbors, which can demonstrate our inference feature matrix follow the distribution of the initial feature matrix.
195
+
196
+ ![](images/410d67587b543d15cc65cba5cdc78b6ecc62b88dfffe4c1dfb7018aab80db729.jpg)
197
+ Figure 3: The distribution of the attribute bin of the inference neighbors vs. the distribution of the attribute bin of the original neighbors, with KL divergence $= 0 . 0 0 2 6$ . The value of each feature bin is the sum of the attribute values of multiple dimensions of the feature vector. We split the feature vector into multiple feature bins.
198
+
199
+ # 5.3 ABLATION STUDY
200
+
201
+ In this section, to demonstrate the effectiveness of our proposed generative framework, we conduct experiments that compare LA-GNN to several of its ablated variants without generative modeling. The results are shown in Table 4. ${ } " \mathrm { G C N } +$ width" only increases the first network layer width for GCN and GCNII to match LAGNN without giving generated samples as input. $" +$ concatenation" only replaces the generated feature matrix of LA-GNN with the original feature matrix of the central node. $" +$ plain neighborhood" replaces the generated feature matrix of LA-GNN with a neighborhood feature matrix where each row corresponds to the feature vector of the randomly sampled neighbor. The
202
+
203
+ Table 4: Effects of different components of our framework evaluated on the standard split of the Cora, Citeseer and Pubmed dataset.
204
+
205
+ <table><tr><td>Method</td><td>Cora</td><td>Citeseer</td><td>Pubmed</td></tr><tr><td>GCN</td><td>81.6</td><td>70.3</td><td>78.9</td></tr><tr><td>GCNII</td><td>85.2</td><td>73.1</td><td>80.0</td></tr><tr><td>GCN + width</td><td>82.0</td><td>71.4</td><td>79.5</td></tr><tr><td>GCN + concatenation</td><td>81.8</td><td>71.6</td><td>78.8</td></tr><tr><td>GCN + plain neighborhood</td><td>80.9</td><td>68.8</td><td>75.0</td></tr><tr><td>GCNII + width</td><td>85.1</td><td>73.1</td><td>80.2</td></tr><tr><td>GCNII + concatenation</td><td>85.2</td><td>73.3</td><td>80.2</td></tr><tr><td>GCNII + plain neighborhood</td><td>83.3</td><td>71.9</td><td>78.1</td></tr><tr><td>LA-GCN</td><td>84.1</td><td>72.5</td><td>81.3</td></tr><tr><td>LA-GCNII</td><td>85.2</td><td>73.7</td><td>81.6</td></tr></table>
206
+
207
+ results show that the first two variants provide no notable improvement for the backbone models, and the third variant even results in degradation. By eliminating the possibility that these confounding factors irrelevant to our core approach may contribute to the final performance, it’s evident that the performance gain in Table 2 and 3 are due to our proposed generative local augmentation framework.
208
+
209
+ # 5.4 ROBUSTNESS TO MISSING INFORMATION
210
+
211
+ In this section, we conduct experiments to verify that our proposed framework can robustify downstream tasks against missing information in the feature attributes. Specifically, we mask a certain percentage of the attributes of each feature vector and use the same pipeline to do augmentation for the masked feature matrix. As shown in Table 5, we can see that as the mask ratio increases, the gap of the performance between the GCN and LA-GCN enlarges in most cases in Cora and Citeseer, which corroborates our insight discussed in Section 4. Since there exists large redundancy in the features of the Pubmed dataset, the performance of GCN and LA-GCN decreases little as the mask ratio increases and the gap of the performance does not enlarge. To conclude, our model can complement the contextual information of the local neighborhood to enhance the locality of the node representations.
212
+
213
+ Table 5: Summary of results on recovering study in terms of classification accuracy $( \% )$ . $\downarrow$ means a decrease compared with the accuracy if features are not masked.
214
+
215
+ <table><tr><td>Dataset</td><td colspan="4">Cora</td><td colspan="4">Citeseer</td><td colspan="4">Pubmed</td></tr><tr><td>Mask Ratio</td><td>0.1</td><td>0.2</td><td>0.4</td><td>0.8</td><td>0.1</td><td>0.2</td><td>0.4</td><td>0.8</td><td>0.1</td><td>0.2</td><td>0.4</td><td>0.8</td></tr><tr><td>GCN</td><td>81.0(↓0.6)</td><td>80.6(↓1.0)</td><td>80.1(↓1.5)</td><td>76.0 (↓5.6)</td><td>70.1(↓0.2)</td><td>69.3 (↓1.0)</td><td>67.2 (↓3.1)</td><td>61.0(↓9.3)</td><td>78.5(↓0.4)</td><td>78.5(↓0.4)</td><td>77.5 (↓1.4)</td><td>76.9 (↓2.0)</td></tr><tr><td>LA-GCN</td><td>83.5 (↓0.6)</td><td>83.1(↓1.0)</td><td>81.6(↓2.5)</td><td>81.1 (↓3.0)</td><td>72.2(↓0.3)</td><td>71.7 (↓0.8)</td><td>69.3 (↓3.2)</td><td>65.9 (↓6.6)</td><td>81.4(↓0.1)</td><td>80.9 (↓0.6)</td><td>80.5 (↓1.0)</td><td>79.4 (↓2.1)</td></tr></table>
216
+
217
+ # 6 RELATED WORK
218
+
219
+ Graph Neural Networks In general, convolution in the graph domain involves non-spectral (spatial) and spectral approaches. Non-spectral methods generalize convolutions operating on spatially close neighbors to the graph domain, such as Duvenaud et al. (2015); Atwood & Towsley (2016); Niepert et al. (2016); Monti et al. (2017). Spectral approaches define the convolution operations based on the spectral formulation, such as Bruna et al. (2014); Defferrard et al. (2016); Kipf & Welling (2017). Recently, several methods (Abu-El-Haija et al., 2019; Liao et al., 2019) based on GCN have been proposed to obtain the higher-order filters. Besides, GAT (Velickovi ˇ c et al., 2018), Graph ´ U-Nets (Gao & Ji, 2019) combine attention networks and pooling operation with GNN separately, which achieve state-of-the-art performance on node and link classification tasks. In this work, local augmentation can be applied on various backbone models to improve performance.
220
+
221
+ Graph Generative Models Generative models (Goodfellow et al., 2014; Kingma & Welling, 2013) are powerful tools of learning data distribution through unsupervised learning, and they have achieved tremendous success in various applications. Recently, researchers have proposed several interesting generative models for graph data generation. Variational graph auto-encoder (VGAE) (Kipf & Welling, 2016) makes use of latent variables and learns interpretable latent representations for undirected graphs. Salha et al. (2019) replace the GCN encoder in VGAE with a simple linear model and emphasize the effectiveness of a simple node encoding scheme. Xu et al. (2019) propose a generative model framework to learn node representations, by sampling graph generation sequences constructed from observed graph data. ConDgen (Yang et al., 2019) exploits the GCN encoder to handle the inherent challenges of flexible context-structure conditioning and permutation-invariant generation. Besides, some methods have been proposed to apply the graph generative models in various applications such as graph matching (Simonovsky & Komodakis, 2018), molecule design (Liu et al., 2018), retrosynthesis prediction (Shi et al., 2020) and chemical design (Samanta et al., 2018). Compared with these approaches mainly focusing on structure generation, our model takes full use of the power of the generative model for feature representation generation, which can serve as an enhanced technique for the downstream backbone models.
222
+
223
+ # 7 CONCLUSION
224
+
225
+ We propose local augmentation, a brand-new technique that exploits the generative model to learn the conditional distribution of the central node’s neighbors’ feature representations given its representation. We can augment more 1-hop neighbors from a well-trained generative model to enhance the performance of backbone GNN models. Experiments show that our model can improve performance across various GNN architectures and benchmark datasets by enriching local information. Besides, our model achieves new state-of-the-art results on various semi-supervised node classification tasks. One limitation of our proposed framework is that we do not exploit the 2-hop neighbors or use the random walk to find more related neighbors for the central node. And one future work is that we can extract more $^ { 2 / 3 }$ -hop neighbors if the central node’s degree is small and learn the conditional distribution for random sampling nodes if the graph is large.
226
+
227
+ # REFERENCES
228
+
229
+ Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard, et al. Tensorflow: A system for large-scale machine learning. In 12th {USENIX} symposium on operating systems design and implementation ({OSDI} 16), pp. 265–283, 2016.
230
+
231
+ Sami Abu-El-Haija, Bryan Perozzi, Amol Kapoor, Nazanin Alipourfard, Kristina Lerman, Hrayr Harutyunyan, Greg Ver Steeg, and Aram Galstyan. Mixhop: Higher-order graph convolutional architectures via sparsified neighborhood mixing. In international conference on machine learning, pp. 21–29. PMLR, 2019.
232
+
233
+ Antreas Antoniou, Amos Storkey, and Harrison Edwards. Data augmentation generative adversarial networks. arXiv preprint arXiv:1711.04340, 2017.
234
+
235
+ James Atwood and Don Towsley. Diffusion-convolutional neural networks. In Advances in neural information processing systems, pp. 1993–2001, 2016.
236
+
237
+ Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. In International Conference on Learning Representations, 2014.
238
+
239
+ Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In International Conference on Machine Learning, pp. 1725–1735. PMLR, 2020.
240
+
241
+ Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, 2016.
242
+
243
+ Zhijie Deng, Yinpeng Dong, and Jun Zhu. Batch virtual adversarial training for graph convolutional networks. arXiv preprint arXiv:1902.09192, 2019.
244
+
245
+ David Duvenaud, Dougal Maclaurin, Jorge Aguilera-Iparraguirre, Rafael Gómez-Bombarelli, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in Neural Information Processing Systems, 2015.
246
+
247
+ Fuli Feng, Xiangnan He, Jie Tang, and Tat-Seng Chua. Graph adversarial training: Dynamically regularizing based on graph structure. IEEE Transactions on Knowledge and Data Engineering, 2019.
248
+
249
+ Wenzheng Feng, Jie Zhang, Yuxiao Dong, Yu Han, Huanbo Luan, Qian Xu, Qiang Yang, Evgeny Kharlamov, and Jie Tang. Graph random neural network for semi-supervised learning on graphs. In NeurIPS’20, 2020.
250
+
251
+ Hongyang Gao and Shuiwang Ji. Graph u-nets. In international conference on machine learning, pp. 2083–2092. PMLR, 2019.
252
+
253
+ Alberto García-Durán and Mathias Niepert. Learning graph representations with embedding propagation. In Advances in Neural Information Processing Systems, 2017.
254
+
255
+ Ian J Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. In Advances in Neural Information Processing Systems, 2014.
256
+
257
+ Shengnan Guo, Youfang Lin, Ning Feng, Chao Song, and Huaiyu Wan. Attention based spatialtemporal graph convolutional networks for traffic flow forecasting. In Proceedings of the AAAI Conference on Artificial Intelligence, pp. 922–929, 2019.
258
+
259
+ William L Hamilton, Rex Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, 2017.
260
+
261
+ Neil Houlsby, Ferenc Huszár, Zoubin Ghahramani, and Máté Lengyel. Bayesian active learning for classification and preference learning. arXiv preprint arXiv:1112.5745, 2011.
262
+
263
+ Gao Huang, Zhuang Liu, Laurens Van Der Maaten, and Kilian Q Weinberger. Densely connected convolutional networks. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 4700–4708, 2017.
264
+
265
+ Junteng Jia and Austion R Benson. Residual correlation in graph neural network regression. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 588–598, 2020.
266
+
267
+ Diederik P Kingma and Max Welling. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114, 2013.
268
+
269
+ Thomas N Kipf and Max Welling. Variational graph auto-encoders. NIPS Workshop on Bayesian Deep Learning, 2016.
270
+
271
+ Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representation, 2017.
272
+
273
+ Johannes Klicpera, Aleksandar Bojchevski, and Stephan Günnemann. Predict then propagate: Graph neural networks meet personalized pagerank. In International Conference on Learning Representation, 2019.
274
+
275
+ Kezhi Kong, Guohao Li, Mucong Ding, Zuxuan Wu, Chen Zhu, Bernard Ghanem, Gavin Taylor, and Tom Goldstein. Flag: Adversarial data augmentation for graph neural networks. arXiv preprint arXiv:2010.09891, 2020.
276
+
277
+ Qimai Li, Zhichao Han, and Xiao-Ming Wu. Deeper insights into graph convolutional networks for semi-supervised learning. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018.
278
+
279
+ Renjie Liao, Zhizhen Zhao, Raquel Urtasun, and Richard S Zemel. Lanczosnet: Multi-scale deep graph convolutional networks. In International Conference on Learning Representations, 2019.
280
+
281
+ Qi Liu, Miltiadis Allamanis, Marc Brockschmidt, and Alexander L Gaunt. Constrained graph variational autoencoders for molecule design. In Advances in Neural Information Processing Systems, 2018.
282
+
283
+ Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg Corrado, and Jeffrey Dean. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems, 2013.
284
+
285
+ Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodola, Jan Svoboda, and Michael M Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. In Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 5115–5124, 2017.
286
+
287
+ Christopher Nielsen and Michal M Okoniewski. Gan data augmentation through active learning inspired sample acquisition. In CVPR Workshops, pp. 109–112, 2019.
288
+
289
+ Mathias Niepert, Mohamed Ahmed, and Konstantin Kutzkov. Learning convolutional neural networks for graphs. In International conference on machine learning, pp. 2014–2023. PMLR, 2016.
290
+
291
+ Gaurav Pandey and Ambedkar Dukkipati. Variational methods for conditional multimodal deep learning. In 2017 International Joint Conference on Neural Networks (IJCNN), pp. 308–315. IEEE, 2017.
292
+
293
+ Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, et al. Pytorch: An imperative style, high-performance deep learning library. In Advances in Neural Information Processing Systems, 2019.
294
+
295
+ Hongbin Pei, Bingzhe Wei, Kevin Chen-Chuan Chang, Yu Lei, and Bo Yang. Geom-gcn: Geometric graph convolutional networks. In International Conference on Learning Representations, 2020.
296
+
297
+ Bryan Perozzi, Rami Al-Rfou, and Steven Skiena. Deepwalk: Online learning of social representations. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 701–710, 2014.
298
+
299
+ Yu Rong, Wenbing Huang, Tingyang Xu, and Junzhou Huang. Dropedge: Towards deep graph convolutional networks on node classification. In International Conference on Learning Representation, 2020.
300
+
301
+ Benedek Rozemberczki, Carl Allen, and Rik Sarkar. Multi-scale attributed node embedding. Journal of Complex Networks, 9(2):cnab014, 2021.
302
+
303
+ Guillaume Salha, Romain Hennequin, and Michalis Vazirgiannis. Keep it simple: Graph autoencoders without graph convolutional networks. Workshop on Graph Representation Learning, 33rd Conference on Neural Information Processing Systems (NeurIPS), 2019.
304
+
305
+ Bidisha Samanta, Abir De, Niloy Ganguly, and Manuel Gomez-Rodriguez. Designing random graph models using variational autoencoders with applications to chemical design. arXiv preprint arXiv:1802.05283, 2018.
306
+
307
+ Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI magazine, 29(3):93–93, 2008.
308
+
309
+ Oleksandr Shchur, Maximilian Mumme, Aleksandar Bojchevski, and Stephan Günnemann. Pitfalls of graph neural network evaluation. arXiv preprint arXiv:1811.05868, 2018.
310
+
311
+ Chence Shi, Minkai Xu, Hongyu Guo, Ming Zhang, and Jian Tang. A graph to graphs framework for retrosynthesis prediction. In International Conference on Machine Learning, pp. 8818–8827. PMLR, 2020.
312
+
313
+ Connor Shorten and Taghi M Khoshgoftaar. A survey on image data augmentation for deep learning. Journal of Big Data, 6(1):1–48, 2019.
314
+
315
+ Martin Simonovsky and Nikos Komodakis. Graphvae: Towards generation of small graphs using variational autoencoders. In International Conference on Artificial Neural Networks, pp. 412–422. Springer, 2018.
316
+
317
+ Kihyuk Sohn, Honglak Lee, and Xinchen Yan. Learning structured output representation using deep conditional generative models. Advances in neural information processing systems, 28:3483–3491, 2015.
318
+
319
+ Jie Tang, Jimeng Sun, Chi Wang, and Zi Yang. Social influence analysis in large-scale networks. In Proceedings of the 15th ACM SIGKDD international conference on Knowledge discovery and data mining, pp. 807–816, 2009.
320
+
321
+ Petar Velickovi ˇ c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Lio, and Yoshua ´ Bengio. Graph attention networks. In International Conference on Learning Representations, 2018.
322
+
323
+ Haibo Wang, Chuan Zhou, Xin Chen, Jia Wu, Shirui Pan, and Jilong Wang. Graph stochastic neural networks for semi-supervised learning. In Advances in Neural Information Processing Systems, 2020a.
324
+
325
+ Minjie Wang, Da Zheng, Zihao Ye, Quan Gan, Mufei Li, Xiang Song, Jinjing Zhou, Chao Ma, Lingfan Yu, Yu Gai, Tianjun Xiao, Tong He, George Karypis, Jinyang Li, and Zheng Zhang. Deep graph library: A graph-centric, highly-performant package for graph neural networks. arXiv preprint arXiv:1909.01315, 2019.
326
+
327
+ Yiwei Wang, Wei Wang, Yuxuan Liang, Yujun Cai, Juncheng Liu, and Bryan Hooi. Nodeaug: Semi-supervised node classification with data augmentation. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 207–217, 2020b.
328
+
329
+ Yu Wang and Tyler Derr. Tree decomposed graph neural network. In Proceedings of the 30th ACM International Conference on Information & Knowledge Management, pp. 2040–2049, 2021.
330
+
331
+ Da Xu, Chuanwei Ruan, Kamiya Motwani, Evren Korpeoglu, Sushant Kumar, and Kannan Achan. Generative graph convolutional network for growing graphs. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pp. 3167–3171. IEEE, 2019.
332
+
333
+ Keyulu Xu, Chengtao Li, Yonglong Tian, Tomohiro Sonobe, Ken-ichi Kawarabayashi, and Stefanie Jegelka. Representation learning on graphs with jumping knowledge networks. In International Conference on Machine Learning, pp. 5453–5462. PMLR, 2018.
334
+
335
+ Carl Yang, Peiye Zhuang, Wenhan Shi, Alan Luu, and Pan Li. Conditional structure generation through graph variational generative adversarial nets. In NeurIPS, pp. 1338–1349, 2019.
336
+
337
+ Zhilin Yang, William Cohen, and Ruslan Salakhudinov. Revisiting semi-supervised learning with graph embeddings. In International Conference on Machine Learning, pp. 40–48, 2016.
338
+
339
+ Rex Ying, Ruining He, Kaifeng Chen, Pong Eksombatchai, William L Hamilton, and Jure Leskovec. Graph convolutional neural networks for web-scale recommender systems. In Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 974–983, 2018.
340
+
341
+ Hanqing Zeng, Muhan Zhang, Yinglong Xia, Ajitesh Srivastava, Andrey Malevich, Rajgopal Kannan, Viktor Prasanna, Long Jin, and Ren Chen. Decoupling the depth and scope of graph neural networks. In Thirty-Fifth Conference on Neural Information Processing Systems, 2021.
342
+
343
+ Tong Zhao, Yozen Liu, Leonardo Neves, Oliver Woodford, Meng Jiang, and Neil Shah. Data augmentation for graph neural networks. In The Thirty-Fifth AAAI Conference on Artificial Intelligence, 2021.
344
+
345
+ Danhao Zhu, Xin-Yu Dai, and Jiajun Chen. Pre-train and learn: Preserve global information for graph neural networks. In Proceedings of the AAAI Conference on Artificial Intelligence, 2020.
346
+
347
+ Hao Zhu and Piotr Koniusz. Simple spectral graph convolution. In International Conference on Learning Representations, 2021.
348
+
349
+ A PROOF OF EQ.(6)
350
+
351
+ We give more details of the derivation of the generator ELBO as follows:
352
+
353
+ $$
354
+ \begin{array} { r l } { \log _ { \rho } | \mathbf { X } _ { i } | \mathbb { X } _ { j } - j } & { \neq \langle z | \mathbf { z } | \mathbf { z } | \mathbf { X } _ { j } , ~ \mathbf { X } _ { i } \rangle \log _ { \rho } \langle ~ \mathbf { X } _ { i } | \mathbf { X } _ { j } \rangle \mathrm { d } \mathbf { z } } \\ & { = \int \langle z | \mathbf { z } | \mathbf { A } _ { \mathbf { x } } \mathbf { x } , ~ \mathbf { X } _ { i } | \log _ { \rho } | \mathbf { X } _ { i } \mathbf { X } _ { j } | \log _ { \rho } \langle ~ \mathbf { X } _ { i } | \mathbf { X } _ { j } , ~ \mathbf { X } _ { i } \rangle } \\ & { \quad - \int \langle z | \mathbf { z } | \mathbf { z } | \mathbf { X } _ { i } , ~ \mathbf { X } _ { i } \rangle \log _ { \rho } | \langle ~ \mathbf { X } _ { i } | \mathbf { X } _ { j } \rangle \mathrm { d } \mathbf { z } | } \\ & { = \int \langle \exp \{ \mathbf { X } _ { i } \mathbf { X } _ { j } \} | \exp \{ \exp \{ | \mathbf { X } _ { i } \mathbf { X } _ { j } | \} \} \exp \{ | \langle \mathbf { X } _ { i } \mathbf { X } _ { j } , ~ \mathbf { X } _ { i } , ~ \mathbf { X } _ { j } | \} \mathrm { d } \mathbf { z } } \\ & { \quad - \int \langle z | \mathbf { z } | \mathbf { X } _ { i } \rangle \exp \{ | \langle \mathbf { X } _ { j } | \mathbf { X } _ { i } , ~ \mathbf { X } _ { j } \rangle | \} } \\ & { \quad - \int \langle z | \mathbf { z } | \mathbf { z } | \mathrm { X } _ { i } \rangle \exp \{ | \langle \mathbf { X } _ { i } | \mathbf { X } _ { j } \rangle | \} } \\ & { = \int \langle z | \mathbf { z } | \mathbf { X } _ { i } \mathbf { X } _ { j } \rangle \log _ { \rho } \langle \mathbf { X } _ { i } | \mathbf { X } _ { j } \rangle \exp \{ | \langle \mathbf { X } _ { i } | \mathbf { X } _ { j } \rangle | } \\ & { \quad - \int \langle z | \mathbf { z } | \mathbf { Z } _ { j } \rangle \exp \{ | \langle \mathbf { X } _ { j } | \mathbf { X } _ { j } \rangle | } \\ & \quad - \int \langle z | \mathbf { z } | \mathbf { Z } _ { j } \rangle \exp \{ \end{array}
355
+ $$
356
+
357
+ $$
358
+ \begin{array} { r l } { L _ { E L B O } = \displaystyle { \int } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , \mathbf X _ { i } ) \log \frac { p _ { \phi } ( { \mathbf x } _ { j } , { \mathbf X _ { i } } ) \log } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , { \mathbf X _ { i } } ) } } \mathrm { d } { \mathbf z } } \\ { } & { ~ = \displaystyle { \int } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , \mathbf X _ { i } ) \log \frac { p _ { \psi } ( { \mathbf X _ { j } } , { \mathbf X _ { i } } , { \mathbf z } ) } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , { \mathbf X _ { i } } ) p _ { \psi } ( { \mathbf X _ { i } } ) } } \mathrm { d } { \mathbf z } } \\ { } & { ~ = \displaystyle { \int } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , \mathbf X _ { i } ) \log \frac { p _ { \phi } ( { \mathbf X _ { j } } | \mathbf X _ { i } , { \mathbf z } ) p _ { \psi } ( { \mathbf X _ { i } } , { \mathbf z } ) } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , { \mathbf X _ { i } } ) p _ { \psi } ( { \mathbf X _ { i } } ) } } \mathrm { d } { \mathbf z } } \\ { } & { ~ = \displaystyle { \int } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , \mathbf X _ { i } ) \log \frac { p _ { \phi } ( { \mathbf X _ { j } } | \mathbf X _ { i } , { \mathbf z } ) p _ { \psi } ( { \mathbf z } | \mathbf X _ { i } ) } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , { \mathbf X _ { i } } ) } } \mathrm { d } { \mathbf z } } \\ { } & ~ = \displaystyle { \int } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , \mathbf X _ { i } ) \log \frac { p _ { \phi } ( { \mathbf z } | \mathbf X _ { j } , { \mathbf z } ) p _ { \phi } ( { \mathbf Z } | \mathbf X _ { i } ) } { q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , { \mathbf X _ { i } } ) } } \\ { } & ~ = \displaystyle { \int } q _ { \mathcal { G } } ( { \mathbf z } | \mathbf X _ { j } , \mathbf X _ { i } \end{array}
359
+ $$
360
+
361
+ # B REPRODUCIBILITY
362
+
363
+ # B.1 DATASETS DETAILS
364
+
365
+ Cora, Citeseer, and Pubmed are standard citation network benchmark datasets Sen et al. (2008). In these datasets, nodes represent documents, and edges denote citations; node feature corresponds to elements of a bag-of-words representation of a document, and node label corresponds to one of the academic topics. Besides, we utilize four datasets used in Pei et al. (2020) for evaluation. Chameleon and squirrel are two page-page networks on specific topics in Wikipedia Rozemberczki et al. (2021). In these datasets, nodes represent web pages, and edges denote mutual links between pages; node features correspond to several informative nouns in the Wikipedia pages and labels correspond to the number of the average monthly traffic of the web page. WebKB1 is a webpage dataset collected from various universities. We use the one subdataset of it, Cornell. In this dataset, nodes represent web pages, and edges are hyperlinks between them; node features correspond to the bag-of-words representation of web pages and labels correspond to five categories, student, project, course, staff, and faculty. Film dataset is the actor-only induced subgraph of the film-directoractor-writer network Tang et al. (2009). In this dataset, Nodes represent actors, and edges denote co-occurrence on the same Wikipedia page; node features correspond to some keywords in the Wikipedia pages and labels correspond to five categories in terms of words of actor’s Wikipedia. All the dataset statistics are summarized in Table 6.
366
+
367
+ Table 6: Datasets statistics
368
+
369
+ <table><tr><td>Dataset</td><td>Cora</td><td>Cite.</td><td>Pubm.</td><td>Cham.</td><td>Squi.</td><td>Actor</td><td>Corn.</td></tr><tr><td>#Nodes</td><td>2708</td><td>3327</td><td>19717</td><td>2277</td><td>5201</td><td>7600</td><td>183</td></tr><tr><td>#Edges</td><td>5429</td><td>4732</td><td>44338</td><td>36101</td><td>217073</td><td>33544</td><td>295</td></tr><tr><td>#Features</td><td>1433</td><td>3703</td><td>500</td><td>2325</td><td>2089</td><td>931</td><td>1703</td></tr><tr><td># Classes</td><td>7</td><td>6</td><td>3</td><td>5</td><td>5</td><td>5</td><td>5</td></tr></table>
370
+
371
+ # B.2 IMPLEMENTATION DETAILS
372
+
373
+ We use Pytorch (Paszke et al., 2019) to implement LA-GNNs. The codes of $S ^ { 2 } G C$ (Zhu & Koniusz, 2021), LA-GCN, LA-GAT, LA-GCNII, LA-GRAND, and DropEdge-GCN are implemented referring to Pytorch implementation of $\mathrm { S } ^ { 2 } \mathrm { G } \mathrm { C } ^ { 2 }$ , $\mathrm { G C N } ^ { 3 }$ (Kipf & Welling, 2017), $\mathrm { G A T ^ { 4 } }$ (Velickovi ˇ c et al., 2018), ´ $\mathrm { G C N I I } ^ { 5 }$ (Chen et al., 2020) $\mathrm { G R A N D } ^ { 6 }$ (Feng et al., 2020), and DropEdge- $\mathbf { \Delta } G \mathbf { C N } ^ { 7 }$ (Rong et al., 2020). Besides, we implement APPNP (Klicpera et al., 2019) with DGL (Wang et al., 2019) version of APPNP8. The datasets Cora, Citeseer, Pubmed are downloaded from TensorFlow (Abadi et al., 2016) implementation of $\mathrm { G C N ^ { 9 } }$ , and the datasets Chameleon, Squirrel, Actor, and Cornell are downloaded from the implementation of Geom- $\mathrm { G C N ^ { 1 0 } }$ (Pei et al., 2020). All the experiments in this work are conducted on a single NVIDIA Tesla V100 with 32GB memory size. The operating system behind the Docker where the experiments are running is Red Hat 4.8.2-16. And the software that we use for experiments are Python 3.6.8, numpy 1.19.2, sklearn 0.0, scipy 1.5.4, networkx 2.5.1, torch 1.6.0, torchvision 0.7.0, CUDA 10.2.89, and CUDNN 8.0.2.
374
+
375
+ # B.3 HYPERPARAMETER DETAILS
376
+
377
+ LA-GNNs introduce an additional parameter, that is the hidden layer for generated feature matrix $\overline { { \mathbf { X } } }$ before concatenation. The difference of architectures between GCN and LA-GCN can be found in Figure 4, and the LA-GCNII architecture can be found in Figure 5.
378
+
379
+ ![](images/d7816fad620dd0825bfeea46796303662cc8614bc99cb04d713507ea99f5f1a5.jpg)
380
+ Figure 4: GCN and LA-GCN architectures. The difference between GCN and LA-GCN architectures is that the LA-GCN has an additional convolutional layer for $\overline { { \mathbf { X } } }$ and it uses a concatenation operation to mix the hidden representations.
381
+
382
+ ![](images/5443477c1a5cf6f340de4b0323cbbb8400ffee35c029505e3e5d44d84aa3e826.jpg)
383
+ Figure 5: LA-GCNII architecture. The difference between GCNII and LA-GCNII is that the LAGCNII has an additional MLP layer for $\overline { { \mathbf { X } } }$ and it uses a concatenation operation to mix the hidden representations.
384
+
385
+ The difference of hyperparameters between the GCN and LA-GCN is only the hidden layer size before concatenation. For the LA-GCNII, LA-GAT, LA-GRAND, we tune the hyperparameters in the same way as described in their original papers with validation set.
parse/dev/3FvF1db-bKT/3FvF1db-bKT_content_list.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/3FvF1db-bKT/3FvF1db-bKT_layout.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:143ba12f5d9ddf5e2eb3191f785d462b660faf64f77b155dc1c42c616dc3663b
3
+ size 743641
parse/dev/3FvF1db-bKT/3FvF1db-bKT_middle.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/3FvF1db-bKT/3FvF1db-bKT_model.json ADDED
The diff for this file is too large to render. See raw diff
 
parse/dev/3FvF1db-bKT/3FvF1db-bKT_origin.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:47b5c482330a8ca7224f2ea03ecd829855cdf380e1fd6eb9d88e64447cf29596
3
+ size 535862
parse/dev/3FvF1db-bKT/3FvF1db-bKT_span.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3f8a0f47ae76268013f430ea187d4e8cc842880a03a678dfb8947d1158b42e41
3
+ size 750947
parse/dev/3FvF1db-bKT/images/01504f03f7ada796d4cba0d38187f79fff717bd6ed61294a2986883682426937.jpg ADDED

Git LFS Details

  • SHA256: de1cbfe18b6b323ca9cb51f9319d9541958ea250bff3821cc3899320954377ce
  • Pointer size: 130 Bytes
  • Size of remote file: 85.3 kB
parse/dev/3FvF1db-bKT/images/02db34de261ebadeed56e54daa7a15cd3eaa86f7795ea776ca63ea498b28e4a9.jpg ADDED

Git LFS Details

  • SHA256: 5bff4c33e4c929050bfea51fa826939b7be17c1850b4eb6c1799b0d8358d5e15
  • Pointer size: 130 Bytes
  • Size of remote file: 27.9 kB
parse/dev/3FvF1db-bKT/images/044f1a58776aef8f5591f62fd4befd55bb068565b2de2e9bd55b68ba18b06999.jpg ADDED

Git LFS Details

  • SHA256: 6dfb6a2a894c0f866b6a776765380876d7a0f8f5459ecb8458d9935c81cb9d79
  • Pointer size: 130 Bytes
  • Size of remote file: 10.8 kB
parse/dev/3FvF1db-bKT/images/04a19d0377699e430b4f1574cb88bab3737e06b72fd8ffdc284a657b70d4f26f.jpg ADDED

Git LFS Details

  • SHA256: d9607e1e29322e74635645d3c9640911a9ee3c8eb56d6f37f23c0b8dea3e92b9
  • Pointer size: 130 Bytes
  • Size of remote file: 22.2 kB
parse/dev/3FvF1db-bKT/images/05fa145f5cff98d6991c19b9092629fc2b252f77d6342710b829821bf26747c2.jpg ADDED

Git LFS Details

  • SHA256: 84f666cf24dacf0e83fd0d8d0ad3494791e7149a5573f4f3d9fe8a6f3351188b
  • Pointer size: 129 Bytes
  • Size of remote file: 8.39 kB
parse/dev/3FvF1db-bKT/images/0a1fac39e36905a3a4546a8f12f4e8cd9c64dd90538a0a88ad47d0994d897420.jpg ADDED

Git LFS Details

  • SHA256: 78432fa51595885f917a1160bb6931348d9114e12d29d0aac8818e26922bbf26
  • Pointer size: 130 Bytes
  • Size of remote file: 12.3 kB
parse/dev/3FvF1db-bKT/images/0b5072d13dff98ceb3f376b6d3e0034b60f5da232a7265602f7ff6924a32a9a8.jpg ADDED

Git LFS Details

  • SHA256: a54b95c09422f75c1b1800d1c6a917f3470651cb3c36ca8ce65c22ff27c5726b
  • Pointer size: 129 Bytes
  • Size of remote file: 5.29 kB
parse/dev/3FvF1db-bKT/images/1e622fbcf762f746fb35f524d6f052f3f1fd7930c093ae304997e6254e7022a0.jpg ADDED

Git LFS Details

  • SHA256: d537c72e9a0ac8ef95330eb98bed4bb63672cf2c1aa3c4a18c08be4ccdeadb17
  • Pointer size: 130 Bytes
  • Size of remote file: 34.4 kB
parse/dev/3FvF1db-bKT/images/3969838a7b935379ff9a61fd7d4acd02bfdf7dbee1d678d807fb38029ca9429a.jpg ADDED

Git LFS Details

  • SHA256: 78fd0829a0102d830b524c7768103f04f99252c016a0336e20ca9834e9285126
  • Pointer size: 129 Bytes
  • Size of remote file: 7.58 kB
parse/dev/3FvF1db-bKT/images/410d67587b543d15cc65cba5cdc78b6ecc62b88dfffe4c1dfb7018aab80db729.jpg ADDED

Git LFS Details

  • SHA256: 2379234c3830a9c1e9149f948aa6006125ad5788d014c547c18f9b91b4c32897
  • Pointer size: 130 Bytes
  • Size of remote file: 24.2 kB
parse/dev/3FvF1db-bKT/images/4b4f7de55c1633f1e64d504d7c14ecb1f9d93ef379b8dba8051c2b7e0be66189.jpg ADDED

Git LFS Details

  • SHA256: 0d9acbbb76915ddd5a4c93535dd93683dba8211f7f89ebf6c653c6cbb5ee30db
  • Pointer size: 130 Bytes
  • Size of remote file: 10.5 kB