Overview of Artificial Intelligence Concepts
Overview of Artificial Intelligence Concepts
Dr. A. Vijayalakshmi
School of Computer Science and Engineering
VIT Chennai
MODULE-I
Introduction, Overview of Artificial intelligence
• Introduction
• Evolution of AI
• State of Art
• Different Types of Artificial Intelligence
• Applications of AI
• Subfields of AI
• Intelligent Agents
• Structure of Intelligent Agents
• Environments
AI - Definition
See
Hear Can Reason
Touch
Taste
Smell
Exhibits behaviour
OUTPUTS
Real and Artificial Intelligence
• Human
– Possess real intelligence
• Machine
– Possess artificial intelligence
Brain vs. Computer
• In AI, we compare the brain (or the mind) and the
computer
– Our hope: the brain is a form of computer
– Our goal: we can create computer intelligence through
programming just as people become intelligent by learning
How dowe
c reate
What is in
tellig
ence?
intelligence?
Why AI?
• Two main goals of AI:
– To understand human intelligence better.
– To create useful “smart” programs
Definition of AI
General Definitions of AI
• Artificial intelligence
– It is a branch of computer science which deals
with the study and creation of computer
systems that exhibit some form of intelligence.
– Building intelligent systems
– It is the study and design of intelligent agents
AI Definitions
• The study of how to make programs/computers do
things that people do better
• The study of how to make computers solve problems Thinking
which require knowledge and intelligence machines or
• The exciting new effort to make computers think … machine
machines with minds intelligence
• The automation of activities that we associate with
human thinking (e.g., decision-making, learning…)
• The art of creating machines that perform functions
that require intelligence when performed by people Studying
• The study of mental faculties through the use of cognitive
computational models
• A field of study that seeks to explain and emulate
intelligent behavior in terms of computational Problem
processes Solving and
• The branch of computer science that is concerned CS
with the automation of intelligent behavior
Traditional Vs ML Algorithms
Relation with other Disciplines
Disciplines of AI
• AI as a field of study
– Philosophy
– Mathematics
– Economics
– Neuroscience
– Psychology
– Computer engineering
– Control theory and cybernetics Linguistics
– AI is part science, part engineering
• AI often must study other domains in order to implement
systems
– e.g., medicine and medical practices for a medical diagnostic system,
engineering and chemistry to monitor a chemical processing plant
AI prehistory
Philosophy Logic, methods of reasoning, mind as
physical system foundations of learning,
language, rationality
Mathematics Formal representation and proof
algorithms, computation, (un)decidability,
(in)tractability, probability
Economics utility, decision theory
Neuroscience physical substrate for mental activity
Psychology phenomena of perception and motor
control, experimental techniques
Computer building fast computers engineering
Control theory design systems that maximize an objective
function over time
Linguistics knowledge representation, grammar
History (Evolution) of AI
A bridged history of AI
1943 McCulloch & Pitts: Boolean circuit model of brain
1950 Turing's "Computing Machinery and Intelligence"
1956 Dartmouth meeting: "Artificial Intelligence" adopted
1952—69 Look, Ma, no hands!
1950s Early AI programs, including Samuel's checkers
program, Newell & Simon's Logic Theorist,
Gelernter's Geometry Engine
1965 Robinson's complete algorithm for logical reasoning
1966—73 AI discovers computational complexity
Neural network research almost disappears
1969—79 Early development of knowledge-based systems
1980-- AI becomes an industry
1986-- Neural networks return to popularity
1987-- AI becomes a science
1995-- The emergence of intelligent agents
A Brief History of AI: 1950s
• Computers were thought of as an electronic brains
• Term “Artificial Intelligence” coined by John McCarthy
– John McCarthy also created Lisp in the late 1950s
• Alan Turing defines intelligence as passing the Imitation
Game (Turing Test)
• AI research largely revolves around toy domains
– Computers of the era didn’t have enough power or memory to
solve useful problems
– Problems being researched include
• games (e.g., checkers)
• primitive machine translation
• blocks world (planning and natural language understanding within the
toy domain)
• early neural networks researched: the perceptron
• automated theorem proving and mathematics problem solving
The 1960s
• AI attempts to move beyond toy domains
• Syntactic knowledge alone does not work, domain
knowledge required
– Early machine translation could translate English to Russian
(“the spirit is willing but the flesh is weak” becomes “the
vodka is good but the meat is spoiled”)
• Earliest expert system created: Dendral
• Perceptron research comes to a grinding halt when it is
proved that a perceptron cannot learn the XOR
operator
• US sponsored research into AI targets specific areas –
not including machine translation
• Weizenbaum creates Eliza to demonstrate the futility of
AI
1970s
• AI researchers address real-world problems and solutions through
expert (knowledge-based) systems
– Medical diagnosis
– Speech recognition
– Planning
– Design
• Uncertainty handling implemented
– Fuzzy logic
– Certainty factors
– Bayesian probabilities
• AI begins to get noticed due to these successes
– AI research increased
– AI labs sprouting up everywhere
– AI shells (tools) created
– AI machines available for Lisp programming
• Criticism: AI systems are too brittle, AI systems take too much time
and effort to create, AI systems do not learn
1980s: AI Winter
• Funding dries up leading to the AI Winter
– Too many expectations were not met
– Expert systems took too long to develop, too much money to
invest, the results did not pay off
• Neural Networks to the rescue!
– Expert systems took programming, and took dozens of man-
years of efforts to develop, but if we could get the computer
to learn how to solve the problem…
– Multi-layered back-propagation networks got around the
problems of perceptrons
– Neural network research heavily funded because it promised
to solve the problems that symbolic AI could not
• By 1990, funding for neural network research was
slowly disappearing as well
– Neural networks had their own problems and largely could
not solve a majority of the AI problems being investigated
– Panic! How can AI continue without funding?
1990s: ALife
• The dumbest smart thing you can do is staying alive
– We start over – lets not create intelligence, lets just create
“life” and slowly build towards intelligence
• Alife is the lower bound of AI
– Alife includes
• evolutionary learning techniques (genetic algorithms)
• artificial neural networks for additional forms of learning
• perception and motor control
• adaptive systems
• modeling the environment
• Let’s disguise AI as something new, maybe we’ll get
some funding that way!
– Problems: genetic algorithms are useful in solving some
optimization problems and some search-based problems, but
not very useful for expert problems
– perceptual problems are among the most difficult being
solved, very slow progress
Today: The New (Old) AI
• Look around, who is doing AI research?
• By their own admission, AI researchers are not doing “AI”, they
are doing
– Intelligent agents, multi-agent systems/collaboration
– Ontologies
– Machine learning and data mining
– Adaptive and perceptual systems
– Robotics, path planning
– Search engines, filtering, recommendation systems
• Areas of current research interest:
– NLU/Information Retrieval, Speech Recognition
– Planning/Design, Diagnosis/Interpretation
– Sensor Interpretation, Perception, Visual Understanding
– Robotics
• Approaches
– Knowledge-based
– Ontologies
– Probabilistic (HMM, Bayesian Nets)
– Neural Networks, Fuzzy Logic, Genetic Algorithms
AI - History
Sub-areas of AI
• Machine Learning
• Neural Network
• Natural Language Processing
• Deep Learning
• Cognitive Computing
• Computer Vision
An Example
Computers making decisions in real-world
problems
apply
formulate solve
Artificial Intelligence
Machine
Learning
Deep
Learning
Types of Artificial Intelligence
• Weak AI: also known as narrow AI, is designed
and trained to complete a specific task.
• Ex: Industrial robots and virtual personal
assistants, such as Apple's Siri.
• Weak AI, focuses on one narrow task and
cannot perform beyond its limitations.
• It targets a single subset of cognitive abilities
and advances in that spectrum.
• IBM Watson supercomputer is another
example of a Narrow AI.
• It applies cognitive computing, machine
learning, and natural language processing to
process information and answers your
queries.
• Other examples of Narrow AI include google
translate, image recognition software,
recommendation systems, spam filtering, and
Google’s page-ranking algorithm.
• Strong AI: also known as artificial general
intelligence (AGI), describes programming that can
replicate the cognitive abilities of the human brain.
• When presented with an unfamiliar task, a strong
AI system can use fuzzy logic to apply knowledge
from one domain to another and find a solution
autonomously.
• A strong AI program should be able to pass both a
Turing test and the Chinese Room argument.
• Super AI : Super AI surpasses human intelligence and
can perform any task better than a human.
• The concept of artificial super intelligence sees AI
evolved to be so akin to human sentiments and
experiences.
• It doesn't merely understand them; it also evokes
emotions, needs, beliefs, and desires of its own.
• Its existence is still hypothetical. Some of the critical
characteristics of super AI include thinking, solving
puzzles, making judgments, and decisions on its own.
Applications of AI
AI Applications
• Autonomous Planning
& Scheduling:
– Autonomous
rovers.
AI Applications
• Autonomous Planning & Scheduling:
– Telescope scheduling
AI Applications
• Autonomous Planning & Scheduling:
– Analysis of data:
AI Applications
• Medicine:
– Image guided surgery
AI Applications
• Medicine:
– Image analysis and enhancement
• Medicine:
– Personalized Treatment:
AI Applications
• Transportatio
n:
– Autonomous
vehicle
control:
AI Applications
• Transportation:
– Pedestrian detection:
AI Applications
Games:
AI Applications
• Games:
AI Applications
• Robotic toys:
Search engines
Science
Medicine/
Diagnosis
Labor
Appliances What else?
Artificial Intelligence
Honda Humanoid Robot
Walk
Turn
[Link] Stairs
Sony AIBO
[Link]
Natural Language Question Answering
[Link] [Link]
Robot Teams
150
150mile
mileoff-road
off-roadrobot
robotrace
race
across
acrossthe
theMojave
Mojavedesert
desert
Natural
Naturaland
andmanmade
manmadehazards
hazards
No
Nodriver,
driver,no
noremote
remotecontrol
control
No
Nodynamic
dynamicpassing
passing
Fastest
Fastestvehicle
vehiclewins
winsthe
therace
race
(and 2 million dollar prize)
(and 2 million dollar prize)
ROBOTIC VEHICLES
Stanley Robot
Stanford Racing Team [Link]
pause/disable command
Wireless E-Stop
Laser 1 interface
RDDF corridor (smoothed and original) driving mode
Laser 2 interface
map trajectory
Laser 5 interface Laser mapper VEHICLE
Camera interface Vision mapper
vision map INTERFACE
obstacle list Steering control
Radar interface Radar mapper
vehicle state (pose, velocity) Touareg interface
vehicle
state Throttle/brake control
GPS position UKF Pose estimation
Power server interface
vehicle state (pose, velocity)
GPS compass
Wheel velocity
Brake/steering
heart beats Linux processes start/stop emergency stop
health status
Process controller Health monitor
power on/off
data
GLOBAL
Data logger File system
SERVICES
Communication requests Communication channels clocks
Logistics planning
Robotics
• Roomba robotic vacuum cleaners
• PackBot
Applications - AI
AI have placed its foot in all the fields
• Engineering Science
• Health Care
• Banking Sector
• Metrology
• Education
• Business
• Hospitality Industry
• Behavioral Sciences
• Tourism
• Legal Law
• Agriculture
• Fashion Technology
Applications AI systems
• Robots
• Chess-playing program
• Voice recognition system
• Speech recognition system
• Grammar checker
• Pattern recognition
• Medial diagnosis
• Game Playing
• Machine Translation
• Resource Scheduling
• Expert systems (diagnosis, advisory, planning, etc)
• Machine learning
AI – Trans-disciplinary Engineering
•No more Computer science, electrical,
Mechanical, civil engineers.
• Humanoid robots - Sophia
• Smart Home Automation (Appliances)
• Automatic cars/ Driverless cars
• Smart Green Houses
• 3-D Houses
• Flight Simulations
Current trends of AI
• AI for Cybersecurity
• AI for Communications
• Automated Business Processes
• Ethical AI
• Personalization
• The No-Code Revolution
• Prioritizing Diversity in AI
• AI in the Metaverse
• AI for Healthcare
• AI & IoT
• AI for Cyber security
– Cybercrime
– Cybe rsecurity and surveillance.
• security measures
– Face and voice recognition
– Video analysis
– Biometric authentication
• AI for Communications
– To generate visual, auditory, and text-based data
automatically
– AI chatbots
– to automate business customer interactions
• Chatbots can easily replace humans to
– Answer simple client questions
– Organize appointments
– Send out reminders or personalized offers
• Automated Business Processes
– Solve common business challenges
– Reduce pressure on employees
– Eliminate manual error
– Increase productivity and efficiency
• Ethical AI
– To monitor the quality and use of big data
– AI data compliance
– Platforms like Hadoop help organizations manage
big data applications.
• Personalization
– To help solve pressing global issues and make real
societal change
– Individualized education
– Safer and more efficient care in healthcare settings
for individuals
• Finance
– Fraud Detection
– Algorithmic Trading
– Personal Finance Management
• Climate and Environment
– Climate Modeling
– Wildlife Conservation
– Energy Optimization
• Education
– Personalized Learning
– Content Generation
– Language Learning
• Entertainment
– Content Creation
– Gaming
– Streaming Recommendations
• Transportation and Logistics
– Autonomous Vehicles
– Route Optimization
– Predictive Maintenance
• Customer Service
– AI Chatbots
– Sentiment Analysis
• Art and Design
– Generative Art
– Interior Design
• Agriculture
– Precision Farming
– Livestock Management
• Space Exploration
– Mission Planning
– Exoplanet Discovery
Metaverse
• [Link]
v=rtLTZUaMSDQ&t=14s
4 Categories of AI
4 Categories of Definition for AI
• Systems that act like humans
• Systems that think like humans
• Systems that think rationally
• Systems that act rationally
• cognitive science
– Is an interdisciplinary science
– draws on many fields (as psychology, artificial intelligence, linguistics,
and philosophy) in developing theories about human perception,
thinking, and learning
3. Thinking Rationally
• Also called Laws of Thought approach
• Thinking “Right Thing”
• Making computers to think the “Right Thing”
• Relies on logic(to make inferences) rather than human to
measure correctness.
• Logic: provide a precise notation for statements about all
kinds of things in the world and the relations between
them.
• Syllogism: Provide patterns for argument structures
– Always give correct conclusion given correct premises.
– For example,
– Premise: John is a human and all humans are mortal
– Conclusion: John is mortal
– Can be done using logics. Example Propositional and predicate logic.
Two obstacles: Laws of Thought of
Approach
• It’s not easy to take informal knowledge and
state it in the formal terms required by logical
notation, particularly when the knowledge is less
than 100% certain.
• Being able to solve a problem “in principle” and
doing so “in practice” are very different.
– i.e., 1. Informal Knowledge is not precise.
2. Difficult to model uncertainty
3. Theory and practice cannot be put together.
4. Acting Rationally
• Also called Rational Agent Approach.
• Doing “Right Thing”
• Rational Agent – acts to achieve the best
outcome.
• An agent acts rationally if it selects the
action that maximizes it performance
measure.
Applications - AI
AI have placed its foot in all the fields
• Engineering Science
• Health Care
• Banking Sector
• Metrology
• Education
• Business
• Hospitality Industry
• Behavioral Sciences
• Tourism
• Legal Law
• Agriculture
• Fashion Technology
Applications AI systems
• Robots
• Chess-playing program
• Voice recognition system
• Speech recognition system
• Grammar checker
• Pattern recognition
• Medial diagnosis
• Game Playing
• Machine Translation
• Resource Scheduling
• Expert systems (diagnosis, advisory, planning, etc)
• Machine learning
AI – Trans-disciplinary Engineering
•No more Computer science, electrical,
Mechanical, civil engineers.
• Humanoid robots - Sophia
• Smart Home Automation (Appliances)
• Automatic cars/ Driverless cars
• Smart Green Houses
• 3-D Houses
• Flight Simulations
Current trends of AI
• AI for Cybersecurity
• AI for Communications
• Automated Business Processes
• Ethical AI
• Personalization
• The No-Code Revolution
• Prioritizing Diversity in AI
• AI in the Metaverse
• AI for Healthcare
• AI & IoT
Agents
• An agent is anything that can be viewed as
perceiving its environment through sensors and
acting upon that environment through actuators.
• Human agent: eyes, ears, and other organs for
sensors; hands,legs, mouth, and other body parts
for actuators
• Robotic agent: cameras and infrared range
finders for sensors;various motors for actuators-
Self Driving Car-Camera(sensors)-Red signal-Hit
the brake to stop-Actuator
Agents and environments
Agent Function and Agent Program
• The agent function that maps any given percept
histories(sequence) to an actions:
• [f: P* A]
Agent: Percept* Action *
The ideal mapping specifies which actions an agent ought
to take at any point in time
• The agent program runs on the physical
architecture to produce agent function f
• Agent = Architecture + Program
Vacuum-cleaner world
Performance measure:
–?
Environment:
–?
Actuators:
–?
Sensors:
–?
PEAS: Specifying an automated taxi driver
Performance measure:
– safe, fast, legal, comfortable, maximize profits
Environment:
–?
Actuators:
–?
Sensors:
–?
PEAS: Specifying an automated taxi driver
Performance measure:
– safe, fast, legal, comfortable, maximize profits
Environment:
– roads, other traffic, pedestrians, customers
Actuators:
–?
Sensors:
–?
PEAS: Specifying an automated taxi driver
Performance measure:
– safe, fast, legal, comfortable, maximize profits
Environment:
– roads, other traffic, pedestrians, customers
Actuators:
– steering, accelerator, brake, signal, horn
Sensors:
–?
PEAS: Specifying an automated taxi driver
Performance measure:
– safe, fast, legal, comfortable, maximize profits
Environment:
– roads, other traffic, pedestrians, customers
Actuators:
– steering, accelerator, brake, signal, horn
Sensors:
– cameras, sonar, speedometer, GPS
Class Room Activity
• Agent types:
• Medical Diagnostic Systems
• Satellite Image Analysis Systems
• Part Picking Robot
• Refinery Controller
• Interactive English Tutor
Sensors
Environment
What the world is like now
Condition-action rules
What should I do now
Agent
Actuators
Simple reflex agents
Reflex Agent Program
condition := INTERPRET-INPUT(percept)
rule := RULE-MATCH(condition, rules)
action := RULE-ACTION(rule)
return action
A Simple Reflex Agent in Nature
percepts
(size, motion)
RULES:
(1) If small moving object,
then activate SNAP
(2) If large moving object,
then activate AVOID and inhibit SNAP
ELSE (not moving) then NOOP
needed for
completeness Action: SNAP or AVOID or NOOP
Model-based Reflex Agents
start
• Conclusion
– Goal-based agents are less efficient
– but more flexible
• Agent Different goals different tasks
– Search and planning
• two other sub-fields in AI
• to find out the action sequences to achieve its goal
Goal-Based Agent Diagram
Sensors
State What the world is like now
What my actions do
Goals
What should I do now
Agent Actuators
Environment
Goal-based agents
Example
• More Real Time Applications
➢ Search strategies & Planning
➢ GPS navigation in vehicles
➢ AI games
Utility-based agents
• Autonomy
• goal-orientedness
• collaboration
• flexibility
• ability to be self-starting
• temporal continuity
• character
• adaptiveness
• mobility
• capacity to learn.
Classification of agents
Interface Agents
AI techniques to provide assistance to the user
Mobile agents
capable of moving around networks gathering
information
Co-operative agents
communicate with, and react to, other agents in a
multi-agent systems within a common environment
Reactive agents
“reacts” to a stimulus or input that is governed by
some state or event in its environment
Learning Agents
• After an agent is programmed, can it work
immediately?
– No, it still need teaching
• In AI,
– Once an agent is done
– We teach it by giving it a set of examples
– Test it by using another set of examples
• We then say the agent learns
– A learning agent
Learning Agents
• Four conceptual components
– Learning element
• Making improvement
– Performance element
• Selecting external actions
– Critic
• Tells the Learning element how well the agent is doing with
respect to fixed performance standard.
(Feedback from user or examples, good or not?)
– Problem generator
• Suggest actions that will lead to new and informative experiences.
Learning agents
Example
Components of a learner
• In learning, percepts may help improve agent’s
future success in interaction
• Components:
- Learning element (improves policy)
- Performance element (executes policy)
- Critic: Applies fixed performance
measure
- Problem generator: Suggests
experimental actions that will provide
information to learning element
A learning agent and its environment
Automated taxi example
• Performance element-whatever collection of
knowledge and procedures the taxi has for
selecting its driving actions.
• The taxi goes out on the road and drives, using
this performance element
Automated taxi example
• Critic-observes the world and passes information
along to the learning element.
• For example, after the taxi makes a quick left turn
across three lanes of traffic, the critic observes the
shocking language used by other drivers.
• From this experience, the learning element is able to
formulate a rule saying this was a bad action, and the
performance element is modified by installation of
the new rule.
Automated taxi example
• The problem generator- might identify certain areas
of behavior in need of improvement and suggest
experiments, such as trying out the brakes on
different road surfaces under different conditions.
• The Learning element-if the taxi exerts a certain
braking pressure when driving on a wet road, then it
will soon find out how much deceleration is actually
achieved.
• Clearly, these two learning tasks are more difficult if
the environment is only partially observable.
Automated taxi example
• The situation is slightly more complex for a utility-
based agent that wishes to learn utility information.
For example, suppose the taxi-driving agent receives
no tips from passengers who have been thoroughly
shaken up during the trip.
• The external performance standard must inform the
agent that the loss of tips is a negative contribution
to its overall performance; then the agent might be
able to learn that violent maneuvers do not
contribute to its own utility.
Automated taxi example
• In a sense, the performance standard distinguishes
part of the incoming percept as a reward (or penalty)
that provides direct feedback on the quality of the
agent’s behavior.
• Hard-wired performance standards such as pain and
hunger in animals can be understood in this way.
How the components of agent programs
work?
• Question for a student of AI is, “How on earth
do these components work?
How the components of agent programs
work?
• Agent’s organization
a) Atomic Representation: In this representation, each state of
the world is a black box that has no internal structure. E.g.,
finding each state is a city. AI algorithms: search, games, Markov
decision processes, hidden Markov models, etc.
b) Factored Representation: In this representation, each state has
some attribute value properties. E.g., GPS location, amount of gas
in the tank. AI algorithms: constraint satisfaction, and Bayesian
networks.
c) Structured Representation: Relationships between the objects
of a state can be explicitly expressed. AI algorithms: first-order
logic, knowledge-based learning, natural language understanding.
The major points to recall are as follows:
• An agent is something that perceives and acts in an
environment.
• The agent function for an agent specifies the action taken by
the agent in response to any percept sequence.
• The performance measure evaluates the behavior of the
agent in an environment.
• A rational agent acts so as to maximize the expected value of
the performance measure, given the percept sequence it has
seen so far.
• A task environment specification includes the performance
measure, the external environment, the actuators, and the
sensors. In designing an agent, the first step must always be to
specify the task environment as fully as possible.
The major points to recall are as follows:
• The agent program implements the agent function. There
exists a variety of basic agent-program designs reflecting the
kind of information made explicit and used in the decision
process.
• The designs vary in efficiency, compactness, and flexibility.
The appropriate design of the agent program depends on the
nature of the environment.
• Simple reflex agents respond directly to percepts, whereas
model-based reflex agents maintain internal state to track
aspects of the world that are not evident in the current
percept.
• Goal-based agents act to achieve their goals, and utility-
based agents try to maximize their own expected
“happiness.”
• All agents can improve their performance through learning.
Class Room Discussion
• Poster preparation
• For each of the following activities, give a PEAS description of the
task environment and characterize it in terms of the properties
• Playing soccer.
• Exploring the subsurface oceans of Titan.
• Shopping for used AI books on the Internet.
• Playing a tennis match.
• Practicing tennis against a wall.
• Performing a high jump.
• Knitting a sweater.
• Bidding on an item at an auction.