Cooperative inverse reinforcement learning

Also known as: CIRL · assistance game

On this page 7

Cooperative inverse reinforcement learning (CIRL) is a formal framework in AI safety that models value alignment as a cooperative game between a human and a machine in which both are rewarded by the same function, but only the human knows its parameters. The machine must therefore act helpfully while inferring the human’s objective from the human’s behavior, which turns preference learning into an interactive process rather than a passive one.

Introduced in 2016 by Dylan Hadfield-Menell, Anca Dragan, Pieter Abbeel and Stuart Russell, CIRL is also called an assistance game. It sits at the center of a research program that treats uncertainty about human preferences as a safety feature: a system that is unsure what people want has a reason to ask, observe, defer and accept correction.

How the CIRL game is defined

A CIRL game is a two-player Markov game with partial information. The players are a human H and a robot R. They share one reward function parameterized by θ, and the robot holds only a prior distribution over θ. Both players choose actions, both receive the same reward, and the robot updates its belief about θ by observing what the human does.

The components below define a CIRL game formally. Each one has a direct counterpart in an ordinary Markov decision process, with the addition of the hidden reward parameter.

ComponentSymbolRole in the game
StatesSShared world state observed by both players
ActionsA_H, A_RSeparate action sets for the human and the robot
Transition functionT(s′ | s, a_H, a_R)How joint actions change the world
Reward parametersΘSpace of possible human objectives
Shared rewardR(s, a_H, a_R; θ)Identical payoff for both players
PriorP₀(θ)Robot’s initial belief about the objective
Discount factorγWeight placed on future reward
Formal components of a CIRL game

Because the payoff is shared, the solution concept is a jointly optimal pair of policies, not an adversarial equilibrium. The original paper showed that computing this pair reduces to solving a POMDP whose hidden state is θ, which is a smaller problem than a general decentralized partially observable control task.

Why CIRL differs from classic inverse reinforcement learning

Classic inverse reinforcement learning (IRL) assumes an expert demonstrates a task in isolation and the learner later recovers a reward that explains the demonstrations. CIRL changes three assumptions at once: the human knows the robot is watching, the robot acts in the same environment, and the robot’s goal is to maximize the human’s reward, not to imitate or adopt it as its own.

This shift produces qualitatively new behavior. In the optimal solution the human often engages in pedagogic behavior, choosing actions that are slightly suboptimal in isolation but more informative to the robot. The robot, in turn, performs active information gathering when the value of learning about θ outweighs the cost of acting more slowly.

ApproachWho actsHuman is aware of learnerLearner’s objective
Classic IRLExpert onlyNoRecover the expert’s reward
Behavior cloningExpert onlyNoCopy the expert’s actions
RLHFModel, with human ratingsYes, as an evaluatorMaximize a learned reward model
CIRLHuman and robot jointlyYes, as a teammateMaximize the human’s true reward
CIRL compared with related preference-learning approaches

A crucial consequence is that the robot never treats its own reward estimate as final. Its belief about θ remains a probability distribution, so any action that would be catastrophic under plausible values of θ carries a large expected cost.

CIRL and corrigibility: the off-switch game

The best-known safety result built on CIRL is the off-switch game from 2017. A robot can take an action, switch itself off, or defer to a human who may press an off switch. The analysis shows that a robot which is uncertain about the human’s reward and believes the human is rational has a positive incentive to allow shutdown, because the human pressing the switch is evidence that the action was harmful.

This result links CIRL to corrigibility and the shutdown problem, and it explains the appeal of the framework. The incentive, however, is conditional. The table below summarizes when it holds.

ConditionEffect on deferenceReason
High uncertainty about θStrong deferenceHuman signal carries much information
Near-certain reward estimateWeak deferenceLittle left to learn from the human
Human modeled as rationalDeference is optimalHuman choices reliably reflect θ
Human modeled as very noisyDeference declinesRobot discounts human decisions
Misspecified prior or modelDeference may vanishRobot learns confidently but wrongly
Conditions that shape the incentive to accept correction

Critics have shown that under model misspecification, for example a prior that excludes the true objective, a CIRL agent can become confidently incorrigible. The framework therefore offers a mechanism for corrigibility, not a guarantee of it.

Solving and approximating CIRL in practice

Exact solutions are computationally intractable for realistic problems, because the robot must plan over a belief space that grows with the size of Θ. Later work introduced a modified Bellman update that exploits the shared payoff and makes exact solution feasible for small grid-world games, while larger tasks rely on approximations.

  • Belief-space planning with POMDP solvers for small discrete reward spaces.
  • Boltzmann-rational human models, in which the human picks better actions with higher probability.
  • Bayesian reward inference paired with deep reinforcement learning for continuous control.
  • Assistance-game benchmarks that test whether agents ask clarifying questions before acting.

In large language model research, CIRL ideas appear indirectly in clarification-seeking behavior, uncertainty-aware reward models and proposals for assistants that ask before acting when instructions are ambiguous.

Limitations and open problems

CIRL clarifies the structure of the alignment problem, yet several assumptions limit direct deployment. The most important open issues are summarized below.

LimitationWhy it mattersResearch direction
Rationality assumptionReal people make systematic errorsRicher models of human bias
Fixed true rewardPreferences change and conflictDynamic and pluralistic objectives
Single humanMost systems serve many peopleMulti-principal assistance games
TractabilityBelief planning scales poorlyApproximate and learned solvers
Prior coverageTrue θ must be representableOpen-ended reward hypothesis spaces
Main limitations of the CIRL framework

A common misconception is that CIRL solves outer alignment. It reframes the task so that learning human values becomes part of the agent’s objective, but the quality of the result still depends on the accuracy of the human model and the expressiveness of the reward space.

A non-technical view

Imagine a new assistant who wants to help but does not yet know what the boss likes. A good assistant watches, asks questions and avoids bold moves until the picture is clear. CIRL describes that attitude in mathematics.

The machine and the person share one goal. Only the person knows what that goal really is. So the machine treats every human action as a clue. The person, knowing this, can show things more clearly. The machine stays humble about what it has learned, and that humility gives it a reason to accept being stopped or corrected.

A concrete example

A research team builds a household robot that helps prepare meals. The robot does not know whether the person it serves prefers speed, low cost or a particular diet. Under a CIRL formulation, the robot starts with a prior over several preference profiles and watches the person pick ingredients during the first few evenings.

When the person repeatedly skips meat and slows down to read labels, the robot shifts most of its belief toward a vegetarian, budget-conscious profile. When a new recipe would require an expensive ingredient, the robot estimates a meaningful chance that the purchase conflicts with the person’s goals and asks before buying. After about two weeks, the robot needs far fewer clarifying questions, and in evaluation trials it avoids unwanted actions much more often than a baseline that optimizes a fixed reward.