TECHNOLOGY | ARTIFICIAL INTELLIGENCE
Generative AI and ChatGPT
Definitions and Relationships
You must have heard about Generative AI and ChatGPT a lot. This article provides answers to basic questions about Generative AI and ChatGPT.
They are not as complex as they sound. 😃
What is Generative AI?
Generative AI is an Artificial Intelligence technology that helps in generating content including text, images, audio, and synthetic data. (Synthetic Data is a sort of fake data that can be used to simulate a real-world environment).
Before we understand Generative AI better, it is important to understand what AI and Machine Learning are all about.
What is the relationship between Artificial Intelligence (AI) and Machine Learning?
- Artificial Intelligence is a wide discipline like say Physics.
- Artificial Intelligence deals with the creation of Intelligent Agents, which can reason and learn, and act autonomously.
- The goal of Artificial Intelligence is to build machines that can think and act like humans.
Machine Learning is a subset of Artificial Intelligence, that enables computers to predict results or decisions. Machine Learning algorithms take as an input a large amount of data, train themselves using this data, and then predict the outcomes or decisions based on new or unseen inputs.

The below diagram shows a simplistic view of how a Machine Learning Model is generated with the help of Machine Learning Algorithms.

The machine learning algorithm and the model work together hand in hand.
- The algorithm learns from the training data and adjusts the model’s parameters.
- While the model represents the learned knowledge and is used for making predictions or decisions.
What is Deep Learning and how is it related to Machine Learning?
Deep learning is a type of machine learning that imitates the way the human brain works. It uses artificial neural networks, which are made up of interconnected layers of artificial neurons, to learn and understand patterns in data.
Deep learning is called “deep” because of the many layers that form the network. The network learns and builds intelligence by adjusting the connections between neurons based on the errors it makes while predicting the outputs.

Now let’s go back to where we started from.
What is Generative AI and how is it related to Deep Learning?
Generative AI is a subset of Deep Learning.
Deep Learning models can be broadly categorised into 2 types:
a) Generative
b) Discriminative
Generative AI is the field of AI that creates models or systems that can generate new and original content.
A discriminative model is a type of model that is used to classify or predict labels for data points.

What is the difference between a Discriminative AI Model and a Generative AI model?
A Discriminative model will learn the relationship of the data with its label.
So, say we have a discriminative model to identify whether an image of a car is a Toyota model. The model will build its intelligence based on the labeled data that will consist of an image and the associated brand.
If you present an image of a car, the model will attempt to identify the model of the car.
Whereas in the case of a Generative AI model, the model will train itself to generate new content. The generative AI model could be prompted to provide an example of a Toyota Camry and the model will “generate” an image.
How is ChatGPT related to Generative AI?
ChatGPT is an implementation of Generative AI. ChatGPT focuses on generating human-like text-based conversations.
It is trained on a huge amount of text-based data and learns patterns and relationships. When it is prompted, ChatGPT generates text-based responses.
More on ChatGPT:
Not a member yet? Click the link below which will get you access to unlimited Medium articles and the ability to write and earn on Medium.
