1.1 Artificial Intelligence: Unit 1
1.1 Artificial Intelligence: Unit 1
AI is the study of how to make computers make things which at the moment people do better.
Intelligence is the computational part of the ability to achieve goals in the world.
• Intelligence is the “the capacity to learn and solve problems”.
• in particular,
• the ability to solve novel problems
• the ability to act rationally
• the ability to act like humans
• What is AI?
Thinking Thinking
humanly rationally
Acting Acting
humanly rationally
• Examples:
• Speech recognition, Smell, Face, Object, Intuition, Inferencing, Learning new skills,
Decision making, Abstract thinking
• e.g., speech recognition and understanding and synthesis
• e.g., image understanding
• e.g., ability to take actions, have an effect
• Reasoning and Planning
• modeling the external world
• solving new problems, planning, and making decisions
• ability to deal with unexpected problems, uncertainties
•
1.2 Academic Disciplines relevant to AI
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
1.6 History of AI
• 1943: early beginnings
– McCulloch & Pitts: Boolean circuit model of brain
• 1950: Turing
– Turing's "Computing Machinery and Intelligence“
• 1956: birth of AI
– Dartmouth meeting: "Artificial Intelligence“ name adopted
• 1950s: initial promise
– Early AI programs, including
– Samuel's checkers program
– Newell & Simon's Logic Theorist
– 1955-65: “great enthusiasm”
– Newell and Simon: GPS, general problem solver
– Gelertner: Geometry Theorem Prover
– McCarthy: invention of LISP
• 1966—73: Reality dawns
– Realization that many AI problems are intractable
– Limitations of existing neural network methods identified
• Neural network research almost disappears
• 1969—85: Adding domain knowledge
– Development of knowledge-based systems
– Success of rule-based expert systems,
• E.g., DENDRAL, MYCIN
• But were brittle and did not scale well in practice
• 1986-- Rise of machine learning
– Neural networks return to popularity
– Major advances in machine learning algorithms and applications
– 1990-- Role of uncertainty
– Bayesian networks as a knowledge representation framework
– 1995-- AI as Science
– Integration of learning, reasoning, knowledge representation
– AI methods used in vision, language, data mining, etc
–
1.7 Different Types of Artificial Intelligence
1. Modeling exactly how humans actually think
2. Modeling exactly how humans actually act
3. Modeling how ideal agents “should think”
4. Modeling how ideal agents “should act”
Thinking humanly
• Decision theory/Economics
– Set of future states of the world
– Set of possible actions an agent can take
– Utility = gain to an agent for each action/state pair
– An agent acts rationally if it selects the action that maximizes its “utility”
• Or expected utility if there is uncertainty
• Emphasis is on autonomous agents that behave rationally (make the best
predictions, take the best actions)
– on average over time
within computational limitations (“bounded rationality”)
Environment
Environment
Sensors
Percept (Observations)
Agent Function
Agent
Actuator
Action Environment
Environment
1.10 Environment
Task environment – the problem that the agent is a solution to.
• Discrete / Continuous − If there are a limited number of distinct, clearly defined, states
of the environment, the environment is discrete (For example, chess); otherwise it is
continuous (For example, driving).
• Single agent / Multiple agents − The environment may contain other agents which may
be of the same or different kind as that of the agent.
• Accessible / Inaccessible − If the agent’s sensory apparatus can have access to the
complete state of the environment, then the environment is accessible to that agent.
• Agent AutonomyAn agent is omniscient if it knows the actual outcome of its actions. Not
possible in practice.
• An environment can sometimes be completely known in advance.
• Exploration: sometimes an agent must perform an action to gather information (to
increase perception).
• Autonomy: the capacity to compensate for partial or incorrect prior knowledge (usually
by learning).
1.14.1 Strong AI
Strong AI is about building a machine that is capable of emulating the human mind to such
an extent that it matches or exceeds it. Strong AI requires the intelligent agent to think
outside and beyond the programming guidelines given to it. These machines should be self
aware and their overall intellectual ability needs to be indistinguishable from that of a human
being.
1.14.2 Weak AI
Weak AI deals with the creation of some form of artificial intelligence that even if reasons
and solve problems does not demonstrate mental states and consciousness as is expected
from Strong AI.Weak AI is a system that uses a set of pre-programmed rules to apply them to
any task to reach a successful completion.Simply it is a complex set of "if-then" rules of
rationality. Weak AI is not as "hi fi" as Strong AI, but Weak AI is more practical and is
being put to use rapidly.
1.15 PEAS
• PEAS: Performance measure, Environment, Actuators, Sensors
• Must first specify the setting for intelligent agent design
• Consider, e.g., the task of designing an automated taxi driver:
– Performance measure
– Environment
– Actuators
– Sensors
• Must first specify the setting for intelligent agent design
1.16 Vision
Vision is the process of discovering what is present in the world and where it is by
looking.
• In the simplest terms, computer vision is the discipline of "teaching machines how to see.
• There are two major themes in the computer vision literature: 3D geometry and
recognition.
• The first theme is about using vision as a source of metric 3D information: given one or
more images of a scene taken by a camera with known or unknown parameters, how can
we go from 2D to 3D, and how much can we tell about the 3D structure of the
environment pictured in those images?
• The second theme, by contrast, is all about vision as a source of semantic information:
can we recognize the objects, people, or activities pictured in the images, and understand
the structure and relationships of different scene components just as a human would?
Natural Language Processing is a technique where mechine can become more human and
there by reducing the distance between human and the mechine can be reduced.
Therefore in simple sence NLP makes human to communicate with the mechine easily.
NLP is the branch of computer science focused on developing systems that allow
computers to communicate with people using everyday language. Also called
Computational Linguistics. Also concerns how computational methods can aid the
understanding of human language
Applications
• Text-based applications
This involves applications such as searching for a certain topic or a keyword in a data
base, extracting information from a large document, translating one language to another
or summarizing text for different purposes.
Dialogue based applications
Some of the typical examples of this are answering systems that can answer questions,
services that can be provided over a telephone without an operator, teaching systems,
voice controlled mechines (that take instructions by speech) and general problem solving
systems.
NLP Terminology
• Phonology − It is study of organizing sound systematically.
• Morphology − It is a study of construction of words from primitive meaningful units.
• Morpheme − It is primitive unit of meaning in a language.
• Syntax − It refers to arranging words to make a sentence. It also involves determining the
structural role of words in the sentence and in phrases.
• Semantics − It is concerned with the meaning of words and how to combine words into
meaningful phrases and sentences.
• Pragmatics − It deals with using and understanding sentences in different situations and
how the interpretation of the sentence is affected.
• Discourse − It deals with how the immediately preceding sentence can affect the
interpretation of the next sentence.
• World Knowledge − It includes the general knowledge about the world.
Steps in NLP