Previously: Towards Measures of Optimisation

When thinking about optimisation processes it is seductive to think in information-theoretic terms.

Is there some useful measure[1] of 'optimisation' we can derive from utility functions or preference orderings, just as Shannon derived 'information' from probability distributions? Could there be a 'mathematical theory of optimisation' that is analogous to Shannon's theory of information? In this post we exhibit negative evidence that this point of view is a fertile direction of inquiry. 

In the last post we reviewed proposals in that direction, most notably Yudkowsky's original idea using preference orderings, and suggested some informal desiderata. In this post we state our desiderata formally, and show that they can't all be satisfied at once. We exhibit a new proposal from Scott Garrabrant which relaxes one desideratum, and revisit the previous proposals to see which desiderata they satisfy.

Setup

Recall our setup: we're choosing an action from a set  to achieve an outcome in a set . For simplicity, we assume that  is finite. Denote the set of probability distributions on by  We have a default distribution , which describes the state of affairs before we optimise, or in a counterfactual world where we don't optimise, and action distributions  for each , which describe the state of affairs if we do. Our preferences are described by a utility function .  Let  denote the set of utility functions.

In the previous post we considered random variables  which measure the optimisation entailed by achieving some outcome , given a utility function  and base distribution . We then took an expectation over  to measure the optimisation entailed by achieving some distribution over outcomes, i.e. we defined 

In this post we state our desiderata directly over  instead. For more on this point see the discussion of the convex-linearity desideratum below.

Desiderata

Here are the desiderata we originally came up with for . They should hold for all  and for all . Explanations below.

  1. (Continuity) 
     is continuous[2] in all its arguments.
  2. (Invariance under positive scaling).
      for all 
  3. (Invariance under translation).
      for all  
  4. (Zero for unchanged expected utility).
      whenever .
  5. (Strict monotonicity).
      whenever .
  6. (Convex-linearity). 
     for all 
  7.  (Interesting and not weird).
    See below. 

Continuity just seems reasonable.

We want invariance under positive scaling and invariance under translation because a von Neumann-Morgernstern utility function is only defined up to an equivalence class  for  and  (we denote this equivalence relation by  in the remainder of the post). One of our motivations for this whole endeavour is to be able to talk about how much a utility function is being optimised without having to choose a specific  and .

The combination of zero for unchanged expected utility and strict mononicity means that  follows the sign of  Increases in expected utility count as positive optimisation, decreases count as negative optimisation, and when expected utility is unchanged no optimisation has taken place. 

Convex-linearity holds if and only if  can be rewritten as the expectation under  of an underyling measure of the optimisation of outcomes  rather than distributions  This is intuitively desirable since we're pursuing an analogy with information theory, where  corresponds to the entropy of a random variable, and  corresponds to the information content of its outcomes. This is the desideratum that Scott's proposal violates in order to satisfy the rest.

Interesting and not weird is an informal catch-all desideratum. 

Not weird is inspired by the problem we ran across in the previous post when trying to redefine Yudkowsky's proposed optimisation measure for utility functions instead of preference orderings: you could make  arbitrarily low by adding some  to  with zero probability under both  and  and large negative utility. This kind of brittleness counts against a proposed .

Interesting is the most important desideratum and the hardest to formalise.  should be a derivative of utility functions that might plausibly lead us to new insights that are much harder to access by thinking about utility functions directly. If we compare to derivatives of probability, it should be more like information than like odds ratios. definitely shouldn't just recapitulate expected utility.


​Impossibility

It turns out our first 6 desiderata sort of just recapitulate expected utility.

In particular, they're equivalent to saying that  just picks out some representative  of each equivalence class of utility functions and reports its expectation under . The zero point of the representative must be set so that  (and so we'll get different representatives for different ), but other than that, any representative defined continuously in terms of  and  will do.

Proposition 1: Desiderata 1-6 are satisfied if and only if  for some continuous function  with  and  for all  and .

Proof: See Appendix.

For example, we can translate  by  and rescale by the utility difference between any two points, i.e. set  for some fixed [3]. The translation gets us the right zero point, and the scaling ensures the function is well defined, i.e. it sends all equivalent  to the same representative.

 satisfies desiderata 1-6. But it's not very interesting! It's just the expectation of a utility function.

Not all possibilities for  are of this simple form, and as stated it remains possible that a well-chosen , with a scaling factor that depends more subtly on  and , could lead to an interesting and well-behaved optimisation measure. But proposition 1 contrains the search space, and can be seen as moderately strong evidence that any optimisation measure satisfying desiderata 1-6 must violate desideratum 7. 

If we take this perspective, perhaps we should think of dropping one of the desiderata. Which one should it be?

New Proposal: Garrabrant

Convex-linearity, according to the following idea, suggested by Scott Garrabrant.

