• No results found

Lecture 01 Introduction to Artificial Intelligence

N/A
N/A
Protected

Academic year: 2020

Share "Lecture 01 Introduction to Artificial Intelligence"

Copied!
44
0
0

Loading.... (view fulltext now)

Full text

(1)

Lecture 01

Introduction to Artificial Intelligence

Tooba Mehtab

(2)
(3)

Course Objectives

The goal of this course is to provide a detail introduction

to artificial intelligence and searching techniques.

This course gives an overview of the key ideas such as

search, knowledge representation, rule based systems,

and learning that underlay the main subfields of artificial

intelligence and demonstrate the need for different

approaches for different problems.

This course also covers fundamental areas of, Local Search

Algorithms, Adversarial Searching and Neural Networks.

(4)

Course Learning Outcomes

Analyze and solve problems by a suitable AI method

(e.g., as a search problem, machine learning, CSP,

planning, etc.) to improve efficiency.

Design and carry out an empirical evaluation of

different algorithms on problem formalization and

state the conclusions that the evaluation supports.

Make use of methods from artificial intelligence in

the analysis, design and implementation of computer

programs.

(5)

Lecture Outline

Course overview

What is AI?

(6)

Course Code:

CSC-411

Course Title:

Artificial Intelligence

Credit Hours:

2

Abbreviation:

AI

Prerequisite:

Object Oriented Programming

(CSC-210)

Type of Course:

Core Course

Course Description:

Introduction, Knowledge Representation, Search, Informed Search,

Search in Game Playing, Symbolic Logic, Planning, Machine Learning,

Prolog, Python, Ruled based Expert System, Introduction to Natural

Language Processing, Computer Vision, Neural Networks.

(7)

Quizzes

10%

Assignments (Theoretical)

20%

Midterm Examination

20%

Final Examination

50%

Total 100%

(8)

Text Book

S. Russell, Artificial Intelligence: A Modern

Approach, Prentice Hall, (3

rd

edition)

Reference books

Ben Coppin, “Artificial Intelligence

Illuminated”, Jones and Bartlett illuminated

Series, 2004

Simon Haykin, “Neural Networks: A

Comprehensive Foundation”, Prentice Hall,

1999

(9)

https://www.youtube.com/watch?v=R0bVxbR

Cd-U

https://www.youtube.com/watch?v=QdQL11

(10)

Introduction to Artificial Intelligence

Artificial Intelligence is one of the newest

sciences which emerged after the

world war II

.

AI represents a big and open field.

The name

Artificial Intelligence

was adopted

for the first time in

1956

. (Computational

Intelligence)

Artificial Intelligence can be viewed as a

universal field: How to

automate

intellectual

(11)

Introduction to Artificial Intelligence

Goal of Artificial Intelligence:

(12)

Introduction to Artificial Intelligence

Engineering point of view:

Solve real-world problems using

knowledge

and

reasoning

Develop

concepts

,

theory

and

practice

of building

intelligent entities

(13)

Introduction to Artificial Intelligence

Scientific point of view:

Use computers as a platform for studying intelligence

itself

(14)

Computer science

AI

Image Processing

Symbolic learning

Machine learning

Pattern recognition

Robotics

Computer

Statistical Deep Learning

NN

vision

Learning

CNN RNN

Speech

NLP

Recognition

Computer

Vision

(15)

Introduction to Artificial Intelligence

What is artificial Intelligence?

Several definitions are available in the literature.

Thinking vs. Behavior

Model humans vs. Ideal standard (Rationality)

Rational System = system which does the

(16)

Introduction to Artificial Intelligence

Definitions fall into four categories:

Intelligence : Reference to judge

Human models

Rationality

Int

elli

ge

nc

e :

Go

al

to

re

ac

h

Thinking

“The exciting new effort to make computers think . . . machines with minds, in the full and literal sense.” (Haugeland, 1985)

“[The automation of] activities that we associate with human thinking, activities such as decision-making, problem solving, learning . . .” (Bellman, 1978)

-The study of mental faculties through the use of

computational models. (Charniak

and Mcdermott, 1985)

-The study of the computations that make it possible to perceive, reason and act. (Winston 1992)

Acting

-The art of creating machines that perform functions that require intelligence when performed by people. (Kurzweil, 1990) -The study of how to make computers do

things at which, at the moment, people are

better. (Rich and Knight, 1991)

