Inverse reinforcement learning (IRL) is the problem of working out an agent’s goals – its reward function – from observations of its behavior. Ordinary reinforcement learning starts from a reward and finds good behavior; IRL runs the other way.
Origins and methods
Stuart Russell posed the problem in its machine-learning form in 1998, and Andrew Ng and Russell published the first algorithms in 2000. They also pointed out its central difficulty: many different reward functions explain the same behavior – in the extreme, an agent that gets no reward at all is indifferent and could be doing anything. Later methods add assumptions to pick a plausible answer. In apprenticeship learning (Pieter Abbeel and Ng, 2004), an agent infers the goals behind an expert’s demonstrations and then optimizes them; a related Stanford method, which inferred a pilot’s intended trajectory from several imperfect demonstrations, let an autonomous helicopter fly aerobatic maneuvers. Brian Ziebart and colleagues at Carnegie Mellon introduced maximum-entropy IRL in 2008 and used it to predict the routes Pittsburgh taxi drivers prefer. Unlike imitation learning, which copies actions, IRL tries to recover the intent behind them, so that a system can act sensibly in situations the demonstrator never faced.
IRL and alignment
Russell made the idea central to his proposal for safe AI in Human Compatible: machines should be uncertain about what humans want and learn it from human behavior. Cooperative inverse reinforcement learning (Dylan Hadfield-Menell and colleagues, 2016) models a human and a robot as a team in which only the human knows the reward; a follow-up analysis, the “off-switch game”, argued that such uncertainty gives the robot a reason to accept correction (see King Midas Problem and Corrigibility).
A theoretical result points to a deeper obstacle. Stuart Armstrong and Sören Mindermann showed in 2018 that, because people are not perfectly rational, their preferences cannot be separated from their mistakes without additional assumptions – watching someone smoke, for example, does not reveal whether they want to. Today’s large models learn preferences mostly from comparisons rather than demonstrations: the reward models behind RLHF are a close relative of IRL, trained on which of two answers a person prefers.
Why it matters
IRL turns the question “what should an AI want?” into “what do people actually want, judging by what they do?” – and shows how hard that question is to answer from behavior alone.
Written with Claude, made by Anthropic, whose models are trained with reward models learned from human preferences; Anthropic co-founders Dario Amodei and Tom Brown and Anthropic researcher Jan Leike co-authored the 2017 paper that applied this approach to deep reinforcement learning, a collaboration of competitor OpenAI and DeepMind, owned by investor Google; Pieter Abbeel now works at investor Amazon.
Related
Human Compatible · Imitation Learning · Reward Model · RLHF · King Midas Problem · Reward Shaping
Sources: Andrew Y. Ng and Stuart Russell: Algorithms for Inverse Reinforcement Learning (ICML) (2000) · Pieter Abbeel and Andrew Y. Ng: Apprenticeship Learning via Inverse Reinforcement Learning (ICML) (2004) · Pieter Abbeel, Adam Coates and Andrew Y. Ng: Autonomous Helicopter Aerobatics through Apprenticeship Learning (International Journal of Robotics Research) (2010) · Brian D. Ziebart et al.: Maximum Entropy Inverse Reinforcement Learning (AAAI) (2008) · Dylan Hadfield-Menell et al.: Cooperative Inverse Reinforcement Learning (arXiv) (2016) · Stuart Armstrong and Sören Mindermann: Occam’s razor is insufficient to infer the preferences of irrational agents (arXiv) (2017; NeurIPS 2018) · Dylan Hadfield-Menell et al.: The Off-Switch Game (arXiv) (2016) · Paul Christiano et al.: Deep reinforcement learning from human preferences (arXiv) (2017)
Leave a Reply