techlist.io
OpenAI2017-08-022 min read

Curated summary

Gathering human feedback

Read original(opens in new tab)

Summary of "Gathering Human Feedback" (RL-Teacher)

OpenAI released RL-Teacher, an open-source system for training AI agents with occasional human feedback instead of hand-crafted reward functions. The technique is aimed at safer AI systems and at reinforcement learning tasks where rewards are difficult to specify. The entire system is under 1,000 lines of Python, excluding the example agents.

Core Components

  • Reward predictor: A module that can be plugged into any agent. It learns to predict which actions a human would approve of.
  • Example agent: An agent that learns from a reward function produced by the reward predictor. RL-Teacher includes three pre-integrated algorithms, including OpenAI Baselines PPO.
  • Web app: An interface where humans give feedback. This feedback is the data used to train the reward predictor.

Running an Experiment

  • The web server must be set up first. An experiment is then launched with rl_teacher/teach.py, using the human feedback mode, 175 pretraining labels, the Reacher-v1 environment, and a run name.
  • Human raters give feedback through the web interface, which can run locally (not recommended) or on a separate machine.
  • Full documentation is in the project's GitHub repository.

OpenAI invites researchers and engineers to experiment with the tool and share their results.

Continue with another curated summary.