On the Modeling, Refinement and Integration of Decentralized Agent Coordination – A Case Study on Dissemination Processes in Networks International Workshop on Self-Organizing Architectures (SOAR 09) Cambridge, UK Jan Sudeikat1,2 [email protected] Wolfgang Renz1 [email protected] 1University 2University of Applied Sciences Hamburg - Multimedia Systems Laboratory Hamburg - Distributed Systems and Information Systems Distributed Systems and Information Systems 2009-03-25 Distributed Systems Architectures Challenge: Building adaptive applications that are scalable, robust, … Architectural Choices: Managed Managing Entity Here: Utilization of Self-Organizing Processes Hierarchical Decentral Pyramid of Managing Entities Scalability, Robustness, … Local adaptive entities: software agents Problematic: effective coordination On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Self-Organization as a (Software) Design Principle Self-Organization: physical, biological and social phenomena, global structures arise from the local interactions of autonomous individuals (e.g. particles, cells, agents, ...) Structures are: Attractive for software architects: Decentralized coordination strategies / mechanisms Adapted to changing environments Maintained while being subject to perturbations (Sudeikat & Renz 2008, 2009) No single point of failure Conceive application dynamics resemble phenomena Blending of functionality and coordination aspects (Reuse, Redesign) Requirement: Systematic conception / integration Declarative configuration of agent coordination Enactment architecture On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Proposal: Programming Model for Self-Organization Self-organizing processes result from coupled feedbacks between system elements Context dependent amplification / damping of element activities Systemic Modeling Approach System Science concepts characterize MAS operation … System Variables: # behavior exhibitions (roles, groups, …) Causal Relationships: rates of variable changes Feedback-Networks reinforcing / balancing Toolset: Configuration Language Enactment Architecture On the modeling, refinement and integration of decentralized agent coordination + + (-) (+) + + + + Distributed Systems and Information Systems + + Coordination Enactment Architecture Layered Approach Application Coordination Coordination Media Interaction techniques Agent-Modules Execution Infrastructure Coordination-Endpoint: Agent-modules Interface Coordination Media Publish / Subscribe mechanism Automating coordination-activities 1: Agent observation / modification 2: Controlled by coordination model 3: Publication of agent adjustments On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Externalized Coordination Model Coordination Enactment Architecture Coordination-Endpoint: Agent State Interpreter Observe agent execution Behavior-Classification Behavior-Change Publication Coordination Information Interpreter Reception via CM. Adjustment of agent-behavior Local Adaptivity: Declarative: Conditions / Invariants Adaptivity Component: (optional) Procedural Implementation of Classification of Observations Adaptations of Agent state Coordination Medium Publish / Subscribe Interface On the modeling, refinement and integration of decentralized agent coordination Realizing self-organizing processes: Information Flows Local Element Adaptivity Distributed Systems and Information Systems Methodic Conception of SO-Processes Integration of Coordination Development in AOSE AOSE: Tools / techniques for agent development Plan for concerted phenomena Systematic refinement procedure Describing System Behavior 1. Identify Problem Dynamic Structures Attractors coupled feedback loops 2. Propose Solution Dynamic Opposing / Corrective Structure 3. Refinement operations Map Coordination model to Agent models On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Case Study I: Convention Emergence Decentralized agreement problem in MAS Communication of local settings Agents adjust accordingly Embedding an externalized Generic agent activity Coordination Model: Convergence Coordination Model Observation of activities Communication of configurations Adjustment Policy: majority rule +/- feedback loop Coordination Medium: Overlay-Network Topology On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Case Study I: Convention Emergence Sample Simulation Run: Random Initialization Value Convergence Random agent activation Communication: Coordination Medium Impact of Network-Topology: Random Graph Power law Graph: Comparable convergence times Less communicative overhead power law distributed graphs On the modeling, refinement and integration of decentralized agent coordination in Distributed Systems and Information Systems Case Study II: Patching Dynamics Exemplify refinement process: Problem description correcting coordination process Problem: Spreading of “infections” in agent population Agent exhibit two Roles: Susceptible Infectious Balancing vs. reinforcing Feedback Goal-Seeking Possible Solution Dynamic: Additional Balancing Feedback Limit Susceptible and Infectious agents On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Case Study II: Patching Dynamics Refined Solution Dynamic Executable! Adaptivity Component Functionality Behavior Classification Information Flow Sample Simulation Run One random infection Fixed infection rate infected Epidemic Recovery of initial infection starts recovering process On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems unsusceptible Conclusions I Embedding of self-organizing processes in MAS Architectural Aspect: Proposal: Supplement Coordination Encapsulation of: Reference Architecture Declarative language support Adaptation logic Information Flow / Interaction Technique Methodic Aspect: Equip self-organizing process to correct / oppose problematic dynamics On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Conclusions II “… how their contribution connects the self‐adaptive perspective with the self‐organizing perspective” (System) Self-Adaptivity by concerted entity adaptivity Adaptive Software System: Establishment of closed feedback loop, e.g. MAPE, … Here: Collective adjustments of individual elements Closed feedback is distributed among system elements System coordination model On the modeling, refinement and integration of decentralized agent coordination Sets of feedback loops Distributed Systems and Information Systems End Thank you for your Attention! Questions / Suggestions are welcome! On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Case Study I: Convention Emergence Sample Simulation Run: Random Initialization Value Convergence Random agent activation Communication: Coordination Medium Impact of Network-Topology: Random Graph Power law Graph: Comparable convergence times Less communicative overhead power law distributed graphs On the modeling, refinement and integration of decentralized agent coordination in Distributed Systems and Information Systems Encapsulating Adaptivity / Interaction Foundational elements of a self-organizing processes Information Flows Coordination Media: Information exchange techniques Tuplespace, spatial environments,… Here, Overlay-Network Local Element Adaptivity Topology constraints communication Coordination Endpoints: Local adpatation knowledge Automation of coordination-related activities On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Coordination Pattern On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Systemic Software Modeling On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Modeling Notation On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Exemplifying Systemic Modeling of MAS Systemic Modeling Causal relations of system variables Anticipation of the Qualitative System Dynamics Describe Entity behaviors Manual inspection and/ or simulation A Hypothetical System: Producers Products Products Storage Storage Production Balancing Feedback Practical development: After a suitable causal structure has been found: How to implement ? On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems MASDynamics: Declaration of Agent Behavior Interdependencies Systemic system model: Nodes System Variables Node Types # of groups … Link Types Interdependencies: Links # of role occupations Direct: e.g. service invocations, … Mediated: using environment models, e.g. pheromones, tuple spaces, … Description levels: Application independent Alignment with agent implementation: Nodes: Links: Referencing reasoning events Configuring interaction techniques that indicate behavior adjustments, E.g. environment models, … E.g. goal adoptions, plan activations, … On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Coordination Strategies Systemic Modeling of macroscopic dynamics Compensating Amplifying Selective On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Coordination Strategies Systemic Modeling of macroscopic dynamics Compensating: On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Coordination Strategies Systemic Modeling of macroscopic dynamics Amplifying: On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Coordination Strategies Systemic Modeling of macroscopic dynamics Selective: On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Decentralized Coordination Mechanisms Information Exchange techniques Classification: On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Expressing Coordination Dynamics Structural Properties of SO-Systems Positive Feedback Negative Feedback Damping inappropriate entity activities ... Dynamic Viewpoint on application development: Amplification of appropriate entity activities Consider dyn. properties at design-time Design the causes of self-organization MAS specific modelling level: Agent-based design concepts: Roles: Abstraction of agent behaviours Groups: sets of individuals that share common characteristics (e.g.: collective goals) System State: # of behaviour occupations On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Case Study: Decentral Web-Service Management Agent-based Web-Service Management Architecture Balance service workloads Management Agents: (J2EE) Service-Endpoint Broker Agents Registries: Service-Endpoints Conceptual Architecture Prototype Implementation: Jadex Agent Platform http://jadex.informatik.uni-hamburg.de/bin/view/About/Overview Cognitive agent model Beliefs, Goals, Plans, Internal Events, … SUN Appserver Management Extensions (AMX) Server-Management Interface https://glassfish.dev.java.net/javaee5/amx/ On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Case Study: Decentralized Web-Service Management A Functional, but un-coordinated Implementation Manual management of is enabled Tropos Modeling Notation Dependencies of agent types Client Client Broker Broker Service Endpoint Broker Service Endpoint Client Systemic Description of the Causal Application structure Tropos Design Notation Accumulative system variables Complementing the causalities Establish a negative feedback loop Agent state definitions Establishment of interdependencies On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Case Study: Decentralized Web-Service Management Embedding Coordination: Strategy Definition: Strategy alignment / integration Variable / Link Declarations Referencing agent models Configuring interaction technique Validation: Event Publications Provoking the manifestation of the feedback loop Responsive regime Event Perceptions Sudden demand for specific service type Middleware Configuration On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Case Study: Behavioral Analysis by Applying Stochastic Process Algebra Stochastic Process Algebra: Behavioral modeling System of interacting processes Coupled by synchronized activities Validation of qualitative dynamic: Provoking the effects of the feedback loop Responsive regime Initial Conf.: Allocation of service 1 Input: High demand of service 2 Balance of allocations On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Mesoscopic Modeling Available formalisms: Macroscopic System Microscopic System Local entity (inter-)actions State Machines, Process Algebra, … Transition: System Sciences Mathematics, … Simulation / Iteration of microscopic models Proposal: (Renz & Sudeikat, 2005, 2006) Mesoscopic agent states: Not microscopic: Intermediate description levels: Coarse grained agent activities Mesoscopic agent states Not macroscopic: Classification of agent behaviors Exhibits short time fluctuations Relevance of agent activities with respect to the Macroscopic System Behavior Abstraction of the microsopic agent activities On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Applying Mesoscopic Modeling Two orthogonal approaches: Different modeling directions Enabling iterative development: Explain rising phenomena Tune rising phenomena Top-Down: E.g.: MASDynamics Transfer of System Dynamics concepts Graph-based modeling Bottom-up: E.g.: Stochastic Situational Calculus Extension of the Sit. Calculus modeling macroscopic coarse-graining element dynamics refinement to intermediate scales dynamics inferring collective system properties On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Top-Down: Systemic MAS Modeling MAS abstraction by: Agent-based design concepts: Roles: Abstraction of agent behaviours Groups: sets of individuals that share common characteristics (e.g.: collective goals) Global MAS State: MAS Design # of behaviour occupations Graph Definition: Nodes: System Variables # of role occupations # of organizational groups size of organizational groups quantification of environment elements ( #, size, etc. ) Links: Causal relations Environment mediated Direct agent interactions On the modeling, refinement and integration of decentralized agent coordination Modelling the causes of Self-organization: Feedback Loop Structures Distributed Systems and Information Systems Top-Down: Systemic MAS Modelling Allows for model refinement Attachment: add detail Link: detail link dynamics Variable: detail variable intern dynamics Example: Ant-based path finding (-) (+) On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems Self-Organization vs. Emergence Methodological view On the modeling, refinement and integration of decentralized agent coordination Distributed Systems and Information Systems
© Copyright 2025 Paperzz