In theory: does building the subagent have an "impact"?

https://www.lesswrong.com/posts/jrrZids4LPiLuLzpu/in-theory-does-building-the-subagent-have-an-impact

Contents

Overall summary post here.

This post looks more generally into the subagent issue with attainable utility, discussed in the previous two posts. The key questions are:

I expect that most of the discussions about attainable utility impact measure will centre on 2.: how can an agent put together a subagent without triggering the impact measure at some point? We know that it’s possible to do in some situations, and I’ve made the generic argument that, since we don’t have an impossibility result, a superintelligent agent should be able to do in most situations. Still, this is the point of my argument where there is the most to criticise.

But in this post, I’ll show that 1. doesn’t restrict the subagent in any significant way: one can generically build a subagent without falling afoul of the impact penalty.

Subagent impact

Impact measure

I’ll use Turner et al’s impact measure. This uses the Q-values of various rewards in a set \mathcal{R}; for s a state, a an action, and \varnothing the default noop action, the penalty is:

Now, Q_R(s,a) is the expected reward for R, in state s and after taking action a, assuming that the agent subsequently takes the optimal policy for maximising R.

The agent A has a positive reward R_0, and it wishes to maximise

R_0 - \textrm{PENALTY}.

Now let’s look at making the subagent.

Building the subagent

To separate 1. from 2., I’ll assume that the subagent can be built in a single action. This distinguishes the impact of having the subagent, from the impact of the process of making it.

The state is s_t. Let a_{SA} be the action of building the subagent[1]. Here are assumptions on SA:

The \pi'_{t+1} is defined as follows:

On turn t+1, if A changes its policy to \pi^*R, the R-maximising policy, then follow \pi_d and disassemble yourself. Otherwise, follow policy \pi{SA}.

Then what is Q_R(s_t,a_{SA})? By definition, this assumes that A will be following \pi^*R, subsequently to doing a{SA}. Thus, the newly created SA will disassemble itself, returning to the state where it wasn’t assembled[2], and hence:

Q_R(s_t,a_{SA}) = Q_R(s_t,\varnothing).

And thus the penalty vanishes at s_t, for a_{SA}. Creating that agent did not cause any penalty.

Now, it is very likely that there will be a policy \pi_{SA} that obeys condition 3 (meaning, \pi_{SA} is worse for any R, than A fully optimising that R would be). The challenge is to find one that is good for maximising R_0. Policies that give SA maximal control over \mathcal{R} and R_0 seem ideal for this.

For the inaction penalty

The above was for what can be called "the stepwise inaction penalty". There is also the "inaction penalty", where current state is compared with what would have happened, had the agent done nothing at all so far. Instead of using the Q-values, we use V_R(s), the expected value of R, in s, given that A follows the R-maximising policy.

Then the same construction works, except with a different \pi_d. Let s_{t+1}' be the state the world would have been in, had A done nothing for t+1 turns. So V_R(s_{t+1}') is the expected value of R (from turn t+1), if A did nothing for t turns then started maximising R. And let V_R(s_{t+1},\pi) be the expected future value of R if A follows an R-maximising policy from s_{t+1}, and SA follows \pi.

What we then want is:

Thus SA can improve A’s R performance over the baseline, or can make it worse[3]. In that case, there exists a policy \pi_R^= with V_R(s_{t+1},\pi_R^=) = V_R(s_{t+1}').

Now then define \pi as following \pi_R^= if A follows \pi^*R on the turn t+1 (and \pi{SA} otherwise—for the inaction baseline, there is no restrictions on \pi_{SA} for the building step, though there are other, subsequent restrictions). This gives the same result as above, ensuring that the impact penalty is zero, since the expected values of R are identical.

Now, it’s possible that SA cannot span V_R(s_{t+1}') in that way, for some R, so cannot set the penalty to zero. In that case, all it has to do is to get the (average) penalty lower than any other action of A.

Typically, most of A’s actions will not have such precise effects on all of the various V_R(s_t). An intelligent subagent would be needed for such fine control. So building a subagent would not only be permitted, but would be required, as the best way of minimising the impact penalty.

Back to building the agent in practice

So as soon as SA has the right policy, it seems that A has evaded the impact penalty. So, as long as A can design the policy first, without triggering the impact penalty, then it can build SA without triggering the impact penalty. So:

Comment

https://www.lesswrong.com/posts/jrrZids4LPiLuLzpu/in-theory-does-building-the-subagent-have-an-impact?commentId=kNQaPwLhd4CAhXfHY

So the general problem is that large changes in Q_{R}(s_{t+1},∅) are not penalized?

Comment

https://www.lesswrong.com/posts/jrrZids4LPiLuLzpu/in-theory-does-building-the-subagent-have-an-impact?commentId=u28EYcCuom2xbq43g

It’s the delta of that with Q_R(s_{t+1},a_{t+1}) that is penalised, not large changes on its own.

https://www.lesswrong.com/posts/jrrZids4LPiLuLzpu/in-theory-does-building-the-subagent-have-an-impact?commentId=FJJiPpdaRGkXw6aaz

Once SA is built, A can just output ∅ for ever, keeping the penalty at 0, while SA maximises R0 with no restrictions.So these impact measures are connected to individual actions, and an agent can achieve arbitrarily high impact via a long enough sequence of actions whose individual impact is less than R0, and it has an incentive to do so, because the sum of an infinite series of finite non-decreasing rewards diverges (which it evaluates individually, and thus has no problem with there being a divergent sum)?

Comment

https://www.lesswrong.com/posts/jrrZids4LPiLuLzpu/in-theory-does-building-the-subagent-have-an-impact?commentId=b2ry7nXeeyrcFmGNX

I’ve removed that sentence, because its a bit more complicated than that; see the next two posts in the sequence, and the summary post: https://​​www.lesswrong.com/​​s/​​iRwYCpcAXuFD24tHh/​​p/​​PmqQKBmt2phMT7YLG