Learning from Human Preferences - from OpenAI (including Christiano, Amodei & Legg)

post by Dr_Manhattan · 2017-06-13T15:52:00.294Z · score: 9 (9 votes) · LW · GW · Legacy · 12 comments

This is a link post for https://blog.openai.com/deep-reinforcement-learning-from-human-preferences/

12 comments

Comments sorted by top scores.

comment by cousin_it · 2017-06-13T17:23:02.480Z · score: 4 (4 votes) · LW · GW

Very impressive, I'm happy that Paul ended up there! There's still a lot of neural network black magic though. Stuff like this:

We use standard settings for the hyperparameters: an entropy bonus of β = 0.01, learning rate of 0.0007 decayed linearly to reach zero after 80 million timesteps (although runs were actually trained for only 50 million timesteps), n = 5 steps per update, N = 16 parallel workers, discount rate γ = 0.99, and policy gradient using Adam with α = 0.99 and ε = 10−5.

For the reward predictor, we use 84x84 images as inputs (the same as the inputs to the policy), and stack 4 frames for a total 84x84x4 input tensor. This input is fed through 4 convolutional layers of size 7x7, 5x5, 3x3, and 3x3 with strides 3, 2, 1, 1, each having 16 filters, with leaky ReLU nonlinearities (α = 0.01). This is followed by a fully connected layer of size 64 and then a scalar output. All convolutional layers use batch norm and dropout with α = 0.5 to prevent predictor overfitting.

I know I sound like a retrograde, but how much of that is necessary and how much can be figured out from first principles?

comment by paulfchristiano · 2017-06-14T16:07:09.322Z · score: 6 (6 votes) · LW · GW

If we view the goal as transforming (AI that works) ---> (AI that works and does what we want), then the black magic doesn't seem like a big deal. You just copy it from the (AI that works).

In this case, I also think that using almost any reasonable architecture would work fine.

comment by cousin_it · 2017-06-15T21:53:25.605Z · score: 1 (1 votes) · LW · GW

That might be true. I don't know enough about all possible architectures, though.

comment by DarioAmodei · 2017-06-20T17:46:17.235Z · score: 2 (2 votes) · LW · GW

To clarify and elaborate a bit on Paul’s point, our explicit methodology was to take a typical reinforcement learning system, with standard architecture and hyperparameter choices, and add in feedback mostly without changing the hyperparameters/architecture. There were a couple exceptions — an agent that’s learning a reward function needs more incentive to explore than an agent with a fixed reward function, so we had to increase the exploration bonus, and also there are a few parameters specific to the reward predictor itself that we had to choose. However, we did our best to show the consequences of changing some of those parameters (that’s the ablation analysis section).

To put it another way, our method was to take the existing black magic and show that we could build in something that does what we want (in this admittedly very limited case) without much further black magic or additional complication. As a general matter I do think it is desirable (including for safety reasons) to simplify the design of systems, but as Paul says, it’s not necessarily essential. In my view one promising route for simplification is turning fixed hyperparameters into adaptive ones that are responsive to data — consider the optimization method Adam or batch normalization.

comment by cousin_it · 2017-06-20T17:54:09.036Z · score: 1 (1 votes) · LW · GW

Thank you Dario! All good points, I didn't wish to detract from your work, it's the most hopeful thing I've seen about AI progress in years. Maybe one reason for my comment is that I've worked on "neat" decision theory math, and now you have this promising new idea using math that feels stubbornly alien to me, so I can't jump into helping you guys save the world :-)

comment by DarioAmodei · 2017-06-20T18:04:59.518Z · score: 1 (1 votes) · LW · GW

I have a hunch that semi-neat approaches to AI may come back as a layer on top of neural nets -- consider the work on using neural net heuristics to decide the next step in theorem-proving (https://arxiv.org/abs/1606.04442). In such a system, the decision process is opaque, but the result is fully verifiable, at least in the world of math (in a powerful system the theorems may be being proved for ultimate use in some fuzzy interface with reality). The extent to which future systems might look like this, or what that means for safety, isn't very clear yet (at least not to me), but it's another paradigm to consider.

comment by lahwran · 2017-06-14T08:07:54.603Z · score: 2 (2 votes) · LW · GW

seems like neural network anxiety misses the point of this paper - that the artificial intelligence algorithms that actually work can in fact be brought towards directions that have a shot at making them safe

comment by cousin_it · 2017-06-14T08:09:03.536Z · score: 2 (2 votes) · LW · GW

Yeah, I agree with that point and it's very exciting :-)

comment by Dr_Manhattan · 2017-06-13T17:58:35.396Z · score: 1 (1 votes) · LW · GW

I know I sound like a retrograde, but how much of that is necessary and how much can be figured out from first principles?

My 2c is some of the hyperparameters can only be determined empirically in current practice and make all the difference (e.g. learning rate).

Other parameters are just "things that happened to work, many other things could have", (like 84x84, convolution sizes) and are not actually that important.

comment by DarioAmodei · 2017-06-20T18:06:09.372Z · score: 1 (1 votes) · LW · GW

Re: title, probably worth pointing out that DeepMind was also involved in this paper.

comment by Dr_Manhattan · 2017-06-20T20:25:09.385Z · score: 0 (0 votes) · LW · GW

Fair. The title was getting longish, but I at least added Shane. Great work you guys!

comment by Gunnar_Zarncke · 2017-06-18T21:16:00.443Z · score: 1 (1 votes) · LW · GW

I keep saying that AI may need a human 'caregiver' and I meant something like this post. While I'm not sure I explained it clearly enough or whether that is really what it will amount to in the end I believe that we could have learned this a approach by listening to social scientists more closely (pedagogues in this case).