LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES

Slides:



Advertisements
Similar presentations
Agent Based Software Development
Advertisements

ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Intelligent Architectures for Electronic Commerce Part 1.5: Symbolic Reasoning Agents.
Elephants Don’t Play Chess
Lecture 8: Three-Level Architectures CS 344R: Robotics Benjamin Kuipers.
Title: Intelligent Agents A uthor: Michael Woolridge Chapter 1 of Multiagent Systems by Weiss Speakers: Tibor Moldovan and Shabbir Syed CSCE976, April.
5-1 Chapter 5: REACTIVE AND HYBRID ARCHITECTURES.
Outline Overview of agent architectures Deliberative agents
Embedded System Lab Kim Jong Hwi Chonbuk National University Introduction to Intelligent Robots.
Formal Methods in Software Engineering Credit Hours: 3+0 By: Qaisar Javaid Assistant Professor Formal Methods in Software Engineering1.
Concrete architectures (Section 1.4) Part II: Shabbir Ssyed We will describe four classes of agents: 1.Logic based agents 2.Reactive agents 3.Belief-desire-intention.
A Summary of the Article “Intelligence Without Representation” by Rodney A. Brooks (1987) Presented by Dain Finn.
Knowledge Acquisitioning. Definition The transfer and transformation of potential problem solving expertise from some knowledge source to a program.
Experiences with an Architecture for Intelligent Reactive Agents By R. Peter Bonasso, R. James Firby, Erann Gat, David Kortenkamp, David P Miller, Marc.
Intelligence without Reason
IofT 1910 W Fall 2006 Week 5 Plan for today:  discuss questions asked in writeup  talk about approaches to building intelligence  talk about the lab.
Autonomous Mobile Robots CPE 470/670 Lecture 8 Instructor: Monica Nicolescu.
Behavior- Based Approaches Behavior- Based Approaches.
A Robust Layered Control System for a Mobile Robot Rodney A. Brooks Presenter: Michael Vidal.
1 Chapter 19 Intelligent Agents. 2 Chapter 19 Contents (1) l Intelligence l Autonomy l Ability to Learn l Other Agent Properties l Reactive Agents l Utility-Based.
UNIVERSITY OF SOUTH CAROLINA Department of Computer Science and Engineering CSCE 580 Artificial Intelligence Ch.2 [P]: Agent Architectures and Hierarchical.
Software Issues Derived from Dr. Fawcett’s Slides Phil Pratt-Szeliga Fall 2009.
The Need of Unmanned Systems
Mobile Robot Control Architectures “A Robust Layered Control System for a Mobile Robot” -- Brooks 1986 “On Three-Layer Architectures” -- Gat 1998? Presented.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
Chapter 6: Objections to the Physical Symbol System Hypothesis.
5-1 LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES An Introduction to MultiAgent Systems
Robotica Lecture 3. 2 Robot Control Robot control is the mean by which the sensing and action of a robot are coordinated The infinitely many possible.
5-1 LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES An Introduction to MultiAgent Systems
Black Box Testing Techniques Chapter 7. Black Box Testing Techniques Prepared by: Kris C. Calpotura, CoE, MSME, MIT  Introduction Introduction  Equivalence.
1 Introduction to Software Engineering Lecture 1.
EEL 5937 Agent models. EEL 5937 Multi Agent Systems Lecture 4, Jan 16, 2003 Lotzi Bölöni.
1 Computer Science Department California Polytechnic State University San Luis Obispo, CA, U.S.A. Franz J. Kurfess CPE/CSC 580: Intelligent Agents 1.
Robotica Lecture Review Reactive control Complete control space Action selection The subsumption architecture –Vertical vs. horizontal decomposition.
Ann Nowe VUB 1 What are agents anyway?. Ann Nowe VUB 2 Overview Agents Agent environments Intelligent agents Agents versus objects.
Introduction to Artificial Intelligence CS 438 Spring 2008 Today –AIMA, Ch. 25 –Robotics Thursday –Robotics continued Home Work due next Tuesday –Ch. 13:
What is Intelligence Vali Derhami Yazd University, Computer Department
Subsumption Architecture and Nouvelle AI Arpit Maheshwari Nihit Gupta Saransh Gupta Swapnil Srivastava.
KNOWLEDGE BASED SYSTEMS
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 251 Introduction to Computer Organization.
Done by Fazlun Satya Saradhi. INTRODUCTION The main concept is to use different types of agent models which would help create a better dynamic and adaptive.
Sub-fields of computer science. Sub-fields of computer science.
Knowledge Representation Techniques
7. Modular and structured design
Algorithms and Problem Solving
Designing Agents’ Behaviors and Interactions within ADELFE
CHAPTER 1 Introduction BIC 3337 EXPERT SYSTEM.
Do software agents know what they talk about?
The Systems Engineering Context
CSCE 580 Artificial Intelligence Ch
Seven Principles of Synthetic Intelligence
Artificial Intelligence Lecture No. 5
Build Intelligence from the bottom up!
Build Intelligence from the bottom up!
Today: Classic & AI Control Wednesday: Image Processing/Vision
Intelligent Agents Chapter 2.
© James D. Skrentny from notes by C. Dyer, et. al.
CO Games Development 2 Week 19 Extensions to Finite State Machines
Introduction Artificial Intelligent.
Michael Wooldridge presented by Kim Sang Soon
Non-Symbolic AI lecture 4
Artificial Intelligence Chapter 2 Stimulus-Response Agents
An Introduction to Software Architecture
Build Intelligence from the bottom up!
Subsuption Architecture
Robot Intelligence Kevin Warwick.
Introduction to Requirements Modeling
Paper by D.L Parnas And D.P.Siewiorek Prepared by Xi Chen May 16,2003
Introduction to Artificial Intelligence Instructor: Dr. Eduardo Urbina
From Use Cases to Implementation
Presentation transcript:

