Skip to content
ImagineWorld

Why Deep Generative Modeling?

node_idnode-book_deep-generative-modeling_chapter-01-why-deep-generative-modeling
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num1
chapter_titleWhy Deep Generative Modeling?
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 1 — Why Deep Generative Modeling?

Section titled “Chapter 1 — Why Deep Generative Modeling?”

Chapter 1 Why Deep Generative Modeling?

1.1 AI Is Not Only About Decision Making

Before we start thinking about (deep) generative modeling, let us consider a simple example. Imagine we have trained a deep neural network that classifies images (x∈ZD\mathbf{x} \in \mathbb{Z}^D) of animals (y∈Yy \in \mathcal{Y}, and Y={cat,dog,horse}\mathcal{Y} = \{cat, dog, horse\}). Further, let us assume that this neural network is trained really well so that it always classifies a proper class with a high probability p(y∣x)p(y|\mathbf{x}). So far so good, right? The problem could occur though. As pointed out in [1], adding noise to images could result in completely false classification. An example of such a situation is presented in Fig. 1.1 where adding noise could shift predicted probabilities of labels; however, the image is barely changed (at least to us, human beings).

This example indicates that neural networks that are used to parameterize the conditional distribution p(y∣x)p(y|\mathbf{x}) seem to lack semantic understanding of images. Further, we even hypothesize that learning discriminative models is not enough for proper decision making and creating AI. A machine learning system cannot rely on learning how to make a decision without understanding the reality and being able to express uncertainty about the surrounding world. How can we trust such a system if even a small amount of noise could change its internal beliefs and also shift its certainty from one decision to the other? How can we communicate with such a system if it is unable to properly express its opinion about whether its surrounding is new or not?

To motivate the importance of the concepts like uncertainty and understanding in decision making, let us consider a system that classifies objects, but this time into two classes: orange and blue. We assume we have some two-dimensional data (Fig. 1.2, left) and a new datapoint to be classified (a black cross in Fig. 1.2). We can make decisions using two approaches. First, a classifier could be formulated explicitly by modeling the conditional distribution p(y∣x)p(y|\mathbf{x}) (Fig. 1.2, middle). Second, we can consider a joint distribution p(x,y)p(\mathbf{x}, y) that could be further decomposed as p(x,y)=p(y∣x)p(x)p(\mathbf{x}, y) = p(y|\mathbf{x}) p(\mathbf{x}) (Fig. 1.2, right).

© The Author(s), under exclusive license to Springer Nature Switzerland AG 2022 J. M. Tomczak, Deep Generative Modeling, https://doi.org/10.1007/978-3-030-93158-2_1

1 Why Deep Generative Modeling?

[!visual-conversion] Photographic content (a real cat image plus a noise texture) — texture/shading is the information; ASCII/Mermaid/table would lose it. Cropped from page 008. source_page: pages/page-008.png | visual_type: photograph + schematic

dgm-fig-1.1-noise-shift.png Fig. 1.1 An example of adding noise to an almost perfectly classified image that results in a shift of predicted label

[!visual-conversion] Multi-panel scatter/decision-boundary figure with graded probability-density shading (the gray-scale gradient is itself the information being conveyed, not just labeled boxes/arrows); ASCII/table cannot carry a shading gradient 1:1. Cropped from page 008. source_page: pages/page-008.png | visual_type: schematic scatter plot

dgm-fig-1.2-discriminative-vs-generative.png Fig. 1.2 And example of data (left) and two approaches to decision making: (middle) a discriminative approach and (right) a generative approach

After training a model using the discriminative approach, namely, the conditional distribution p(y∣x)p(y|\mathbf{x}), we obtain a clear decision boundary. Then, we see that the black cross is farther away from the orange region; thus, the classifier assigns a higher probability to the blue label. As a result, the classifier is certain about the decision!

On the other hand, if we additionally fit a distribution p(x)p(\mathbf{x}), we observe that the black cross is not only farther away from the decision boundary, but also it is distant to the region where the blue datapoints lie. In other words, the black point is far away from the region of high probability mass. As a result, the (marginal) probability of the black cross p(x=black cross)p(\mathbf{x} = \text{black cross}) is low, and the joint distribution p(x=black cross,y=blue)p(\mathbf{x} = \text{black cross}, y = \text{blue}) will be low as well and, thus, the decision is uncertain!