- Computational intelligence is the study of the design of intelligent agents. (Poole et al.,1998).

- AI…is concerned with

(17)

Systems that act like humans

In this approach computer capabilities are

compared with human capabilities

For this purpose a special test of intelligent

behavior is defined. The test is called the

(18)

In a Turing test, the

interrogator must

determine which

respondent is the

computer and which

is the human

The Turing Test

Systems that act like humans

So when WILL we

(19)

Systems that act like humans

Turing (1950)

“Computing machinery and intelligence”.

A computer passes the test if a human interrogator, after posing

some written questions, cannot tell whether the written

responses come from a person or from a computer.

(20)

Systems that act like humans

To pass the Turing test the

computer

must have the following

capabilities

:

Natural language processing

: To communicate successfully.

Knowledge representation

: To store what it knows or hears.

Automated reasoning

: to answer questions and draw conclusions using

stored information.

Machine learning

: To adapt to new circumstances and to detect and

extrapolate patterns.

However ,the Turing test excludes direct

physical contact

between the machine and the interrogator. The so called the

Total Turing test

brings forward

two more requirements

:

1.

Computer vision

in order to perceive objects, and

(21)

Captcha

Completely Automated Public Turing test to tell Computers and

Humans Apart

CAPTCHA is sometimes described as a reverse Turing test

Tests to identify humans from bots on the Internet, to deny

services to WebCrawler's or spammers

(22)

Systems that think like humans

Program think like human → How humans think?

Requires Scientific theories of internal activities

of the brain (cognitive science and cognitive

neuroscience).

Cognitive science

integrates

computational

models

developed in the area of artificial

(23)

Systems that think rationally

The

Laws of Thought

approach is based on

pattern for argument structure arising from

Aristostle’s syllogisms.

This approach is related to

logics

, that is,

logical rules

make the mental mind of

humans

(24)

Systems that act rationally

Modern AI can be characterized as the

engineering of rational agents.

An agent is simply an entity that perceives

and acts. A rational agent is an entity that

perceives, reasons and acts rationally

(correctly).

Rational behavior

: doing the right thing

The right thing

which is expected to maximize

(25)

The Foundation of Artificial

Intelligence

Philosophy

Mathematics

Economics

Neuroscience

Psychology

Computer Engineering

Control Theory and Cybernetics

(26)

Linguistics Psychology

Philosophy

Electrical Engineering

Management & Management Science Computer Science

Intelligent Tutor Expert System

Natural Language Processing Automatic Programming

Machine Learning Speech Understanding

Robotic

Game Playing

Neural Network

Fuzzy Logic Genetic Algorithm

Computer Vision Data Mining Affective computing

AI Tree

(27)

PHILOSOPHY

(428 b.c. -present)

Can

formal rules

be used to draw

valid conclusions

?

Where does

knowledge

come from?

How does

knowledge lead to action

?

MATHEMATICS

(c. 800 -present)

What are the

formal rules

to draw valid conclusions?

(

formal logic

)

What can be

computed

? (

algorithms

)

How do we

reason

with uncertain information?

(

probability theory, fuzzy sets

, etc.)

(28)

ECONOMICS

(1776 -present)

How should we make decisions so as to maximize payoff

?

NEUROSCIENCE

(1861 -present)

How do human brains process information? (neural

networks)

PSYCHOLOGY

(1879 -present)

How do humans and animals think and act? (behaviorism,

cognitive psychology, cognitive science)

(29)

COMPUTER ENGINEERING

(1940 -present)

How can we build an efficient computer?

CONTROL THEORY AND CYBERNETICS

(1948 -present)

How can artifacts (man made objects) operate under

their own control? (

automatic

)

LINGUISTICS

(1957 -present)

How does language relate to thought?

(natural language processing, knowledge representation)

(30)

History of Artificial Intelligence

Expectations and Initial enthusiasm

(1952 – 1969) Birth of AI

(1956)

Early days

(1943-1955)

Reality Check (1966–1973) Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

1943: first piece of AI work: Warren McCulloch and Walter Pitts

Model of artificial neurons.

Mathematical learnable functions that generate “on/off” depending on inputs (logic gates) Any computable function can be computed by a network of connected neurons.

Suitably defined networks can learn.

1949: Hebbian learning

A mechanism for updating the connection strength of a neuron.

Today, neurologists have confirmed that something similar to Hebbian learning indeed is going on in our brain when we are learning.

