Skip to main content

Full text of "A Cybernetic Approach to the Modeling of Agent Communities"

See other formats


A Cybernetic Approach to the Modeling of Agent Communities 

Walt Truszkowski 

Senior Technologist Jay Karlin 

Code 588 Viable Systems Inc 

NASA - Goddard Space Flight Center 1 2236 Stoney Bottom Road 

Greenbelt, MD 20771 Germantown, MD 20874 

Walt.Truszkowski@gsfc.nasa.gov jkarlinl@ix.netcom.com 



Abstract 

In an earlier paper [1] examples of agent technology in a NASA context were presented. Both ground- 
based and space-based applications were addressed. This paper continues the discussion of one aspect of 
the Goddard Space Flight Center's continuing efforts to develop a community of agents that can support 
both ground-based and space-based systems autonomy. The paper focuses on an approach to agent- 
community modeling based on the theory of viable systems developed by Stafford Beer. It gives the status 
of an initial attempt to capture some of the agent-community behaviors in a viable system context. This 
paper is expository in nature and focuses on a discussion of the modeling of some of the underlying 
concepts and infrastructure that will serve as the basis of more detailed investigative work into the 
behavior of agent communities.. The paper is organized as follows. First, a general introduction to agent 
community requirements is presented. Secondly, a brief introduction to the cybernetic concept of a viable 
system is given. This concept forms the foundation of the modeling approach. Then the concept of an 
agent community is modeled in the cybernetic context. 



[1] Agent Technology from a NASA Perspective, Walt Truszkowsk et. al, CIA'99 Workshop, Uppsala 
Sweden, LNCS 1652, Springer- Verlag, 1999 



A Cybernetic Approach to the Modeling of Agent Communities 



Walt Truszkowski 

Senior Technologist 

Code 588 

NASA - Goddard Space Flight Center 

Greenbelt, MD 20771 

Walt.Truszkowski@gsfc.nasa.gov 



Jay Karlin 

Viable Systems Inc 

12236 Stoney Bottom Road 

Germantown, MD 20874 

jkarlin 1 @ix.netcom.com 



1. Introduction 

In an earlier paper [1] examples of agent technology in a NASA context were presented. Both ground-based and space- 
based applications were addressed. This paper continues the discussion of one aspect of the Goddard Space Flight Center's 
continuing efforts to develop a community of agents that can support both ground-based and space-based systems 
autonomy. The paper focuses on an approach to agent-community modeling based on the theory of viable systems 
developed by Stafford Beer. It gives the status of an initial attempt to capture some of the agent-community behaviors in a 
viable system context. This paper is expository in nature and focuses on a discussion of the modeling of some of the 
underlying concepts and infrastructure that will serve as the basis of more detailed investigative work into the behavior of 
agent communities.. The paper is organized as follows. First, a general introduction to agent community requirements is 
presented. Secondly, a brief introduction to the cybernetic concept of a viable system is given. This concept forms the 
foundation of the modeling approach. Then the concept of an agent community is modeled in the cybernetic context. 

2. Agent Communities in General - Requirements 

In this particular paper we are not specifying a particular agent architecture. We are, however, assuming that the agent has 
the capability for reactive, deliberative, reflexive and social behaviors. The particular agent architecture that we are using 
at Goddard is a component-based architecture implemented in Java. The basic structure is pictured in Figure 1. 















E nv ironm ent 
















- 


. ' 


k. 




^ 


.1 


r 






1 p letic 




Agent 

C otn m un ication 

Pc rce pto^E ffec tor 




Percep tors 


Reflex 


Effector 


A ctio ns 








T, 
^ 








niLt. 


At L 




' 








o.,i 




' 


f ^ 






^Percept 




E X e c u t i 11 




A gen t 
Reasoning 


Exec 


Modeling ■ 
and 
S tate 


,aai> 




Step 


1 


Step Con 
Status 


Plans 






♦ 








A 

R equ e ts 


p 






A g e 11 d a 




Plar 


lans 


Stale 
Info, 


A ge 
,Tran 


It State 
sitio ns 




P 1 a 11 11 i ti g 
Schedu 


a lid 
ill g 





























Current component-based agent architecture 

Figure 1 



