Deep Generative Modeling
{"all_nodes":"stitched from OCR output; frontier verification status per node"}local graph
Deep Generative Modeling — Jakub M. Tomczak
Section titled “Deep Generative Modeling — Jakub M. Tomczak”chapter_01
Section titled “chapter_01”node-book_deep-generative-modeling_chapter-01-why-deep-generative-modeling — Why Deep Generative Modeling?
chapter_02
Section titled “chapter_02”node-book_deep-generative-modeling_chapter-02-autoregressive-models — Autoregressive Models
chapter_03
Section titled “chapter_03”node-book_deep-generative-modeling_chapter-03-flow-based-models — Flow-Based Models
chapter_04
Section titled “chapter_04”node-book_deep-generative-modeling_chapter-04-latent-variable-models — Latent Variable Models
chapter_05
Section titled “chapter_05”node-book_deep-generative-modeling_chapter-05-hybrid-modeling — Hybrid Modeling
chapter_06
Section titled “chapter_06”node-book_deep-generative-modeling_chapter-06-energy-based-models — Energy-Based Models
chapter_07
Section titled “chapter_07”node-book_deep-generative-modeling_chapter-07-generative-adversarial-networks — Generative Adversarial Networks
chapter_08
Section titled “chapter_08”node-book_deep-generative-modeling_chapter-08-deep-generative-modeling-for-neural-compression — Deep Generative Modeling for Neural Compression
Title page visual conversion
Section titled “Title page visual conversion”[!visual-conversion] Markdown-native visual conversion added. Raster source retained below for visual audit. source_asset:
assets/page_0001.pngvisual_type: title page conversion_status: best-effort_semantic_projection
Title page: Deep Generative Modeling — Jakub M. Tomczak — Springer.
Raster source retained for verification