LECTURE 5: REACTIVE AND HYBRID ARCHITECTURES An Introduction to MultiAgent Systems http://www.csc.liv.ac.uk/~mjw/pubs/imas

Reactive Architectures There are many unsolved (some would say insoluble) problems associated with symbolic AI These problems have led some researchers to question the viability of the whole paradigm, and to the development of reactive architectures Although united by a belief that the assumptions underpinning mainstream AI are in some sense wrong, reactive agent researchers use many different techniques In this presentation, we start by reviewing the work of one of the most vocal critics of mainstream AI: Rodney Brooks

Brooks – behavior languages Brooks has put forward three theses: Intelligent behavior can be generated without explicit representations of the kind that symbolic AI proposes Intelligent behavior can be generated without explicit abstract reasoning of the kind that symbolic AI proposes Intelligence is an emergent property of certain complex systems

Brooks – behavior languages He identifies two key ideas that have informed his research: Situatedness and embodiment: ‘Real’ intelligence is situated in the world, not in disembodied systems such as theorem provers or expert systems Intelligence and emergence: ‘Intelligent’ behavior arises as a result of an agent’s interaction with its environment. Also, intelligence is ‘in the eye of the beholder’; it is not an innate, isolated property

Brooks – behavior languages To illustrate his ideas, Brooks built some based on his subsumption architecture A subsumption architecture is a hierarchy of task-accomplishing behaviors Each behavior is a rather simple rule-like structure Each behavior ‘competes’ with others to exercise control over the agent Lower layers represent more primitive kinds of behavior (such as avoiding obstacles), and have precedence over layers further up the hierarchy The resulting systems are, in terms of the amount of computation they do, extremely simple Some of the robots do tasks that would be impressive if they were accomplished by symbolic AI systems

A Traditional Decomposition of a Mobile Robot Control System into Functional Modules From Brooks, “A Robust Layered Control System for a Mobile Robot”, 1985

A Decomposition of a Mobile Robot Control System Based on Task Achieving Behaviors From Brooks, “A Robust Layered Control System for a Mobile Robot”, 1985

Layered Control in the Subsumption Architecture From Brooks, “A Robust Layered Control System for a Mobile Robot”, 1985

Example of a Module – Avoid From Brooks, “A Robust Layered Control System for a Mobile Robot”, 1985

Schematic of a Module From Brooks, “A Robust Layered Control System for a Mobile Robot”, 1985

Levels 0, 1, and 2 Control Systems From Brooks, “A Robust Layered Control System for a Mobile Robot”, 1985

Steels’ Mars Explorer Steels’ Mars explorer system, using the subsumption architecture, achieves near-optimal cooperative performance in simulated ‘rock gathering on Mars’ domain: The objective is to explore a distant planet, and in particular, to collect sample of a precious rock. The location of the samples is not known in advance, but it is known that they tend to be clustered.

Steels’ Mars Explorer Rules For individual (non-cooperative) agents, the lowest-level behavior, (and hence the behavior with the highest “priority”) is obstacle avoidance: if detect an obstacle then change direction (1) Any samples carried by agents are dropped back at the mother-ship: if carrying samples and at the base then drop samples (2) Agents carrying samples will return to the mother-ship: if carrying samples and not at the base then travel up gradient (3)

Steels’ Mars Explorer Rules Agents will collect samples they find: if detect a sample then pick sample up (4) An agent with “nothing better to do” will explore randomly: if true then move randomly (5)

Situated Automata A sophisticated approach is that of Rosenschein and Kaelbling In their situated automata paradigm, an agent is specified in a rule-like (declarative) language, and this specification is then compiled down to a digital machine, which satisfies the declarative specification This digital machine can operate in a provable time bound Reasoning is done off line, at compile time, rather than online at run time

