INTERACTION AND COMMUNICATION. Coordination A property of interaction among a set of agents performing some activity in a shared state. The degree of.

Slides:



Advertisements
Similar presentations
MultiAgent Systems Dr Oscar Lin.
Advertisements

Interest Management Objectives – –Understand what is meant by the term interest management. –Realise how interest management schemes may be deployed. –Understand.
Chapter 18: Communication Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Software Connectors Software Architecture. Importance of Connectors Complex, distributed, multilingual, modern software system functionality and managing.
The Technological Relevance of Natural Language Pragmatics and Speech Act Theory Michael A. Covington Associate Director Artificial Intelligence Center.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
14 -1 Lecture 14 Multi-Agent Systems Topics –Basics –MAS Architectures –Coordination KQML –Collaboration CNP –Development of MAS –Applications.
© 2001 Franz J. Kurfess Knowledge Processing 1 CPE/CSC 580: Knowledge Management Dr. Franz J. Kurfess Computer Science Department Cal Poly.
Group Communications Group communication: one source process sending a message to a group of processes: Destination is a group rather than a single process.
Multiagent Systems and Societies of Agents
Agent Communication Languages CSE5610- Intelligent Software Systems Agent Communication Languages.
3.5 Interprocess Communication Many operating systems provide mechanisms for interprocess communication (IPC) –Processes must communicate with one another.
CSCI 4550/8556 Computer Networks Comer, Chapter 19: Binding Protocol Addresses (ARP)
DAI: Agent interaction in MAS
3.5 Interprocess Communication
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Agent Communication Language. Agent Coordination Agents communicate in order to achieve better the goals of themselves or of the society Coordination.
WXES2106 Network Technology Semester /2005 Chapter 8 Intermediate TCP CCNA2: Module 10.
Chapter 2 Network Models.
Course Instructor: Aisha Azeem
Agents Communication Languages (ACL) Dumitru Roman Digital Enterprise Research Institute
The OSI Model A layered framework for the design of network systems that allows communication across all types of computer systems regardless of their.
Message-Oriented Communication Synchronous versus asynchronous communications Message-Queuing System Message Brokers Example: IBM MQSeries 02 – 26 Communication/2.4.
SEPT, 2005CSI Part 2.2 Protocols and Protocol Layering Robert Probert, SITE, University of Ottawa.
Switching Techniques Student: Blidaru Catalina Elena.
1 Computer Communication & Networks Lecture 20 Network Layer: IP and Address Mapping (contd.) Waleed.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
1 Semester 2 Module 10 Intermediate TCP/IP Yuda college of business James Chen
Protocol Architectures. Simple Protocol Architecture Not an actual architecture, but a model for how they work Similar to “pseudocode,” used for teaching.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
Service-Oriented Computing: Semantics, Processes, Agents
 An ISO is a multi national body dedicated to worldwide agreement on international standards.  An ISO standard that covers all aspects of network communications.
1 Chapter 16 Protocols and Protocol Layering. 2 Protocol  Agreement about communication  Specifies  Format of messages (syntax)  Meaning of messages.
 Communication Tasks  Protocols  Protocol Architecture  Characteristics of a Protocol.
