foundations of computational agents
The third edition of Artificial Intelligence: foundations of computational agents, Cambridge University Press, 2023 is now available (including full text).
In Example 9.20, the action provides information about fire. Checking for smoke costs units and does not provide any direct reward; however, in an optimal policy, it is worthwhile to check for smoke when there is a report because the agent can condition its further actions on the information obtained. Thus, the information about smoke is valuable to the agent, even though smoke only provides imperfect information about whether there is fire.
One of the important lessons from this example is that an information-seeking action, such as , can be treated in the same way as any other action, such as . An optimal policy often includes actions whose only purpose is to find information, as long as subsequent actions can condition on some effect of the action. Most actions do not just provide information; they also have a more direct effect on the world.
Information is valuable to agents because it helps them make better decisions.
If is a random variable and is a decision variable, the value of information about for decision is how much extra utility can be obtained by knowing the value for when decision is made. This depends on what is controlled and what else is observed for each decision, which is the information provided in a decision network.
The value of information about for decision in no-forgetting decision network is:
the value of decision network with an arc added from to , and with arcs added from to the decisions after to ensure that the network remains a no-forgetting decision network
minus the value of the decision network where does not have information about , and the no-forgetting arcs are not added.
This is only defined when is not a successor of , because that would cause a cycle. (Something more sophisticated must be done when adding the arc from to causes a cycle.)
In Example 9.13, consider how much it could be worth to get a better forecast. The value of getting perfect information about the weather for the decision about whether to take an umbrella is the difference between the value of the network with an arc from to which, as calculated in Example 9.21, is 91 and the original network, which, as computed in Example 9.13, is 77. Thus, the value of information about for the decision is .
The value of information has some interesting properties:
The value of information is never negative. The worst that can happen is that the agent can ignore the information.
If an optimal decision is to do the same thing no matter which value of is observed, the value of information is zero. If the value of information is zero, there is an optimal policy that does not depend on the value of (i.e., the same action can be chosen no matter which value of is observed).
The value of information is a bound on the amount the agent should be willing to pay (in terms of loss of utility) for information for decision . It is an upper bound on the amount that imperfect information about the value of at decision would be worth. Imperfect information is the information available from a noisy sensor of . It is not worth paying more for a sensor of than the value of information about for the earliest decision that could use the information of .
In the fire alarm problem of Example 9.20, the agent may be interested in knowing whether it is worthwhile try to detect tampering. To determine how much a tampering sensor could be worth, consider the value of information about tampering.
The following are the values (the expected utility of the optimal policy, to one decimal point) for some variants of the network. Let be the original network.
The network has a value of .
Let be the same as but with an arc added from to . has a value of .
Let be the same as except that it also has an arc from to . has a value of .
Let be the same as but without the arc from to . has the same value as .
The difference in the values of the optimal policies for the first two decision networks, namely , is the value of information about for the decision in network . The value of information about for the decision in network is 1.7. Therefore installing a tampering sensor could at most give an increase of 1.7 in expected utility.
In the context , the value of information about for , is 0. In the optimal policy for the network with both arcs, the information about is ignored in the optimal decision function for ; the agent never checks for smoke when deciding whether to call in the optimal policy when is a parent of .
The value of control specifies how much it is worth to control a variable. In its simplest form, it is the change in value of a decision network where a random variable is replaced by a decision variable, and arcs are added to make it a no-forgetting network. If this is done, the change in utility is non-negative; the resulting network always has an equal or higher expected utility than the original network.
In the fire alarm decision network of Figure 9.11, you may be interested in the value of controlling tampering. This could, for example, be used to estimate how much it is worth to add security guards to prevent tampering. To compute this, compare the value of the decision network of Figure 9.11 to the decision network where is a decision node and a parent of the other two decision nodes.
To determine the value of control, turn the node into a decision node and make it a parent of the other two decisions. The value of the resulting network is . This can be compared to the value of in Example 9.24 (which has the same arcs, and differs in whether is a decision or random node), which was . Notice that control is more valuable than information.
The previous description assumed the parents of the random variable that is being controlled become parents of the decision variable. In this case, the value of control is never negative. However, if the parents of the decision node do not include all of the parents of the random variable, it is possible that control is less valuable than information. In general, one must be explicit about what information will be available when controlling a variable.
Consider controlling the variable in Figure 9.11. If is a parent of the decision variable , it has to be a parent of to make it a no-forgetting network. The expected utility of the resulting network with coming before is . The value of controlling in this situation is due to observing . The resulting optimal decision is to call if there is a fire and not call otherwise.
Suppose the agent were to control without observing . That is, the agent can decide to make smoke or prevent smoke, and is not a parent of any decision. This situation can be modeled by making a decision variable with no parents. In this case, the expected utility is , which is worse than the initial decision network, because blindly controlling loses its ability to act as a sensor for .