Professional Documents
Culture Documents
Communication Model: The Communication Plan Specifying Agent-Agent Transactions Transaction Patterns
Communication Model: The Communication Plan Specifying Agent-Agent Transactions Transaction Patterns
Communication Model
task selected in feasibility study and further detailed in Task and Agent Models
communication model
knowledgeintensive task
design model
knowledge model
Communication Model
Task Model
list of leaf tasks carried out by the considered agents transfer functions description of relevant agents: capabilities, responsibilities constraints.
Knowledge Model
Agent Model
Communication Model
Communication Model
Communication Model
Communication Plan
part-of dialogue diagram transaction control
Transaction
identifier/name I/O info objects agents involved communication plan constraints info exchange spec part-of
involved-in
Task structure
transfer functions .....
Knowledge Model
Communication Model
1. The overall communication plan, which governs the full dialogue between two agents 2. The individual transactions that link two (leaf) tasks carried out by two different agents 3. The information exchange specification that details the internal message structure of a transaction
Start to construct the global overview, and fill in the details later
Communication Model
Sample application
Energy market
dynamic pricing of energy enables companies to do load management HOMEBOTS: intelligent electrical agents requires two-way communication system
kWh
kWh
utility utility
customer customer
utility utility
& info
customer customer
Communication Model
Transaction
key component of Communication Model describes what information objects are exchanged indicates agents and tasks involved go-between of two tasks carried out by different agents building blocks for the full dialogue between two agents transactions have an internal structure
example: obtain
Communication Model
10
Other CM concepts
Communication plan
governs the full dialogue between the agents organization of transactions details transaction structure consists of messages only necessary for complex communications
Communication Model
11
Communication Plan
easiest to begin with the overall communication plan describes full top-level dialogue typical transactions
data input asking or answering questions presentation of reasoning results explanation of results
Communication Model
12
for each agent: list all tasks for each task: identify set of associated agent-agent transactions results combined in dialogue diagram"
draw a DD for each combination of two agents that exchange a reasonable amount of information specify control over the transactions
Communication Model
13
Note: agent's (leaf) tasks are key entry to dialogue diagram construction
Task A1
Communication Model
14
Through networked microprocessors, devices can 'talk to', 'negotiate', 'make decisions', and 'cooperate' with one another.
Smart equipment agents we call homebots (inspired by Star Trek and Asimow's Robot Stories)
We use this,e.g., for distributed power load management (Further info: see separate case) Benefits:
handles much larger scale higher degree of automation & decentralized flexible approach proactive for the customer
Communication Model
15
Task and transaction links in power auction are graphically sketched in the dialogue diagram:
Gives overview of the system's communication plan
Communication Model
Announce
Express Preferences
Assess
Award
Schedule
C O M M U N I C A T E
Bid
Implement
Monitor
Monitor
16
application assessment
data needed/ask
Communication Model
17
Transaction list:
1. Kick-off the auction: sends a trigger signal to the customer agents to commence a load management action 2. Submit the bids: transmits the bids from the customer agents to the auctioneer for further processing 3. Present the awarded power allocation: informs the customer agents about the results of the auction 4. Present the associated real-time schedule: provides the customer agents with the calculated schedule that implements the awarded allocation 5. Receive the resulting real-time implementation data: transmits the actual metering data (Needed for billing and for assessing the need for further load management actions)
Communication Model
18
Communication Model
19
Auction Running
Next Round Interested? N Opt out Interested? Y Convergence? N Express Prefs.
Opted Out
Preferences Calculated
Allocation Computed
Assess Bids received?
Bid Submitted
Communication Model
20
agents involved
communication plan
TRANSACTION
information objects
Communication Model
21
Note: this transaction contains more than one message, and so is composite
Communication Model
22
Communication Model
23
Communication Model
24
Composite Transactions
So, within one transaction: two messages differring in both content and intent
Transactions not only transmit content, but also an intended relationship between two agents. Both these aspects must be explicitly specified.
Compare: "Hey, idiot, shut the door, I'm getting cold!"
Communication Model
25
Speech Acts
Agent communication languages often inspired by so-called speech act theory Makes distinctions between:
Content ('locutionary nature') of a speech act or message -what is actually being said -Intended effect ('illocutionary force') on the other agent Actual effect ('perlocutionary force') on the other agent
N.B. nice communication modeling exercises:
"It's the economy, stupid!'' Edward Albee's Who's Afraid of Virginia Woolf?
Communication Model
26
1. Content (locution): by means of a propositional statement 2. Intention (illocution): by means of typing a message
Task Delegation: Request; Require; Order; Reject-td Task Adoption: Propose; Offer; Agree; Reject-ta Pure Information Exchange: Ask; Reply; Report; Inform
Predefined types:
Communication Model
27
Communication types
Task delegation Task adoption Information exchange Request Require Order Reject-td Propose Offer Agree Reject-ta Ask Reply Report Inform
Communication Model
28
Request/Propose: potential for cooperation, but agent wishes to negotiate on the terms. Loosely: `I have an interest, but not yet a commitment'. Require/Offer: agent already has made a pre-commitment, and intends to prompt the receiving agent for its commitment. This type thus denotes a conditional commitment. Order/Agree: agent has made a commitment, and thus will act accordingly. Reject-td/ta: denote that the agent does not want to commit or cooperate. Ask/Reply: have as intent a query for information from another agent, and delivery of information in return. Report: types a message sent after an agent has acted towards a (previously) agreed task goal, with the intention to let the other agent know the status of achievement (e.g. success, failure, outcome of the action). Inform: refers to a message type that just delivers information objects to another agent. Indicates an independent informative action: no previous request or agreement involved.
Communication Model
29
Not only typing of single messages possible. Also, natural chains of message types can be formed (cf. COSY): Communication type patterns Communication Patterns
INFORM ORDER REQUIRE REQUEST
1)
REPORT
3)
AGREE
5)
REJECT-ta
PROPOSE
OFFER
7)
REJECT-ta
ASK
AGREE
OFFER
PROPOSE
REPLY
REPORT
ORDER
REJECT-td
REQUEST
REQUIRE
8)
REJECT-td
2)
4)
6)
Communication Model
30
energy market Transaction Identifier/Name Agents involved: sender, receiver Information items Message specification Message control
Worksheet structure
Communication Model
31
Bid-message
Auction-data-message
type: INFORM content: market data from: auctioneer to: customer agent
type: REQUEST content: trigger next round from: auctioneer to: customer agent
Opt-out-message
Next-round-message
Communication Model
32
Information items
role:
syntactic form: data string, diagram, ... medium: pop-up window, command-line interface, human intervention,
Communication Model
33
Communication Model
34
Transaction: submit-the-bid
REPEAT WHILE <market convergence condition not satisfied> IF <interest in load management> THEN PROCESS(bid-task); SEND(BID-MESSAGE) ELSE SEND(OPT-OUT-MESSAGE) END-IF IF <bids received> THEN PROCESS(assess-task) ELSE PROCESS(decision subprocedure [e.g. WAIT...]) END-IF SEND(AUCTION-DATA-MESSAGE) & SEND(NEXT-ROUND-MESSAGE) END-REPEAT
Communication Model
35
Validation techniques
Communication-plan walk-through
adequacy transaction structure completeness list of information items need for help or explanation experimental technique to validate interaction mock-up software
Wizard-of-Oz technique
Communication Model
36
Present a simple and natural dialogue Speak the user's language Minimize the user's memory load Maintain consistency in terminology Give feedback about what is going on Show clearly marked exits from unwanted states Offer shortcuts for the experienced user ..
Communication Model
37
Key inputs:
Take agent capabilities into account (see AM) syntactic form of media is area of both CM and DM
Communication Model
38
Identify core information objects to be exchanged between agents Identify associated transactions Draw important dialogue diagrams Combine this to a full communication plan Specify the individual transactions
Communication Model
39