Situated Automata The logic used to specify an agent is essentially a modal logic of knowledge The technique depends upon the possibility of giving the worlds in possible worlds semantics a concrete interpretation in terms of the states of an automaton “[An agent]…x is said to carry the information that P in world state s, written s╞ K(x,P), if for all world states in which x has the same value as it does in s, the proposition P is true.” [Kaelbling and Rosenschein, 1990]

Situated Automata An agent is specified in terms of two components: perception and action Two programs are then used to synthesize agents RULER is used to specify the perception component of an agent GAPPS is used to specify the action component

Circuit Model of a Finite-State Machine f = state update function s = internal state g = output function From Rosenschein and Kaelbling, “A Situated View of Representation and Control”, 1994

RULER – Situated Automata RULER takes as its input three components “[A] specification of the semantics of the [agent's] inputs (‘whenever bit 1 is on, it is raining’); a set of static facts (‘whenever it is raining, the ground is wet’); and a specification of the state transitions of the world (‘if the ground is wet, it stays wet until the sun comes out’). The programmer then specifies the desired semantics for the output (‘if this bit is on, the ground is wet’), and the compiler ... [synthesizes] a circuit whose output will have the correct semantics. ... All that declarative ‘knowledge’ has been reduced to a very simple circuit.” [Kaelbling, 1991]

GAPPS – Situated Automata The GAPPS program takes as its input A set of goal reduction rules, (essentially rules that encode information about how goals can be achieved), and a top level goal Then it generates a program that can be translated into a digital circuit in order to realize the goal The generated circuit does not represent or manipulate symbolic expressions; all symbolic manipulation is done at compile time

Circuit Model of a Finite-State Machine GAPPS RULER “The key lies in understanding how a process can naturally mirror in its states subtle conditions in its environment and how these mirroring states ripple out to overt actions that eventually achieve goals.” From Rosenschein and Kaelbling, “A Situated View of Representation and Control”, 1994

Situated Automata The theoretical limitations of the approach are not well understood Compilation (with propositional specifications) is equivalent to an NP-complete problem The more expressive the agent specification language, the harder it is to compile it (There are some deep theoretical results which say that after a certain expressiveness, the compilation simply can’t be done.)

Advantages of Reactive Agents Simplicity Economy Computational tractability Robustness against failure Elegance

Limitations of Reactive Agents Agents without environment models must have sufficient information available from local environment If decisions are based on local environment, how does it take into account non-local information (i.e., it has a “short-term” view) Difficult to make reactive agents that learn Since behavior emerges from component interactions plus environment, it is hard to see how to engineer specific agents (no principled methodology exists) It is hard to engineer agents with large numbers of behaviors (dynamics of interactions become too complex to understand)

Hybrid Architectures Many researchers have argued that neither a completely deliberative nor completely reactive approach is suitable for building agents They have suggested using hybrid systems, which attempt to marry classical and alternative approaches An obvious approach is to build an agent out of two (or more) subsystems: a deliberative one, containing a symbolic world model, which develops plans and makes decisions in the way proposed by symbolic AI a reactive one, which is capable of reacting to events without complex reasoning

Hybrid Architectures Often, the reactive component is given some kind of precedence over the deliberative one This kind of structuring leads naturally to the idea of a layered architecture, of which TOURINGMACHINES and INTERRAP are examples In such an architecture, an agent’s control subsystems are arranged into a hierarchy, with higher layers dealing with information at increasing levels of abstraction

Hybrid Architectures A key problem in such architectures is what kind of control framework to embed the agent’s subsystems in, to manage the interactions between the various layers Horizontal layering Layers are each directly connected to the sensory input and action output. In effect, each layer itself acts like an agent, producing suggestions as to what action to perform. Vertical layering Sensory input and action output are each dealt with by at most one layer each

Hybrid Architectures m possible actions suggested by each layer, n layers mn interactions m2(n-1) interactions Introduces bottleneck in central control system Not fault tolerant to layer failure

Ferguson – TOURINGMACHINES The TOURINGMACHINES architecture consists of perception and action subsystems, which interface directly with the agent’s environment, and three control layers, embedded in a control framework, which mediates between the layers

Ferguson – TOURINGMACHINES

Ferguson – TOURINGMACHINES The reactive layer is implemented as a set of situation-action rules, a la subsumption architecture Example: rule-1: kerb-avoidance if is-in-front(Kerb, Observer) and speed(Observer) > 0 and separation(Kerb, Observer) < KerbThreshHold then change-orientation(KerbAvoidanceAngle) The planning layer constructs plans and selects actions to execute in order to achieve the agent’s goals

Ferguson – TOURINGMACHINES The modeling layer contains symbolic representations of the ‘cognitive state’ of other entities in the agent’s environment The three layers communicate with each other and are embedded in a control framework, which use control rules Example: censor-rule-1: if entity(obstacle-6) in perception-buffer then remove-sensory-record(layer-R, entity(obstacle-6))

Müller –InteRRaP Vertically layered, two-pass architecture cooperation layer social knowledge plan layer planning knowledge behavior layer world model world interface perceptual input action output