2.3Messages
A message is an action whose immediate effect is to change the information available to other agents rather than the environment state.
In this section you will
- Add a message choice alongside an agent’s environmental action
- Separate an action’s environmental effect from its informational effect
- Define discrete and continuous message spaces
- Condition a receiver’s policy on an incoming message
Communication as an Action
Section titled “Communication as an Action”Split each agent’s action into two parts: something it does to the world, and something it says.
- environment actions: move, pick up, chop, transmit on a channel
- communication actions: the messages this agent can send
- every environment action pairs with every message, so the agent chooses both
So an agent’s choice at step is a pair.
- what agent i does to the kitchen
- what agent i says while doing it
In the kitchen:
| Part | Example |
|---|---|
| environment action | move toward the stove |
| message | “ingredient ready” |
Note the agent does both on the same step. Communication is not a turn spent talking instead of working. It is an extra channel running alongside the work.
Environmental and Informational Effects
Section titled “Environmental and Informational Effects”Here is the property that makes a message a peculiar kind of action.
Two destinations. The environment action goes down into the kitchen and moves things. The message goes sideways into a partner and moves nothing.
The transition function does not depend on . Say “ingredient ready” and the stove does not warm, no tomato moves, and the order gets no closer to being served. The kitchen is precisely as it was.
What changes is that another agent observed the message, and may therefore choose differently on the next step. Only then, through that agent’s environment action, does anything happen.
Message Spaces
Section titled “Message Spaces”What can be said depends on what contains, and there are two usual shapes.
Discrete. A small set of symbols, one of which gets sent.
- the message space available to agent i
- one selectable discrete message symbol
Continuous. A real-valued vector, which can carry a great deal more.
- the width of the message vector
Both appear in practice, along with multi-valued vectors of discrete symbols. Discrete spaces are easier to inspect and match real channels with fixed bit budgets; continuous ones are easier to learn by gradient descent, since the message is differentiable.
Receiver Policies
Section titled “Receiver Policies”The receiving agent now has two sources of information: what it saw, and what it was told.
- agent 2’s own observation, as before
- the message agent 1 sent, now an input to agent 2’s policy
No new machinery is needed. The message is treated as part of what the agent knows, and a policy that reads it is still a local policy: agent 2 conditions on things it actually received.
Knowledge check
Correct.
Not quite.
Not necessarily. A message cannot change this step’s reward, since it does not affect the transition. Its effect appears in what agent 2 does next.
Right. The reward depends on the state and the environment actions, and the message is neither. Judging a message by the reward on the step it was sent will always understate it.
Yes. If the reward did not change, the message carried no useful information.
This confuses when the effect appears with whether there is one. The message changes agent 2’s next decision, so its payoff arrives later, through agent 2’s action.
No, because messages always increase the reward slightly.
Messages do not enter the reward function directly at all. In fact, where a communication cost is charged, sending one lowers the reward, which is *Communication Policies*.
It depends on whether the message was true.
Truthfulness is not the issue in a cooperative setting, where all agents share one reward and none gains by misleading the others. The issue is timing: a message acts through a partner, so its effect is never immediate.
Explanation
Messages pay off one step late, at the earliest. That shapes how they have to be learned.
Messages Summary
Section titled “Messages Summary”- An agent’s action set factors as : an environment action and a message, chosen together on the same step.
- The transition does not depend on the message. A message changes what a partner knows, never the world directly.
- Message spaces are discrete (a few symbols, inspectable, matched to real bit budgets) or continuous (a learned vector, expressive, opaque).
- Most spaces include , so an agent can choose to say nothing.
- A receiver treats a message as one more input to its own local policy. It does not gain access to a partner’s observation, only to what that partner chose to send.