Our community is populated with agents which are developed according to this fairly generic architecture. 

We begin by identifying and briefly discussing what are the general requirements for an agent community from our 
perspective. These requirements serve to establish the general context for understanding agent community concepts. Good 
sources for agent community concepts can be found in [2., 3]. These are the requirements to be modeled. 

1) An agent community will have an overarching goal and shall accommodate sub-goals. 

This overarching goal establishes a "purpose" and this purpose makes the agent community a "system" in the cybernetic 
sense. 

2) Any two agents in the community can carry on a meaningful conversation. Thus, all agents in the community shall 
have a shared ontology. 

This shared ontology may be the kernel of a larger ontology which is obtained through the 'composition" of the ontologies 
of all of the agents in the community. This kernel is necessary to support ontology negotiation between agents who wish 
to collaborate but do not have identical ontologies. 

3) An agent community shall have at least one user interface. 

This interface to the outside world (user) provides a mechanism for allowing the user to establish, in real-time, new goals 
for the community, to observe the behavior of the community in action and to get status information on the community's 
activities. 

4) An agent community shall have an infrastructure capable of supporting its internal communications. 

Without such an infrastructure the agents would exist in isolation from one another and not be able to function as a 
community. 

5) An agent community infrastructure shall be capable of supporting the cooperative behavior of its members. 

Cooperative behavior may be broken down into either coordinated or collaborative behaviors. In coordinated behavior a 
single agent is vested with authority over other agents. In collaborative behavior, the agents that are cooperating do so as 
peers. 

6) An agent community will be adaptable to environmental changes. 

Continual environmental changes are to be expected. Adaptability can be realized in several ways including intervention 
from th e "user" and agent learning (however realized). 

7) Agent community members will negotiate and share agreements. 
Tliis is the essence of collaborative behavior in a community. 

8) An agent community will have integrated reasoning ability. 

This means that a group of agents will have the capability to collectively reason about a problem utilizing the talents, 
knowledge, etc. of all the agents in the group. Another way of saying this is that the community is a knowledge 
community. 

9) An agent community shall reason about at least one domain. 

This is related to Requirement 1 above. The goal of the community is to serve with respect to, at least, one domain of 
activity. 

10) An agent community will be capable of negotiating their shared interests and individual goal priorities in several 
different subdomains. 



This is related to both Requirements 1 and 9. As an example: if the domain of activity is spacecraft operations then the 
community as a whole is responsible for monitoring and maintaining successful spacecraft operations. An agent may be 
associated with the power subsystem, another with the thermal subsystem, yet another with command and control. These 
agents with their own subdomain interests may work together to ensure a broader domain interest. 

11) An agent community shall have access to plans or partially complete plans. 

We view a community as a knowledge community and as such the knowledge level of the community rises with each 
individual agent success. The plans that were used to successfully accomplish a task become part of the knowledge base of 
the community for future use by the community. 

1 2) An agent community will retain a history of the degree of success experienced by using specific plans. 
This is part of the documentation of the community's knowledge base. 

13) An agent community shall own a history log file system. 

In order for the community to both improve its performance over time as a community and to be responsive to "outside" 
queries about behavior patterns a logging mechanism is required. 

3. Viable Systems - a Cybernetic View 

A system is defined as a combination of components, which interact in order to perform an identifiable service or set of 
services. An environment that receives these services and also may, in turn, alter the system in some way surrounds the 
system. Such an arrangement is shown in figure 2. For example (in a spacecraft context), conditions resulting from thermal 
or other environmental or internal system effects can reduce a system's life. We define a system's viability as its functional 
persistence. A viable system is a robust one; it adapts its own behavior mode, structure, etc., to provide its services even 
under duress. An intelligent agent assigned in the system may monitor and regulate health or even direct system 
performance. System health and performance would consequently then be associated with the agent as its domain. 

A system performs services as tasks in order to effect changes in its environment, striving after goals which have been 
decided upon from some higher commanding order of intelligence, e.g., a user. Intelligent agents may be considered for 
inclusion in this higher order if the agents are able to act on the behalf of a user in an overall capacity to achieve a desired 
envirormiental state. This state-oriented agent could be capable of judgement calls or of convening a meeting of agents 
collaborating on a strategy which would then be parsed out for execution to, for instance, specialist/tactical agents. 