EEL 5937 Agent communication EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
University of the Western Cape Chapter 12: The Transport Layer.
Chapter 18: Communication Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
User Datagram Protocol (UDP) Chapter 11. Know TCP/IP transfers datagrams around Forwarded based on destination’s IP address Forwarded based on destination’s.
DISTRIBUTED COMPUTING PARADIGMS. Paradigm? A MODEL 2for notes
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
MODULE I NETWORKING CONCEPTS.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
AOSE Multi-Agent Interaction. Agents and Interaction Interaction forms the basis of an agents collaborative problem solving capabilities. –Agents are.
Agent Communication in Multi Agent Systems. Reference Weiss – Chapter 2 Wooldridge – Chapter 8.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
Prepared by Engr.Jawad Ali BSc(Hons)Computer Systems Engineering University of Engineering and Technology Peshawar.
CHAPTER 4 PROTOCOLS AND THE TCP/IP SUITE Acknowledgement: The Slides Were Provided By Cory Beard, William Stallings For Their Textbook “Wireless Communication.
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
EEL 5937 Agent communication EEL 5937 Multi Agent Systems Lotzi Bölöni.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Protocols and Architecture Slide 1 Use of Standard Protocols.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
Intelligent Agents: Technology and Applications Agent Communications IST 597B Spring 2003 John Yen.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
Agent Communication Languages Speech act theory Speech act theory Semantics of languages Semantics of languages KQML KQML FIPA ACL FIPA ACL Comparison.
1 Protocols and Protocol Layering. 2 Protocol Agreement about communication Specifies –Format of messages –Meaning of messages –Rules for exchange –Procedures.
Networking (Cont’d). Congestion Control l Is achieved by informing nodes along a route that congestion has occurred and asking them to reduce their packet.
다중 에이전트의 의사소통 모델에 관한 연구 - KQML 언어의 의미론을 중심으로 - 인지과학 협동과정 김 경수.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Agent Communication Michael Floyd SYSC 5103 – Software Agents November 13, 2008.
Powerpoint Templates Data Communication Muhammad Waseem Iqbal Lecture # 07 Spring-2016.
Service-Oriented Computing: Semantics, Processes, Agents
LECTURE 9: Agent Communication
THE OSI MODEL By: Omari Dasent.
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Communication in Multi-Agent Systems
Service-Oriented Computing: Semantics, Processes, Agents
Chapter 13: I/O Systems.
Presentation transcript:

INTERACTION AND COMMUNICATION

Coordination A property of interaction among a set of agents performing some activity in a shared state. The degree of coordination is the extent to which they avoid extraneous activity –reduce resource contention –avoid livelock avoid deadlock maintain safety conditions Cooperation is coordination among nonantagonistic agents. Typically, each agent must maintain a model of the other agents each agent must develop a model of future interactions

Coherence and Commitments Coherence is how well a system behaves as a unit. It requires some form of organization, typically hierarchical Social commitments are a means to achieve coherence

Communication The primary reason for communication among agents is to coordinate activities Agents may coordinate without communication provided they have models of the others’ behavior Communication involves the dimensions of who, what, when, how (resources and protocol), and why To facilitate cooperation, agents often need to communicate their intentions, goals, results, and state

Communication Versus Computation Communication is generally more expensive and less reliable: –Recomputing is often faster than requesting information over a communication channel –Communication can lead to prolonged negotiation –Chains of belief and goal updates caused by communication may not terminate Communication is qualitatively superior: –Information cannot always be reconstructed locally –Communication can be avoided only when the agents are set up to share all necessary knowledge (a limiting assumption)

Interaction and Communication Interactions occur when agents exist and act in close proximity: –resource contention, e.g., bumping into each other Communication occurs when agents send messages to one another with a view to influencing beliefs and intentions. Implementation details are irrelevant: can occur over communication links –can occur through shared memory –can occur because of shared conventions

CIS Communication Protocols A CIS protocol is specified by the following fields: –sender –receiver(s) –language in the protocol –actions to be taken by the participants at various stages A CIS protocol is defined above the transport layer –not about bit patterns –not about retransmissions or routing A CIS protocol is defined at the knowledge level –involves high-level concepts, such as commitments, beliefs, intentions permissions, requests

A Classification of Message Classifications Syntactic –distinguish messages based on grammatical forms in natural language Semantic –distinguish messages based on a notion of intrinsic meaning prohibitive is different from directive, despite syntactic similarity Use-based –distinguish messages based on their roles in specific classes of protocols assertion is different from acknowledgment

