A human clicks to indicate that they prefer the behavior in the left-hand video. The policy may be trained many times on the information in this single data point. But there is a large difference between "this human, presented with these two pieces of behavior, would choose the left" and "the behavior chosen by the policy maximises this human's objective". At each stage: from data point to preference prediction over other pairs of behavior, to maximisation over a much wider range of behavior, it is possible that all steps are successful and yet we learn little about the desired behavior.
Trace one comparison from the people who supplied it to its influence on the final policy. Who made the judgement, what did they see, and what later behavior did anyone check?
What would a human reasonably be expected to judge?
Reviewers in Christiano et al. are presented with pairs of behavior, each a number of timesteps long, and asked which they would prefer. The behavior may consist only of observations, or of observations and the agent's actions. It may well be possible to say which of these is closer to, say, "standing up", without being able to assign rewards to all observations (or observations and actions) individually. It may be considerably easier, indeed, to compare two pieces of behavior than to write down a function giving higher reward to all instances of standing than stumbling or standing up badly.
As an artificial example, suppose that in the first piece of behavior ("A") the agent gets both legs off the ground, and returns to a standing position; and in the second ("B") it gets one leg higher off the ground but topples. If the instructions to the reviewer say to choose the better example of "jump", they will probably choose A. We have learned only that A is to be preferred to B. There are many features of A which might lead to this preference: further from the ground, a steady landing, equal distance off the ground for each leg, did not fall. The human may well be unable to say which.
Providing another pair to compare may disambiguate. If one example is a short jump, returning to a stable stance, and the other is a higher jump, followed by unsteady movement, then "how far off the ground" and "stability when returning" conflict. So choosing pairs carefully may extract much more information per data point. And of course it affects the nature of the information contained in all of the data points. For example, if the degree of twist of the body were a reliable indicator over all the examples, then matching humans' preferences could be achieved with little learning of other aspects of the behavior.
Did the reviewer have a reasonable option?
Could a reviewer indicate a tie or decline an unusable comparison? Christiano and colleagues allowed both responses. Ties contributed equal weight to the two clips, while incomparable pairs were excluded from the preference data. However, there may be an important distinction between a reviewer who thinks the two characters made an equally good (or bad) jump, and one who cannot see where the character landed. Lumping them together obscures this fact. See Christiano et al., section 2.2.2.
What difference would this make to, say, a statement about the accuracy of labels? Suppose that for very high jumps the screen doesn't extend low enough for the reviewer to see the outcome. Then there will be many unjudgeable examples over some region. Inter-rater agreement on the remaining examples measures how consistently reviewers answered. Even unanimous reviewers could share the same misconception. A claim about accuracy needs an independent standard. But it is not so informative about the region the agent is likely to spend much time in if it learns to jump as high as possible. So it is worth asking what examples were excluded from computing this figure.
Learn a reward function
So Christiano et al. aim to learn a function which gives a reward for each timestep. They assume the sum of these over all timesteps in the piece of behavior will be greater for the more preferred example. More precisely, the difference in total reward determines a probability of preferring one to the other. The parameters of the reward function are adjusted to make this probability agree with the data. Hence they can estimate a reward for any other behavior.
Suppose it gives total rewards of 7 for A and 5 for B. Then it predicts A to be preferred. With total rewards of 9 and 7, we would expect a similar prediction. So there is no implication that a human would derive 7 "utils" from watching A. And the ratio 7/5 would not normally be an indication of relative degrees of pleasure. The form of model assumed and the way it is trained determine the significance of the absolute values of the "rewards".
Even which of A and B has the higher reward may not correspond directly to any human's judgement. There may be various humans included in providing the training data, with differing views on the relative desirability of, say, height and a steady return. So the reward learned may be intermediate between their judgements. Subsequent measurement of the proportion of examples for which the ordering matches that of humans will depend very much on which further humans are chosen to provide data, what instructions they are given, and so on. All these may be quite different from those applying to users of the eventual system, although the function calculating rewards may be identical.
Maximising the learned reward
The advantage of having learned such a function is that an RL algorithm can generate a very large number of examples of behavior and calculate rewards for them. So a relatively few judgments by humans can affect a large number of iterations. Christiano et al. demonstrate the method in simulated locomotion and Atari tasks. So we would hope that similar benefits could be obtained elsewhere, but need to consider what properties may or may not carry over.
Continuing with jumps, assume most examples of good jumps in the original data had the body vertical. Then the reward function may put a high value on this feature. A policy may therefore find it advantageous to remain nearly vertical while raising one leg only a short distance off the ground. A human would presumably be unimpressed. But this may well maximise the estimated reward. This jumping example is hypothetical.
Note that comparing a selection of other examples, generated before this improvement was found, with the reward function would be unlikely to detect this. They may well all exhibit the property of a vertical body when jumping well. The policy can explore behaviors within its environment, and will be encouraged to find examples with particularly high rewards. So comparing a random selection with a selection biased towards high estimated reward may give very different results. It would be informative to have both.
Comparisons of text
Similar considerations apply to the work of Bai et al. on learning from comparisons of text generated to answer questions, with particular attention to being helpful and harmless. Here a human will be asked which of 2 pieces of text, in some context, they would prefer. So we learn only of their preference between those 2 pieces of text, given whatever other information they had access to.
Suppose the context requests an explanation of why the electricity charge has risen. One answer may state the reason definitively. Another may suggest 2 reasons and request information to distinguish between them. A human may well prefer one or the other, depending on their knowledge, and the amount and nature of other information available to them. So either data point may be "correct". Neither tells us which answer is correct, that is, refers to the actual reason for the rise. So a set of examples suitable for judging style and clarity may be the same as a set suitable for judging accuracy, but yield no information about accuracy.
There may be various amounts and kinds of other information available. The human making the comparison may be given the same as is provided to the system generating answers, or may be given, in addition, the "correct" answer, information from a book, the result of calling some function, criteria for a good answer, and so on. End users may be given still more. So a system which does well with one set of additional information for the assessor may do less well if more (or different) information is available. So it is important to know what was shown to the assessor.
Useful numbers to seek
Four checks give the comparison a clear interpretation.
- The proportion of comparisons made correctly for new pairs, to see how well humans can be predicted.
- How well the optimized policy does on comparisons made after optimization, to see the effect of searching for high reward.
- Whether some more direct measure of success at the task in hand has improved (for example, correctly calculating the charge given appropriate information about rates).
- Examples where a higher reward corresponds to worse performance as judged by humans or some other measure, to see where the reward may be a poor guide.
For instance, it may be that after optimization the system is preferred to the original in most comparisons, but no more likely to give the correct answer about the charge. It may be better phrased, ask more useful questions, present information more clearly, and so on. So there has been some desirable change as judged by humans. But we would want a separate test to support an assertion about giving a more accurate figure. Further subdivision of examples, for instance into easy and hard, may show whether the better performance extends to unusual rates. So the overall figure may conceal poor performance on a small number of difficult cases.
It is also relevant what the system is compared with. Comparison with an earlier system, on questions drawn from some restricted range, would give a meaningful answer about relative performance. But tell us little about whether the answers are good enough. If both answers to a question are poor, a human may consistently prefer one.
Before calling this alignment with human values, identify whose preferences were collected, which alternatives they saw, and how the resulting policy behaved when it searched for the highest predicted reward.