Unit 1 Introduction To AI
Unit 1 Introduction To AI
Something that characterizes humans and show rational behavior or best behavior is intelligence.
It is ability to apply knowledge in order to perform better in an environment.
Human mind:
• Can use common sense and past experience for problem solving.
Artificial Intelligence is a branch of Science which deals with helping machines to find solutions
to complex problems in a more human-like fashion. This generally involves borrowing
characteristics from human intelligence, and applying them as algorithms in a computer friendly
way. A more or less flexible or efficient approach can be taken depending on the requirements
established, which influences how artificial the intelligent behavior appears.
• “Giving machines ability to perform tasks normally associated with human intelligence.”
• Deals with issues like inference, reasoning, problem solving, knowledge representation,
planning, natural language processing, perceptron, etc.
AI was coined by John McCathy in 1956 who defines AI as science and engineering of making
intelligent machines especially intelligent computers.
Different definitions of AI are given by different books/writers. These definitions can be divided
into two dimensions.
Top dimension is concerned with thought processes and reasoning, where as bottom dimension
addresses the behavior.
The definition on the left measures the success in terms of fidelity of human performance,
whereas definitions on the right measure an ideal concept of intelligence, which is called
rationality.
• designed to convince the people that whether a particular machine can think or not
• Involves an interrogator who interacts with one human and one machine. Within the
given time the interrogator has to find out which one is human and which one is machine
Knowledge representation
Automated reasoning
Machine learning
Turing test avoid the physical interaction with human interrogator. Physical simulation of
human beings is not necessary for testing the intelligence.
The total Turing test includes video signals and manipulation capability so that the
interrogator can test the subject’s perceptual abilities and object manipulation ability.
To pass the total Turing test computer must have following additional capabilities:
• Imagine a native English speaker who knows no Chinese locked in a room full of boxes
of Chinese symbols (a data base) together with a book of instructions for manipulating
the symbols (the program).
• Imagine that people outside the room send in other Chinese symbols which, unknown to
the person in the room, are questions in Chinese (the input).
• And imagine that by following the instructions in the program the man in the room is able
to pass out Chinese symbols which are correct answers to the questions (the output).
• The program enables the person in the room to pass the Turing Test for understanding
Chinese but he does not understand a word of Chinese.
Once we have precise theory of mind, it is possible to express the theory as a computer program.
But unfortunately until up to now there is no precise theory about thinking process of human
brain. Therefore it is not possible to make the machines that think like human brain
Aristotle was one of the first who attempt to codify the right thinking that is irrefutable reasoning
process. He gave Syllogisms that always yielded correct conclusion when correct premises are
given.
For example:
Ram is a man
Man is mortal
->Ram is mortal
Let
p(x) -> x is man
q(x) -> x is mortal
Then from modus ponens q(x) ia also true. That is Ram is mortal
This study initiated the field of logic. The logicist tradition in AI hopes to create intelligent
systems using logic programming.
Problems:
It is not easy to take informal knowledge and state in the formal terms required by logical
notation, particularly when knowledge is not 100% certain.
Solving problem principally is different from doing it in practice. Even problems with certain
dozens of fact may exhaust the computational resources of any computer unless it has some
guidance as which reasoning step to try first.
Agent is something that acts. Computer agent is expected to have following attributes:
Autonomous control
Adapting to change
Rational behavior means doing the right thing. The right thing is that which is expected to
maximize goal achievement, given the available information. Rational Agent is one that acts so
as to achieve the best outcome or, when there is uncertainty, the best expected outcome. In this
approach the emphasis is given to correct inferences.
One way to act rationally is to reason logically to the conclusion and act on that conclusion. On
the other hand there are also some ways of acting rationally that can not be said to involve
inference. For Example, recoiling from a host stove is a reflex action that is usually more
successful than a slower action taken after careful deliberation.
Advantages: It is more general than laws of thought approach, because correct inference is just
one of several mechanisms for achieving rationality.
Applications of AI
Game playing
You can buy machines that can play master level chess for a few hundred dollars. There is some
AI in them, but they play well against people mainly through brute force computation--looking at
hundreds of thousands of positions. To beat a world champion by brute force and known reliable
heuristics requires being able to look at 200 million positions per second.
Speech recognition
In the 1990s, computer speech recognition reached a practical level for limited purposes. Thus
United Airlines has replaced its keyboard tree for flight information by a system using speech
recognition of flight numbers and city names. It is quite convenient. On the the other hand, while
it is possible to instruct some computers using speech, most users have gone back to the
keyboard and the mouse as still more convenient.
Computer vision
The world is composed of three-dimensional objects, but the inputs to the human eye and
computers' TV cameras are two dimensional. Some useful programs can work solely in two
dimensions, but full computer vision requires partial three-dimensional information that is not
just a set of two-dimensional views. At present there are only limited ways of representing three-
dimensional information directly, and they are not as good as what humans evidently use.
Expert systems
A ``knowledge engineer'' interviews experts in a certain domain and tries to embody their
knowledge in a computer program for carrying out some task. How well this works depends on
whether the intellectual mechanisms required for the task are within the present state of AI.
When this turned out not to be so, there were many disappointing results. One of the first expert
systems was MYCIN in 1974, which diagnosed bacterial infections of the blood and suggested
treatments. It did better than medical students or practicing doctors, provided its limitations were
observed. Namely, its ontology included bacteria, symptoms, and treatments and did not include
patients, doctors, hospitals, death, recovery, and events occurring in time. Its interactions
depended on a single patient being considered. Since the experts consulted by the knowledge
engineers knew about patients, doctors, death, recovery, etc., it is clear that the knowledge
engineers forced what the experts told them into a predetermined framework. In the present state
Heuristic classification
One of the most feasible kinds of expert system given the present knowledge of AI is to put some
information in one of a fixed set of categories using several sources of information. An example
is advising whether to accept a proposed credit card purchase. Information is available about the
owner of the credit card, his record of payment and also about the item he is buying and about
the establishment from which he is buying it (e.g., about whether there have been previous credit
card frauds at this establishment).
Foundations of AI
Different fields have contributed to AI in the form of ideas, viewpoints and techniques.
Philosophy:
Logic, reasoning, mind as a physical system, foundations of learning, language and rationality.
Mathematics:
Formal representation and proof algorithms, computation, undecidability, intractability,
probability.
Psychology:
adaptation, phenomena of perception and motor control.
Economics:
formal theory of rational decisions, game theory.
Linguistics:
Knowledge representation, grammar
Neuroscience:
Physical substrate for mental activities
Control theory:
One logical conclusion of omniscience is that anything that is omniscient has no need to
be intelligent.
Knowing everything means that for any possible situation or question, you already have
the solution. There is no need to involve logic, rational thought, or such. An
omniscient being need only be able to perceive, lookup the solution, and act on it.
In other words, it is only a big infinite database. Just as if you were to solve chess, all you'd need
to do is encode each possible position, and when your turn comes up, record the positions of
the pieces, and find the corresponding move to bring about the desired result.
Consider it solving reality.
Consider an AI that could understand us better than we understand ourselves. Possessing such a
deep understanding of how we think, work, and our skills and abilities to such an extent where it
could help us make decisions that would benefit us in the long run. It could direct our lives and
we could follow its recommendations and believe that it knows better than we do. The
algorithms and amount of data it processes creating a science of success, a systematic plan for
life satisfaction.
At first blush, that seems quite powerful and enticing. Why is that idea so attractive? It would be
nice if we could take some of the uncertainty out of life. Make tough decisions easier with
predictions based on processing data we do not fully understand. When we make decisions we
decide based on the information available to us, consider as many implications as possible, but if
we were able to know the best route instantly based on a hundred, a thousand or a million times
more variables than we could conceive of or even have access to, would not that result in a more
trustworthy result? It seems like it would be quite convenient to have a super intelligent AI life
coach.
If it said, “Don’t do drugs.” or “You should stay in and read Aristotle’s Ethics tonight rather than
go to that party.” or “Put in 12 hours of overtime this weekend to get the project done on time.”
or “You should buy the car off Craig’s list rather than lease the Tesla.” or “Put the money in
savings rather than buy the _____ you were looking at on Amazon.” Maybe even, “Don’t
divorce your spouse, work it out.” Would we even listen to its advice?
Brief history of AI
– Expert systems
- MYCIN to diagnose blood infections (Feigenbaum et al.)
- Introduction of uncertainty in reasoning.
– Increase in knowledge representation research.