UC Berkeley / CS294-158已收录

Deep Unsupervised Learning

从生成模型与自监督学习出发,理解如何从无标签数据中学习分布、表示与压缩。

关于这组笔记

个人自学讲义,主要参考 Spring 2024 公开材料,将长课拆分为 25 讲,适当补充早期课程与论文;配套实验为自行编写的 CPU 教学版本。

查看原课程资料

适合的起点

建议熟悉概率、优化、基础深度学习,以及 Python 和 PyTorch。

本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。

沿着目录阅读

当前 25 篇

课程讲义

  1. Lecture 01Lecture 1 · Introduction: What Deep Unsupervised Learning Is, and Why It Matters
  2. Lecture 02Lecture 2 · Likelihood-Based Models in One Dimension, and the Curse of Dimensionality
  3. Lecture 03Lecture 3 · Autoregressive Models I: From Bayes Nets to Masked Convolutions
  4. Lecture 04Lecture 4 · Autoregressive Models II: Attention, Tokens and Caching
  5. Lecture 05Lecture 5 · Flow Models I: Change of Variables in One and Two Dimensions
  6. Lecture 06Lecture 6 · Flow Models II: Coupling Layers, Dequantization and Continuous Flows
  7. Lecture 07Lecture 7 · Latent Variable Models I: From Exact Likelihood to the VAE
  8. Lecture 08Lecture 8 · Latent Variable Models II: Better Priors, Discrete Latents and Posterior Collapse
  9. Lecture 09Lecture 9 · Generative Adversarial Networks I: The Game and Its Pathologies
  10. Lecture 10Lecture 10 · Generative Adversarial Networks II: Wasserstein, Scale, and Adversarial Losses Everywhere
  11. Lecture 11Lecture 11 · Diffusion Models I: Denoising, Sampling and Guidance
  12. Lecture 12Lecture 12 · Diffusion Models II: Latent Diffusion, Transformers, Control and Applications
  13. Lecture 13Lecture 13 · Self-Supervised Learning I: Reconstruct What Is Missing
  14. Lecture 14Lecture 14 · Self-Supervised Learning II: Contrastive and Joint-Embedding Methods
  15. Lecture 15Lecture 15 · Self-Supervised Learning III: Across Modalities and Domains
  16. Lecture 16Lecture 16 · Large Language Models (guest lecture: Hao Liu)
  17. Lecture 17Lecture 17 · Video Generation (Wilson Yan)
  18. Lecture 18Lecture 18 · Semi-Supervised Learning
  19. Lecture 19Lecture 19 · Unsupervised Distribution Alignment
  20. Lecture 20Lecture 20 · Compression I: Entropy, Prefix Codes and Arithmetic Coding
  21. Lecture 21Lecture 21 · Compression II: Bits-Back Coding, ANS and Flows
  22. Lecture 22Lecture 22 · Multimodal Models
  23. Lecture 23Lecture 23 · Parallelization: Training Across Many Chips
  24. Lecture 24Lecture 24 · Generative Models for Science
  25. Lecture 25Lecture 25 · Neural Radiance Fields

从讲义到代码

按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。

下载 CS294-158 代码

请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。

返回全部课程