This simple example clearly indicates that if we want to build AI systems that make reliable decisions and can communicate with us, human beings, they must understand the environment first. For this purpose, they cannot simply learn how to make decisions, but they should be able to quantify their beliefs about their surrounding using the language of probability [2, 3]. In order to do that, we claim that estimating the distribution over objects, p(x)p(\mathbf{x}), is crucial.

From the generative perspective, knowing the distribution p(x)p(\mathbf{x}) is essential because:

  • It could be used to assess whether a given object has been observed in the past or not.
  • It could help to properly weight the decision.
  • It could be used to assess uncertainty about the environment.

1.2 Where Can We Use (Deep) Generative Modeling?

  • It could be used to actively learn by interacting with the environment (e.g., by asking for labeling objects with low p(x)p(\mathbf{x})).
  • And, eventually, it could be used to generate (synthesize) new objects.

Typically, in the literature of deep learning, generative models are treated as generators of new data. However, here we try to convey a new perspective where having p(x)p(\mathbf{x}) has much broader applicability, and this could be essential for building successful AI systems. Lastly, we would like to also make an obvious connection to generative modeling in machine learning, where formulating a proper generative process is crucial for understanding the phenomena of interest [3, 4]. However, in many cases, it is easier to focus on the other factorization, namely, p(x,y)=p(x∣y)p(y)p(\mathbf{x}, y) = p(\mathbf{x}|y) p(y). We claim that considering p(x,y)=p(y∣x)p(x)p(\mathbf{x}, y) = p(y|\mathbf{x}) p(\mathbf{x}) has clear advantages as mentioned before.

1.2 Where Can We Use (Deep) Generative Modeling?

With the development of neural networks and the increase in computational power, deep generative modeling has become one of the leading directions in AI. Its applications vary from typical modalities considered in machine learning, i.e., text analysis (e.g., [5]), image analysis (e.g., [6]), audio analysis (e.g., [7]), to problems in active learning (e.g., [8]), reinforcement learning (e.g., [9]), graph analysis (e.g., [10]), and medical imaging (e.g., [11]). In Fig. 1.3, we present graphically potential applications of deep generative modeling.

In some applications, it is indeed important to generate (synthesize) objects or modify features of objects to create new ones (e.g., an app turns a young person

[!visual-conversion] Composite montage of six application panels — most are real photographs, an audio waveform, and a rendered molecule (texture/shading is the information); only one sub-panel (Active learning) is a plain flow diagram, but it’s part of a single captioned figure in print, so splitting it out would misrepresent the original. Cropped whole from page 009. source_page: pages/page-009.png | visual_type: photo/data montage

dgm-fig-1.3-applications.png Fig. 1.3 Various potential applications of deep generative modeling 1 Why Deep Generative Modeling?

into an old one). However, in others like active learning it is important to ask for uncertain objects, i.e., objects with low p(x)p(\mathbf{x}) that should be labeled by an oracle. In reinforcement learning, on the other hand, generating the next most likely situation (states) is crucial for taking actions by an agent. For medical applications, explaining a decision, e.g., in terms of the probability of the label and the object, is definitely more informative to a human doctor than simply assisting with a diagnosis label. If an AI system would be able to indicate how certain it is and also quantify whether the object is suspicious (i.e., low p(x)p(\mathbf{x})) or not, then it might be used as an independent specialist that outlines its own opinion.

These examples clearly indicate that many fields, if not all, could highly benefit from (deep) generative modeling. Obviously, there are many mechanisms that AI systems should be equipped with. However, we claim that the generative modeling capability is definitely one of the most important ones, as outlined in the above-mentioned cases.

1.3 How to Formulate (Deep) Generative Modeling?

At this point, after highlighting the importance and wide applicability of (deep) generative modeling, we should ask ourselves how to formulate (deep) generative models. In other words, how to express p(x)p(\mathbf{x}) that we mentioned already multiple times.

We can divide (deep) generative modeling into four main groups (see Fig. 1.4):

  • Autoregressive generative models (ARM)
  • Flow-based models
  • Latent variable models
  • Energy-based models

