# Another view of quantilizers: avoiding Goodhart’s Law

Goodhart’s law states:

Any observed statistical regularity will tend to collapse once pressure is placed upon it for control purposes.

One way of framing this is that, when you are solving some optimization problem, a metric that is correlated with a desired objective will often stop being correlated with the objective when you look at the extreme values of the metric. For example, although the number of paperclips a paperclip factory produces tends to be correlated with how useful the factory is for its owner’s values, a paperclip factory that produces an extremely high number of paperclips is likely to be quite bad for its owner’s values.

Let’s try to formalize this. Suppose you are finding some that optimizes some unknown objective function , and you have some estimate which you believe to approximate . Specifically, you have a guarantee that, for some base distribution , does not incorrectly estimate much on average:

We might suppose that we only want to take actions if our expected is above zero; otherwise, it would be better to do nothing.

Given this, how do you pick an to guarantee a good objective value across all possible objective functions ? Naively, you might pick ; however, if this has a low probability under , then it is possible for to be much higher than without causing to overestimate much *on average*.

If is chosen adversarially, the optimization problem to solve is: where is the probability that the agent takes an action at all, and is the action distribution if it takes an action. Equivalently, since the most adversarial values will not ever be above : Define :

In fact, when , the solution to this optimization problem is a -quantilizer with utility function and base distribution , for some . The proof can be found in the “Optimality of quantilizers under the cost constraint” section of the post about quantilizers. will be set to 1 if and only if this quantilizer is guaranteed positive utility.

This provides another view of what quantilizers are doing. In effect, they are treating the “utility function” as an *estimate* of the true utility function that tends to be accurate *on average* across the base distribution , and conservatively optimizing given adversarial uncertainty about the true utility function .

Not sure how closely related it is (I have not read through it), but here is another paper trying to fight Goodhart’s law: http://arxiv.org/abs/1506.06980