01_Introduction to gen ai
01_Introduction to gen ai
Artificial
Intelligence
Lecture-01
Dr. Rajiv Misra, Professor
Dept. of Computer Science & Engg.
Indian Institute of Technology,
Patna
[email protected]
Introduction
Computational Speech
Computer Vision
Raw sensory
outputs
…
+
Data Prior Knowledge
(e.g., images of bedrooms) (e.g., physics, materials, ..)
A probability
Image x distribution scalar probability p(x)
p(x)
It is generative because sampling from p(x) generates new images
6
Building a simulator for the data generating
process
Generative model
Stroke paintings to realistic images
of realistic images [Meng, He, Song, et al., ICLR 2022]
Generate
“Ace of Pentacles”
Generative model
of paintings Language-guided artwork creation
https://chainbreakers.kath.io @RiversHaveWings
Solving inverse problems with generative
models
Generate
Generative model
of medical images
High Low
probability probability
Generative model
of traffic signs
Outlier detection
[Song et al., ICLR 2018]
Progress in Generative Models of Images
GANs
Song et al., Score-Based Generative Modeling through Stochastic Differential Equations, 2021 16
Text2Image Diffusion Models
User input:
An astronaut riding a
horse
17
Text2Image Diffusion Models
User input:
18
Text2Image Diffusion Models
User input:
19
Dalle3
A minimap diorama of a cafe adorned with indoor plants.
Wooden beams crisscross above, and a cold brew station stands
out with tiny bottles and glasses
Progress in Inverse Problems
P(full image| mask)
P(high resolution | low resolution)
Antic, 2020
Progress in Inverse Problems
User input:
Progress in Inverse Problems
Progress in Inverse Problems
Sparse-view
computed
tomography
Sparse-view sinogram (CT)
Concatenative
WaveNet
Unconditional
Music
26
Diffusion Text2Speech
28
Language Generation
OpenAI Codex
Video Generation
37
Models to Study
• Fully observed likelihood-based models
• Autoregressive
• Flow-based models
• Latent variable models
• Variational learning
• Inference amortization
• Variational autoencoder
• Implicit generative models
• Two sample tests, embeddings, F-divergences
• Generative Adversarial Networks
• Energy Based Models
• Score-based Diffusion Generative Models
• Learn about algorithms, theory & applications
Prerequisites