Introduction to Gen AI
Exploring GANs & LLMs
Introduction to Gen AI
Exploring GANs & LLMs
Hidden Agenda: To promote and induce curiosity for researching and building using GenAI for innovative interdisciplinary applications
Why should you listen to me?
I’m not an expert, but
What is Generative AI?
Generative Adversarial Networks (GANs)
Transformer Architecture
(Simplified to show LLM design)
Sketch-to-Color Image Generation
Problem Statement:
Before
After
What are the options in Generative AI?
Autoencoders
Image from Medium
Autoencoders - Limitations
Variational Autoencoders
Image from BayesLabs blog
Variational Autoencoders
Why use
GANs?
Generative Adversarial Networks - GANs
Generative Models
Discriminative Models
P(y|x)
Probability of y given x
P(x,y)
Joint Probability of x and y
Generative Adversarial Networks - GANs
Discriminator
Generator
Vs
Before
After
Let’s dive deep into GANs architecture
Basic Structure of GANs
Types of GANs
GANs - Ian J. Goodfellow et al. 2014, Generative Adversarial Networks
DCGANs - Alec Radford et al. 2015, Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
Types of GANs
Progressive GAN - Tero Karras, Timo Aila, Samuli Laine, Jaakko Lehtinen 2017, Progressive Growing of GANs for Improved Quality, Stability, and Variation
Types of GANs
StackGAN - Han Zhang et. al. 2017, StackGAN: Text to Photo-realistic Image Synthesis with Stacked Generative Adversarial Networks
Types of GANs
SRGAN - Christian Ledig et. al. 2017, Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network
Types of GANs
Conditional GANs - Phillip Isola, Jun-Yan Zhu, Tinghui Zhou, Alexei A. Efros 2016, Image-to-Image Translation with Conditional Adversarial Networks
Types of GANs
Some Basics before Moving Forward
Skip next 14 slides as required
What is AI?
Artificial intelligence (AI) is the ability of a computer or a robot controlled by a computer to do tasks that are usually done by humans because they require human intelligence and discernment.
Source: Stack Exchange
Machine Learning
A process of solving a practical problem by 1) gathering a dataset, 2) algorithmically building a statistical model based on that dataset.
Original comic by sandserif
Some common ML algorithms
Linear Regression
Decision Tree
Support Vector Machine
K-Means
Images from Wikipedia and Geeksforgeeks
Deep Learning
Deep learning is part of a broader family of machine learning methods based on artificial neural networks with representation learning.
Image from Medium
Image from Medium
Image from Medium
Activation Functions
Commonly used activation functions: (a) Sigmoid, (b) Tanh, (c) ReLU, and (d) LReLU. Image from ResearchGate.
Gradient Descent
In mathematics gradient descent is a first-order iterative optimization algorithm for finding a local minimum of a differentiable function. The idea is to take repeated steps in the opposite direction of the gradient of the function at the current point, because this is the direction of steepest descent.
W := W - 𝛼(ẟJ/ẟW)
b := b - 𝛼(ẟJ/ẟb)
Batch Normalization
Image from csmoon-ml.com
Dropout
Image from ai-pool.com
Some common DL networks
Convolutional Neural Network
Image from Wikipedia
Some common DL networks
Recurrent Neural Network
Image from Wikipedia
Some of my Recommendations
Let’s Build Those Models!
Deploying Machine Learning Models
“A model shouldn’t end its life in a Jupyter Notebook!”
Streamlit
Deploy your ML models wrapped in beautiful Web Apps
Read more about it on Medium
Applications & Demos of GANs
Video Frame Prediction
Environment Simulation for Reinforcement Learning
Semi Supervised Learning
Semi Supervised Learning using GANs
Image from Matthew McAteer
Data Augmentation using GANs
Applications & Demos of GANs
Limitations of GANs
Transfer Learning
How Transfer Learning can help in training GANs
Resources for GANs
What are LLMs?
Attention is All You Need
Image from https://arxiv.org/abs/1706.03762
Evolution of LLMs
Image from infohub.delltechnologies.com
Examples of LLMs
LLMs in Industry
Customer Service
Content Creation
Data Analysis
Education
LLMs in Cohesity
In-Chat Help for Cohesity Products
Generating Reports on the go using Natural Language Inputs
LLMs in Cohesity
Automated Policy Recommendation and Creation for Customers via Chat
LLMs in Cohesity
In-App Failed Jobs Troubleshooting
How to use LLMs?
Image from databricks.com
RAG Architecture
Image from aws.amazon.com
Code examples
Bias
What and Why?
Ethical Implications of GenAI
Image from weforum.org
Bias
Mitigation Strategies
Ethical Implications of GenAI
Image from linkedin.com
Privacy & Security
What and Why?
Ethical Implications of GenAI
Image from adobe.com
Privacy & Security
Mitigation Strategies
Ethical Implications of GenAI
Image from medium.com/@PiwikPro
Privacy concerns in LLMs
CustomerA
Data
CustomerB
Data
LLM Based Application
LLM
CustomerA
Data
CustomerB
Data
LLM Based Application
LLM
Instance1
LLM
Instance2
Ethical Implications of GenAI
Issues
Misinformation and Fake Content
Mitigation
Image from huyenchip.com
Reinforcement Learning from Human Feedback
Jailbreaks
Image from reddit.com
The ‘Grandma
Exploit’
Future Trends in AI
Image from the book, Life 3.0 by Max Tegmark
Future Trends in AI
Questions?
Thank You!
Find me @