• No results found

Pushpak Bhattacharyya

N/A
N/A
Protected

Academic year: 2022

Share "Pushpak Bhattacharyya"

Copied!
21
0
0

Loading.... (view fulltext now)

Full text

(1)

CS621: Introduction to Artificial Intelligence

Pushpak Bhattacharyya

CSE Dept., IIT Bombay

Lecture–1: Introduction

22 nd July 2010

(2)

Basic Facts

Faculty instructor: Dr. Pushpak Bhattacharyya (www.cse.iitb.ac.in/~pb)

TAs: Subhajit and Bhuban {subbo,bmseth}@cse

Course home page

www.cse.iitb.ac.in/~cs621-2010

www.cse.iitb.ac.in/~cs621-2010

Venue: S9, old CSE

1 hour lectures 3 times a week: Mon-9.30, Tue-10.30, Thu-

11.30 (slot 2)

(3)

Perspective

(4)

Disciplines which form the core of AI- inner circle

Fields which draw from these disciplines- outer circle.

NLP Robotics

Search,

Planning

Computer Vision

Expert Systems

Search, Reasoning,

Learning

(5)

From Wikipedia

Artificial intelligence (AI) is the intelligence of machines and the branch of

computer science that aims to create it. Textbooks define the field as "the study and design of intelligent agents"[1] where an intelligent agent is a system that perceives its environment and takes actions that maximize its chances of success.[2] John McCarthy, who coined the term in 1956,[3] defines it as "the science and engineering of making intelligent machines."[4]

The field was founded on the claim that a central property of humans, intelligence—

the sapience of Homo sapiens—can be so precisely described that it can be simulated by a machine.[5] This raises philosophical issues about the nature of the mind and limits of scientific hubris, issues which have been addressed by the mind and limits of scientific hubris, issues which have been addressed by myth, fiction and philosophy since antiquity.[6] Artificial intelligence has been the subject of optimism,[7] but has also suffered setbacks[8] and, today, has become an essential part of the technology industry, providing the heavy lifting for many of the most difficult problems in computer science.[9]

AI research is highly technical and specialized, deeply divided into subfields that often fail to communicate with each other.[10] Subfields have grown up around particular institutions, the work of individual researchers, the solution of specific problems, longstanding differences of opinion about how AI should be done and the application of widely differing tools. The central problems of AI include such traits as reasoning, knowledge, planning, learning, communication, perception and the ability to move and manipulate objects.[11] General intelligence (or

"strong AI") is still a long-term goal of (some) research.[12]

(6)

Topics to be covered (1/2)

Search

General Graph Search, A*, Admissibility, Monotonicity

Iterative Deepening, α-β pruning, Application in game playing

Logic

Formal System, axioms, inference rules, completeness, soundness and consistency

Propositional Calculus, Predicate Calculus, Fuzzy Logic, Description Logic, Web Ontology Language

Logic, Web Ontology Language

Knowledge Representation

Semantic Net, Frame, Script, Conceptual Dependency

Machine Learning

Decision Trees, Neural Networks, Support Vector Machines, Self

Organization or Unsupervised Learning

(7)

Topics to be covered (2/2)

Evolutionary Computation

Genetic Algorithm, Swarm Intelligence

Probabilistic Methods

Hidden Markov Model, Maximum Entropy Markov Model, Conditional Random Field

IR and AI

Modeling User Intention, Ranking of Documents, Query Expansion, Personalization, User Click Study

Personalization, User Click Study

Planning

Deterministic Planning, Stochastic Methods

Man and Machine

Natural Language Processing, Computer Vision, Expert Systems

Philosophical Issues

Is AI possible, Cognition, AI and Rationality, Computability and AI,

Creativity

(8)

AI as the forcing function

Time sharing system in OS

Machine giving the illusion of attending simultaneously with several people

Compilers

Compilers

Raising the level of the machine for better man machine interface

Arose from Natural Language Processing (NLP)

NLP in turn called the forcing function for AI

(9)

Allied Disciplines

Philosophy Knowledge Rep., Logic, Foundation of AI (is AI possible?)

Maths Search, Analysis of search algos, logic Economics Expert Systems, Decision Theory,

Principles of Rational Behavior

Psychology Behavioristic insights into AI programs Brain Science Learning, Neural Nets

Physics Learning, Information Theory & AI, Entropy, Robotics

Computer Sc. & Engg. Systems for AI

(10)

Goal of Teaching the course

Concept building: firm grip on foundations, clear ideas

Coverage: grasp of good amount of