Intuitively, we start with some notion of 'disturbance' - a goal-neutral measure of how much an action affects the world. Then we say that the amount of optimisation that has taken place is the least amount of disturbance necessary to achieve a result at least this good.

We'll use the KL-divergence as our notion of disturbance, but there are other options. Let  order probability distributions by their expected utility, so  if and only if  Then we define 

So if it didn't require much disturbance to transform the default distribution  into , we won't get much credit for our optimisation. If it required lots of disturbance then we might get more credit - but only if there wasn't some  much closer to  which would've been just as good. In that case most of our disturbance was wasted motion.

Notice that Scott's idea only measures positive optimisation: if  then we just get 

To get something which does well on our desiderata, we need to combine it with some simliar way of measuring negative optimisation. One idea is to say that when expected utility goes down as a result of our action, the amount of de-optimisation that has taken place is the least amount of disturbance needed to get back to somewhere as good as you started[4]. Using the KL-divergence as our notion of disturbance we get 

Then we can say  

Note that one or both of the two terms will always be zero, depending on whether expected utility goes up or down.

Proposition 2:  satisfies continuity, invariance under positive scaling, invariance under translation, zero for unchanged expected utility, and strict monotonicity; and does not satisfy convex-linearity.

Proof: See Appendix.

 seems interesting, and not obviously weird, so whether or not you like it might come down the importance you assign to convex-linearity. Remember that in the information theory analogy, the lack of linearity makes  like a notion of entropy without a notion of information. If you didn't like that analogy anyway, this is probably fine.

Previous Proposals

Let's quickly run through how some previously proposed definitions of  score according to our desiderata. We won't give much explanation of these proposals - see our previous post for that.

Yudkowsky

In our current setup and notation we can write Yudkowsky's original proposal[5]as 

Since this proposal is about preference orderings rather than utility functions, it violates a few of our utility function-centric desiderata.

Proposition 3:  satisfies invariance under positive scaling, invariance under translation, and convex-linearity; it does not satisfy continuity, zero for unchanged expected utility, or strict monotonicity.

Proof: See Appendix.

 was interesting enough to kick off this whole investigation. How weird it is is open to interpretation.

Yudtility

In the previous post we tried to augment Yudkowsky's proposal to a version sensitive to the size of utility differences betweeen different outcomes, rather than just their order. We can write our idea as  where 

Proposition 4:  satisfies invariance under positive scaling, invariance under translation, and convex-linearity; it does not satisfy continuity, zero for unchanged expected utility, or strict monotonicity. 

Proof: See Appendix.

 also intuitively fails not weird, since as we noted in the previous post, it can be made arbitrarily small by making  sufficiently low - the existence of a very bad outcome can kill your optimisation power, even if it has zero probability under either the default or achieved distribution.

Altair

In a post from 2012, Alex Altair identifies some desiderata for a measure of optimisation. His setup is slightly different to ours: instead of comparing two distinct distributions  and , he imagines one distribution  varying continously over time, and aims to define instantaneuous  in terms of the rate of change of  He gives the following desiderata:

  1. The sign of  should be the sign of 
  2. Constant positive  should imply exponentially increasing 

The analogue of 1 in our setup is the requirement that the sign of  should be the sign of . As we mentioned, this is a consequence of zero for unchanged expected utility and strict mononicity. But importantly, strict monotonicity also rules out the degenerate solution of setting OP to  if  is positive and  if it's negative.

2 seems like the sort of condition should fall out of desiderata along the lines of 'OP should be additive across a sequence of independent optimisation events'. We haven't thought much about the sequential case, but we think it's the most interesting direction to consider in the future.

Altair tentatively suggests defining  as  An analogue in our setup would be .

Proposition 5:  satifies continuity, invariance under positive scaling, zero for unchanged expected utility, strict monotonicity, and convex-linearity. It does not satisfy invariance under translation.

Proof: See Appendix.

But  is not very interesting - it's similar to the  we got out of Proposition 5.

Future Directions

Comments suggesting new desiderata or proposals, rejecting existing ones, or pointing out mistakes are encouraged. We don't plan to work on this any more for now, so anyone who wants to to take up the baton is welcome to.

That said, there are a few reasons why the basic premise of this project, which is something like, "Let's look for a true name for optimisation defined in terms of utility functions, inspired by information theory," might be misguided: 

  • Utility functions might already be the true name - after all, they do directly measure optimisation, while probability doesn't directly measure information.
  • The true name might have nothing to do with utility functions - Alex Altair has made the case that it should be defined in terms of preference orderings instead.
  • Following the information theory analogy might put form over substance - perhaps quests for the true name of a quantity need to be guided by clear cut use cases instead, so you get the meaningful feedback loops necessary to iterate to something interesting.

