Escolar Documentos
Profissional Documentos
Cultura Documentos
Introduction Knowledge base system is a system that has a knowledge as a central core for its proper functioning. Intelligent systems are those systems that utilizes knowledge in an intelligent way. The common name for intelligent is Artificial intelligence system. Knowledge base is the key for success for Artificial intelligent system. "Artificial Intelligence commonly abbreviated as AI, also known as machine intelligence is the process of developing algorithms that make machines are to make seemingly intelligent decisions or act as if possessing intelligence of a human scale. Artificial Intelligence is a branch of Science which deals with helping machines finds solutions to complex problems in a more human-like fashion. This generally involves borrowing characteristics from human intelligence, and applying them as algorithms in a computer friendly way. Intelligence: is the ability to acquire, understand and apply knowledge (or) the ability to exercise thought and reason. Intelligent embodies all of the knowledge and feats, both conscious and 1 unconscious, which we have acquired through study and experience.
Knowledge: is the awareness and understanding of facts, truths or information gained in the form of experience or learning through introspection. Artificial Intelligence aims to improve machine behavior in tackling such complex tasks. 1.2 Branches of AI Over the past five decades, AI research has mostly been focusing on solving specific problems. Numerous solutions have been devised and improved to do so efficiently and reliably. This explains why the field of Artificial Intelligence is split into many branches, ranging from Pattern Recognition to Artificial Life, including Evolutionary Computation and Planning. The idea is to develop an intelligent systems that has human level intelligence or better. Natural Language Processing: to enable machines to successfully communicate in English like languages, understanding the domain of the text. Knowledge Representation: Facts about the world have to be represented in some way. Usually languages of mathematical logic are used. Common sense knowledge and reasoning: This is the area in which AI is farthest from human-level, in spite of the fact that it has been an active research area since the 1950s. While there has been considerable progress, e.g. in developing systems of non-monotonic reasoning and theories of action, yet more new ideas are needed. Machine Learning: to adapt to new circumstances and to detect and extrapolate patterns. Computer vision: The world is composed of three-dimensional objects, but the inputs to the human eye and computers' TV cameras are two dimensional. 2
Expert Systems: AI programs that achieve expert-level competence in solving problems in task areas by bringing to bear a body of knowledge about specific tasks are called knowledge-based or expert systems. Genetic algorithms Genetic Algorithms are adaptive heuristic search algorithm premised on the evolutionary ideas of natural selection and genetic. Neural Networks: A neural network is an interconnected group of neurons. And others.
Application Area of AI
Thinking rationally Right thinking is related to irrefutable reasoning process. Require structure that always gave correct conclusion given correct premises. Logic is the key to design and implement an agent that think rationally. Several Greek schools developed various forms of logic: notation and rules of derivation for thoughts. Direct line through mathematics and philosophy to modern AI. Problems: 1. Not all intelligent behavior is mediated by logical deliberation(unable to take informal knowledge for decision making process) 2. What is the purpose of thinking? What thoughts should I have?( there is a big difference between being able to solve a problem in principle and doing so in practice)
5
1.5 Foundations of AI
The big question: How does the mind arise from the brain? Philosophy, logic, methods of reasoning Mathematics formal representation and proof algorithms, computation, (un)decidability, (in)tractability, probability Psychology adaptation, perception Linguistics knowledge representation, grammar Neuroscience physical substrate for mental activity Control theory simple optimal agent designs and so on.
2. Intelligent Agent An agent is anything that can be viewed as perceiving its environment through sensors and acting upon that environment through actuators. Assumption: Every agent can perceive its own actions (but not always the effects)
Human agent:
o Eyes, ears, and other organs for sensors o Hands, legs, mouth, and other body parts for actuators
Robotic agent:
o Cameras and infrared range finders for sensors; o Various motors for actuator
It is also useful to think of intelligent systems as being agents, either: With their own goals or That act on behalf of someone (a user) An agent is an entity that exists in an environment and that acts on that environment based on its perceptions of the environment An intelligent agent acts to further its own interests (or those of a user).
An intelligent agent is a computer system capable of flexible autonomous action in some environment By flexible, we mean: reactive pro-active social
8
Proactiveness
Reacting to an environment is easy (e.g., stimulus response rules) But we generally want agents to do things for us Hence goal directed behavior Pro-activeness = generating and attempting to achieve goals; not driven solely by events; taking the initiative 9 Recognizing opportunities
HOW AGENTS SHOULD ACT A rational agent is one that does the right thing for the perceived data from the environment. Even though doing right thing is ambiguous concept it is the one that will cause the agent to be most successful. That leaves us with the problem of deciding how and when to evaluate the agents success.
10
Require more flexible interaction with the environment, the ability to modify ones goals, knowledge that be applied flexibly to different situations.
Degrees of Intelligence
Building an intelligent system as capable as humans remains an elusive goal. However, systems have been built which exhibit various specialized degrees of intelligence. Formalisms and algorithmic ideas have been identified as being useful in the construction of these intelligent systems. Together these formalisms and algorithms form the foundation of our attempt to understand intelligence as a computational process. In this course we will study some of these formalisms and see how they can be used to achieve various degrees of intelligence.
12
Vacuum-cleaner world
One simple function is : if the current square is dirty then suck, otherwise move to the other square
13
Rational agents
Rational agent is one that act rationally. It is action is measured to get its performance. Performance measure: Subjective and Objective Subjective measure : E. g. How happy is the agent at the end of action. Subjective measure is not better Objective measure : needs standard to measure success. E.g., performance measure of a vacuum-cleaner agent could be amount of dirt cleaned up, amount of time taken, amount of electricity consumed, amount of noise generated, etc. As a general rule, it is better to design performance measures according to what one actually wants in the environment. Rather than according to how one thinks the agent should behave (amount of dirt cleaned vs a clean floor) A more suitable measure would reward the agent for having a clean floor Omniscience agent is different from rational agent. It is an agent that knows the actual outcome of its action.
14
Environment types
Fully observable vs. partially observable Deterministic vs. stochastic Episodic vs. sequential Static vs. dynamic Discrete vs. continuous Single agent vs. multiagent
17
An agent operating by itself in an environment is single agent. Examples: Crossword is a single agent while chess is two-agents Question: Does an agent A have to treat an object B as an agent or can it be treated as a stochastically behaving object Whether B's behaviour is best described by as maximizing a performance measure whose value depends on agent's A behaviour Examples: chess is a competitive multiagent environment while taxi driving is a partially cooperative multiagent environment
18
No
No No No No
The environment type largely determines the agent desig The real world is (of course) partially observable, stochastic, sequential, dynamic, continuous, multi-agent
20
Table-lookup agent
A trivial agent program: keeps track of the percept sequence and then uses it to index into a table of actions to decide what to do. The designers must construct the table that contains the appropriate action for every possible percept sequence. Function TABLE-DRIVEN-AGENT(percept) returns an action static: percepts, a sequence, initially empty table, a table of actions, indexed by percept sequences, initially fully specified append percept to the end of percepts action <--LOOKUP(percepts, table)
return action
Drawbacks:
Huge table Take a long time to build the table No autonomy Even with learning, need a long time to learn the table entries
Agent types
Four basic types in order of increasing generality: Simple reflex agents Model-based reflex agents Goal-based agents Utility-based agents Learning agents
Goal-based agents
Utility-based agents
Learning agents