Ai gentle intro

51
ARTIFICIAL INTELLIGENCE A Gentle, Jargon-Free Introduction K. Raghunathan Chartered Engineer FIETE, MIE, MCSI, MISTE, MISTD, MIIMM Retd Dy Controller (R&D)

description

 

Transcript of Ai gentle intro

Page 1: Ai gentle intro

ARTIFICIAL INTELLIGENCE

A Gentle, Jargon-Free Introduction

K. RaghunathanChartered Engineer

FIETE, MIE, MCSI, MISTE, MISTD, MIIMMRetd Dy Controller (R&D)

Page 2: Ai gentle intro

Section 1

Page 3: Ai gentle intro

What is AI ?

• Study/Science of –Intelligent Machines

–Making Machines Intelligent

Page 4: Ai gentle intro

AI & Computers

• Computers seem to have some Intelligence– Solve Math problems [Arithmetic, Algebra, Calculus,

Geometry etc]– Do text processing– Control Eqpt & Processes in Industry– Communicate

• Natural Belief : computers can be made more intelligent

• So, AI is considered a Branch of Computer Science

Page 5: Ai gentle intro

Machines & Humans

• Right from Cavemen, humans are inventing new Tools, Instruments & Machines– To do all our hard work– Even for entertainment– To reduce/avoid our physical/mental strain

Page 6: Ai gentle intro

Human Tasks

• What are our everyday tasks ?

– Professional

– Personal

Page 7: Ai gentle intro

Functions of our Sensory Organs

• Eye– See

• Ear– Hear

• Tongue / Mouth– Taste, Speak

• Nose– Smell, Breathe

• Skin / Limbs– Feel, do Physical Work – Walk, Climb, Lift, Throw, Eat etc

Page 8: Ai gentle intro

Sixth Sense

• Comprehend [Understand]– Vision– Language

• Remember

• Plan

• Decide

• Learn

• Emote

Page 9: Ai gentle intro

Brain & Mind

• Concrete & Abstract

• Tangible & Intangible

• Similar to Computer

• Like Hardware & Software

Page 10: Ai gentle intro

What we still do ourselves ?

• Logical Thinking & Reasoning

• Making wise decisions – often with Incomplete, Vague & Uncertain

facts at hand

AI attempts to fill this gap

Page 11: Ai gentle intro

Intelligent Machines

• Machines that can– Think– Decide– Solve– Plan– Learn

• Thinking Machines

• Artificial Intelligence

Page 12: Ai gentle intro

Can Machines Think ?

• Some believe so & some don’t

• What Level of Intelligence will make a Machine qualify as Intelligent Machine or Thinking Machine ?

• The Turing Test

Page 13: Ai gentle intro

The Turing Test

Page 14: Ai gentle intro

The Turing Test

• A machine can be deemed intelligent

• If it can make a human think that

• he/she is talking to a human

• & not to a machine

Page 15: Ai gentle intro

Intelligent Machines

• A machine can be considered Intelligent

• if it can solve complex problems

• requiring a high level of intelligence

• normally found only in human beings

Page 16: Ai gentle intro

AI – Science or Art ?• Science

– Multi-disciplinary & Inter-disciplinary

• Art– Very Intricate Fine Art– Like Painting & Sculpting

• Science– involves designing machines

• Art– involves programming

Page 17: Ai gentle intro

Inputs to AI

• Maths [Symbolic Logic]• Physiology [Working of Body Parts of Living

Organisms] • Philosophy & Psychology [Human Logic &

Behaviour]• Cognitive Science [Perception, Understanding]• Cybernetics [Communication & Control in

Animals & Machines]• Electronics [Making Machines]• Computer Science [Programming the Machine's

Behaviour]

Page 18: Ai gentle intro

AI’s Output

• Used by almost all Sciences– Including Computer Science

• Maximum dependency on AI– Robotics & Neural Networks– Considered part of AI

Page 19: Ai gentle intro

Section 2

Page 20: Ai gentle intro

Back to Square One

What is Intelligence ?

Let us have your Opinions please

Page 21: Ai gentle intro

Intelligence

• Abstract

• Eludes accurate, comprehensive definition

• Easier to understood than to define

• Seems to be directly proportional to Knowledge

Page 22: Ai gentle intro

Intelligence (cont’d)

• The Albert Einstein Anecdote

Page 23: Ai gentle intro

Intelligence (contd)

• Knowledge [Lots of it !]

• Ability to put knowledge to use

• Pertains to what we can do with our 5 Senses

• Pertains more to what we can do with our 6th Sense !

Page 24: Ai gentle intro

What is Knowledge ?

Anybody wish to define ?

Page 25: Ai gentle intro

Knowledge

• Abstract

• Eludes accurate, comprehensive definition

• Easier to understand than to define

• AI has to deal with various aspects of Knowledge

Page 26: Ai gentle intro

Knowledge (contd)

• Classification• Representation [including Storage in

Computer Memory]• Acquisition [Learning]• Manipulation

– Searching & Matching – Reasoning [Inference, Drawing Conclusions,

Decision Making, Problem Solving]

• Planning

Page 27: Ai gentle intro

Classification of Knowledge

• Factual or Procedural

• Certain or Uncertain

• Consistent or Inconsistent [vary with time, place, person or situation]

• Well-Defined [Crisp] or Vague [Fuzzy]

• Complete or Incomplete [Partial]

