0% found this document useful (0 votes)
2 views31 pages

Generative AI

The document provides an overview of generative AI, distinguishing between real and AI-generated images, and explaining the learning processes involved, such as supervised and unsupervised learning. It discusses various generative AI architectures, their applications in fields like art, music, and language, and highlights the benefits and ethical considerations surrounding the technology. Key challenges include data bias, misinformation, and the impact on jobs, emphasizing the need for responsible use and transparency in AI-generated content.

Uploaded by

rathna.mani
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views31 pages

Generative AI

The document provides an overview of generative AI, distinguishing between real and AI-generated images, and explaining the learning processes involved, such as supervised and unsupervised learning. It discusses various generative AI architectures, their applications in fields like art, music, and language, and highlights the benefits and ethical considerations surrounding the technology. Key challenges include data bias, misinformation, and the impact on jobs, emphasizing the need for responsible use and transparency in AI-generated content.

Uploaded by

rathna.mani
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

The AI Revolution

A Detailed Look at Generative AI


Part 1: The "What"
Real vs. AI-Generated Images
What is a "Real" Image?
Captured from Reality
A **real image** (or natural image) is a direct
representation of the real world. It's created when
light from an object is **captured** by a sensor,
like in a camera or your eye.

Source: Physical objects and light.

Process: Acquisition (e.g., photography).

Key Trait: Represents "Ground Truth" — it's a


record of something that actually existed or
happened.
What is an "AI-Generated" Image?

Synthesized from Data

An **AI-generated image** (or synthetic image) is


created by a computer program called a generative
model. It is **not** captured from reality.
• Source: Data patterns from millions of real images.

• Process: Generation (or "Synthesis").

Key Trait: It's a brand new, artificial creation. It


*looks* real but is a sophisticated prediction of what
pixels *should* look like.
How to Identify AI-Generated Images

Look for "Uncanny" Flaws


It's getting harder, but AI often makes mistakes that
humans don't. Look for:
• The "6-Finger Problem": AI struggles with

consistency, often adding or misplacing fingers,


limbs, or teeth.
"Melted" Backgrounds: Backgrounds are often

blurry, warped, or contain nonsensical objects.


Unnatural Textures: Skin may look "waxy" or "plastic," hair
can blend into clothing, or glass surfaces look wrong.
Physics & Logic Errors: Shadows may fall the wrong way,
or a person may have two different earrings.
Part 2: The "How"
Core AI Learning
Concepts
How AI Learns (1): Supervised Learning

Learning with "Flashcards"


The AI is given data that is already **labeled** by
humans. It learns by finding the relationship between
the input and the output.
Analogy:

A student studying with labeled
flashcards.

Example:

• Input: 1,000 photos labeled "Cat"

• Input: 1,000 photos labeled "Dog"

Result: The AI learns the features that define


"Cat" vs. "Dog".
Goal of Supervised Learning: Discriminative Modelling

What is Discriminative AI? It Answers: "Is this A or B?"


This is the goal of most supervised Its job is to take an input and assign a label.

learning. A discriminative model learns to It *discriminates* between choices.


find the **boundary** or **difference**
Example: "Based on this new, unlabeled
between groups.
photo, I am 95% sure it is a **Cat**."
It's built to **classify** or **predict**.
This is the heart of **Conventional AI**.
How AI Learns (2): Unsupervised Learning

Sorting Without Labels

The AI is given a huge amount of data that is


**unlabeled**. Its job is to find the hidden patterns
and structures all by itself.

Analogy: Being given a mixed box of Lego bricks


and asked to sort them by shape and color,
without instructions.
Example:
Input: 2,000 photos of cats and dogs (no labels).

Result: The AI will create "Cluster 1" (pointy ears,


whiskers) and "Cluster 2" (floppy ears, snouts).
Goal of Unsupervised Learning: Generative Modelling

What is Generative AI? It Answers: "Create a new A."


This is a type of unsupervised learning. Instead It doesn't just separate cats and dogs. It
of just sorting data, a generative model learns learns the "rules of cat-ness" and can then
the "essence" of the data so well that it can generate a *brand new cat* that has never
**create new, original examples**. existed.
This is the heart of **Generative AI**.
How to Create from "Nothing"?

The "Random Noise" Dataset


Generative models don't start with a blank page.
They often start with a "seed" of **random noise**
(like TV static).
The AI model has learned the "rules" of what a face
(or cat, or landscape) looks like. It then works
backwards, step-by-step, to "denoise" the static,
refining it until it matches the patterns it learned.

It turns chaos into a coherent, original image.


Timeline of Generative AI
Public Boom: ChatGPT
GANs (Generative & text-to-image models

ELIZA (J. Weizenbaum), Adversarial Networks) by (Stable Diffusion,

the first chatbot, mimics Ian Goodfellow enable DALL-E 2) go

conversation. realistic image generation. mainstream.

1966 2014 2022

1956 1980s 2017

"Birth of AI" at Rise of RNNs "Attention Is All

Dartmouth (Recurrent Neural You Need" paper


Conference (John Networks) for introduces the
McCarthy). sequence data. Transformer
architecture.
Part 3: The "Engine"
Key Generative AI Architectures
Generative AI vs. Conventional AI

Feature Conventional AI (Discriminative) Generative AI (Generative)

Main Goal Predict, Classify, Decide Create, Generate, Synthesize

Learning Usually Supervised Usually Unsupervised

Question It Answers "Is this A or B?" "What does A look like? Create one."

Example Email Spam Filter (Spam or Not Spam) DALL-E (Creating an image of a cat)
Types of Models (1): Autoencoders (AEs)

The "Foundation" Model