We use deep in brackets because most of what we have discussed so far could be modeled without using neural networks. However, neural networks are flexible and powerful and, therefore, they are widely used to parameterize generative models. From now on, we focus entirely on deep generative models.

As a side note, please treat this taxonomy as a guideline that helps us to navigate through this book, not something written in stone. Personally, I am not a big fan of spending too much time on categorizing and labeling science because it very often results in antagonizing and gatekeeping. Anyway, there is also a group of models based on the score matching principle [12–14] that do not necessarily fit our simple taxonomy. However, as pointed out in [14], these models share a lot of similarities with latent variable models (if we treat consecutive steps of a stochastic process as latent variables) and, thus, we treat them as such.

1.3 How to Formulate (Deep) Generative Modeling?

[!visual-conversion] Hierarchy/taxonomy tree — clean parent-child relationships, no photographic content. Converted to Mermaid from Fig. 1.4, page 011.

graph TD
    Root["Deep Generative Models"]
    Root --> ARM["Autoregressive models<br/>(e.g., PixelCNN)"]
    Root --> Flow["Flow-based models<br/>(e.g., RealNVP)"]
    Root --> LVM["Latent variable models"]
    Root --> EBM["Energy-based models"]
    LVM --> Implicit["Implicit models<br/>(e.g., GANs)"]
    LVM --> Prescribed["Prescribed models<br/>(e.g., VAEs)"]

Fig. 1.4 A taxonomy of deep generative models

1.3.1 Autoregressive Models

The first group of deep generative models utilizes the idea of autoregressive modeling (ARM). In other words, the distribution over x\mathbf{x} is represented in an autoregressive manner:

p(x)=p(x0)∏i=1Dp(xi∣x<i),(1.1)p(\mathbf{x}) = p(x_0) \prod_{i=1}^{D} p(x_i | \mathbf{x}_{<i}), \tag{1.1}

where x<i\mathbf{x}_{<i} denotes all x\mathbf{x}‘s up to the index ii.

Modeling all conditional distributions p(xi∣x<i)p(x_i | \mathbf{x}_{<i}) would be computationally inefficient. However, we can take advantage of causal convolutions as presented in [7] for audio and in [15, 16] for images. We will discuss ARMs more in depth in Chap. 2.

1.3.2 Flow-Based Models

The change of variables formula provides a principled manner of expressing a density of a random variable by transforming it with an invertible transformation ff [17]:

p(x)=p(z=f(x))∣Jf(x)∣,(1.2)p(\mathbf{x}) = p(\mathbf{z} = f(\mathbf{x})) |\mathbf{J}_{f(\mathbf{x})}|, \tag{1.2}

where Jf(x)\mathbf{J}_{f(\mathbf{x})} denotes the Jacobian matrix.

We can parameterize ff using deep neural networks; however, it cannot be any arbitrary neural networks, because we must be able to calculate the Jacobian matrix. First ideas of using the change of variable formulate focused on linear, volume-preserving transformations that yields ∣Jf(x)∣=1|\mathbf{J}_{f(\mathbf{x})}| = 1 [18, 19]. Further attempts utilized 1 Why Deep Generative Modeling?

theorems on matrix determinants that resulted in specific non-linear transformations, namely, planar flows [20] and Sylvester flows [21, 22]. A different approach focuses on formulating invertible transformations for which the Jacobian-determinant could be calculated easily like for coupling layers in RealNVP [23]. Recently, arbitrary neural networks are constrained in such a way they are invertible and the Jacobian-determinant is approximated [24–26].

In the case of the discrete distributions (e.g., integers), for the probability mass functions, there is no change of volume and, therefore, the change of variables formula takes the following form:

p(x)=p(z=f(x)).(1.3)p(\mathbf{x}) = p(\mathbf{z} = f(\mathbf{x})). \tag{1.3}

Integer discrete flows propose to use affine coupling layers with rounding operators to ensure the integer-valued output [27]. A generalization of the affine coupling layer was further investigated in [28].

All generative models that take advantage of the change of variables formula are referred to as flow-based models or flows for short. We will discuss flows in Chap. 3.

The idea behind latent variable models is to assume a lower-dimensional latent space and the following generative process:

z∼p(z)\mathbf{z} \sim p(\mathbf{z}) x∼p(x∣z).\mathbf{x} \sim p(\mathbf{x}|\mathbf{z}).

