Artificial intelligence

22
Artificial Intelligence By J.G.M.Jagadeesh Kumar DJR CET CSE.Dept

description

In which we try to explain why we consider artificial intelligence to be a subject most worthy of study, and in which we try to decide what exactly it is, this being a good thing to decide before embarking.

Transcript of Artificial intelligence

Page 1: Artificial intelligence

Artificial Intelligence

ByJ.G.M.Jagadeesh Kumar

DJR CETCSE.Dept

Page 2: Artificial intelligence

What is AI?

• Artificial Intelligence, or AI, is the ability of a compter to act like a human being.

Thinking humanly Thinking rationally

Acting humanly Acting rationally

Page 3: Artificial intelligence

3

Task Domains of AI• Mundane Tasks:

– Perception• Vision• Speech

– Natural Languages• Understanding• Generation• Translation

– Common sense reasoning– Robot Control

• Formal Tasks– Games : chess, checkers etc– Mathematics: Geometry, logic,Proving properties of programs

• Expert Tasks:– Engineering ( Design, Fault finding, Manufacturing planning)– Scientific Analysis– Medical Diagnosis– Financial Analysis

Page 4: Artificial intelligence

4

AI Technique• Intelligence requires Knowledge• Knowledge posesses less desirable properties such as:

– Voluminous– Hard to characterize accurately– Constantly changing– Differs from data that can be used

• AI technique is a method that exploits knowledge that should be represented in such a way that:– Knowledge captures generalization– It can be understood by people who must provide it– It can be easily modified to correct errors.– It can be used in variety of situations

Page 5: Artificial intelligence

5

The State of the Art• Computer beats human in a chess game.

• Computer-human conversation using speech recognition.

• Expert system controls a spacecraft.

• Robot can walk on stairs and hold a cup of water.

• Language translation for webpages.

• Home appliances use fuzzy logic.

• ......

Page 6: Artificial intelligence

6

Tic Tac Toe

• Three programs are presented :– Series increase– Their complexity– Use of generalization– Clarity of their knowledge– Extensability of their approach

Page 7: Artificial intelligence

7

Introductory Problem: Tic-Tac-Toe

X X o

Page 8: Artificial intelligence

8

Introductory Problem: Tic-Tac-ToeProgram 1:Data Structures: • Board: 9 element vector representing the board, with 1-9 for each square. An

element contains the value 0 if it is blank, 1 if it is filled by X, or 2 if it is filled with a O

• Movetable: A large vector of 19,683 elements ( 3^9), each element is 9-element vector.

Algorithm:

1. View the vector as a ternary number. Convert it to a decimal number.

2. Use the computed number as an index into Move-Table and access the vector stored there.

3. Set the new board to that vector.

Page 9: Artificial intelligence

9

Introductory Problem: Tic-Tac-ToeComments:This program is very efficient in time.

1. A lot of space to store the Move-Table.

2. A lot of work to specify all the entries in the Move-Table.

3. Difficult to extend.

Page 10: Artificial intelligence

Virtue ethics

Difficult to predict what virtues to give Artificial life because it is a complex technology. Unable to see the results of these virtues may be a problem because there are risks involved with some virtues overpowering others.

What preprogrammed “virtues” should computers have to allow them to be morally right? Can virtues make an AI entity behave morally at all?

Wisdom, compassion, courage, strength, obedience, carefulness…?

Page 11: Artificial intelligence
Page 12: Artificial intelligence

ADVANTAGES (Factual Changes)

Smarter artificial intelligence promises to replace human jobs, freeing people for other pursuits by automating manufacturing and transportations.

Self-modifying, self-writing, and learning software relieves programmers of the burdensome task of specifying the whole of a program’s functionality—now we can just create the framework and have the program itself fill in the rest (example: real-time strategy game artificial intelligence run by a neural network that acts based on experience instead of an explicit decision tree).

Self-replicating applications can make deployment easier and less resource-intensive.

AI can see relationships in enormous or diverse bodies of data that a human could not

Page 13: Artificial intelligence
Page 14: Artificial intelligence
Page 15: Artificial intelligence

Disadvantages (Risks)• Potential for malevolent

programs, “cold war” between two countries, unforeseen impacts because it is complex technology, environmental consequences will most likely be minimal.

Page 16: Artificial intelligence

• Self-modifying, when combined with self-replicating, can lead to dangerous, unexpected results, such as a new and frequently mutating computer virus.

• As computers get faster and more numerous, the possibility of randomly creating an artificial intelligence becomes real.

• Military robots may make it possible for a country to indiscriminately attack less-advanced countries with few, if any, human casualties.

• Rapid advances in AI could mean massive structural unemployment

• AI utilizing non-transparent learning (i.e. neural networks) is never completely predictable

Page 17: Artificial intelligence

The Future?• Idea of Artificial Intelligence is

being replaced by Artificial life, or anything with a form or body.

• The consensus among scientists is that a requirement for life is that it has an embodiment in some physical form, but this will change. Programs may not fit this requirement for life yet.

Page 18: Artificial intelligence

Should we start caring yet?

• Very sophisticated—perhaps even sentient—AI may not be far off; with sufficient computation power (such as that offered by quantum computers) it is possible to “evolve” AI without much programming effort.

• Today, concerns include mutating viruses and the reliability of AI (you don’t want software directing your car into a tree).

Page 19: Artificial intelligence

What should happen

• When programs that appear to demonstrate sentience appear (intelligence and awareness), a panel of scientists could be assembled to determine if a particular program is sentient or not.

• If sentient, it will be given rights, so, in general, companies will try to avoid developing sentient AI since they would not be able to indiscriminately exploit it.

• Software companies should be made legally responsible for failings of software that result in damage to third parties despite good-faith attempts at control by the user.

• AI and robotics have the potentially to truly revolutionize the economy by replacing labor with capital, allowing greater production—it deserves a corresponding share of research funding!

Page 20: Artificial intelligence

And what is going to happen…• Most people are willing to torture and kill intelligent animals

like cows just for a tastier lunch—why would they hesitate to exploit artificial life?

• This is further compounded mainstream religious beliefs• Even with laws, any individual with sufficient computing

power could “evolve” AI without much programming.• Licensing agreements will continue to allow careless

companies to often escape responsibility for faulty software.• Bottom line: ethical considerations will be ignored; reform—if

it happens—will only take place when the economic costs become too high.

Page 21: Artificial intelligence
Page 22: Artificial intelligence