Coverage: grasp of good amount of material, advances

Inspiration: get the spirit of AI,

motivation to take up further work

(11)

Resources

Main Text:

Artificial Intelligence: A Modern Approach by Russell & Norvik, Pearson, 2003.

Other Main References:

Principles of AI - Nilsson

AI - Rich & Knight

Knowledge Based Systems – Mark Stefik

Knowledge Based Systems – Mark Stefik

Journals

AI, AI Magazine, IEEE Expert,

Area Specific Journals e.g, Computational Linguistics

Conferences

IJCAI, AAAI

Positively attend lectures!

(12)

Modeling Human Reasoning

Fuzzy Logic

(13)

Fuzzy Logic tries to capture the human ability of reasoning with imprecise information

Works with imprecise statements such as:

In a process control situation, “ If the

temperature is moderate and the pressure is temperature is moderate and the pressure is high, then turn the knob slightly right”

The rules have “Linguistic Variables”, typically

adjectives qualified by adverbs (adverbs are

hedges).

(14)

Linguistic Variables

Fuzzy sets are named by Linguistic Variables (typically adjectives).

Underlying the LV is a numerical quantity

μ

tall

(h)

numerical quantity 1

E.g. For ‘tall’ (LV),

‘height’ is numerical quantity.

Profile of a LV is the

plot shown in the figure

shown alongside. 0 1 2 3 4 5 6 height h

1

0.4

4.5

(15)

Example Profiles

μ (w) μ

poor

(w)

μ

rich

(w)

wealth w

μ

poor

(w)

wealth w

(16)

Example Profiles

μ (x) μ (x)

μ

A

(x)

x

μ

A

(x)

x Profile representing

moderate (e.g. moderately rich)

Profile representing

extreme

(17)

Concept of Hedge

Hedge is an intensifier

Example:

LV = tall, LV

1

= very tall, LV

2

= somewhat

tall 1

somewhat tall tall

tall

‘very’ operation:

μ

very tall

(x) = μ

2tall

(x)

‘somewhat’ operation:

μ

somewhat tall

(x) = √(μ

tall

(x))

1

0 h

μ

tall

(h) very tall

(18)

An Example

Controlling an inverted pendulum:

θ d / dt

. θ

θ = = angular velocity

Motor i=current

(19)

The goal: To keep the pendulum in vertical position ( θ =0) in dynamic equilibrium. Whenever the pendulum departs from vertical, a torque is produced by sending a current ‘i’

Controlling factors for appropriate current Angle θ , Angular velocity θ .

Some intuitive rules

If θ is +ve small and θ . is –ve small then current is zero

If θ is +ve small and θ . is +ve small

then current is –ve medium

(20)

-ve med -ve small

-ve med

-ve

small Zero +ve small

+ve med

+ve med

+ve

small Zero Region of

interest

Control Matrix

θ . θ

Zero

+ve small +ve med

-ve small

-ve med -ve

small +ve

small Zero

Zero

(21)

Each cell is a rule of the form If θ is <> and θ . is <>

then i is <>

4 “Centre rules”

1. if θ = = Zero and θ . = = Zero then i = Zero

2. if θ is +ve small and θ . . = = Zero then i is –ve small

3. if θ is –ve small and θ . = = Zero then i is +ve small

4. if θ = = Zero and θ . is +ve small then i is –ve small

5. if θ = = Zero and θ . is –ve small then i is +ve small

References

Related documents

„ „ Chakrabarti D, Pushpak Bhattacharyya, Chakrabarti D, Pushpak Bhattacharyya, Creation of English and Hindi Verb Creation of English and Hindi Verb Hierarchies and

Another tourist example: this time in a restaurant setting in a different country restaurant setting in a different country (Manna, 1974). „ Facts: A tourist is in a restaurant in

Maths Search, Analysis of search algos, logic Economics Expert Systems, Decision Theory,. Principles of

„ One day, Sam left his small, yellow home to head towards the meat-packing plant where he worked, a task which was never completed, as on his way, he tripped, fell, and went

„ E: advise; H: paraamarsh denaa (advice give): Noun Incorporation- very common Indian Language Phenomenon. Incorporation very common Indian

Maths Search, Analysis of search algos, logic Economics Expert Systems, Decision Theory,. Principles of

Pushpak Bhattacharyya FUZZY SET THEORY (Contd)... Laws of Crisp Set

ash -- (strong elastic wood of any of various ash trees; used for furniture and tool handles and sporting goods such as baseball bats). „ The verb ash has 1 sense (no senses