1950: Turing test complete vision of AI in “computing machinery and Intelligence”

1951: first neural network computer

Implemented by M. Minsky and D. Edmonds

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

(31)

History of Artificial Intelligence

1956: Dartmouth Conference

Organized by John McCarthy and colleagues for starting a new area in studying

computation and intelligence.

John McCarthy introduced the term “artificial intelligence” in the conference.

The next 20 years witnessed steady growth of the field led by the pioneers

appeared in the Dartmouth conference.

Expectations and Initial enthusiasm

(1952 – 1969)

Birth of AI (1956)

Reality Check (1966–1973)

Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

Early days (1943-1955)

(32)

History of Artificial Intelligence

1963: Thomas Evan’s program ANALOG

Solved analogy problems in an IQ test.

1965: ELIZA

Simulates a dialog with a computer in English on any topic.

Became popular when programmed to simulate a psychotherapist (Fedora’s Emacs).

1967: Dendral program (developed at Stanford)

- First successful program for scientific reasoning – one of the earlier rule based expert systems.

- A program that can infer molecular structures given the information provided by a mass spectrometer

Expectations and Initial enthusiasm

(1952 – 1969)

Birth of AI (1956)

Reality Check (1966–1973)

Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

Early days (1943-1955)

(33)

History of Artificial Intelligence

Series of disappointments and frustrations

AI was poured little buckets of “reality cold water”

Problems:

- Most early systems contain little or no knowledge of their subject matter

Example: Poor performance of earlier machine translation system (Russian ⇔English): “the spirit is willing but the flesh is weak” was translated to “the vodka is good but the meat is rotten”.

- Computational Intractability of AI problems

Theory of computational complexity was not developed. Polynomial solvable problems, NP-completeness, etc

People thought a faster machine could solve any hard problem. Expectations and

Initial enthusiasm (1952 – 1969) Birth of AI

(1956)

Reality Check (1966–1973)

Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

Early days (1943-1955)

(34)

History of Artificial Intelligence

- 1971: T. Winograd’s Ph.D. thesis (MIT)

demonstrated a system that can understand English in a micro-domain (the block world).

-1972: PROLOG was developed

- 1974: MYCIN was developed by Ted Shortliffe

Expert system for medical diagnosis. Sometimes called the first expert system.

- And many other works…

Expectations and Initial enthusiasm

(1952 – 1969) Birth of AI

(1956)

Reality Check (1966–1973)

Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

Early days (1943-1955)

(35)

History of Artificial Intelligence

AI started to become industrially and commercially beneficial

- 1982: R1 was deployed at DEC – an expert system that saved the company around $40M / year

- Du Pont had 100 in use and an estimated 500 in development at late 90’s to early 21st century

At an international level, AI was considered a part of a country’s technological

developments

- Japan: “First Generation” project (10 year plan to build intelligence machines running in Prolog)

- USA: Microelectronics and Computer Technology Corporation (MCC) was formed in response

- Britain: Funding for AI was reinstated Expectations and

Initial enthusiasm (1952 – 1969) Birth of AI

(1956)

Reality Check (1966–1973)

Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

Early days (1943-1955)

(36)

History of Artificial Intelligence

- In the mid-1980s at least four different groups reinvented the back-propagation

learning algorithm first found in 1969 by Bryson and Ho.

Expectations and Initial enthusiasm

(1952 – 1969) Birth of AI

(1956) Early days (1943-1955) Reality Check (1966–1973) Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

(37)

History of Artificial Intelligence

- Work of the physicist John Hopfield (1982) on using techniques from statistical

mechanics.

- Connectionist models of intelligent systems competitor to the symbolic models

(Newell and Simon) and logicist approach (McCarthy). (complementary approaches

in fact).

- Several revolutions in many fields: pattern recognition, computer vision, robotics…

- Emergence of intelligent agents.

Expectations and Initial enthusiasm

(1952 – 1969) Birth of AI

(1956) Early days (1943-1955) Reality Check (1966–1973) Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

(38)

History of Artificial Intelligence

- The work of Allen Newell, John Laird, and Paul Rosenbloom on SOAR (Newell.

1990: Laird el al., 1987) is the best-known example of a complete agent

architecture.

-AI technologies under lie many Internet tools, such as search engines,

recommender systems, and Web site construction systems

Expectations and Initial enthusiasm

(1952 – 1969) Birth of AI

(1956) Early days (1943-1955) Reality Check (1966–1973) Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

(39)

