Chapter 3 - Artificial Intelligence
Chapter 3 - Artificial Intelligence
Artificial Intelligence
1
Brainstorming
Artificial
What is Intelligence?
Artificial Intelligence?
?
2
What is AI?
• Artificial defines "man-made“, and intelligence defines "thinking power"
• Or “the ability to learn and solve problems”, hence Artificial Intelligence means
"a man-made thinking power.“
3
Cont’d
• Therefore, artificial intelligence as the “copy of something natural (i.e., human
beings) ‘WHO’ is capable of acquiring and applying the information it has gained
through exposure.”
• AI exists when a machine can have human-based skills such as learning, reasoning,
and solving problems
• With AI you do not need to preprogram a machine to do some work, despite that
you can create a machine with programmed algorithms which can work with own
intelligence.
4
Cont’d
• Reasoning
• Learning
• Problem Solving
• Perception
• Linguistic Intelligence
5
Cont’d
An AI system is composed of:
• Agent
• Environment
• An agent (e.g., human or robot) is anything that can perceive its environment
through sensors and acts upon that environment through effectors.
• Intelligent agents must be able to set goals and achieve them
• Machine perception is the ability to use input from sensors (such as cameras,
microphones, sensors, etc.) to deduce aspects of the world. e.g., Computer
Vision
• Computer vision is an interdisciplinary scientific field that deals with how computers
can gain high-level understanding from digital images or videos.
6
Cont’d
High-profile examples of AI include:
• Medical diagnosis
• Spam filtering,
• Online advertisements 7
Cont’d
Machine Learning (ML) is an advanced form of AI where the machine can learn as it
goes rather than having every action programmed by humans.
ML, a fundamental concept of AI research since the field’s inception, is the study of
computer algorithms that improve automatically through experience.
Neural networks(NN) are biologically inspired networks that extract features from the
data in a hierarchical fashion.
The field of NNs with several hidden layers is called Deep learning.
8
Need of Artificial Intelligence
1. To create expert systems that exhibit intelligent behavior with the capability
to learn, demonstrate, explain and advice its users.
9
Goals of Artificial Intelligence
1. Replicate human intelligence
4. Building a machine which can perform tasks that requires human intelligence such as:
• Proving a theorem
• Playing chess
5. Creating some system which can exhibit intelligent behavior, learn new things by
itself, demonstrate, explain, and can advise to its user
10
What Comprises to Artificial Intelligence?
To create the AI-first we should know that how intelligence is composed,
To achieve the above factors for a machine or software Artificial Intelligence
requires different disciplines shown in the figure:
11
What Comprises to Artificial Intelligence?
12
Advantages and Disadvantages of Artificial Intelligence
Advantages of Artificial Intelligence:
• High Accuracy with fewer errors: AI systems are prone to fewer errors and high accuracy as it takes decisions as per
pre-experience.
• High-Speed: AI systems can be of very high-speed and fast-decision making, e.g., AI systems can beat a chess
champion in the Chess game.
• High reliability: AI machines are highly reliable and can perform the same action multiple times with high accuracy.
• Useful for risky areas: AI machines can be helpful in situations such as defusing a bomb, exploring the ocean floor,
where to employ a human can be risky.
• Digital Assistant: AI can be very useful to provide digital assistant to users such as AI technology is currently used
by various E-commerce websites to show the products as per customer requirements
• Useful as a public utility: AI can be very useful for public utilities such as a self driving car, facial recognition for
security purposes, Natural language processing (for search engines, for spelling checker, for assistant like Siri, for
translation like google translate) 13
Disadvantage of AI
High Cost: The HW and SW requirement of AI is very costly as it requires lots of
maintenance to meet current world requirements.
Can't think out of the box: Even we are making smarter machines with AI, but
still they cannot work out of the box, as the robot will only do that work for which
they are trained, or programmed.
No feelings and emotions: AI machines can be an outstanding performer, but still
it does not have the feeling so it cannot make any kind of emotional attachment
with humans, and may sometime be harmful for users if the proper care is not
taken.
Increase dependence on machines: With the increment of technology, people are
getting more dependent on devices and hence they are losing their mental
capabilities.
No Original Creativity: As humans are so creative and can imagine some new
ideas but still AI machines cannot beat this power of human intelligence14 and
History of AI(Reading Assignment)
15
Levels of AI
Stage 1 – Rule-Based Systems
• Is a system that applies human-made rules to store, sort and manipulate data.
In doing so, it mimics human intelligence.
• It’s a logical program that uses pre-defined rules to make deductions and
choices to perform automated actions.
Stage 2 – Context Awareness and Retention
• Algorithms that develop information about the specific domain they are being
applied in.
• They are trained on the knowledge and experience of the best humans, and
their knowledge base can be updated as new situations and queries arise.
Well known applications of this level are chatbots and “roboadvisors”
16
Cont’d
Stage 3 – Domain-Specific Expertise
• Going beyond the capability of humans, these systems build up expertise in a
specific context taking in massive volumes of information which they can use for
decision making.
• Successful use cases have been seen in cancer diagnosis and the well-known
Google Deepmind’s AlphaGo.
• Currently, this type is limited to one domain only would forget all it knows
about that domain if you started to teach it something else.
Stage 4 – Reasoning Machines
• These algorithms have some ability to attribute mental states to themselves and
others – they have a sense of beliefs, intentions, knowledge, and how their own
logic works.
• This means they could reason or negotiate with humans and other machines.
• At the moment these algorithms are still in development, however, commercial
applications are expected within the next few years
17
Cont’d
Stage 5 – Self Aware Systems / Artificial General Intelligence (AGI)
• These systems have human-like intelligence – the most commonly portrayed
AI in media – however, no such use is in evidence today. It is the goal of many
working in AI and some believe it could be realized already from 2024.
Stage 6 – Artificial Superintelligence (ASI)
• AI algorithms can outsmart even the most intelligent humans in every
domain.
• Logically it is difficult for humans to articulate what the capabilities might be,
yet we would hope examples would include solving problems we have failed
to so far, such as world hunger and dangerous environmental change.
• Views vary as to when and whether such a capability could even be possible,
yet there a few experts who claim it can be realized by 2029.
• Fiction has tackled this idea for a long time, for example in the film Ex
Machina or Terminator.
18
Cont’d
Stage 7 – Singularity and Transcendence
• This is the idea that development provided by ASI (Stage 6) leads to a massive
expansion in human capability.
• Human augmentation could connect our brains to each other and to a future
successor of the current internet, creating a “hive mind” that shares ideas,
solves problems collectively, and even gives others access to our dreams as
observers or participants.
• Pushing this idea further, we might go beyond the limits of the human body
and connect to other forms of intelligence on the planet – animals, plants,
weather systems, and the natural environment.
• Some proponents of singularity such as Ray Kurzweil, Google’s Director of
Engineering, suggest we could see it happen by 2045 as a result of exponential
rates of progress across a range of science and technology disciplines.
• The other side of the fence argues that singularity is impossible and human
consciousness could never be digitized.
19
There are mainly two types of the main categorization which are based on
Types of AI
20
Cont’d
Based on Capabilities
• Weak AI or Narrow AI
• Is able to perform a dedicated task with intelligence
• The most common and currently available AI is Narrow AI in the world of
AI
• Narrow AI cannot perform beyond its field or limitations, as it is only
trained for one specific task.
• Hence it is also termed as weak AI.
• Narrow AI can fail in unpredictable ways if it goes beyond its limits.
• Apple Siri is a good example of Narrow AI, but it operates with a limited
predefined range of functions.
• IBM's Watson supercomputer also comes under Narrow AI, as it uses an
Expert system approach combined with ML and NLP.
• Some Examples of Narrow AI are Google translate, playing chess,
purchasing suggestions on e-commerce sites, self-driving cars, speech
recognition, and image recognition 21
Cont’d
Based on Capabilities
• General AI:
• It could perform any intellectual task with efficiency like a human.
• The idea behind the general AI to make such a system that could be
smarter and think like a human on its own
• Currently, there is no such system exists which could come under general
AI and can perform any task as perfect as a human.
• It may arrive within the next 20 years
• Super AI:
• It is a level of Intelligence of Systems at which machines could surpass human
intelligence, and can perform any task better than a human with cognitive
properties.
• This refers to aspects like general wisdom, problem solving and creativity.
• It is an outcome of general AI
• Reactive Machines:
• Purely reactive machines are the most basic types of AI.
• Limited Memory
• It can store past experiences or some data for a short period of time.
• These machines can use stored data for a limited time period only.
• Self-driving cars are one of the best examples of Limited Memory systems.
• These cars can store the recent speed of nearby cars, the distance of other
cars, speed limits, and other information to navigate the road
25
Cont’d
• Theory of Mind
• It should understand human emotions, people, beliefs, and be able to
interact socially like humans.
• This type of AI machines is still not developed, but researchers are making
lots of efforts and improvement for developing such AI machines
26
Cont’d
Based on the functionality
• Self-Awareness
• It is the future of AI
• These machines will be super intelligent and will have their own
consciousness, sentiments, and self-awareness.
• These machines will be smarter than the human mind.
Interpret and evaluate the input that is received from the surrounding
environment.
28
Cont’d
29
Mapping human thinking to AI components
Because AI is the science of simulating human thinking, it is possible to map the human thinking stages to the
In the first stage, humans acquire information from their surrounding environments
• Through human senses, such as sight, hearing, smell, taste, and touch,
In AI models, this stage is represented by the sensing layer, which perceives information from the surrounding
environment.
E.g. sensing agents such as voice recognition for sensing voice and visual imaging recognition for sensing
images
These agents or sensors take the role of the hearing and sight senses in humans .
30
Cont’d
The second stage is interpreting and evaluating the input data
In AI Models, this stage is represented by the interpretation layer, that is, reasoning
and thinking about the gathered input that is acquired by the sensing layer
After evaluating the input data, the interacting layer performs the necessary tasks.
Robotic movement control and speech generation are examples of functions that are
implemented in the interacting layer
31
Influencers of AI
32
Cloud computing and application programming interfaces
These services might be data analysis, social media, video storage, e-commerce,
and AI capabilities that are available through the internet and supported by
cloud computing.
33
Applications of AI
34
Cont’d
AI in agriculture
AI in Healthcare
• Healthcare Industries are applying AI to make a better and faster diagnosis than
humans.
• AI can help doctors with diagnoses and can inform when patients are worsening so
that medical help can reach the patient before hospitalization
35
Cont’d
AI in education
• AI can automate grading so that the tutor can have more time to teach.
• AI in the future can be work as a personal virtual tutor for students, which will be accessible easily at
any time and any place.
• The finance industry is implementing automation, chatbot, adaptive intelligence, algorithm trading,
and machine learning into financial processes.
• AI is providing a competitive edge to the e-commerce industry, and it is becoming more demanding in
the e-commerce business.
• AI is helping shoppers to discover associated products with recommended size, colour, or even brand
36
Cont’d
AI in Gaming
• The AI machines can play strategic games like chess, where the machine needs to think of a large number
of possible places
AI in Data Security
• Some examples such as AEG bot, AI2 Platform, are used to determine software bugs and cyber-attacks in a
better way
AI in Social Media
• AI can analyse lots of data to identify the latest trends, hashtags, and requirements of different users.
37
Cont’d
AI in Travel &Transport
• AI is capable of doing various travel related works such as from making travel arrangements to suggesting the
• Travel industries are using AI powered chatbots which can make human-like interaction with customers for a better
• Some Automotive industries are using AI to provide virtual assistants to their use for better performance.
• Various Industries are currently working for developing self-driven cars which can make your journey more safe and
secure.
38
Cont’d
AI in Robotics
• With the help of AI, we can create intelligent robots which can perform tasks with their own
experiences without pre-programmed.
• Recently the intelligent Humanoid robot named Erica and Sophia has been developed which can
talk and behave like humans.
AI in Entertainment
• With the help of ML/AI algorithms, these services show the recommendations for programs or
shows.
39
AI tools and platforms
AI platforms are frequently used by developers to create both the learning algorithm and intelligent
application
AI has developed a large number of tools to solve the most difficult problems in computer science, like:
• Logic
• Neural networks
• Control theory
• Languages
40
Cont’d
The most common artificial intelligence platforms include
• Microsoft AZURE Machine Learning,
• Google Cloud Prediction API,
• IBM Watson,
• TensorFlow,
• Infosys Nia,
• Wipro HOLMES,
• API.AI,
• Premonition,
• Rainbird,
• Ayasdi,
• MindMeld,
• Meya 41
Cont’d
Simple AI application
I. Commuting
• Google’s AI-Powered Predictions
II. Email
• Spam Filters
45