v—x System 

^ o 

Components 



Figure 2. System Defined 



>^ 




System 
Boundary 



Environment 



monitor 





Environment 






I 



I 



An 
Control 



■^2 
Control 



monitor 




Control 



Viable System Model Schematic 



Figure 3 



The viable system architecture provides a way of discussing intemal and external system behaviors in a systematic manner. 
It involves 5 levels of recursion in doing so. The viable system model depicted in Figure 3 has both horizontal and vertical 
recursive paths. This model was originally developed by Stafford Beer [4,5,6,7,8,9] as part of his management cybernetic 
work. We are attempting to utilize the concepts and notations to gain comprehensive insight into the needed behaviors of 
agent communities. 

The model consists of 5 systems, numbered 1-5. System 1 is the base system . System 2 provides local regulatory 
monitoring and control for system 1. It regulates oscillatory behaviors. System 3 deals with self organization and 
autonomic regulation. System 4 deals with self -reference, simulation and planning. System 5 deals with homeostasis and 
overall policy making. 



In preparation for the rest of the paper let's begin with a preUminary application of this model schematic to an agent 
community. The overall system which is being modeled is the community of agents. That the system is viable refers to 
the fact that the community can withstand perturbations either triggered by the environment of by internal changes in 
individual agent's behaviors. The various systems 1-5 identified in the schematic can be thought of as encapsulations of 
entities and/or functionality that contribute to the overall viability of the agent community. .The elements of System 1 will 
be individual agents Ai. These agents interact with the environment through perceptors and effectors to maintain an 
awareness of the environment and to make impacts on the environment. System 2 is concerned with being aware of the 
behaviors of the elements in System 1 and providing behavioral control. System 3 focuses on the organization of the 
community and the autonomy that the elements in the community have to contribute to self-organization. For example, the 
formation of a subgroup of agents to focus in on a specific problem would come under the purview of the functionality in 
System 3 System 3 is concerned with things as they are. System 4 is concerned with what is gomg on in the environment 
and what needs to be done to prepare for the future. System 4 contains functionality that enable itself to maintain a view of 
itself as a community. There is much interaction between Systems 3 and 4 as is depicted in the schematic. System 5 
monitors the interaction between Systems 3 and 5 and establishes overall policies for the agent community as a whole. 

For more details on this approach to modeling an agent community, please read on. 



4. Agent Communities from a Cybernetic Perspective 

We have briefly introduced the concept of a viable system framework. We now delve deeper into the utilization of this 
approach in the modeling of agent communities. The examples used come from an agent community whose domain is a 
spacecraft. 

4.1 Intelligent Agent Framework for Communities: 

To say an agent is intelligent is to imply, among other things, the existence of what we call adaptive functionality. In 
general, adaptively functional agents are capable of doing three things: 

• Noticing; trying to detect potentially relevant events 

