Learn · NPTEL

Course10610800274 lectures

Fundamentals of Generative AI and Large Language Models: Theory and Practice

Prof. Sriram Ganapathy, Prof. Ashwini Kodipalli and Prof. Baishali Garai · IISc Bangalore PES University RV University

Start with lecture 1 At NPTEL

About

This course provides a rigorous exploration of modern generative AI, covering latent-variable models such as Autoencoders, VAEs, GANs, and Diffusion Models that form the backbone of contemporary generative systems.

Learners will develop a deep understanding of probabilistic modeling, adversarial training dynamics, denoising diffusion processes, and latent space manipulation for high-fidelity data generation.

The sequence modeling module bridges classical NLP with modern architectures, introducing RNNs, LSTMs, and culminating in the Transformer framework that powers today’s Large Language Models.

Emphasis is placed on mathematical foundations, architectural intuition, and practical implementation using widely adopted deep learning libraries.

By the end of the course, learners will be equipped to analyze, design, and implement state-of-the-art generative models and LLM-based systems across diverse application domains.

Intended audience: UG and PG students of all the AICTE affiliated institutions

Prerequisites: Students must have completed introductory courses in Programming and Machine Learning/Deep Learning.Knowledge of Python and basic mathematical concepts is necessary to follow the hands-on exercises.

Lectures

Week 1 Fundamentals of Deep Learning for Generative AI

  1. Introduction to Generative AI YouTube
  2. Activation Functions & Loss Functions in Deep Learning YouTube
  3. Optimizers - Part A YouTube
  4. Optimizers - Part B YouTube
  5. Convolutional Neural Network - Part A YouTube
  6. Convolutional Neural Network - Part B YouTube
  7. Introduction to Google Colab YouTube
  8. Practical Exercise - 1 YouTube
  9. Practical Exercise - 2 YouTube

Week 2 Autoencoders: The Representation Learning Model

  1. Introduction to Autoencoder YouTube
  2. Training objective: Reconstruction Loss (MSE, Binary Cross-Entropy) YouTube
  3. Types of Autoencoders: Architecture and Code-Level Understanding YouTube
  4. Regularization Techniques in AE: Denoising YouTube
  5. Regularization Techniques in AE: Sparse YouTube
  6. Regularization Techniques in AE: Contractive YouTube
  7. Numerical Example, Limitations of AE YouTube
  8. Practical Exercise - 1 YouTube
  9. Practical Exercise - 2 YouTube

Week 3 Variational Autoencoders (VAEs): Foundations

  1. Intuition behind KL Divergence - Part A YouTube
  2. Intuition behind KL Divergence - Part B YouTube
  3. Introduction to VAE and the working of the Encoder YouTube
  4. Working of Probabilistic Decoder, ELBO, Loss Function of VAE YouTube
  5. Reparameterization Trick YouTube
  6. Numerical Example YouTube

Week 4 Advanced Variational Autoencoders (VAEs): Practical Applications

  1. Practical Exercise - 1 YouTube
  2. Entanglement, Disentanglement Latent Space, and Beta-VAE YouTube
  3. Conditional VAE YouTube
  4. Latent Space Interpolation YouTube
  5. Practical Exercise - 2 YouTube
  6. Practical Exercise - 3 YouTube

Week 5 Generative Adversarial Networks (GANs): Foundations

  1. Motivation for GANs YouTube
  2. GAN Architecture YouTube
  3. GAN Objective and Loss Functions YouTube
  4. GAN Convergence and Nash equilibrium YouTube
  5. Introduction to DCGAN YouTube
  6. Practical Exercise - 1 YouTube
  7. Practical Exercise - 2 YouTube

Week 6 Variants of GAN

  1. Conditional GAN YouTube
  2. Pix2Pix GAN YouTube
  3. Cycle GAN YouTube
  4. Style GAN YouTube
  5. Style GAN 2 YouTube
  6. Practical Exercise - 1 YouTube

Week 7 Diffusion Model- Part I

  1. Introduction to Diffusion Model YouTube
  2. Mathematics of Diffusion Models YouTube
  3. "Denoising Diffusion Probabilistic Model- Forward Process" YouTube
  4. "Denoising Diffusion Probabilistic Model- Reverse Process" YouTube
  5. Hand on on forward Diffusion process YouTube

Week 8 Diffusion Model Part- 2

  1. U-Net for Denoising YouTube
  2. Classifier Guided Diffusion Model YouTube
  3. Classifier free Diffusion Models YouTube
  4. Stable Diffusion Model YouTube
  5. Hands-on on reverse diffusion process YouTube

Week 9 Sequential Models to Transformers

  1. Foundations of Natural Language Processing YouTube
  2. Sequential Modeling with RNNs and LSTM YouTube
  3. Evolution From LSTMs to Transformers YouTube
  4. Transformer Architecture: Encoder YouTube
  5. Practical Exercise - 1 YouTube

Week 10 Large Language Models

  1. Transformer Architecture: Decoder YouTube
  2. Bidirectional Encoder Representations from Transformer (BERT) YouTube
  3. Generative Pre-trained Transformer (GPT) Decoder-only Large Language Model YouTube
  4. Prompt Engineering Basics YouTube
  5. Hands-on on LLM YouTube

Week 11 Topics in Large Language Models – Part I

  1. LLMs – Recap YouTube
  2. In-context Learning YouTube
  3. Low-Rank Adaptation (LoRA) YouTube
  4. RAG Principle YouTube
  5. RAG Recent Advances YouTube
  6. Tutorial on In-context Learning, RAG and LoRA YouTube

Week 12 LLM Capabilities, Multimodal AI, Ethics

  1. LLMs for Text Generation YouTube
  2. LLMs for Audio, Video and Multimodal Tasks YouTube
  3. Size vs Performance and Benchmarking YouTube
  4. Bias, Fairness and Safety YouTube
  5. Tutorial on LLMs, Multimodal LLMs, Bias, Fairness, Evaluation and Safety YouTube

Syllabus and materials

At NPTEL, as the course publishes them.

Credits and licence

Institution
IISc Bangalore PES University RV University
Department
Computer Science and Engineering
Taught by
Prof. Sriram Ganapathy, Prof. Ashwini Kodipalli, Prof. Baishali Garai
Level
Undergraduate
Language
English
Subjects
Computer science, Engineering
Source
NPTEL
Licence
CC BY-NC-SA, as NPTEL states it. Non-commercial use only. NPTEL's terms
Attribution
NPTEL states: "Distributed under Creative Commons Attribution-ShareAlike / CC BY - NC - SA", beside a BY-NC-SA badge. Coordinated by IISc Bangalore.
Who can watch
NPTEL gives no rating. Invisible Network shows it to Tweens profiles and older, judged from what the source says about it. How courses are placed