In other words, the latent variables correspond to hidden factors in data, and the conditional distribution p(x∣z)p(\mathbf{x}|\mathbf{z}) could be treated as a generator.

The most widely known latent variable model is the probabilistic Principal Component Analysis (pPCA) [29] where p(z)p(\mathbf{z}) and p(x∣z)p(\mathbf{x}|\mathbf{z}) are Gaussian distributions, and the dependency between z\mathbf{z} and x\mathbf{x} is linear.

A non-linear extension of the pPCA with arbitrary distributions is the Variational Auto-Encoder (VAE) framework [30, 31]. To make the inference tractable, variational inference is utilized to approximate the posterior p(z∣x)p(\mathbf{z}|\mathbf{x}), and neural networks are used to parameterize the distributions. Since the publication of the seminal papers by Kingma and Welling [30], Rezende et al. [31], there were multiple extensions of this framework, including working on more powerful variational posteriors [19, 21, 22, 32], priors [33, 34], and decoders [35]. Interesting directions include considering different topologies of the latent space, e.g., the hyperspherical latent space [36]. In VAEs and the pPCA all distributions must be defined upfront 1.3 How to Formulate (Deep) Generative Modeling?

and, therefore, they are called prescribed models. We will pay special attention to this group of deep generative models in Chap.4.

So far, ARMs, flows, the pPCA, and VAEs are probabilistic models with the objective function being the log-likelihood function that is closely related to using the Kullback–Leibler divergence between the data distribution and the model distribution. A different approach utilizes an adversarial loss in which a discriminator D(⋅)D(\cdot) determines a difference between real data and synthetic data provided by a generator in the implicit form, namely, p(x∣z)=δ(x−G(z))p(\mathbf{x}|\mathbf{z}) = \delta(\mathbf{x} - G(\mathbf{z})), where δ(⋅)\delta(\cdot) is the Dirac delta. This group of models is called implicit models, and Generative Adversarial Networks (GANs) [6] become one of the first successful deep generative models for synthesizing realistic-looking objects (e.g., images). See Chap. 7 for more details.

Physics provide an interesting perspective on defining a group of generative models through defining an energy function, E(x)E(\mathbf{x}), and, eventually, the Boltzmann distribution:

p(x)=exp⁡{−E(x)}Z,(1.4)p(\mathbf{x}) = \frac{\exp\{-E(\mathbf{x})\}}{Z}, \tag{1.4}

where Z=∑xexp⁡{−E(x)}Z = \sum_{\mathbf{x}} \exp\{-E(\mathbf{x})\} is the partition function.

In other words, the distribution is defined by the exponentiated energy function that is further normalized to obtain values between 0 and 1 (i.e., probabilities). There is much more into that if we think about physics, but we do not require delving into that. I refer to [37] as a great starting point for that.

Models defined by an energy function are referred to as energy-based models (EBMs) [38]. The main idea behind EBMs is to formulate the energy function and calculate (or rather approximate) the partition function. The largest group of EBMs consists of Boltzmann Machines that entangle x\mathbf{x}‘s through a bilinear form, i.e., E(x)=x⊤WxE(\mathbf{x}) = \mathbf{x}^{\top} \mathbf{W} \mathbf{x} [39, 40]. Introducing latent variables and taking E(x,z)=x⊤WzE(\mathbf{x}, \mathbf{z}) = \mathbf{x}^{\top} \mathbf{W} \mathbf{z} results in Restricted Boltzmann Machines [41]. The idea of Boltzmann machines could be further extended to the joint distribution over x\mathbf{x} and y\mathbf{y} as it is done, e.g., in classification Restricted Boltzmann Machines [42]. Recently, it has been shown that an arbitrary neural network could be used to define the joint distribution [43]. We will discuss how this could be accomplished in Chap. 6.

1 Why Deep Generative Modeling?

1.3.5 Overview

In Table 1.1, we compared all four groups of models (with a distinction between implicit latent variable models and prescribed latent variable models) using arbitrary criteria like:

  • Whether training is typically stable
  • Whether it is possible to calculate the likelihood function
  • Whether one can use a model for lossy or lossless compression
  • Whether a model could be used for representation learning