Page 28: Ai gentle intro

Reasoning Techniques

• Depend on the Type of Knowledge being dealt with

• Certain, consistent & crisp : Predicate Logic

• Uncertain : Probablistic Reasoning• Inconsistent : Truth Maintenance Systems• Fuzzy : Fuzzy Logic• Partial : Statistical & Probablistic

Reasoning

Page 29: Ai gentle intro

Reasoning Techniques (cont’d)

• Ad hoc Methods

– Closed World Assumption– Circumscription– Abductive Reasoning– Modal & Temporal Logics

Page 30: Ai gentle intro

Learning Methods

• By Rote [by Reading]

• By being Taught

• From Experience

• By Analogy [From Examples]

• By Drawing Conclusions– From other known Facts

Page 31: Ai gentle intro

What Humans are Good at

An Interactive Experiment

1

2

Page 32: Ai gentle intro

What Humans are Good at

• Humans seem to be good at – Reasoning with Uncertain, Fuzzy & Partial

Knowledge– Learning from Experience & Examples

• AI Research pays more attention to these Areas

Page 33: Ai gentle intro

AI Techniques

• Procedures & Algorithms employed in AI• Compared to those used in other Sciences

– Not merely Formulae– Use different approaches– More efficient, effective & intelligent– Profuse use of Heuristics

• Heuristic– “Educated Guess”– Born out of Past Experience

Page 34: Ai gentle intro

Heuristics

- An Interactive Experiment

[opening a book at a desired page]

Page 35: Ai gentle intro

Heuristic Search Techniques

• Many Methods available

• Most Noteworthy are:– A*– MiniMax with Alpha-Beta Pruning

Page 36: Ai gentle intro

Expert Systems&

Decision Support Systems

• A Speciality of AI

• Very High Level of Intelligence & Domain Knowledge

• a Level normally found only in Experts in that Field

Page 37: Ai gentle intro

Expert Systems

Knowledge

Base

Search

Engine

Match

Logic

Inference

Logic

User

Inter

face

Query

Response

Page 38: Ai gentle intro

Section 3

Page 39: Ai gentle intro

Miscellaneous Topics

• Miscellaneous, but nevertheless Essential

• Automation– Useful in Hazardous Environs

• Computer Vision– Object Recognition

• Natural Language Processing• Pattern Recognition & Pattern Classification

– Data Mining, Image Processing• Guide/Help/Rescue• Weather/Business Forecasting• Neural Networks

Page 40: Ai gentle intro

Vision

• Object Recognition

• Range Estimation

• Emotion Recognition

Page 41: Ai gentle intro

Natural Language Processing

• Vocabulary

• Ambiguity– Human Languages are Context-Sensitive– One word having many meanings– Many words having same/similar meaning– Accent varies from place to place

• Real Life Examples

• Feelings/Emotions

Page 42: Ai gentle intro

AI Milestones

• Too many to list here

• Early days of AI– Mycin - Medical Diagnosis– R - Design of Computer HW Architecture– Deep Blue - Chess Champion– Eliza - Conversationist– Racter - Writes Books

Page 43: Ai gentle intro

AI Milestones (2)

• Modern days:

• Expert Systems & Decision Support Systems in a wide range of fields– especially Medicine, Finance & Entertainment

• Wide range of Medical Eqpt - CAT Scan etc• Analysis & Prediction - Economics, Stockmarket,

Agriculture, Genetics, Elections• 3D Computer Games & Walk-throughs• Helpful Robots - Rescue, Operating in

Hazardous environments

Page 44: Ai gentle intro

AI Milestones (3)

• Spell-Check & Word Completion

facility in Text Processing Programs

• Voice Commands to open/close files etc

• Programs to read text, to teach Languages

• 3D & Walk-Through Games/Presentations

Page 45: Ai gentle intro

Basic Hurdle• Intelligent Machine = Thinking Machine

• To make a machine think, act & react like a human:

• We should first understand how humans think, act & react

• Why a person thinks, acts & reacts in a particular way

• Why different persons think, act & react differently

• Why same person thinks, acts & reacts differently at different times, even if situations are similar

Page 46: Ai gentle intro

Basic Hurdle (cont’d)

• Real life examples– Bernard Shaw & Isadora Duncan Episode– Once I took my wife to a movie ….

Page 47: Ai gentle intro

Basic Hurdle (cont’d)

• Unfortunate Reality for AI scientists • God Almighty has a habit of making

humans – so varied, – so un-understandable – so unpredictable !

• Given such a starting point– How are we going to make machines that

would behave like humans ?

Page 48: Ai gentle intro

Basic Hurdle (cont’d)

• Everyone says “AI is a difficult subject".– Not only Students, even Faculty say so– except the Enthusiastic & Optimistic AI

Researcher, of course

• The Ground Reality is:– Humans are so difficult to understand !

• WE are our own Hurdles !

Page 49: Ai gentle intro

Concluding Remarks

• In spite of the Enormity of the Obstacles, AI marches ahead, relentlessly

• The progress is slow• New Findings & Achievements are Sporadic, few

& far between• But that is no reason to lose hope

– We have achieved many things, which were once considered impossible

– We have set foot on the Moon

• Let us hope that one day we will see The Ultimate Intelligent Machine

Page 50: Ai gentle intro

Any Questions ?

Page 51: Ai gentle intro

Thank You !