If you're not put off by these concerns, and want something concrete and mathematical to work on, then we think there's some low hanging fruit in formulating desiderata over a sequence of optimisation events, instead of just one. One of Shannon's desiderata for a measure of information was that the information content of two independent events should be the sum of the information content of the individual events. It seems natural to say something similar for optimisation, but we haven't thought much about how to formulate it.[6][7]

Appendix: Proofs

Proposition 1

Proposition 1: Desiderata 1-6 are satisfied if and only if  for some continuous function  with  and  for all  and .

Proof: Forwards direction:

By convex-linearity  for some . By the two invariance conditions we have that  for any  with . A consequence of this is that  for any  and  with  (to see this for a given , just set , where  is the distribution which is  at  and  elsewhere). That means we can well-define a function  by . Since  is the set of functions from  to , we can reformulate  as a function (whose name is not yet justified) , where  is defined by . Then we get that , as in the statement of the proposition. 

To show that  is continuous, note that by the continuity of  we have that for any sequence . Since  and , the continuity of  follows.

To see that  note that by strict monotonicity  induce the same ordering of probability distributions by expected utility, so by the von Neumann-Morgernstern utility theorem there exists a positive affine transformation between them. That  follows directly from zero for unchanged expected utility.

Backwards direction: 

Continuity follows from continuity of . Invariance follows from the fact that  is defined on  rather than . That  gives us that if  then , i.e. strict monotonicity, and also that if  then , which since the latter is zero by assumption gives zero for unchanged expected utility. Linearity follows from linearity of expectation.

Proposition 2

 satisfies continuity, invariance under positive scaling, invariance under translation, zero for unchanged expected utility, and strict monotonicity; and does not satisfy convex-linearity.

Proof: We have continuity since  is the composition of continuous functions. Since we only use the ordering a utility function induces over distributions we get invariance for free. When  both KL-divergences can be minimised to zero by , so we get zero for unchanged expected utility.

For strict monotonicity we can assume that  and show that (the case where both are  is similar, and the case where exactly one is   is easy). In particular we need to show that , which we can do by taking some  and constructing from it some  with  and . Take any  with  and , and set  and , with  for all . For small , we get decreased KL-divergence without taking the expected utility below that of 

To see that  violates convex-linearity, consider the case where  with , and . In this case . Since KL-divergence is not linear its easy to find a counterexample.

Proposition 3

  satisfies invariance under positive scaling, invariance under translation, and convex-linearity; it does not satisfy continuity, zero for unchanged expected utility, or strict monotonicity.

Proof: We get invariance by since  only uses the ordering over outcomes implied by a utility function, and convex-linearity since  is an expectation. 

 is not continuous in : look at  for some , and consider what happens when we take some  with  and and , and increase  all the way to  Zero for unchanged expected utility fails since  is only zero when .

For a counterexample to strict monotonicity, let  (which we will notate as ), , and  Then  wins on expected utility but loses on 

Proposition 4

  satisfies invariance under positive scaling, invariance under translation, and convex-linearity; it does not satisfy continuity, zero for unchanged expected utility, or strict monotonicity. 

Proof: We get invariance by construction, and convex-linearity since  is an expectation. 

Continuity fails for the same reason as before. We can reuse the same counterexample as before for strict monotonicity. For a counterexample to zero for unchanged expected utility let  and 

Proposition 5:  satifies continuity, invariance under positive scaling, zero for unchanged expected utility, strict monotonicity, and convex-linearity. It does not satisfy invariance under translation.

Proof: Left as an exercise to the reader!

 

 

  1. ^

    By measure we mean a standard unit used to express the size, amount, or degree of something, not a probability measure. Alexander voted for yardstick to avoid confusion; Matt vetoed.

  2. ^

    Since we assume  is finite, there is only one reasonable topology on  and , namely the Euclidean topology.

  3. ^

    When  we have to interpret  as negative infinity, zero, or positive infinity, depending on the sign of the numerator.

  4. ^

    Here we distinguish de-optimisation, by which we mean something like accidental or collateral damage, from disoptimisation - deliberate pessimisation of a utility function. If we are instead interested in interpreting expected utility decreases as disoptimisation, it would be natural to define  i.e. the amount of disoptimisation that has taken place is the least amount of disturbance needed to do even worse.

  5. ^

    Yudkowsky defined  as a function of default distribution, outcome, and preference ordering; we've made it a function of default distribution, achieved distribution, and utility function by taking an expectation under the achieved distribution and using the induced preference ordering of the utility function.

  6. ^

    Related ideas are to consider a sequence of distributions  and require something like , or to get into more exotic operadic compositionality-style axioms like the one in Theorem 5.3 here.

  7. ^

    Another avenue is to replace convex-linearity with convexity, in which case  might arrive as an infra-expectation of  if not an expectation.

New Comment