Computer Science CPSC 601.68/CPSC 599.68 Rob Kremer Department of Computer Science University of Calgary 07/12/20151 Agent Communications.

Slides:



Advertisements
Similar presentations
Intelligent Architectures for Electronic Commerce Part 1.5: Symbolic Reasoning Agents.
Advertisements

8-1 LECTURE 8: Agent Communication An Introduction to MultiAgent Systems
Christopher Newport University 2005/07/27Commitment-based Conversations 1 Using a Performative Subsumption Lattice to Support Commitment-based Conversations.
FIPA Interaction Protocol. Request Interaction Protocol Summary –Request Interaction Protocol allows one agent to request another to perform some action.
Formal Semantics for an Abstract Agent Programming Language K.V. Hindriks, Ch. Mayer et al. Lecture Notes In Computer Science, Vol. 1365, 1997
CHAPTER 2 GC101 Program’s algorithm 1. COMMUNICATING WITH A COMPUTER  Programming languages bridge the gap between human thought processes and computer.
Title: Intelligent Agents A uthor: Michael Woolridge Chapter 1 of Multiagent Systems by Weiss Speakers: Tibor Moldovan and Shabbir Syed CSCE976, April.
Chapter 18: Communication Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Overview UML Extensions for Agents UML UML Agent UML (AUML) Agent UML (AUML) Agent Interaction Protocols Agent Interaction Protocols Richer Role Specification.
Can Machines Think? Rob Kremer Department of Computer Science University of Calgary.
Specifying Agent Interaction Protocols with AUML and OCL COSC 6341 Project Presentation Alexei Lapouchnian November 29, 2000.
1 Artificial Intelligence Rob Kremer Department of Computer Science University of Calgary.
Christopher Newport University 2005/07/27Commitment-based Conversations 1 Using a Performative Subsumption Lattice to Support Commitment-based Conversations.
Coalition Formation through Motivation and Trust Nathan Griffiths Michael Luck.
Python Programming Chapter 1: The way of the program Saad Bani Mohammad Department of Computer Science Al al-Bayt University 1 st 2011/2012.
Spam and . Spam Spam is unwanted usually meant to sell something to the recipient. If a business or organization with which you are affiliated.
Presentation on Formalising Speech Acts (Course: Formal Logic)
Computer Science 25/06/20151 Agent Communications: Static Protocols CPSC /CPSC Rob Kremer Department of Computer Science University of Calgary.
Agents Communication Languages (ACL) Dumitru Roman Digital Enterprise Research Institute
2015/8/91 FIPA Communicative Acts (CA). 2015/8/92 Introduction to FIPA FIPA is an IEEE Computer Society standards organization that promotes agent-based.
WRITING EFFECTIVE S. Before writing the Make a plan! Think about the purpose of the Think about the person who will read the and.
Computer Science 30/08/20151 Agent Communication BDI Communication CPSC /CPSC Rob Kremer Department of Computer Science University of Calgary.
Topic 5: Communication and Negotiation Protocols
Effective Communication
Collectively Cognitive Agents in Cooperative Teams Jacek Brzeziński, Piotr Dunin-Kęplicz Institute of Computer Science, Polish Academy of Sciences Barbara.
Chapter 15: Agents Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
1 Knowledge Based Systems (CM0377) Lecture 4 (Last modified 5th February 2001)
EEL 5937 Agent communication EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
Belief Desire Intention Agents Presented by Justin Blount From Reasoning about Rational Agents By Michael Wooldridge.
Chapter 18: Communication Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Introduction to AgentSpeak and Jason for Programming Multi-agent Systems (1) Dr Fuhua (Oscar) Lin SCIS Athabasca University June 19, 2009.
Extending HTML CPSC 120 Principles of Computer Science April 9, 2012.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Chapter 7 File I/O 1. File, Record & Field 2 The file is just a chunk of disk space set aside for data and given a name. The computer has no idea what.
Introduction to Business Writing: Effective Business s
Computer Science 25/10/20151 Agent Communication BDI Logic CPSC /CPSC Rob Kremer Department of Computer Science University of Calgary Based.
2005/07/27Commitment-based Conversations 1 Multi-Agent System Communication Paradigms Rob Kremer University of Calgary Department of Computer Science Calgary,
Issues in Multiparty Dialogues Ronak Patel. Current Trend  Only two-party case (a person and a Dialog system  Multi party (more than two persons Ex.
Design of Multi-Agent Systems Teacher Bart Verheij Student assistants Albert Hankel Elske van der Vaart Web site
AOSE Multi-Agent Interaction. Agents and Interaction Interaction forms the basis of an agents collaborative problem solving capabilities. –Agents are.
Service Service metadata what Service is who responsible for service constraints service creation service maintenance service deployment rules rules processing.
A Quantitative Trust Model for Negotiating Agents A Quantitative Trust Model for Negotiating Agents Jamal Bentahar, John Jules Ch. Meyer Concordia University.
MODULE 17 COMMUNICATION “Listening can be the key to understanding” What is communication and when is it effective? How can we improve communication with.
EEL 5937 Agent communication EEL 5937 Multi Agent Systems Lotzi Bölöni.
CSCI1600: Embedded and Real Time Software Lecture 28: Verification I Steven Reiss, Fall 2015.
Agent Overview. Topics Agent and its characteristics Architectures Agent Management.
Randolph Clarke Florida State University. Free will – or freedom of the will – is often taken to be a power of some kind.
The single most important skill for a computer programmer is problem solving Problem solving means the ability to formulate problems, think creatively.
Agent Communication Languages Speech act theory Speech act theory Semantics of languages Semantics of languages KQML KQML FIPA ACL FIPA ACL Comparison.
Computer Science 24/02/20161 Agent Communication FIPA Performatives CPSC /CPSC Rob Kremer Department of Computer Science University of Calgary.
EEL 5937 Content languages EEL 5937 Multi Agent Systems Lecture 10, Feb. 6, 2003 Lotzi Bölöni.
MTA SZTAKI Department of Distributed Systems Hogyan mixeljünk össze webszolgáltatásokat, ontológiákat és ágenseket? Micsik András.
Intelligent Agents Chapter 2. How do you design an intelligent agent? Definition: An intelligent agent perceives its environment via sensors and acts.
School of Engineering and Computer Science Victoria University of Wellington Copyright: Peter Andreae, VUW IRC, parsing, protocols COMP # 25.
Communication thread core thread Spawn N negotiation threads... negotiation threads active inactive Initialize An Agent and Its Threads execution thread.
Distributed Computing & Embedded Systems Chapter 4: Remote Method Invocation Dr. Umair Ali Khan.
Agent Communication Michael Floyd SYSC 5103 – Software Agents November 13, 2008.
Principles of Communication
Business Processes A business process describes a set of activities that are necessary to complete a response to a stimulus applied to an organization.
Artificial Intelligence Logical Agents Chapter 7.
Service-Oriented Computing: Semantics, Processes, Agents
LECTURE 9: Agent Communication
Intelligent Agents Chapter 2.
Communication in Multi-Agent Systems (MAS)
Social Commitment Theory
Service-Oriented Computing: Semantics, Processes, Agents
William Stallings Data and Computer Communications
Semantic Web Towards a Web of Knowledge - Projects
Presentation transcript:

Computer Science CPSC /CPSC Rob Kremer Department of Computer Science University of Calgary 07/12/20151 Agent Communications

07/12/2015CPSC /599.68: Agent Communications2 What is an Agent? Autonomous Knowledge-based Reflective or Reactive Social

07/12/2015CPSC /599.68: Agent Communications3 What is an Agent? An agent Ag is a tuple Ag = (Sit,Act,Dat,f Ag ) where Sit is a set of situations Ag can be in Act is a set of actions Ag can perform Dat, Ag’s internal data, is the set of possible values Ag’s internal data areas can have f Ag : Sit  Dat  Act is the agents decision function From outside, Ag seems to be a “function” g Ag :Sit  Act There are lots of other models of agency; this one is usefully general

07/12/2015CPSC /599.68: Agent Communications4 Agents = Object? Both have internal data and receive messages xBut the object has no “choice” but to execute the method; the agent can decide if and what method to execute. objectagent method A method B method C message B method A method B method C sensor message B I might execute method B, or I might do nothing, or I might execute method C or ….

07/12/2015CPSC /599.68: Agent Communications5 Communicating Agents Traditional (low level) “Protocols” (eg: TCP/IP) are a bit simple… –They mostly deal with “here’s a message” Agents need a richer conversation space –Request/Reply, Offer/Reply, Subscribe/Inform Agents need to handle exceptional cases, complex interactions, and novel new interactions

07/12/2015CPSC /599.68: Agent Communications6 Simple Conversation: naive What time is it? It’s 2:00

07/12/2015CPSC /599.68: Agent Communications7 Simple Conversation: more complex What time is it? It’s 2:00 Just a sec, I’ll check Thanks

07/12/2015CPSC /599.68: Agent Communications8 Go ask someone else. Simple Conversation: failure What time is it? I don’t know, my watch stopped (didn’t hear)

07/12/2015CPSC /599.68: Agent Communications9 What do we need? Message format (syntax) Message semantics Interpretation of sequences of messages (conversations) –Message sequencing and turn-taking Conversation semantics

07/12/2015CPSC /599.68: Agent Communications10 Message Syntax Envelope/content Envelope can be read by all agents in the society Content is usually understood only by specialized agents

07/12/2015CPSC /599.68: Agent Communications11 Message Syntax performativethe type of the communicative act of the message senderthe sender of the message receiverthe intended recipients of the message reply-tosubsequent messages in this conversation thread are to be directed to the agent named contentthe content of the message; equivalently denotes the object of the action languagethe language in which the content parameter is expressed encodingthe specific encoding of the content field ontologythe ontology(s) used to give a meaning to the symbols in the content expression protocolthe interaction protocol that the sending agent is employing with this ACL message conversation-idan expression used to identify the sequence of communicative acts that form a conversation reply-withan expression that will be used by the responding agent to identify this message in-reply-toan expression that references an earlier action to which this message is a reply reply-bya time and/or date expression indicating the latest time the sending agent wants a reply

07/12/2015CPSC /599.68: Agent Communications12 Message Syntax: KQML-style ( request :act inviteToJoinCD :to casa:// /Bob :from casa:// /Alice :reply-with casa:// /Alice$$1453 :language casa.URL :language-version 1.0 :content casa:// /CDagent2 )

07/12/2015CPSC /599.68: Agent Communications13 Message Syntax: xml-style request inviteToJoinCD casa:// /Bob casa:// /Alice casa:// /Alice$$1453 casa.URL 1.0 casa:// /CDagent2

07/12/2015CPSC /599.68: Agent Communications14 Message Semantics Typically based on speech-act theory Performative is the main speech act FIPA implementation uses the performative and a BDI semantics

07/12/2015CPSC /599.68: Agent Communications15 Message Semantics: FIPA Performatives accept-proposalaccepting a previous proposal agreeagreeing to perform some action cancelinform another agent that the agent no longer need perform some action call-for-proposalcalling for proposals to perform an action confirminforms a given proposition is true disconfirminforms a given proposition is false failurean action was attempted but failed Informa given proposition is true inform-ifinform whether or not a proposition is true inform-refinform the object which corresponds to a descriptor not-understooddid not understand what the receiver just did propagatepass a message on proposesubmitting a proposal to perform an action proxypass on an embedded message query-ifasking whether or not a proposition is true query-refasking for the object referred to refuserefusing to perform an action reject-proposalrejecting a proposal during negotiation requestrequest to perform some action request-whenrequest to perform some action when some proposition becomes true request-wheneverrequest to perform some action each time the proposition becomes true subscriberequesting to notify of the value of a reference whenever the object changes

Message Semantics: FIPA request 07/12/2015CPSC /599.68: Agent Communications16 FP: FP (a) [i\j] ∧ B i Agent (j, a) ∧ ¬B i I j Done (a) RE: Done (a) FP(a) [i\j] denotes the part of the FPs of a which are mental attitudes of i.

Message Semantics: Social Commitments/CASA 07/12/2015CPSC /599.68: Agent Communications17

07/12/2015CPSC /599.68: Agent Communications18 Conversation Paradigms Ad-hoc protocols BDI (Belief, Desire, Intentions) Social Commitments

07/12/2015CPSC /599.68: Agent Communications19 Ad-hoc Protocols “Scripts” that the agent follows Issues: Rigid and Brittle. Hard to account for all eventualities

07/12/2015CPSC /599.68: Agent Communications20 Ad-hoc Protocols: Petri Nets

07/12/2015CPSC /599.68: Agent Communications21 BDI Belief –Environment Desire –Goals Intention –The current desire(s) chosen by the selection function with the beliefs and desires as input

07/12/2015CPSC /599.68: Agent Communications22 BDI Issues Sometimes end up with expressions like “I believe that you believe that I believe that you believe that…” Calls on agents to have a omniscient view of all the other agents FIPA is based on BDI semantics

07/12/2015CPSC /599.68: Agent Communications23 Social Commitments Many utterances imply some sort of “conversational” social commitment Eg: a request commits the receiver to reply Other social commitments are negotiated Eg: “wash my car” Basic Agent body: When an agent observes (or sends or receives) a message, it uses policies (rules) as social norms that generate (or delete) social commitments Agents spend their free time trying to fulfill the social commitments for which it is a debtor

07/12/2015CPSC /599.68: Agent Communications24 Social Commitments reply-propose-discharge(Alice,Bob,x) act(Bob,Alice,x) propose-discharge(Bob,Alice,x) Alice Bob request inform reply agree informack propose-discharge done reply informack reply-propose-discharge confirm reply informack reply(Bob,Alice,x) ack(Bob,Alice,x) ack ack(Bob,Alice,x) ack ack(Alice,Bob,x) ack ack(Alice,Bob,x) ack

07/12/2015CPSC /599.68: Agent Communications25 Social Commitments Issues Deals with complexity Agents make decisions based only on observable conversational moves (and the Environment and their internal state) Turn taking follows naturally