Professional Documents
Culture Documents
Dedication……………………………………………………………………………………………………………………...i
Abstract………………………………………………………………………………………………………………..……….ii
Acknowledgement …………………………………………………………………………………,,,,………………...iii
Philosophy of AI .................................................................................................................1
Goals of AI..........................................................................................................................1
Applications of AI ..............................................................................................................3
History of AI .....................................................................................................................4
Types of Intelligence......................................................................................................................6
Robot Locomotion.......................................................................................................................48
Components of a Robot...............................................................................................................50
Working of ANNs..........................................................................................................................55
2
1. Overview of AI
Since the invention of computers or machines, their capability to perform various tasks went on
growing exponentially. Humans have developed the power of computer systems in terms of their
diverse working domains, their increasing speed, and reducing size with respect to time.
A branch of Computer Science named Artificial Intelligence pursues creating the computers or
machines as intelligent as human beings.
AI is accomplished by studying how human brain thinks, and how humans learn, decide, and work
while trying to solve a problem, and then using the outcomes of this study as a basis of developing
intelligent software and systems.
Philosophy of A
While exploiting the power of the computer systems, the curiosity of human, lead him to wonder,
“Can a machine think and behave like humans do?”
Thus, the development of AI started with the intention of creating similar intelligence in machines
that we find and regard high in humans.
Goals of AI
To Create Expert Systems: The systems which exhibit intelligent behavior, learn, demonstrate,
explain, and advice its users.
To Implement Human Intelligence in Machines: Creating systems that understand, think, learn,
and behave like humans.
Out of the following areas, one or multiple areas can contribute to build an intelligent system.
3
Comput
er Psychology
Science
Philosophy
Artificial Neutron
intelligence Science
sociology Biology
Maths
A computer program without AI can answer the . A computer program with AI can answer the
specific questions it is meant to solve. generic questions it is meant to solve.
Modification in the program leads to change in AI programs can absorb new modifications by
its structure. putting highly independent pieces of
information together.
Modification is not quick and easy. It may lead Quick and Easy program modification.
to affecting the program adversely.
What is AI Technique?
In the real world, the knowledge has some unwelcomed properties:
4
AI Technique is a manner to organize and use the knowledge efficiently in such a way that:
AI techniques elevate the speed of execution of the complex program it is equipped with.
Applications of AI
AI has been dominant in various fields such as:
Gaming
AI plays crucial role in strategic games such as chess, poker, tic-tac-toe, etc., where machine can think of
large number of possible positions based on heuristic knowledge.
It is possible to interact with the computer that understands natural language spoken by humans.
Expert Systems
There are some applications which integrate machine, software, and special information to impart
reasoning and advising. They provide explanation and advice to the users.
Vision Systems
These systems understand, interpret, and comprehend visual input on the computer. For example,
A spying aeroplane takes photographs which are used to figure out spatial information or map of
the areas.
Doctors use clinical expert system to diagnose the patient.
Police use computer software that can recognize the face of criminal with the stored portrait made
by forensic artist.
Speech Recognition
Some intelligent systems are capable of hearing and comprehending the language in terms of sentences
and their meanings while a human talks to it. It can handle different accents, slang words, noise in the
background, change in human’s noise due to cold, etc.
Handwriting Recognition
The handwriting recognition software reads the text written on paper by a pen or on screen by a stylus.
It can recognize the shapes of the letters and convert it into editable text.
Intelligent Robots
5
Robots are able to perform the tasks given by a human. They have sensors to detect physical data from
the real world such as light, heat, temperature, movement, sound, bump, and pressure. They have
efficient processors, multiple sensors and huge memory, to exhibit intelligence. In addition, they are
capable of learning from their mistakes and they can adapt to the new environment.
History of AI
Here is the history of AI during 20th century:
6
While studying artificially intelligence, you need to know what intelligence is. This chapter covers Idea of
intelligence, types, and components of intelligence.
What is Intelligence?
The ability of a system to calculate, reason, perceive relationships and analogies, learn from experience,
store and retrieve information from memory, solve problems, comprehend complex ideas, use natural
language fluently, classify, generalize, and adapt new situations.
Types of Intelligence
As described by Howard Gardner, an American developmental psychologist, the Intelligence comes in
multifold:
You can say a machine or a system is artificially intelligent when it is equipped with at least one and at
most all intelligences in it.
1. Reasoning
2. Learning
3. Problem Solving
7
4. Perception
5. Linguistic Intelligence
1. Reasoning: It is the set of processes that enables us to provide basis for judgement, making
decisions, and prediction. There are broadly two types:
2. Learning: It is the activity of gaining knowledge or skill by studying, practising, being taught, or
experiencing something. Learning enhances the awareness of the subjects of the study.
The ability of learning is possessed by humans, some animals, and AI-enabled systems. Learning is
categorized as:
Auditory Learning: It is learning by listening and hearing. For example, students listening to
recorded audio lectures.
Episodic Learning: To learn by remembering sequences of events that one has witnessed or
experienced. This is linear and orderly.
Motor Learning: It is learning by precise movement of muscles. For example, picking objects,
Writing, etc.
8
Observational Learning: To learn by watching and imitating others. For example, child tries to learn
by mimicking her parent.
Perceptual Learning: It is learning to recognize stimuli that one has seen before. For example,
identifying and classifying objects and situations.
Relational Learning: It involves learning to differentiate among various stimuli on the basis of
relational properties, rather than absolute properties. For Example, Adding ‘little less’ salt at the
time of cooking potatoes that came up salty last time, when cooked with adding say a tablespoon of
salt.
Spatial learning: It is learning through visual stimuli such as images, colors, maps, etc. For Example,
A person can create roadmap in mind before actually following the road.
Stimulus-Response Learning: It is learning to perform a particular behavior when a certain stimulus
is present. For example, a dog raises its ear on hearing doorbell.
3. Problem solving: It is the process in which one perceives and tries to arrive at a desired solution
from a present situation by taking some path, which is blocked by known or unknown hurdles.
Problem solving also includes decision making, which is the process of selecting the best suitable
alternative out of multiple alternatives to reach the desired goal are available.
5. Linguistic Intelligence: It is one’s ability to use, comprehend, speak, and write the verbal and
written language. It is important in interpersonal communication.
3. Research Areas of AI
9
The domain of artificial intelligence is huge in breadth and width. While proceeding, we consider the
broadly common and prospering research areas in the domain of AI:
Expect
System
Natural Neutral
language Network
processing Artificial s
Intelligence
Fuzzy
Robotics
Logic
This source-language text becomes input to the Translation Engine, which converts it to the target
language text. They are supported with interactive GUI, large database of vocabulary etc.
10
Real Life Applications of Research Areas
There is a large array of applications where AI is serving common people in their day-to-day lives:
Task Classification of AI
The domain of AI is classified into Formal tasks, Mundane tasks, and Expert tasks.
AI
Expert Tasks:
Mundana Tasks:
Perception,
Common Sense,
Reasoning,
Natural Language
Processing
11
Perception Computer Vision Mathematics Geometry Engineering Fault finding
Speech, Voice Logic Integration and Manufacturing Monitoring
Differentiatio
Natural Language Processing Games Go Chess (Deep Blue) Scientific Analysis
Understanding Language Checkers
Generation Language
Translation
Common Sense Verification Financial Analysis
Reasoning Theorem Proving Medical Diagnosis
Planning Creativity
Robotics Locomotive
Humans learn mundane (ordinary) tasks since their birth. They learn by perception, speaking, using
language, and locomotives. They learn Formal Tasks and Expert Tasks later, in that order.
For humans, the mundane tasks are easiest to learn. The same was considered true before trying to
implement mundane tasks in machines. Earlier, all work of AI was concentrated in the mundane task
domain.
Later, it turned out that the machine requires more knowledge, complex knowledge representation, and
complicated algorithms for handling mundane tasks. This is the reason why AI work is more prospering
in the Expert Task domain now, as the expert task domain needs expert knowledge without common
sense, which can be easier to represent and handle.
4. Robotics
12
Robotics is a domain in artificial intelligence that deals with the study of creating intelligent and efficient
robots.
Objective
Robots are aimed at manipulating the objects by perceiving, picking, moving, modifying the physical
properties of object, destroying it, or to have an effect thereby freeing manpower from doing repetitive
functions without getting bored, distracted, or exhausted.
What is Robotics?
Robotics is a branch of AI, which is composed of Electrical Engineering, Mechanical Engineering, and
Computer Science for designing, construction, and application of robots.
Aspects of Robotics
The robots have mechanical construction, form, or shape designed to accomplish a particular task.
They have electrical components which power and control the machinery.
They contain some level of computer program that determines what, when and how a robot does
something.
13
Robot Locomotion
Locomotion is the mechanism that makes a robot capable of moving in its environment. There are
various types of locomotions:
Legged
Wheeled
Tracked slip/skid
Legged Locomotion
This type of locomotion consumes more power while demonstrating walk, jump, trot, hop, climb up or
down, etc.
It requires more number of motors to accomplish a movement. It is suited for rough as well as smooth
terrain where irregular or too smooth surface makes it consume more power for a wheeled locomotion.
It is little difficult to implement because of stability issues.
It comes with the variety of one, two, four, and six legs. If a robot has multiple legs then leg
coordination is necessary for locomotion.
The total number of possible gaits (a periodic sequence of lift and release events for each of the total
legs) a robot can travel depends upon the number of its legs.
In case of a two-legged robot (k=2), the number of possible events is N = (2k-1)! = (2*2-1)! = 3! = 6.
Hence there are six possible different events:
In case of k=6 legs, there are 39916800 possible events. Hence the complexity of robots is directly
proportional to the number of legs.
14
Wheeled Locomotion
It requires fewer number of motors to accomplish a movement. It is little easy to implement as there are
less stability issues in case of more number of wheels. It is power efficient as compared to legged
locomotion.
Standard wheel: Rotates around the wheel axle and around the contact
Castor wheel: Rotates around the wheel axle and the offset steering joint
Swedish 45° and Swedish 90° wheels: Omni-wheel, rotates around the contact point, around the wheel
axle, and around the rollers.
Slip/Skid Locomotion
In this type, the vehicles use tracks as in a tank. The robot is steered by moving the tracks with different
speeds in the same or opposite direction. It offers stability because of large contact area of track and
ground.
Components of a Robot
Robots are constructed with the following:
Power Supply: The robots are powered by batteries, solar power, hydraulic, or pneumatic power
sources.
Pneumatic Air Muscles: They contract almost 40% when air is sucked in them.
Muscle Wires: They contract by 5% when electric current is passed through them.
Sensors: They provide knowledge of real time information on the task environment. Robots are
equipped with vision sensors to be to compute the depth in the environment. A tactile sensor imitates
the mechanical properties of touch receptors of human fingertips.
Computer Vision
15
This is a technology of AI with which the robots can see. The computer vision plays vital role in the
domains of safety, security, health, access, and entertainment.
Computer vision automatically extracts, analyzes, and comprehends useful information from a single
image or an array of images. This process involves development of algorithms to accomplish automatic
visual comprehension.
Power supply
a processor
a software
Face Detection: Many state-of-the-art cameras come with this feature, which enables to read the face
and take the picture of that perfect expression. It is used to let a user access the software on correct
match.
Object Recognition: They are installed in supermarkets, cameras, high-end cars such as BMW, GM, and
Volvo.
Estimating Position: It is estimating position of an object with respect to camera as in position of tumor
in human’s body.
autonomous vehicles
biometrics
character recognition
face recognition
16
gesture analysis
geoscience
medical imagery
pollution monitoring
process control
remote sensing
robotics
transport
Applications of Robotics
The robotics has been instrumental in the various domains such as:
Industries: Robots are used for handling material, cutting, welding, color coating, drilling, polishing,
etc.
Military: Autonomous robots can reach inaccessible and hazardous zones during war. A robot named
Daksh, developed by Defense Research and Development Organization (DRDO), is in function to destroy
life-threatening objects safely.
Medicine: The robots are capable of carrying out hundreds of clinical tests simultaneously,
rehabilitating permanently disabled people, and performing complex surgeries such as brain tumors.
Artificial Intelligence 52
Exploration: The robot rock climbers used for space exploration, underwater drones used for ocean
exploration are to name a few.
Entertainment: Disney’s engineers have created hundreds of robots for movie making.
17
5. Neural Networks
Yet another research area in AI, neural networks, is inspired from the natural neural network of human
nervous system.
"...a computing system made up of a number of simple, highly interconnected processing elements,
which process information by their dynamic state response to external inputs.”
The human brain is composed of 100 billion nerve cells called neurons. They are connected to other
thousand cells by Axons. Stimuli from external environment or inputs from sensory organs are accepted
by dendrites. These inputs create electric impulses, which quickly travel through the neural network. A
neuron can then send the message to other neuron to handle the issue or does not send it forward.
ANNs are composed of multiple nodes, which imitate biological neurons of human brain. The neurons
are connected by links and they interact with each other. The nodes can take input data and perform
simple operations on the data. The result of these operations is passed to other neurons. The output at
each node is called its activation or node value.
Each link is associated with weight. ANNs are capable of learning, which takes place by altering weight
values. The following illustration shows a simple ANN:
Hidden
Input
Output
18
Types of Artificial Neural Networks
There are two Artificial Neural Network topologies: FeedForward and Feedback.
FeedForward ANN
In this ANN, the information flow is unidirectional. A unit sends information to other unit from which it
does not receive any information. There are no feedback loops. They are used in pattern
generation/recognition/classification. They have fixed inputs and outputs
Feedback ANN
Here, feedback loops are allowed. They are used in content addressable memories.
19
Working of ANNs
In the topology diagrams shown, each arrow represents a connection between two neurons and
indicates the pathway for the flow of information. Each connection has a weight, an integer number that
controls the signal between the two neurons.
If the network generates a “good or desired” output, there is no need to adjust the weights. However, if
the network generates a “poor or undesired” output or an error, then the system alters the weights in
order to improve subsequent results.
20
11.AI Issues and AI Terminology
AI is developing with such an incredible speed, sometimes it seems magical. There is an opinion among
researchers and developers that AI could grow so immensely strong that it would be difficult for humans
to control. Humans developed AI systems by introducing into them every possible intelligence they
could, for which the humans themselves now seem threatened.
Threat to Privacy: An AI program that recognizes speech and understands natural language is
theoretically capable of understanding each conversation on e-mails and telephones.
Threat to Human Dignity: AI systems have already started replacing the human beings in few
industries. It should not replace people in the sectors where they are holding dignified positions which
are pertaining to ethics such as nursing, surgeon, judge, police officer, etc.
Threat to Safety: The self-improving AI systems can become so mighty than humans that could be
very difficult to stop from achieving their goals, which may lead to unintended consequences.
AI Terminology
Here is the list of frequently used terms in the domain of A:
Term Meaning
Agent Agents are systems or software programs capable of autonomous, purposeful
and reasoning directed towards one or more goals. They are also called
assistants, brokers, bots, droids, intelligent agents, and software agents.
Autonomous Robot free from external control or influence and able to control itself
Robot independently.
Backward Strategy of working backward for Reason/Cause of a problem.
Chaining
Blackboard It is the memory inside computer, which is used for communication between the
cooperating expert systems.
Environment It is the part of real or computational world inhabited by the agent.
Forward Chaining Strategy of working forward for conclusion/solution of a problem.
Heuristics It is the knowledge based on Trial-and-error, evaluations, and experimentation.
Knowledge Acquiring knowledge from human experts and other resources.
Engineering
Percepts It is the format in which the agent obtains information about the environment.
Pruning Overriding unnecessary and irrelevant considerations in AI systems.
Rule It is a format of representing knowledge base in Expert System. It is in the form
of IF-THEN-ELSE.
Shell A shell is a software that helps in designing inference engine, knowledge base,
and user interface of an expert system.
Task It is the goal the agent is tries to accomplish.
Turing Test A test developed by Allan Turing to test the intelligence of a machine as
compared to human intelligence.
21