Speech Act Theory Speech act theory, initially meant for natural language, views communications as actions. It considers three aspects of a message: Locution, or how it is phrased, e.g., –"It is hot here" or "Turn on the cooler" Illocution, or how it is meant by the sender or understood by the receiver, e.g., –a request to turn on the cooler or an assertion about the temperature Perlocution, or how it influences the recipient, e.g., –turns on the cooler, opens the window, ignores the speaker Illocution is the main aspect. Speech act theory classifies illocutions in various ways

Speech Act Theory and CIS The classifications motivate message types in CIS. However, they are typically designed for natural language –rely on NL syntax, e.g., they conflate directives and prohibitives Most research in speech act theory is about determining how locutions map to illocutions. This is trivial in CIS, since the message type is usually explicitly encoded However, speech act theory can contribute by giving a principled basis for studying communication –related to beliefs, intentions, know-how of agents –can have a formal semantics

Informing How can one agent tell another agent something? Send the information in a message (message passing) Write the information in a location where the other agent is likely to look (shared memory) Show or demonstrate to the other agent (teaching) Insert or program the information directly into the other agent (master --> slave; controller --> controllee; "brain surgery")

Querying How can one agent get information from another agent? Ask the other agent a question (message passing) Read a location where the other agent is likely to write something (shared memory) Observe the other agent (learning) Access the information directly from the other agent ("brain surgery")

Syntax, Semantics, Pragmatics For message passing Syntax: requires a common language to represent information and queries, or languages that are intertranslatable Semantics: requires a structured vocabulary and a shared framework of knowledge-a shared ontology Pragmatics: –knowing whom to communicate with and how to find them –knowing how to initiate and maintain an exchange –knowing the effect of the communication on the recipient

KQML: Knowledge Query and Manipulation Language KQML Agent Application Program

KQML Protocols ClientServer ClientServer ClientServer Query Reply Query Handle Next Reply Subscribe Synchronous: a blocking query waits for an expected reply Asynchronous: a nonblocking subscribe results in replies Server maintains state; replies sent individually when requested

KQML Is a Layered Language Content of Communication Message: Logic of Communication Communication: Mechanics of Communication

Communication Assumptions Agents are connected by unidirectional links that carry discrete messages Links have nonzero transport delay Agent knows link of received message Agent controls link for sending Messages to a single destination arrive in the order they were sent Message delivery is reliable

KQML Semantics Each agent manages a virtual knowledge base (VKB) Statements in a VKB can be classified into beliefs and goals Beliefs encode information an agent has about itself and its environment Goals encode states of an agent’s environment that it will act to achieve Agents use KQML to communicate about the contents of their own and others’ VKBs

Reserved Performative Types 1. Query performatives: evaluate, ask-if, ask-one, ask-all 2. Multiresponse performatives: stream-in, stream-all 3. Response performatives: reply, sorry 4. Generic informational performatives: tell, achieve, cancel, untell, unachieve 5. Generator performatives: standby, ready, next, rest, discard 6. Capability-definition performatives: advertise, subscribe, monitor, import, export 7. Networking performatives: register, unregister, forward, broadcast, route, recommend

Informatives tell :content :language :ontology :in-reply-to :force :sender :receiver deny :content :language KQML :ontology :in-reply-to :sender :receiver untell :content :language :ontology :in-reply-to :force :sender :receiver

Database Informatives insert :content :language :ontology :reply-with :in-reply-to :force :sender :receiver delete :content :language KQML :ontology :reply-with :in-reply-to :sender :receiver

Query Performatives evaluate :content :language :ontology :reply-with :sender :receiver reply :content :language KQML :ontology :in-reply-to :force :sender :receiver ask-one :content :aspect :language :ontology :reply-with :sender :receiver

Semantics of Communications What if the agents have different terms for the same concept? same term for different concepts? different class systems or schemas? differences in depth and breadth of coverage?

Common Ontologies A shared representation is essential to successful communication and coordination For humans, this is provided by the physical, biological, and social world For computational agents, this is provided by a common ontology: –terms used in communication can be coherently defined –interaction policies can be shared Current efforts are –Cyc –DARPA ontology sharing project –Ontology Base (ISI) –WordNet (Princeton)