All likelihood-based models (i.e., ARMs, flows, EBMs, and prescribed models like VAEs) can be trained in a stable manner, while implicit models like GANs suffer from instabilities. In the case of the non-linear prescribed models like VAEs, we must remember that the likelihood function cannot be exactly calculated, and only a lower-bound could be provided. Similarly, EBMs require calculating the partition function that is analytically intractable problem. As a result, we can get the unnormalized probability or an approximation at best. ARMs constitute one of the best likelihood-based models; however, their sampling process is extremely slow due to the autoregressive manner of generating new content. EBMs require running a Monte Carlo method to receive a sample. Since we operate on high-dimensional objects, this is a great obstacle for using EBMs widely in practice. All other approaches are relatively fast. In the case of compression, VAEs are models that allow us to use a bottleneck (the latent space). On the other hand, ARMs and flows could be used for lossless compression since they are density estimators and provide the exact likelihood value. Implicit models cannot be directly used for compression; however, recent works use GANs to improve image compression [44]. Flows, prescribed models, and EBMs (if use latents) could be used for representation learning, namely, learning a set of random variables that summarize data in some way and/or disentangle factors in data. The question about what is a good representation is a different story and we refer a curious reader to literature, e.g., [45].

Table 1.1 A comparison of deep generative models

Generative modelsTrainingLikelihoodSamplingCompressionRepresentation
Autoregressive modelsStableExactSlowLosslessNo
Flow-based modelsStableExactFast/slowLosslessYes
Implicit modelsUnstableNoFastNoNo
Prescribed modelsStableApproximateFastLossyYes
Energy-based modelsStableUnnormalizedSlowRather notYes

1.4 Purpose and Content of This Book

This book is intended as an introduction to the field of deep generative modeling. Its goal is to convince you, dear reader, to the philosophy of generative modeling and show you its beauty! Deep generative modeling is an interesting hybrid that combines probability theory, statistics, probabilistic machine learning, and deep learning in a single framework. However, to be able to follow the ideas presented in this book it is advised to possess knowledge in algebra and calculus, probability theory and statistics, the basics of machine learning and deep learning, and programming with Python. Knowing PyTorch1^{1} is highly recommended since all code snippets are written in PyTorch. However, knowing other deep learning frameworks like Keras, Tensorflow, or JAX should be sufficient to understand the code.

In this book, we will not review machine learning concepts or building blocks in deep learning unless it is essential to comprehend a given topic. Instead, we will delve into models and training algorithms of deep generative models. We will either discuss the marginal models, such as autoregressive models (Chap.2), flow-based models (Chap.3): RealNVP, Integer Discrete Flows, and residual and DenseNet flows, latent variable models (Chap.4): Variational Auto-Encoder and its components, hierarchical VAEs, and Diffusion-based deep generative models, or frameworks for modeling the joint distribution like hybrid modeling (Chap.5) and energy-based models (Chap.6). Eventually, we will present how deep generative modeling could be useful for data compression within the neural compression framework (Chap.8). In general, the book is organized in such a way that each chapter could be followed independently from the others and in an order that suits a reader best.

So who is the target audience of this book? Well, hopefully everybody who is interested in AI, but there are two groups who could definitely benefit from the presented content. The first target audience is university students who want to go beyond standard courses on machine learning and deep learning. The second group is research engineers who want to broaden their knowledge on AI or prefer to make the next step in their careers and learn about the next generation of AI systems. Either way, the book is intended for curious minds who want to understand AI and learn not only about theory but also how to implement the discussed material. For this purpose, each topic is associated with general discussion and introduction that is further followed by formal formulations and a piece of code (in PyTorch). The intention of this book is to truly understand deep generative modeling that, in the humble opinion of the author of this book, is only possible if one can not only derive a model but also implement it. Therefore, this book is accompanied by the following code repository:

https://github.com/jmtomczak/intro_dgm

1^{1} https://pytorch.org/.

