Lecture Set 1 Intro
Lecture Set 1 Intro
EC 608 AML 1
Meet Your Instructor
Dr. Paridhi Athe
Assistant Professor
Department of Electronics and Communication Engineering (ECE)
IIIT Bhopal
Academic Background
• Ph.D. in Nuclear Engineering, North Carolina State University (NCSU), USA
• [Link]. in Nuclear Engineering, IIT Kanpur
• [Link]. in Semiconductor Devices & VLSI Technology, IIT Roorkee
• B.E. in Electronics and Communication Engineering, SGSITS Indore
EC 608 AML 2
Research Specialization & Recognitions
Area of specialization
• AI assisted design and analysis of advanced energy systems
• Autonomous Control Systems for Energy Applications
• Cyber-Physical Systems
• Risk-Informed Decision Analysis
• Digital Twins and Multimodal AI Integration
• Credibility and Trust in AI applications.
Contributed to different U.S. Department of Energy–funded projects as a Postdoctoral researcher and Research faculty at NC
State University with research published in reputed nuclear engineering journals and conferences
• 2023 American Nuclear Society Thermal Hydraulic Division Best Paper Award (awarded for the best paper of the year across
all conferences sponsored by the division).
EC 314 CONTROL SYSTEM 3
Relevant Projects
Postdoc & Research faculty (NCSU)
• Uncertainty Quantification Approach for Digital Twin-based Autonomous Control (Dec 2023-Feb 2025)
• Funded by US Department of Energy via Idaho National Lab, Idaho Falls, USA
• Testing generative AI for Digital Instrumentation and Control design task (April 2024- Sept 2024)
• Funded by US Department of Energy via Idaho National Lab, Idaho Falls, USA
• Development of methodologies for assessment of predictive capability maturity of Modeling and Simulation (M & S) tools
used in advanced reactor applications (Sep 2021-Sept 2023)
• Funded by U.S. Department of Energy via Advanced Reactor Demonstration Program
• Development of a Nearly Autonomous Management and Control (NAMAC) system for advanced nuclear reactors (Oct 2018-
Sept 2021)
• Funded by US Department of Energy, Advanced Research Projects Agency-Energy
PhD (NCSU)
• Application of Predictive Capability Maturity Model for the assessment of Consortium for Advanced Simulation of Light
Water Reactor (CASL) Virtual Environment for Reactor Analysis (VERA) codes (Jan 2015-Jun 2018)
• Funded by US Department of Energy, Consortium for Advanced Simulation of Light Water Reactor
• A Framework for Predictive Capability Maturity Assessment of Computer Simulation Codes (PhD thesis) (Jan 2015-Jun
2018)
• Funded by US Department of Energy, Consortium for Advanced Simulation of Light Water Reactor
EC 608 AML 4
Course content (Institute Website)
EC 608 AML 5
Key references
Deep Learning
– Ian Goodfellow, Yoshua Bengio, Aaron Courville
– MIT Press, 2016
EC 608 AML 6
Tentative Lecture Format
• The session begins with a 25-minute lecture.
• Lecture content covers key concepts and theories.
EC 608 AML 7
This week
• Introduction
• AI and its subfields
• History of AI
• Classification of AI/ML algorithms
EC 608 AML 8
Artificial Intelligence
What is Intelligence?
• Intelligence is the cognitive ability to learn, reason,
solve problems, and adapt to new situations.
• Human intelligence involves complex problem-
solving, emotional understanding, and language
comprehension.
• Artificial Intelligence (AI) seeks to replicate or
simulate these aspects using machines.
Meaning of Cognition: the mental action or process of acquiring knowledge and understanding through thought,
experience, and the senses.
EC 608 AML 9
AI and Its Subfields
Term Definition Key Focus Examples
EC 608
AML [Link] 11
Historical Background (1/4)
Early Foundations
• 1940s: Emergence of computing ideas. Alan Turing laid the groundwork
with the concept of a "universal machine."
• 1950: Alan Turing proposed the Turing Test to assess machine
intelligence.
• 1956: The Dartmouth Conference marked the official birth of the AI
field.
EC 608 AML 12
Turing Test
What is the Turing Test?
• Proposed by Alan Turing in 1950 to assess machine intelligence.
• A machine passes the test if a human cannot reliably tell whether they are interacting with a machine or a human during a
conversation.
How It Works:
• A human judge converses with two unseen participants (one human, one machine).
• If the judge cannot consistently identify the machine, it is said to have passed the test.
Key Points:
• Focuses on language and behavior, not internal mechanisms.
• Conducted via text-based communication to remove bias.
Limitations:
• Doesn’t measure true understanding or reasoning.
• Can be fooled by simple tricks or evasive answers.
• Doesn’t account for physical or perceptual intelligence.
Relevance Today:
• Early chatbots (e.g., ELIZA) tried to pass it.
• Modern language models like ChatGPT approach it more closely.
EC 608 AML 13
Historical Background (2/4)
Symbolic AI Era (1950s–1980s)
• AI systems based on symbolic rules and logic.
• Focused on tasks like solving algebra problems or playing chess.
• Example: Expert systems like MYCIN (medical diagnosis).
• MYCIN was an early expert system developed in the 1970s at Stanford
University to diagnose and treat bacterial infections. It used a rule-based
approach, with approximately 500 production rules, to analyze patient data,
identify potential bacterial causes, and recommend appropriate antibiotic
treatments.
• Limitations: These systems could not handle uncertainty or learn from
data.
EC 608 AML 14
What is Symbolic AI?
• Symbolic AI (also known as Good Old-Fashioned AI or GOFAI) uses
symbols and logic rules to represent knowledge and perform reasoning.
• Characteristics:
• Based on manually written rules ("if-then" logic).
• Reasoning is transparent and interpretable.
• Works well in structured, well-defined environments.
• Example: "If (X is a bird) AND (X cannot fly), then (X is a penguin)."
EC 608 AML 15
What is Sub-symbolic AI?
• Sub-symbolic AI uses data-driven models where intelligence emerges
from statistical patterns rather than hand-coded rules.
• Often called "connectionist AI," especially with neural networks.
• Characteristics:
• Learns from examples (data).
• Uses numeric vectors instead of symbolic representations.
• Typically less interpretable (black-box).
• Examples: Deep learning for vision and language (e.g., CNNs,
transformers).
EC 608 AML 16
Comparison of Symbolic and Sub-symbolic AI
Feature Symbolic AI Sub-symbolic AI (ML/DL)
Basis Rules and symbols Data and patterns
Interpretability High Often low (black-box models)
Flexibility Low (manually coded) High (learns from data)
Examples Expert systems, logic programs Neural networks, deep learning
Strengths Transparency, reasoning Generalization, adaptability
Weaknesses Rigid, brittle Opaque, data-hungry
EC 608 AML 17
Historical Background (3/4)
Machine Learning Emerges (1980s–1990s)
• Transition from rule-based systems to algorithms that learn from data.
• Emergence of decision trees, support vector machines, and early neural
networks.
• Focus shifted to adaptability and statistical pattern recognition.
AI Winters
• Periods of disillusionment due to limited real-world results.
• Reduced funding and enthusiasm in the 1970s and late 1980s.
EC 608 AML 18
Historical Background (4/4)
Modern Era (2000s–Present)
• Advances in hardware (GPUs), data availability, and deep learning.
• 2012: AlexNet's success in ImageNet revolutionized image
classification.
• 2016: DeepMind's AlphaGo beat a world champion in Go.
• 2020s: Generative AI (e.g., ChatGPT) shows abilities in language, code,
and art
EC 608 AML 19
Recent development in AI
2012 2013 2014 2015
• AlexNet (Deep • Computer vision • Generative • Residual nets
CNN) switches to neural Adversarial (ResNets), RNN &
network, VAE Networks (GANs) LSTM
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 20
AlexNet, a deep convolutional neural
Recent development in AI
network (CNN)→ breakthrough in
image recognition tasks
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 21
VAE→ learns to represent and generate data (images
Recent development in AI and sound)→ learns a compressed representation of the
input data in a lower dimensional space (latent space)
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 22
Recent development in AI GAN → generator –
discriminator in a
game-like setup
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 23
ResNet: solved vanishing
Recent development in AI gradient issue enabling
training much deeper NNs
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 24
Recent development in AI
2012 2013 2014 2015
• AlexNet (Deep • Computer vision • Generative • Residual nets
CNN) switches to neural Adversarial (ResNets), RNN &
network, VAE Networks (GANs) LSTM
Google’s AlphaGo defeated
the world champion of Go, Lee
Sedol.
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 25
Recent development in AI
The Transformer architecture, introduced in 2017 by a team
2012 2013 2014 2015
of researchers at Google, represents a major breakthrough in
• AlexNet (Deep • Computer vision • Generative
neural network • Residual nets
design. Its self-attention mechanism
CNN) switches to neural Adversarial scalability in training
enabled unprecedented (ResNets), RNN &
deep models,
network, VAE Networks (GANs)
and this architectural LSTM
innovation laid the foundation for
today’s Large Language Model era.
LLMs’ Era
2020 2021 2022 2023-25 and onwards
• GPT-3 & Self • AlphaFold 2, • ChatGPT (GPT 3.5) • LLaMA (Meta), GPT-4 (OpenAI),
Supervised DALL.E, GitHub & Stable Diffusion Gemini(Google), Multimodal AI,
Learning Copilot Multi agent AI (Deep research)
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 26
Recent development in AI
2012 2013 2014 2015
• AlexNet (Deep • Computer vision • Generative • Residual nets
CNN) switches to neural Adversarial (ResNets), RNN &
network, VAE Networks (GANs) LSTM
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 27
Recent development in AI
Stable diffusion (image generation): a latent text-to-image
2012 2013 2014 2015
diffusion model capable of generating photo-realistic images
• AlexNet (Deep • Computer vision • GenerativeStable diffusion is an extension
from text descriptions. • Residual nets
of the
CNN) switches to neural Adversarial
traditional diffusion (ResNets),
models, which work by iteratively RNN &
adding
network, VAE Networks
noise to images (GANs)
and then LSTM
reversing the process to recover the
data. It was designed to speed up this process by operating
not directly on the input images, but instead on a lower-
dimensional representation, or latent space, of them. In
addition, the diffusion process is modified by adding the
2019 2018 2017
transformer-embedded 2016
text prompt from the user to the
• GPT-2 & improved • GPT-1, BERT, Graph network, allowing it to guide the image• AlphaGo
• Transformer generation(deep
process
generative models NN architecture
throughout each iteration. Reinforcement learning,
Monte Carlo tree search)
CNN: Convolutional Neural Network, VAEs: Variational Autoencoders, GANs: Generative Adversarial Networks, RNN: Recurrent Neural Network, LSTM: Long Short-
ECRepresentations
Term Memory, GPT: Generative Pre-trained Transformer, BERT: Bidirectional Encoder 608 AML from Transformers 28
Classification of AI
By Capabilities
• Narrow AI (Weak AI):
• Performs a single task well.
• Example: Google Translate, facial recognition.
• General AI (Strong AI):
• Hypothetical machines with human-level cognitive abilities.
• Still under research.
• Superintelligent AI:
• A level beyond human intelligence.
• Subject of philosophical and ethical debate.
EC 608 AML 29
Classification of AI
By Functionalities
• Reactive Machines:
• No memory or past learning.
• Example: IBM's Deep Blue (chess-playing computer).
• Limited Memory:
• Uses past data to make decisions.
• Example: Self-driving cars tracking movement.
• Theory of Mind:
• Understands emotions and thoughts.
• Still theoretical; research ongoing.
• Self-aware AI:
• AI with consciousness and self-awareness.
• Currently science fiction.
EC 608 AML 30
Theory of Mind
Aspect Explanation
EC 608 AML 32
Classification of ML
Machine
Learning
Regression
Classification
EC 608 AML 33
Classification of ML
Machine
Learning
Regression
• Teaches through labeled data
• Known input and output
Classification
EC 608 AML 34
Classification of ML
Machine
Learning
Regression
EC 608 AML 36
Classification of ML
Machine
Learning
Regression • Teaches the machine to predict the future output as new data comes
• Predicts a number
Classification
EC 608 AML 37
Regression
• Regression is a type of supervised learning used to
predict continuous numerical values.
• The goal is to learn a function 𝑓(𝑥) that maps input
features 𝑥 to a real-valued output 𝑦.
• Given examples (𝑥1 , 𝑦1 ),(𝑥2 , 𝑦2 ),…,(𝑥𝑛 , 𝑦𝑛 ), the
model learns to estimate 𝑦 for new inputs.
• Common real-world applications:
• Predicting house prices based on size, location,
etc.
• Forecasting temperature, stock prices, or
electricity demand.
• Estimating student grades, equipment lifespan,
etc.
• Typical algorithms used for regression: Linear
regression, Polynomial regression, Decision trees
and random forests, Neural networks (for complex,
non-linear patterns). EC 608 AML 38
Classification of ML
Machine
Learning
Regression • Groups similar data points together based on patterns in the data
• Does not need labeled data
• Identifies patterns in the data
• E.g., Clustering
Classification
EC 608 AML 39
Clustering
• Clustering is a type of unsupervised learning where
the goal is to group similar data points together
based on patterns in the data.
• Unlike classification, clustering does not use labeled
data. The algorithm identifies natural groupings
(clusters) in the input.
• Real-world examples of clustering: Y
• Customer segmentation in marketing
• Document/topic grouping
• Anomaly detection (outliers are far from
clusters)
• Common clustering algorithms:
• K-Means
• Hierarchical Clustering
• Density-Based Spatial Clustering of
X
Applications with Noise
EC 608 AML 40
Classification of ML
Machine
Learning
EC 608 AML 42
RL basic concept
▪ At each step the agent executes action, observe new state and receive the reward
[Link]
pinningup/rl_intro.html#part-1-key-
concepts-in-rl [Link]
43
Classification of ML
Machine
Learning
EC 608 AML 44
Semi-Supervised vs. Self-Supervised Learning
Aspect Semi-Supervised Learning Self-Supervised Learning
Data Mix of labeled and unlabeled data Only unlabeled data
Generated automatically from the
Labels Provided for a small portion of data
data itself
Improve accuracy using limited Learn general representations from
Goal
labeled examples raw data
Classification with scarce labeled Pretraining models for various
Typical Use Case
data downstream tasks
Image classification with 1% Predict missing words in text (e.g.,
Example
labeled data GPT pretraining)
EC 608 AML 45
Application of AI/ML
Domain AI/ML Applications Benefits
EC 608 AML 46
Mathematical Framework of ML Models
47
Classification Regression
Clustering
EC 608 AML 48
Generalization, overfitting, capacity
• Learning is the process of searching a hypothesis space to find a model that fits the training data.
• A model overfits when it performs well on training data but poorly on unseen/test data.
• Generalization refers to how well the trained model performs on new, unseen data.
• The balance between underfitting and overfitting depends on the capacity (flexibility) of the model.
49
Underfitting or too low capacity (left), appropriate capacity (center) and overfitting or too high capacity (right) in a model
Curse of Dimensionality
EC 608 AML 50