# A brief note on factoring out certain variables

Jessica Taylor and Chris Olah has a post on “Maximizing a quantity while ignoring effect through some channel”. I’ll briefly present a different way of doing this, and compare the two.

Essentially, the AI’s utility is given by a function of a variable . The AI’s actions are a random variable , but we want to ‘factor out’ another random variable .

If we have a probability distribution over actions, then, given background evidence , the standard way to maximise would be to maximise:

.

The most obvious idea, for me, is to replace with , making artificially independent of and giving the expression:

.

If is dependent on - if it isn’t, then factoring it out is not interesting—then needs some implicit probability distribution over (which is independent of ). So, in essence, this approach relies on two distributions over the possible actions, one that the agent is optimising, the other than is left unoptimised. In terms of Bayes nets, this just seems to be cutting from .

Jessica and Chris’s approach also relies on two distributions. But, as far as I understand their approach, the two distributions are taken to be the same, and instead, it is assumed that cannot be improved by changes to the distribution of , *if one keeps the distribution of constant*. This has the feel of being a kind of differential condition—the infinitesimal impact on of changes to but not is non-positive.

I suspect my version might have some odd behaviour (defining the implicit distribution for does not seem necessarily natural), but I’m not sure of the transitive properties of the differential approach.

I think the main problem with using a pre-specified distribution over actions is that, since it doesn’t reflect the AI’s actual behavior, you can’t say much about P(B=b|e) in relation to real life. For example, maybe the implicit policy is to take random actions, which results in humans not pressing the shutdown button; therefore, in real life the AI is confident that the button will not be pressed, so it spends no resources looking at the shutdown button to see if it was pressed.

How about an iterated process? If you have a series of actions and observations en=anonan−1on−1…, and A is the set of possible actions, have the AI pick a such that:

an=argmaxa1|A|∑a′∈A,bU(aonen−1|B=b)P(B=b|a′onen−1)

(the 1|A| is not necessary, just a reminder that we are choosing a uniform distribution over the possible actions).

Notice that the AI conditions correctly on all its past actions, but not its current hypothetical. I wonder how this would work if we set A=0,1 and had the AI type out messages bit by bit, each time thinking the probability of B was independent of its bit-choice?

EDIT: What this means is that, as soon as it’s done any action that might cause the shutdown button to be pressed, it will then look at the shutdown button (but maybe doesn’t expect, ahead of time, that it will be looking at the button).

I think, to get P(B=b), you have to have an implicit policy for the entire rest of the game (not just the next action a′).

I like the idea of using the evidence you have so far to inform the P(b), so you spend more effort on looking at the shutdown button if you expect shutdown might be imminent based on your evidence. Of course, you can combine this with the fixed point thing, so the distribution of a′ is the same as the distribution of a.

My main concern is that this isn’t reflectively stable. If at an early time step the AI has a certain P(b) distribution, it may want to modify into an agent that fixes this as the correct P(b) rather than changing P(b) in response to new evidence; this is because it is modelling B as coming

independentlyfrom P(b).Maybe if the pre-specified distribution is a reasonably well-calibrated predictor of the AI (given that distribution)? Like, maybe this is a way that an Oracle AI could help ensure the safety of a somewhat weaker Tool AI.

[Note: This comment is three years later than the post]

The “obvious idea” here unfortunately seems not to work, because it is vulnerable to so-called “infinite improbability drives”. Suppose B is a shutdown button, and P(b|e) gives some weight to B=pressed and B=unpressed. Then, the AI will benefit from selecting a Q such that it always chooses an action a, in which it enters a lottery, and if it does not win, then it the button B is pushed. In this circumstance, P(b|e) is unchanged, while both P(c|b=pressed,a,e) and P(c|b=unpressed,a,e) allocate almost all of the probability to great C outcomes. So the approach will create an AI that wants to exploit its ability to determine B.