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.
| Component | Symbol | Role in the game |
|---|---|---|
| States | S | Shared world state observed by both players |
| Actions | A_H, A_R | Separate action sets for the human and the robot |
| Transition function | T(s′ | s, a_H, a_R) | How joint actions change the world |
| Reward parameters | Θ | Space of possible human objectives |
| Shared reward | R(s, a_H, a_R; θ) | Identical payoff for both players |
| Prior | P₀(θ) | Robot’s initial belief about the objective |
| Discount factor | γ | Weight placed on future reward |
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.
| Approach | Who acts | Human is aware of learner | Learner’s objective |
|---|---|---|---|
| Classic IRL | Expert only | No | Recover the expert’s reward |
| Behavior cloning | Expert only | No | Copy the expert’s actions |
| RLHF | Model, with human ratings | Yes, as an evaluator | Maximize a learned reward model |
| CIRL | Human and robot jointly | Yes, as a teammate | Maximize the human’s true reward |
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.
| Condition | Effect on deference | Reason |
|---|---|---|
| High uncertainty about θ | Strong deference | Human signal carries much information |
| Near-certain reward estimate | Weak deference | Little left to learn from the human |
| Human modeled as rational | Deference is optimal | Human choices reliably reflect θ |
| Human modeled as very noisy | Deference declines | Robot discounts human decisions |
| Misspecified prior or model | Deference may vanish | Robot learns confidently but wrongly |
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.
| Limitation | Why it matters | Research direction |
|---|---|---|
| Rationality assumption | Real people make systematic errors | Richer models of human bias |
| Fixed true reward | Preferences change and conflict | Dynamic and pluralistic objectives |
| Single human | Most systems serve many people | Multi-principal assistance games |
| Tractability | Belief planning scales poorly | Approximate and learned solvers |
| Prior coverage | True θ must be representable | Open-ended reward hypothesis spaces |
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.