← Back to Deep Learning Mind Map
⚡Flashcard Drill➔
🧠 Deep LearningID: vae

VAE & Reparameterization

VAE 与重参数化
🎯Core Definition
A VAE is a variational generative model trained on the evidence lower bound: log⁡p(x)≥Eq(z∣x)[log⁡p(x∣z)]−DKL(q(z∣x)∥p(z))\log p(x) \ge \mathbb{E}_{q(z|x)}[\log p(x|z)] - D_{KL}(q(z|x) \Vert p(z)) — a reconstruction term plus a KL regularizer toward the prior. Because sampling from q(z∣x)q(z|x) gives an expectation non-differentiable w.r.t. parameters, the reparameterization trick writes z=μ+σ⊙ϵz = \mu + \sigma \odot \epsilon with ϵ∼N(0,I)\epsilon \sim \mathcal{N}(0, I), moving the randomness into parameter-free noise so the sampling path is backprop-compatible.
💡Use Cases
generative modeling, latent representation learning, anomaly detection, and as the conceptual foundation of diffusion models (the noising process is a hierarchical VAE); interviews drill ELBO derivation and the reparameterization trick.
⚡Key Problems Solved
maximizing log⁡p(x)\log p(x) directly requires an intractable marginal integral; VAEs turn inference into an SGD-optimizable lower bound. Unlike an autoencoder — a deterministic encoder with no prior constraint, giving an unstructured latent space that cannot be sampled for generation — the VAE pushes q(z∣x)q(z|x) toward the prior p(z)p(z) and becomes generative; the cost is blurry samples (mode averaging: one zz must explain many modes, so outputs average over them) from the Gaussian pixel likelihood — the mirror image of GANs, which are sharp but hard to train.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of VAE & Reparameterization.
Use Cases
In production engineering, what are the primary use cases for VAE & Reparameterization and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
Derive the VAE ELBO. Why is it a lower bound on log⁡p(x)\log p(x)?
2
What problem does the reparameterization trick solve? Why can't we sample straight from q(z∣x)q(z|x)?
3
Core difference between VAE and AE? Why can't an AE generate new samples?
4
Why are VAE samples blurry? The mechanism of mode averaging?
5
How are the KL and reconstruction terms balanced? What are β\beta-VAE and posterior collapse?
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "VAE & Reparameterization"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
⚡
Test muscle memory on this topic via 3-Layer Flashcards
Active Recall: Mentally formulate Prompt ➔ Math Derivation ➔ Benchmark Implementation in 3 minutes.
🎯 Drill This Card Now➔
← Previous CardWGAN & WassersteinNext Card →Training Debugging

🔗 More Deep Learning Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/DL/card/vae