An Autoencoder is a foundational concept. Its goal is
**compression**.
1.
Encoder: Compresses a high-resolution image
down to its most essential features (a "latent
space").
2. Decoder: Tries to rebuild the original image
*only* from those compressed features.
Use: Not truly generative. It's used for "denoising"
images or as a building block for other models.
Types of Models (2): Variational Autoencoders (VAEs)

The "Flexible" Compressor A True Generative Model


A VAE is an advanced Autoencoder. Instead Because its latent space is flexible, you can
of a rigid compression, its "latent space" is "mix" features.
flexible and probabilistic.
Example: You can find the features for "Man
This means it doesn't just learn *one* with Glasses," subtract the features for
compression for a face; it learns the *range* "Man," and add the features for "Woman" to
of possible features for "face-ness." generate a "Woman with Glasses."
Types of Models (3): Generative Adversarial Networks
(GANs)

The "Artist vs. Critic"


GANs are a breakthrough. They use **two** competing AIs:

• The Generator ("Artist"): Its job is to create fake images


(e.g., a fake photo of a person) and try to pass them off as
real.
The Discriminator ("Critic"): Its job is to look at an image
and decide if it is "Real" (from the training data) or "Fake"
(from the Generator).
They "fight" millions of times until the Artist gets so good, the
Critic is fooled ~50% of the time. This results in hyper-realistic
images.
Types of Models (4): Recurrent Neural Networks (RNNs)

The "Sequence" Model


RNNs are designed to work with **sequences** of data, where
order matters (like text, music, or speech).

They have a "memory" (or a "loop") that allows them to consider


previous information when generating the next item.

• Question: "Given the words 'The cat sat on the...', what's the
next word?"
• Use: Early text generation, autocomplete, music

• composition.
Modern Version: LSTMs and, more recently, Transformers
have largely replaced simple RNNs.
Similarities: Autoencoders (AEs) vs. VAEs

Feature Autoencoder (AE) Variational Autoencoder (VAE)

Architecture Encoder-Decoder Encoder-Decoder

Goal Compression & Reconstruction Compression & Reconstruction

Latent Space Rigid, exact point. (Not generative) Flexible, probabilistic. (Generative)

Primary Use Denoising, Data Cleaning Generating new, original data (e.g., images)
Part 4: The "Output"
Applications, Examples, and
Tools
Examples of Generative AI

Art & Design: Creating photorealistic images, Music & Audio: Composing original music in Language & Code: Writing poems, essays,
logos, and surreal art from simple text any genre, generating realistic voices, or and emails. Translating languages and writing
prompts. creating sound effects. complex computer code.
Generative AI Tools You Can Use

ChatGPT Gemini Copilot Runway ML

A Large Language Google's multimodal Microsoft's AI A powerful tool for


Model (LLM) for model that assistant integrated AI-powered video
conversation, writing, understands text, into Windows, Office, editing, including
and coding. code, images, and and Edge. "text-to-video"
video. generation.
Part 5: The "Impact"
Boon, Bane, and
Ethics
The Boon: Benefits of Generative AI

Creativity: Acts as a co-pilot for artists, writers, and designers, helping to brainstorm and create
new ideas.

Efficiency: Automates repetitive and time-consuming tasks (e.g., writing emails, summarizing
reports, debugging code).

Personalization: Can tailor content to individual users, from personalized study guides to custom
movie recommendations.

Exploration: Allows scientists to simulate complex data, like protein structures or new materials,
accelerating research.

Accessibility: Powers advanced text-to-speech and translation tools, making information more
accessible to all.
The Bane: Limitations & Risks

Significant Challenges
• Data Bias: If an AI is trained on biased data (e.g., text from
one culture), its output will also be biased.
• "Hallucinations": The AI can "make up" facts or sources
that sound completely real but are false. It doesn't "know"
what's true.
• Computational Demands: Training these models requires
enormous, expensive data centers that consume massive
amounts of energy.
• Lack of Understanding: The AI is a "stochastic parrot" — it's
brilliant at *predicting* the next word, but it has no
real-world understanding, common sense, or
consciousness.
Ethical Considerations

Society-Level Questions
• Ownership & Copyright: If an AI creates art, who owns it?
The user? The AI company? The artists it learned from?
• Misinformation & Deepfakes: How can we trust what we
see and hear when AI can create fake videos, images, and
audio of real people?
• Human Agency & Jobs: What happens to the jobs of artists,
writers, and programmers when AI can do parts of their
• work?
Privacy: Was the AI trained on your personal data, photos,
or writing without your permission?
Responsible Use of Generative AI

A Call to Action
For Users (You):

• Be Critical: Don't trust everything an AI says. Verify


information. Be skeptical of images and videos.
• Be Honest: Don't pass off AI work as your own. Use it as a
tool, not a replacement for your own thought.
• Be Kind: Don't use AI to create harmful, hateful, or
harassing content.

For Companies (The Creators):

• Be Transparent: Clearly label AI-generated content.

• Audit for Bias: Actively find and fix biases in their models.


Questions?
Thank you.
Image Sources

[Link]
lligence-generative-ai_262708-[Link]
Source: [Link]

[Link]

Source: [Link]

[Link]

Source: [Link]

[Link]

Source: [Link]

[Link]

Source: [Link]

[Link]

Source: [Link]
Image Sources

[Link]

Source: [Link]

[Link]

Source: [Link]

[Link]

Source: [Link]

[Link]

Source: [Link]

[Link]

Source: [Link]

[Link]
[Link]
Source: [Link]
Image Sources

[Link]
er&q=85&format=auto&s=caf6d4e39ad6209b5a09bc5d22660eaf76ca9b0f37874b0c338db9f3010b2373
Source: [Link]

[Link]
[Link]
Source: [Link]

[Link]

Source: [Link]

[Link]

Source: [Link]

You might also like