Mathematics of Generative AI
Mathematics of Generative AI
Abhishek Gupta
Email: [email protected]
Table of contents
1. Introduction to Generative AI
2. Basic Mathematical Ideas
3. Linear Transformation through PCA
7. Diffusion Model
8. Transformer for Conditional Probability Approximation
[email protected] 1
Introduction to Generative AI
What is Generative AI?
Input can be
Output can be
• Content
• Suggestions
• Nudges
• Images
• Videos
• Search results
[email protected] 3
Where are people using GenAI?
• Insurance underwriting
• Legal case search and contract drafting
• Search and recommendation
• Social media content generation
• Script ideation
• Marketing and branding material
[email protected] 4
Why should we know the math behind GenAI?
• User generation
• Automated app testing
• Automated penetration testing
• Marketing campaign generation
[email protected] 5
Basic Mathematical Ideas
Basic building block
[email protected] 8
What about language?
[email protected] 9
What about language?
[email protected] 9
What about long form audio and video?
n o
Pr frame and audio old frames and audio is a
function that maps extremely high dimensional space to a very
high dimensional space
Note: Such functions will be extremely hard to train and would
require unimaginable datasets for general usecases
[email protected] 10
Linear Transformation through PCA
Generative Adversarial Networks
Variational Autoencoders
Normalizing Flows
Diffusion Model
Transformer for Conditional
Probability Approximation
Future Mathematical Development
About Ensemble Control Inc.