. Interpreting: trying to recognize the events (generally this means mapping the external event into an element in the 

domain system's vocabulary, i.e., a model) by applying a set of recognition rules 
. Responding: acting on the interpreted events by using a set of action rules, either by taking some action that affects the 

user, the user's domain of concern, or by altering their own rules (i.e., learning) 

It is the authors' opinion that the main difference between intelligent agent governance and other artificial intelligent, (AI), 
govemance is a matter of their relative degrees of independence. For example, an agent can decide that m order to 
complete its task it must look outside to find required expertise or knowledge. It can then proceed to search for and use 
such a resource in order to complete its task. In contrast, under similar circumstances, the AI system would issue a message 
to the user that it could not complete the assignment (e.g., within its constraints) and then go into standby or await 
additional instruction. This ability, to reflect upon its own capabilities and then to actualize itself, either m commencing a 
learning routine or engaging another entity and collaborating with it, is what distinguishes intelligent agents from other 
types of autonomous systems. This capacity would be preferred over more limited AI capabilities in applications where 
for instance, an agent is inaccessible to direct reprogramming, such as in missions with limited ground station coverage, but 
has access to other agents nearby. 

A natural consequence of this scenario type is that agents should be mobile, at least to the extent that they are not bound to 
their host of origin but can migrate and thereby enlarge their spheres of influence and of learning. A very limited example 
of this today is the Internet search agents or "crawlers". 



4.2 Agent Communities Parallelism: 




The white areas surrounding each of the three systems 
depict environment or domain areas. Agent 
communities are composed of speciahsts and 
facihtators or "system managers". Architectural types 
may be hierarchical, distributed, distributed 
hierarchical or clustered, depending on the goal of the 
application. In this paper we intend to describe their 
possibilities and model some useful structural- 
behavioral characteristics. Note that the community 
concept makes no sense with an AI system, but it is 
here that agents realize their fullest potential. 



Fig. 4. Three agents comprising a community, with their associated 
domains embedded within the community's domain. Domains 
are represented by encircling white bands. 

The community shown in figure 4. is the embodiment of the higher order system introduced in the previous paragraph. 
This community, in order to retain its viability whenever its domain undergoes stress, facilitates its member agents in 
responding appropriately. 

The members cooperatively adapt with new plans and initiatives to meet the challenge presented in order to exercise their 
community responsibility. These new measures are assigned to tactical agents to minister to their individual domains. The 
procedure unfolds differently according to the following cases: 
1 Community-level perception/decision resulting in new goal assignments (possibly new models) to the agents. 

2 . Whenever two or more agents simultaneously receive different anomalies that might be interrelated and attempt to 
reconcile them with existing models. 

3. Community intervention within an agent's domain (override) should crisis demand it. 

4. Community learning by formulating revised models of its domain. 




Figure 5. Intersection of Domain Areas Calls for Domain 
Related Adaptive and Cooperative Behavior by their 
Respective Agents 



4.3 Agent Collaboration: 

In addition to community-agent interaction there is agent- 
agent interaction. A community's domain is normally made 
up of sub-domains, which overlap one another because of 
the interdependence of sub-systems. This interdependence is 
depicted in figureS. by the overlap of the agents' domain 
areas as these areas undergo change. Since a single agent 
pays attention to only a subset of inputs (percepts), 
cooperation is required in order to provide more 
comprehensive coverage. Case 2 above is one example 
where this applies. 

Therefore, in order to examine cooperation in an agent 
community it is helpful to re-map the previous figures to 
clarify agent and system interactions. A graphic 
demonstration follows in which subsystems are shredded out 
of their environments and domain-associated agents 
shredded out of their systems. For a single agent the result 
appears as shown in figure 6.A. Figure 6.B shows the 



interaction of three agents and their 
respective domains/subsystems. 



4.4 Community Model Framework 

Environment System (State) 

Shredded 



Connecte' 



Control le 




Agent 



Community 
Network 




Environmental 
Interaction 



Governor 



Subsystem- to 

Subsystem 

Interaction 



Figure 6A Instantiation of an Agent /Domain 



Figure 6B Interaction of Agents as a Community 



A conceptual model shows the System of Figure 4 and its domain-associated agent havmg two mterfaces to the system 
(horizontal arrowheads): one interface is a triangular prism, which represents a reactive correction device or governor. The 
second is a direct intervention or override auditing function which analyzes spurious movements of the system and attempts 
to redirect it from a revised perspective or model (i.e., leaming). Both interfaces are stimulus/response types but the latter 
interface is a probing by the agent into different critical nodes of its associated system on an mtermittent basis while the 
former is monitoring and adjusting nominal performance settings. In this way, by use of the probe, the agent can 
investigate a wider domain but yet limit its own demand for critical community resources. Note that m nominal operation 
the triangular prism provides a semi-autonomous (i.e., reactive) control to the system. The agent is stimulated to replan 
only when the govemor (triangle) indicates that the system's healthy limits might be violated. Thus the governor forms a 
part of the agent (its perceptor/effector arrangement) but, as will be shown below, the govemor is also a node of the 
network that coordinates the overall communal system. This discussion begins to illustrate the cybernetic (viable systemO 
modeling technique under investigation. 

4.5 Coordination Framework: 

The communal coordination network is to be seen in Figure 6. B as vertical message and data pathways joining together the 
set of subsystems' governors and also the set of subsystems' domain-related agents. The former deals with percepts and 
corrections or effects in system performance and the latter with agent-agent communications via some Agent 
Communication language (ACL) messaging. The governors respond to input telemetry signals by changing output values 
(switch settings or gain controls or the sending of pre-stored commands to system devices or to a command management 
system) Change messages indicating subsystem mode or other state attributes that could affect adjacent subsystems are 
communicated to these subsystem agents through this coordination network. When a more informative or complex form of 
intercommunication is necessary, agent communication language is used to convey such mformation directly between 
agents via ACL. An instance of this type of communication would be that of a change in an agent's mtention which would 
potentially affect a neighboring agent's future perceptions (i.e. percepts). 



In addition to communal coordination there is another type of coordination. This function coordinates relative to communal 
interests an example of which is an auditor that enforces resource sharing and conect telemetering of data. For example, it 
a system' begins to draw more than its normal level of electric current, then, even though its performance m terms of system 
functional performance may be within tolerance, something internal to the system is suspect. For this type of trouble 
shooting the special discipline dealing just with such matters needs to be applied. Since a single source normally 
distributes power to all systems, a central monitor agent would be used having unique capability to trouble shoot the 
electrical power system. (There is obviously a tradeoff possibility here) The point is that there may be certam agent roles 
that would be better suited for a central position in the overall schema than as a peer member m the community. There are 
a number of these positions that together suggest themselves as a separate central body m the community. Some of them 
are: 

• Agent registrar. 

• Planner and Scheduler (from a system shared resource consideration). 

• Futures Planner (or "what-if ' coordinator). 

• Agent translator and communications czar. 

• Executive. 

Although simpler systems may escape with having only one tier limited to two or three collaborating agents, complex 
systems may have several tiers of agents, grouped into communities, in which community-to-community communication is 
carried on. Individuals from two or more communities might in turn occupy additional positions as member of a higher 
level planning and coordination or executive body. 



Future 
Environment 
(Tier 2) 



Environment 
(Tier 2) 

External & 

Mission 

Planning 



Centralized 
Internal 
Planning 
and System 
Management 




System 

(i.e. 

Tier 2) 



Fig. 7. Nested Systems/Agents as Containers 



4.6 The Higher Levels of Agent Cognition - Introduction to Centralized Community Planning and Coordination: 

The central portion of the agent community is shown at the top of the model in Figure 7.0. It is divided into three 
segments. The lower one deals with real-time: events relative to the subsystems as relayed to this real-time segment both 
from the subordinate agents and through their interconnecting monitoring and coordinating networks. The middle segment 
provides the system and agent community modeling which provides, in turn, state information for various analytical 
purposes including plan preparation performed by the real-time segment. The middle segment is also the forward-looking 
arm of the community in that it is in constant contact with both the user interface (top segment), and with the extemal 
environment in order to be able to anticipate events and make advance preparations. The top most segment manages the 
interface with the user of the agent community. In an agent-govemed operational context it provides human-to-computer 
interaction on an as-needed basis rather than continuously as in the hands-on operator version. 

4.7 Recursive Process - System Overall Management Function: 

In the subject domain, environment changes on the system are stimulators of self-reorganization or adaptation. As a 
subsystem is altered at the immediate point of impact, the information is transmitted through the governor and to the tier 1 
agent. Agent action and a reflection of such action is further processed in the coordination network since this governor (or 
subsystem regulator) is one of that network's nodes in addition to its being a part of the agent-to-subsystem loop. Changes 
introduced in the agent-to-subsystem loop, if significant enough to affect the overall system, are passed on to the tier 2 
management level through the coordination network. Figure 7.0 shows the orthogonality of tiers 1 and 2 in order to 
illustrate that although the two share instances within the enveloping environment, tier 2 must guard the overall system in 
such instances, whereas the concern of tier 1 is its narrower domain, e.g., an individual subsystem's health and 
performance. One might call this effect "information hiding" similarly to structured programming. 

If the foregoing discussion has not done so already, the diagram of Figure 7.0 should have revealed the underlying premise 
of this report: that the agent community being discussed is an architectural model of the lower part of the central nervous 
system. If the visceral organs of the body system are represented by the subsystems, then our coordinating and other 
networks perform the functions of sympathetic and parasympathetic ganglia, while the agent-to agent ACL communication 
network is the spinal column. And this spinal column is suspended from the cerebellum portion of the brain, which is the 
lower segment as discussed above. 

4.8 Community Builder's Operational Conceptual Model: 

In contemplating a specific layer or tier, the conceptual model requires consideration of protocols for interaction one tier 
above and one tier below such a tier. Different protocols are called for depending on whether the agent's primary function 
is reactive or deliberative. 

4.9 Two Types oflnter-agent Protocols: 

If we have preprogrammed an agent with a certain low level of capability, then that agent automatically falls into the simple 
reactive protocol structure. If we, on the other hand, develop an agent capable of high levels of reasoning, for instance, 
then the protocol structure needs to fit with the protocol structure that would support the more abstract deliberative forms of 
information transfer. Examples of this latter would be the kind requiring the ACL message format that stipulates intention 
of the sender and therefore prioritizes the request. We propose to place the more abstract protocol ability within the 
cognitive part of each tier of the system and the simpler or task-oriented protocol within the coordination network. A 
hybrid agent capability and associated abstract protocol would be provided for ACL messaging where required. 

5. Example: An Autonomous Spacecraft Subsystem 

The following Figure 8 illustrates some beginning thoughts on how to depict the infrastructure of an autonomous spacecraft 
subsystem in the context of the cybemetic (viable system) modeling technique. The "lA" in the figure refers to 
"Intelligent Agent". 




•1 - An Individual Subsystem. 

•[1,2] - Subsystem/Monitor interface 

• [1, 2, IA3] - l"" Tier: showing one member of the 

control loop set in which each member maintains a 
spacecraft subsystem. 

• IA3 - 1"' Tier: Agent that handles a subsystem and its 

components 

• IA5 - 2"'' Tier: Agent that plans, reasons, models, 

executes, and performs community oriented functions 
(i.e. spacecraft level). 

• 2 - 1^' Tier agent perceptor/ef f ector that passes events 

to IA3 for decisions and receives acts scheduled for 
transmission. 

• 4 - 2"'' Tier: Monitor/Governor that reacts to community 

state changes by monitoring all [2,2] interactions. 
• [IA5, 1) - Direct probe of a suspicious subsystem state by 
Tier 2. Likewise, IA3 probe of one of its subsystem's 
components . 

• [IA3, IA5] - Agent Messaging Interface, e.g. resolving 



Note: "IA3" is the first level of recursion of "IA5" 
Figure 8 ~ Top-level View of an Autonomous Spacecraft Subsystem 

At a high level this model begins to show the applicability of the modeling technique in the context of spacecraft 
subsystems. This model would be duplicated for each subsystem and then integrated into an overall model of the 
spacecraft. The modeling technique may also be applicable to autonomous science-instruments (this is a new area of 
interest for us). 

6. Conclusion 

The task of applying a cybernetic modeling technique to the modeling of an agent community is in its initial stages. This 
paper is somewhat of a progress report on our attempts. We feel that this modeling technique will provide a rich 
representational insight into the various levels of behaviors that will be required in order that an agent community function 
as a viable system. So far the technique has been descriptive and seems to address most of the agent-community 
requirements identified in the earlier portion of this paper. We hope that, as the model becomes more comprehensive in 
community-behavioral detail, the model can take on a prescriptive role and be of major assistance in the actual 
development of the agent community being modeled. Time will tell. 

References: 



[1] Agent Technology from a NASA Perspective, Walt Truszkowsk et. al., CIA'99 Workshop, Uppsala Sweden 

LNCS 1652, Springer, 1999 

[2] Developing Intelligent Agents for Distributed Systems, M. Knapik, J. Johnson, McGraw-Hill, 1998 

[3] Multiagent Systems, J. Ferber, Addison Wesley Longman , English Edition, 1999 

[4] Decision and Control, Stafford Beer, Wiley, 1966 

[5] Heart of the Firm, Stafford Beer, Wiley, 1979 

[6] Brain of the Firm (Second Edition), Stafford Beer, Wiley, 1981 

[7] Beyond Dispute, Stafford Beer, Wiley, 1994 

[8] The Viable System Model, R. Espejo, R. Hamdin editors, Wiley, 1989 

[9] Dealing With Complexity, R. Flood, E. Carson, Plenum Press, 1988