appendix_b
Section titled “appendix_b”node-book_deep-generative-modeling_back_matter-index — Index
ToC-listed but absent from uploaded PDF
Section titled “ToC-listed but absent from uploaded PDF” 1.1 AI Is Not Only About Decision Making 1.2 Where Can We Use (Deep) Generative Modeling? 1.3 How to Formulate (Deep) Generative Modeling? 1.4 Purpose and Content of This Book
2.1 Introduction 2.2 Autoregressive Models Parameterized by Neural Networks 2.3 Deep Generative Autoregressive Model in Action! 2.4 Is It All? No!
3.1 Continuous Random Variables 3.2 Flows for Discrete Random Variables
4.1 Introduction 4.2 Probabilistic Principal Component Analysis 4.3 Variational Auto-Encoders 4.4 Hierarchical VAEs 4.5 Further Extensions (Top-Down VAEs, Diffusion-Based DGM)
6.5 Restricted Boltzmann Machines
Appendix A Useful Facts from Algebra and Calculus ............... 189Appendix B Useful Facts from Probability Theory and Statistics .. 191Index ........................................................... 195Title Page
Section titled “Title Page”Jakub M. Tomczak Deep Generative Modeling
Springer
Contents
Section titled “Contents”Contents
1 Why Deep Generative Modeling? … 1 1.1 AI Is Not Only About Decision Making … 1 1.2 Where Can We Use (Deep) Generative Modeling? … 3 1.3 How to Formulate (Deep) Generative Modeling? … 4 1.3.1 Autoregressive Models … 5 1.3.2 Flow-Based Models … 5 1.3.3 Latent Variable Models … 6 1.3.4 Energy-Based Models … 7 1.3.5 Overview … 8 1.4 Purpose and Content of This Book … 9 References … 10
2 Autoregressive Models … 13 2.1 Introduction … 13 2.2 Autoregressive Models Parameterized by Neural Networks … 14 2.2.1 Finite Memory … 14 2.2.2 Long-Range Memory Through RNNs … 15 2.2.3 Long-Range Memory Through Convolutional Nets … 16 2.3 Deep Generative Autoregressive Model in Action! … 19 2.3.1 Code … 20 2.4 Is It All? No! … 22 References … 24
3 Flow-Based Models … 27 3.1 Flows for Continuous Random Variables … 27 3.1.1 Introduction … 27 3.1.2 Change of Variables for Deep Generative Modeling … 30 3.1.3 Building Blocks of RealNVP … 32 3.1.3.1 Coupling Layers … 32 3.1.3.2 Permutation Layers … 32 3.1.3.3 Dequantization … 33 3.1.4 Flows in Action! … 34
Contents
3.1.5 Code … 34 3.1.6 Is It All? Really? … 38 3.1.7 ResNet Flows and DenseNet Flows … 39 3.2 Flows for Discrete Random Variables … 41 3.2.1 Introduction … 41 3.2.2 Flows in or Maybe Rather in ? … 43 3.2.3 Integer Discrete Flows … 46 3.2.4 Code … 50 3.2.5 What’s Next? … 54 References … 55
4 Latent Variable Models … 57 4.1 Introduction … 57 4.2 Probabilistic Principal Component Analysis … 58 4.3 Variational Auto-Encoders: Variational Inference for Non-linear Latent Variable Models … 60 4.3.1 The Model and the Objective … 60 4.3.2 A Different Perspective on the ELBO … 61 4.3.3 Components of VAEs … 63 4.3.3.1 Parameterization of Distributions … 63 4.3.3.2 Reparameterization Trick … 64 4.3.4 VAE in Action! … 65 4.3.5 Code … 66 4.3.6 Typical Issues with VAEs … 72 4.3.7 There Is More! … 72 4.4 Improving Variational Auto-Encoders … 75 4.4.1 Priors … 75 4.4.1.1 Standard Gaussian … 79 4.4.1.2 Mixture of Gaussians … 80 4.4.1.3 VampPrior: Variational Mixture of Posterior Prior … 82 4.4.1.4 GTM: Generative Topographic Mapping … 85 4.4.1.5 GTM-VampPrior … 87 4.4.1.6 Flow-Based Prior … 90 4.4.1.7 Remarks … 92 4.4.2 Variational Posteriors … 92 4.4.2.1 Variational Posteriors with Householder Flows [20] … 93 4.4.2.2 Variational Posteriors with Sylvester Flows [16] … 95 4.4.2.3 Hyperspherical Latent Space … 97 4.5 Hierarchical Latent Variable Models … 99 4.5.1 Introduction … 99 4.5.2 Hierarchical VAEs … 103 4.5.2.1 Two-Level VAEs … 103
Contents
4.5.2.2 Top-Down VAEs … 105 4.5.2.3 Code … 108 4.5.2.4 Further Reading … 111 4.5.3 Diffusion-Based Deep Generative Models … 112 4.5.3.1 Introduction … 112 4.5.3.2 Model Formulation … 113 4.5.3.3 Code … 117 4.5.3.4 Discussion … 119 References … 123
5 Hybrid Modeling … 129 5.1 Introduction … 129 5.1.1 Approach 1: Let’s Be Naive! … 129 5.1.2 Approach 2: Shared Parameterization! … 131 5.2 Hybrid Modeling … 132 5.3 Let’s Implement It! … 134 5.4 Code … 135 5.5 What’s Next? … 139 References … 141
6 Energy-Based Models … 143 6.1 Introduction … 143 6.2 Model Formulation … 145 6.3 Training … 147 6.4 Code … 149 6.5 Restricted Boltzmann Machines … 151 6.6 Final Remarks … 155 References … 157
7 Generative Adversarial Networks … 159 7.1 Introduction … 159 7.2 Implicit Modeling with Generative Adversarial Networks (GANs) … 161 7.3 Implementing GANs … 164 7.4 There Are Many GANs Out There! … 169 References … 171
8 Deep Generative Modeling for Neural Compression … 173 8.1 Introduction … 173 8.2 General Compression Scheme … 174 8.3 A Short Detour: JPEG … 176 8.4 Neural Compression: Components … 177 8.5 What’s Next? … 187 References … 187
Contents
A Useful Facts from Algebra and Calculus … 189 A.1 Norms & Inner Products … 189 A.2 Matrix Calculus… 189
B Useful Facts from Probability Theory and Statistics … 191 B.1 Commonly Used Probability Distributions … 191 B.2 Statistics … 193
Index … 195