WritingOpenAIOpenAIpublished Aug 3, 2017seen 6d

Gathering human feedback

Open original ↗

Captured source

source ↗
published Aug 3, 2017seen 6dcaptured 3dhttp 200method exa

Gathering human feedback | OpenAI

August 3, 2017

Release

Gathering human feedback

View code

Loading…

Share

RL-Teacher is an open-source implementation of our interface to train AIs via occasional human feedback rather than hand-crafted reward functions. The underlying technique was developed as a step towards safe AI systems, but also applies to reinforcement learning problems with rewards that are hard to specify.

Loading...

The release contains three main components:

  • A reward predictor⁠ that can be plugged into any agent and learns to predict the actions the agent could take that a human would approve of.
  • An example agent⁠ that learns via a function specified by a reward predictor. RL-Teacher ships with three pre-integrated algorithms, including OpenAI Baselines PPO⁠.
  • A web-app⁠ that humans can use to give feedback, providing the data used to train the reward predictor.

The entire system consists of less than 1,000 lines of Python code (excluding the agents). After you’ve set up your web server you can launch an experiment by running:

Bash

1$ python rl_teacher/teach.py -p human --pretrain_labels 175 -e Reacher-v1 -n human-175

Humans can give feedback via a simple web interface (shown above), which can be run locally (not recommended) or on a separate machine. Full documentation is available on the project’s GitHub repository⁠. We’re excited to see what AI researchers and engineers do with this technology—please get in touch⁠ with any experimental results!

  • Community & Collaboration
  • Learning Paradigms

Authors

Tom Brown, Dario Amodei, Paul Christiano

Related articles

View all

Scaling laws for reward model overoptimizationPublicationOct 19, 2022

Introducing WhisperReleaseSep 21, 2022

Learning to play Minecraft with Video PreTrainingConclusionJun 23, 2022