DA5002 · BS elective · 4 credits

Mathematical Foundations of Generative AI

The probability, information theory and optimisation ideas underneath modern generative models.

Instructor Prof. Prathosh A P Term As offered Prereq CS3004

§ 1Calendar

  • Quiz 1—
  • Quiz 2—
  • End-term examination—

§ 2Previous Year Questions

No papers uploaded yet.

§ 3Resources

Course material3

Notes1

DA5002 · BS elective · 4 credits

Syllabus

The official course syllabus, transcribed from the IITM BS Data Science & Applications course booklet.

§ 1Course Description

This course explores deep generative models, covering their probabilistic foundations and learning algorithms. It includes models such as variational autoencoders, generative adversarial networks, autoregressive models, diffusion models, and large language models, along with their implementation using frameworks like PyTorch. Students gain both theoretical understanding and hands-on experience through lectures and assignments across diverse AI tasks. This course is also offered as an elective for Degree level students.

Lectures-Tutorials-Practicals-Credits: 4-0-0-4

§ 2Faculty

§ 3Week-by-week

Week 1: Introduction to deep generative models; Generative AI fundamentals; Variational divergence minimization; PyTorch basics (tensors, datasets, model building).

Week 2: Variational approaches to generative modeling; Introduction to GANs; GAN formulation and basic implementation.

Week 3: Advanced GANs; DCGAN and conditional GANs; GANs as guided samplers; Practical implementations.

Week 4: GAN training challenges; Wasserstein GANs; BiGANs and inversion techniques; Domain adversarial learning; Evaluation of generative models.

Week 5: Latent variable models; ELBO; Gaussian Mixture Models and EM algorithm; Variational Autoencoders (VAEs).

Week 6: Training VAEs; Reparameterization trick; Inference; Variants (β-VAE, VQ-VAE); Implementations.

Week 7: Diffusion models; Denoising Diffusion Probabilistic Models (DDPMs); U-Net architectures.

Week 8: DDPM theory; ELBO derivation and optimization; Training and inference; Implementation and proofs.

Week 9: Advanced diffusion models; Score-based interpretation; Guided diffusion; Latent diffusion; DDIMs and inference methods.

Week 10: Autoregressive models; Attention mechanisms; Transformer architecture; Training and inference.

Week 11: Reinforcement learning basics; Policy gradient methods; PPO and TRPO; RL for generative models.

Week 12: Alignment and preference learning; Reward modeling; Direct Preference Optimization (DPO); State-space models.