History of Artificial Intelligence

-Data rather than which algorithm sometimes more important

-Billions of words, pictures, base pairs of genomic sequences, …

-Yarowsky (1995) showed that a simple bootstrapping approach over a very large

corpus could be effective for WSD (word-sense disambiguation). [e.g. plant]

-Perhaps the knowledge bottleneck will be solved by learning methods over very

large datasets rather than by hand-coding knowledge.

Expectations and Initial enthusiasm

(1952 – 1969) Birth of AI

(1956) Early days (1943-1955) Reality Check (1966–1973) Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

(40)

History of Artificial Intelligence

-2011: IBM Watson wins Jeopardy

-2012: US state of Nevada permits driverless cars

-2014: "Deep Learning": recommendation systems, image tagging, board games,

speech translation, pattern recognition

-2016: Google AlphaGo beats the world's 2nd best Go player, Lee Se-dol

Expectations and Initial enthusiasm

(1952 – 1969) Birth of AI

(1956) Early days (1943-1955) Reality Check (1966–1973) Knowledge-bas ed Systems (1969 – 1979)

AI becomes an industry (1980–Present)

Return of Neural Networks (1986–present)

AI Adopts Sci. Methods (1987-Present)

Emergence of Intelligent Agents

(1995–Present)

Large Data Sets (2001–Present)

(41)

The state-of-the-art

• Robotic Vehicles

• Speech recognition

• Autonomous planning and

scheduling

• Game playing

• Spam fighting, fraud detection

• Robotics

(42)

AI can help us to solve difficult, real-world problems,

creating new opportunities in business, engineering, and

many other application areas.

The history of AI has had cycles of success, misplaced

optimism, and resulting cutbacks in enthusiasm and

funding. There have also been cycles of introducing new

creative approaches and systematically refining the best

ones.

AI has advanced more rapidly in the past decade because

of greater use of the scientific method in experimenting

with and comparing approaches.

(43)

1.

Define in your own words:

a)

intelligence,

b)

artificial intelligence in four categories,

c)

agent,

d)

rationality,

e)

logical reasoning.

2.

To what extent are the following computer systems instances of artificial

intelligence:

Supermarket bar code scanners.

Web search engines.

Voice-activated telephone menus.

Internet routing algorithms that respond dynamically to the state of the

network.

4.

Why would evolution tend to result in systems that act rationally? What goals are

such systems designed to achieve?

5.

What are the foundations of AI?

(44)

5.

Is Artificial Intelligence a science, or is it engineering? Or neither

or both? Explain.

6.

Examine the AI literature to discover whether the following tasks

can currently be solved by computers:

a)

Playing a decent game of table tennis (Ping-Pong).

b)

Driving in the center of Cairo, Egypt.

c)

Driving in Victorville, California.

d)

Buying a week’s worth of groceries at the market.

e)

Buying a week’s worth of groceries on the Web.

f)

Playing a decent game of bridge at a competitive level.

g)

Discovering and proving new mathematical theorems.

h)

Writing an intentionally funny story.

i)

Giving competent legal advice in a specialized area of law.

j)

Translating spoken English into spoken Swedish in real time.

k)

Performing a complex surgical operation.

References

Related documents

• Greedy best-first search resembles depth-first search since it prefers to follows a single path all the way to the goal, but it will backup when it hits a dead end... Properties

IN3050/IN4050 Introduction to Artificial Intelligence and Machine Learning... Deep

• Parent is a term representing S’s immediate parent on the best known path from an initial state to S. • Arcs is either nil (no arcs recorded, i.e. S is in the set open) or a list

Would terms like 'machine learning', 'expert systems', 'knowledge-based systems' and indeed the term ' artificial intelligence' be allowed.. A particularly devastating

We develop a form factor expansion to compute such correlation functions and we show that, while the dynamics at the Euler scale is completely determined by the density of

AI attacks, strong/narrow AI, KWARC topics PROLOG Complexity, Agents, Environments Agent Types, Rationality Problem solving, Tree Search Uninformed search Informed Heuristic

AI attacks, strong/narrow AI, KWARC topics PROLOG Complexity, Agents, Environments Agent Types, Rationality Problem solving, Tree Search Uninformed search Informed Heuristic

AI attacks, strong/narrow AI, KWARC topics PROLOG Complexity, Agents, Environments Agent Types, Rationality Problem solving, Tree Search Uninformed search Informed Heuristic