References

  1. Christian Szegedy, Wojciech Zaremba, Ilya Sutskever, Joan Bruna, Dumitru Erhan, Ian Goodfellow, and Rob Fergus. Intriguing properties of neural networks. In 2nd International Conference on Learning Representations, ICLR 2014, 2014.

  2. Christopher M Bishop. Model-based machine learning. Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 371(1984):20120222, 2013.

  3. Zoubin Ghahramani. Probabilistic machine learning and artificial intelligence. Nature, 521(7553):452–459, 2015.

  4. Julia A Lasserre, Christopher M Bishop, and Thomas P Minka. Principled hybrids of generative and discriminative models. In 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), volume 1, pages 87–94. IEEE, 2006.

  5. Samuel Bowman, Luke Vilnis, Oriol Vinyals, Andrew Dai, Rafal Jozefowicz, and Samy Bengio. Generating sentences from a continuous space. In Proceedings of The 20th SIGNLL Conference on Computational Natural Language Learning, pages 10–21, 2016.

  6. Ian J Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial networks. arXiv preprint arXiv:1406.2661, 2014.

  7. Aaron van den Oord, Sander Dieleman, Heiga Zen, Karen Simonyan, Oriol Vinyals, Alex Graves, Nal Kalchbrenner, Andrew Senior, and Koray Kavukcuoglu. WaveNet: A generative model for raw audio. arXiv preprint arXiv:1609.03499, 2016.

  8. Samarth Sinha, Sayna Ebrahimi, and Trevor Darrell. Variational adversarial active learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 5972–5981, 2019.

  9. David Ha and Jürgen Schmidhuber. World models. arXiv preprint arXiv:1803.10122, 2018.

  10. GraphVAE: Towards generation of small graphs using variational autoencoders, author=Simonovsky, Martin and Komodakis, Nikos, booktitle=International Conference on Artificial Neural Networks, pages=412–422, year=2018, organization=Springer.

  11. Maximilian Ilse, Jakub M Tomczak, Christos Louizos, and Max Welling. DIVA: Domain invariant variational autoencoders. In Medical Imaging with Deep Learning, pages 322–348. PMLR, 2020.

  12. Aapo Hyvärinen and Peter Dayan. Estimation of non-normalized statistical models by score matching. Journal of Machine Learning Research, 6(4), 2005.

  13. Yang Song and Stefano Ermon. Generative modeling by estimating gradients of the data distribution. arXiv preprint arXiv:1907.05600, 2019.

  14. Yang Song, Jascha Sohl-Dickstein, Diederik P Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2020.

  15. Aaron Van Oord, Nal Kalchbrenner, and Koray Kavukcuoglu. Pixel recurrent neural networks. In International Conference on Machine Learning, pages 1747–1756. PMLR, 2016.

  16. Aäron van den Oord, Nal Kalchbrenner, Oriol Vinyals, Lasse Espeholt, Alex Graves, and Koray Kavukcuoglu. Conditional image generation with PixelCNN decoders. In Proceedings of the 30th International Conference on Neural Information Processing Systems, pages 4797–4805, 2016.

  17. Oren Rippel and Ryan Prescott Adams. High-dimensional probability estimation with deep density models. arXiv preprint arXiv:1302.5125, 2013.

  18. Laurent Dinh, David Krueger, and Yoshua Bengio. NICE: Non-linear independent components estimation. arXiv preprint arXiv:1410.8516, 2014.

  19. Jakub M Tomczak and Max Welling. Improving variational auto-encoders using householder flow. arXiv preprint arXiv:1611.09630, 2016.

  20. Danilo Rezende and Shakir Mohamed. Variational inference with normalizing flows. In International Conference on Machine Learning, pages 1530–1538. PMLR, 2015.

  1. Rianne Van Den Berg, Leonard Hasenclever, Jakub M Tomczak, and Max Welling. Sylvester normalizing flows for variational inference. In 34th Conference on Uncertainty in Artificial Intelligence 2018, UAI 2018, pages 393–402. Association For Uncertainty in Artificial Intelligence (AUAI), 2018.

  2. Emiel Hoogeboom, Victor Garcia Satorras, Jakub M Tomczak, and Max Welling. The convolution exponential and generalized Sylvester flows. arXiv preprint arXiv:2006.01910, 2020.

  3. Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. Density estimation using Real NVP. arXiv preprint arXiv:1605.08803, 2016.

  4. Jens Behrmann, Will Grathwohl, Ricky TQ Chen, David Duvenaud, and Jörn-Henrik Jacobsen. Invertible residual networks. In International Conference on Machine Learning, pages 573–582. PMLR, 2019.

  5. Ricky TQ Chen, Jens Behrmann, David Duvenaud, and Jörn-Henrik Jacobsen. Residual flows for invertible generative modeling. arXiv preprint arXiv:1906.02735, 2019.

  6. Yura Perugachi-Diaz, Jakub M Tomczak, and Sandjai Bhulai. Invertible DenseNets with Concatenated LipSwish. Advances in Neural Information Processing Systems, 2021.

  7. Emiel Hoogeboom, Jorn WT Peters, Rianne van den Berg, and Max Welling. Integer discrete flows and lossless compression. arXiv preprint arXiv:1905.07376, 2019.

  8. Jakub M Tomczak. General invertible transformations for flow-based generative modeling. INNF+, 2021.

  9. Michael E Tipping and Christopher M Bishop. Probabilistic principal component analysis. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 61(3):611–622, 1999.

  10. Diederik P Kingma and Max Welling. Auto-encoding variational Bayes. arXiv preprint arXiv:1312.6114, 2013.

  11. Danilo Jimenez Rezende, Shakir Mohamed, and Daan Wierstra. Stochastic backpropagation and approximate inference in deep generative models. In International conference on machine learning, pages 1278–1286. PMLR, 2014.

  12. Durk P Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen, Ilya Sutskever, and Max Welling. Improved variational inference with inverse autoregressive flow. Advances in Neural Information Processing Systems, 29:4743–4751, 2016.

  13. Xi Chen, Diederik P Kingma, Tim Salimans, Yan Duan, Prafulla Dhariwal, John Schulman, Ilya Sutskever, and Pieter Abbeel. Variational lossy autoencoder. arXiv preprint arXiv:1611.02731, 2016.

  14. Jakub Tomczak and Max Welling. VAE with a VampPrior. In International Conference on Artificial Intelligence and Statistics, pages 1214–1223. PMLR, 2018.

  15. Ishaan Gulrajani, Kundan Kumar, Faruk Ahmed, Adrien Ali Taiga, Francesco Visin, David Vazquez, and Aaron Courville. PixelVAE: A latent variable model for natural images. arXiv preprint arXiv:1611.05013, 2016.

  16. Tim R Davidson, Luca Falorsi, Nicola De Cao, Thomas Kipf, and Jakub M Tomczak. Hyperspherical variational auto-encoders. In 34th Conference on Uncertainty in Artificial Intelligence 2018, UAI 2018, pages 856–865. Association For Uncertainty in Artificial Intelligence (AUAI), 2018.

  17. Edwin T Jaynes. Probability theory: The logic of science. Cambridge university press, 2003.

  18. Yann LeCun, Sumit Chopra, Raia Hadsell, M Ranzato, and F Huang. A tutorial on energy-based learning. Predicting structured data, 1(0), 2006.

  19. David H Ackley, Geoffrey E Hinton, and Terrence J Sejnowski. A learning algorithm for Boltzmann machines. Cognitive science, 9(1):147–169, 1985.

  20. Geoffrey E Hinton, Terrence J Sejnowski, et al. Learning and relearning in Boltzmann machines. Parallel distributed processing: Explorations in the microstructure of cognition, 1(282-317):2, 1986.

  21. Geoffrey E Hinton. A practical guide to training restricted Boltzmann machines. In Neural networks: Tricks of the trade, pages 599–619. Springer, 2012.

1 Why Deep Generative Modeling?

  1. Hugo Larochelle and Yoshua Bengio. Classification using discriminative restricted Boltzmann machines. In Proceedings of the 25th international conference on Machine learning, pages 536—543, 2008.

  2. Will Grathwohl, Kuan-Chieh Wang, Joern-Henrik Jacobsen, David Duvenaud, Mohammad Norouzi, and Kevin Swersky. Your classifier is secretly an energy based model and you should treat it like one. In International Conference on Learning Representations, 2019.

  3. Fabian Mentzer, George D Toderici, Michael Tschannen, and Eirikur Agustsson. High-fidelity generative image compression. Advances in Neural Information Processing Systems, 33, 2020.

  4. Yoshua Bengio, Aaron Courville, and Pascal Vincent. Representation learning: A review and new perspectives. IEEE transactions on pattern analysis and machine intelligence, 35(8):1798--1828, 2013.