AI - Lecture 02
AI - Lecture 02
(lecture #2)
• History of AI
• The State of the Art
• Intelligent agents
• The concept of Rationality
1943-1955: Early Work (McCulloch & Pitts, Turing)McCulloch & Pitts (1943):
Developed the first artificial neuron model, laying the foundation for neural
networks.
They showed that any computable function could be performed by a network of
neurons, and all logical operations (like AND, OR, NOT) could be done by simple
neuron networks.
They also suggested that these networks
could learn over time, which laid the foundation
for Hebbian learning (a rule for modifying the
strength of connections between neurons),
introduced by Donald Hebb in 1949.
• Alan Turing (1950): Proposed the Turing Test to measure a machine's ability to
exhibit intelligent behavior. His work inspired early AI thinking
• He also proposed important concepts like machine learning, genetic algorithms,
and reinforcement learning.
• One of his ideas was the Child Program, where he suggested that instead of
mimicking the adult human mind, it might be better to try creating a program that
learns like a child, developing over time.
• Create groups of maximum 3 students and have each group research and
present how AI is applied in different industries today (e.g., healthcare, finance,
robotics, etc.).
• You should include examples such as AI in diagnostics, fraud detection, or
autonomous driving.
Robotic Vehicles: Autonomous vehicles like STANLEY and BOSS demonstrated advanced
capabilities in navigating complex terrains.
Speech Recognition: Automated systems, like those used by United Airlines, enabled natural
language interaction.
Autonomous Planning and Scheduling: NASA's Remote Agent program demonstrated autonomous
planning for spacecraft operations.
Natural Language Processing (NLP):
Language Understanding: AI systems, like chatbots and virtual assistants, have improved natural
language understanding, enabling more sophisticated interactions with users.
Language Translation: Advanced language translation models, such as those using transformer
architectures, have achieved remarkable accuracy.
Computer Vision:
Object Recognition: Deep learning models have significantly improved object recognition in images
and videos, contributing to applications in autonomous vehicles, security systems, and more.
Facial Recognition: Facial recognition technology has become more prevalent in security,
authentication, and personalized user experiences.
Machine Learning and Deep Learning:
Deep Learning Advances: Breakthroughs in deep learning, especially with convolutional neural
networks (CNNs) and recurrent neural networks (RNNs), have led to improved performance in
various tasks, from image recognition to natural language processing.
Transfer Learning: Techniques like transfer learning have enabled models to leverage knowledge
gained from one task to perform well in related tasks, reducing the need for extensive training data.
Autonomous Vehicles: Ongoing advancements in self-driving car technology have the potential to transform
transportation
Search Engines and Information Retrieval (Google): Google, founded in 1998, transformed online
search using AI algorithms to deliver precise and relevant search results.
E-commerce Recommendations (Amazon, Netflix): AI-powered recommendation systems,
implemented by platforms like Amazon and Netflix, revolutionized online shopping and content
consumption by providing personalized suggestions.
Speech Recognition and Virtual Assistants (Siri, Alexa, Google Assistant): The advent of virtual
assistants, including Siri, Alexa, and Google Assistant, introduced natural language processing and
voice recognition into everyday devices for user interaction.
Image and Facial Recognition (Facebook, Security Systems): AI-driven image and facial recognition
technologies, exemplified by Facebook's photo tagging and security applications, became integral for
identity verification and personalized experiences.
Autonomous Vehicles (Tesla): The automotive industry embraced AI for self-driving cars, with Tesla
incorporating machine learning algorithms to enable advanced driver-assistance features, paving the
way for autonomous vehicles.
Percept :
A percept is what an agent perceives or senses at a specific moment. For example, if
a robot has a camera and detects a red ball in its view, the visual data of the red
ball is its percept.
Percept Sequence
A percept sequence is the entire history of an agent's sensory inputs. Consider a
smart vacuum cleaner. If, over time, it has sensed and recorded data about different
rooms, objects, and obstacles in its environment, the collective record of all these
observations forms its percept sequence.
Percept :
A percept is what an agent perceives or senses at a specific moment. For example, if
a robot has a camera and detects a red ball in its view, the visual data of the red
ball is its percept.
Percept Sequence
A percept sequence is the entire history of an agent's sensory inputs. Consider a
smart vacuum cleaner. If, over time, it has sensed and recorded data about different
rooms, objects, and obstacles in its environment, the collective record of all these
observations forms its percept sequence.
Intelligent Agents
Agent Program
21
Artificial Intelligence Engr. Abdul Qadir Khan
The concept of Rationality
Information Gathering:
The process of performing actions to modify future percepts, is crucial for rational decision-
making. The process of collecting data or knowledge to understand a particular topic or
situation better.
Example: A weather prediction model gathers data from various sensors to improve its
forecasts. Groundwork for neural networks.
Exploration:
The act of navigating and investigating an initially unknown environment to gain information.
Involves actively searching, investigating, or discovering new places, ideas, or possibilities.
Example: A vacuum-cleaning robot exploring a new room to understand its layout and
identify the obstacle
.
Learning:
The ability of an agent to acquire knowledge or adapt based on experience and perceptions.
The process of acquiring new knowledge, skills, or understanding through study,
experience, or being taught.
Example: A language translation algorithm improves its accuracy over time by learning
from user corrections.
Environment:
The external surroundings or conditions in which an agent operates and perceives.
Example: An autonomous car responds to changes in traffic, weather, and road conditions
to navigate safely.
Autonomy:
Autonomy is the ability to make independent decisions and take actions without constant
supervision or control from others.
Smart Home Devices:
Without Autonomy: Turning on lights, adjusting the thermostat, or locking doors typically
requires manual input from the homeowner.
With Autonomy: Smart home systems can learn from user preferences and automate tasks,
such as adjusting the temperature based on daily patterns or turning off lights when a room
is unoccupied
Rationality
What is rational at any given time depends on four things:
• The performance measure that defines the criterion of success.
• The agent’s prior knowledge of the environment.
• The actions that the agent can perform.
• The agent’s percept sequence to date.
Definition
For each possible percept sequence, a rational agent should select an action that is
expected to maximize its performance measure, given the evidence provided by the
percept sequence and whatever built-in knowledge the agent has.
Omniscient agent
is like a super-smart being who knows everything, including the actual outcome of
its actions. In reality, achieving omniscience is impossible.
• For instance, consider a situation where you decide to cross the street, not
knowing that a cargo door will fall from a passing plane, causing an accident.
• An omniscient agent would have known this in advance and acted differently.
• The example illustrates that while rationality aims for the best decisions given
what's known, perfection would require predicting unforeseeable events, which is
not feasible. So, in practical terms, we aim for rational decisions, acknowledging
the inherent limitations in predicting the future.
• Stuart Russell & Peter Norvig, Artificial Intelligence: A Modern Approach, 3rd
Edition