The Reward Hypothesis
Can every goal be written as a sum of rewards? What Markov rewards can and cannot express.
"All of what we mean by goals and purposes can be well thought of as the maximization of the expected value of the cumulative sum of a received scalar signal." For decades this reward hypothesis was a working assumption of the field. Since 2021 it has had precise answers: some tasks cannot be expressed by any Markov reward, and there is an exact list of axioms that preferences must satisfy for such a reward to exist.
What you’ll learn
- State the reward hypothesis, and formalize what it means for a reward to express a task given as a set of acceptable policies, a policy ordering or a trajectory ordering.
- Prove that a simple two-state task has no Markov reward, and explain how augmenting the state restores expressibility.
- State the von Neumann–Morgenstern theorem and the Markov reward theorem of Bowling et al. (2023), and explain which goals each axiom rules out.
- Show why linear scalarization of several objectives can miss Pareto-optimal policies, and distinguish the scalarized expected return from the expected scalarized return.
What it would mean for a reward to express a task
The reward hypothesis (Sutton & Barto, §3.2) bundles three claims: the signal is a scalar, the objective is the expected cumulative sum, discounted or not, and in practice the reward is Markov, a function of the latest transition rather than of the whole history. Each claim can fail on its own. To test them we need a definition of a task that does not already presuppose a reward.
This is the right test because a reward is a language for tasks. An agent that maximizes it ends up with some policy, so the question is which sets of policies, or which orderings, the language can single out.
Think first Before reading on: can every set of acceptable policies be singled out by some reward, if you may choose any real-valued ?
No. Under a Markov reward, value adds up contributions from separate time steps, so preferences in which the choice made in one state should depend on the choice made in another can be impossible to express. The next step proves this on the smallest possible example. Abel et al. show that each of the three task types has environment–task pairs that no Markov reward realizes.
A task no Markov reward can express
Take two states that alternate deterministically: from every action leads to , and from every action leads back to . Write for the policy taking in and in . The next state is fixed by the current one, so any Markov reward is in effect a function , and the value from splits into one term per state:
The task is to choose a different action in each state: . Both good policies must beat both bad ones, and ; in particular
The first inequality says and the second , so no reward satisfies both. The obstruction is additivity: whether is a good choice in cannot depend on what was chosen in .
The fix is to change the state, not the reward. Let the state remember the first choice, , and pay in for any action with : a Markov reward on the augmented states realizes the task. Any history-dependent reward can be made Markov this way by carrying enough history, for instance the state of a finite automaton that tracks the task's progress, as in reward machines (Toro Icarte et al., 2018). Expressibility is a property of the pair (state, reward), and choosing the state is part of specifying the task.
A second kind of failure needs no clever task. A policy's value depends on it only through its discounted occupancy measure, (see Occupancy Measures & the Dual View). Two policies that differ only in a state neither of them reaches have the same occupancy measure, hence the same value under every reward, and no reward can prefer one to the other. Abel et al.'s "steady-state" example is of this kind.
In the same alternating MDP, which of these sets of acceptable policies can a Markov reward realize?
- Take the same action in both states, either one:
- Take in , anything in :
- Take different actions in the two states:
- None of them: an alternating MDP admits no realizable task
Show the answer
B. Take in , anything in :
With constant and , both good policies score and both bad ones , so the reward realizes the task. Its condition is separable: it concerns one state only. The "same action" task fails just like XOR: beating needs , while beating needs .
Axioms for rewards
Which preferences can be written as an expected sum of rewards? Decision theory answers this for one-shot choices. Let be a preference between lotteries, that is, probability distributions over outcomes.
For sequential decisions the outcomes are whole histories, and vNM guarantees only some expected utility of an entire history. The reward hypothesis needs more: that splits into per-step rewards. Bowling, Martin, Abel and Dabney (2023) identified the missing axiom.
Suppose , write for , and take the expected utility of the left-hand mixture in the axiom:
The right-hand mixture gives the same expression with and exchanged. It is symmetric in and , so the two mixtures are indifferent. The theorem's real content is the converse: indifference of this kind forces the recursive form, and with it a Markov reward.
Each axiom rules out a recognizable kind of goal:
- completeness: outcomes that cannot be compared, such as "be fast" and "be safe" with no stated trade-off;
- transitivity: cyclic preferences;
- independence: preferences about the shape of the outcome distribution, such as keeping the variance of the return low;
- continuity: lexicographic goals such as "never risk a crash, and only then be fast", where no small probability of a crash is worth any gain in speed;
- temporal -indifference: goals that depend on the history in a way the state does not record, like the XOR task.
The theorem lets vary with the transition, and marks the end of an episode. Pitis (2019) argued from related axioms that a single constant discount cannot express all rational preferences.
A designer insists: "a policy with a lower probability of a crash is always better, and only among equally safe policies does speed matter." Which axiom does this preference violate, so that no scalar reward encodes it exactly?
- Completeness
- Transitivity
- Continuity
- Temporal -indifference
Show the answer
C. Continuity
Let be slow and perfectly safe, fast with a one-in-a-million crash risk, and a certain crash, so that . Continuity demands a mixture of and exactly as good as , but every mixture is either riskier than , or equally risky and slower. With no exchange rate between safety and speed there is no expected utility, and no reward. Such goals are usually stated as constrained MDPs instead.
One number or many?
In multi-objective RL the reward is a vector (speed, energy, safety, …), every policy has a vector of returns , and is Pareto-optimal if no other policy is at least as good in every objective and better in one. The usual shortcut, linear scalarization, maximizes for weights . That is ordinary RL with the reward , and it only ever selects a return vector on the part of the boundary of their convex hull that faces a direction . A Pareto-optimal vector that some mixture of other achievable vectors beats in every objective is never selected, whatever the weights.
Nonlinear utilities raise a second question: when is the utility applied? Under the scalarized expected return (SER), , a coin flip between and has and , so randomizing beats . Under the expected scalarized return (ESR), , every episode of the coin-flip policy ends at or with , and wins. Neither criterion is an expected sum of a scalar Markov reward on the original states, and an optimal policy under ESR may need to remember the rewards collected so far, so that the state must be augmented with the running return vector.
Key takeaways
- The reward hypothesis bundles three claims: a scalar signal, an expected cumulative sum, and (in practice) Markov rewards. Each can fail separately.
- Some tasks, such as "choose different actions in two states", have no Markov reward, because values add up across steps; augmenting the state with memory restores expressibility. Linear programming decides realizability in polynomial time.
- Preferences over distributions of histories have a Markov reward with a transition-dependent discount exactly when they satisfy the vNM axioms plus temporal -indifference (Bowling et al., 2023).
- Lexicographic goals violate continuity, and goals about the shape of the return distribution violate independence; neither is an expected sum of rewards.
- Linear scalarization of several objectives finds only returns on the outer boundary of the convex hull of achievable returns, missing Pareto-optimal policies that a mixture of others beats in every objective; nonlinear utilities differ depending on whether they are applied to expected returns (SER) or to each episode's returns (ESR).
Check yourself
In the interactive lesson these are scored with your confidence, and what you miss comes back for review.
Why can no Markov reward realize the XOR task in the alternating two-state MDP?
- Under a Markov reward the start-state value is a sum of one term per state, so whether an action is good in cannot depend on the action taken in
- The task has too few acceptable policies
- The discount factor is too small for the second state to matter
- Deterministic policies cannot be ranked by their values
Show the answer
A. Under a Markov reward the start-state value is a sum of one term per state, so whether an action is good in cannot depend on the action taken in
. Requiring to beat forces , and requiring to beat forces the reverse. The task's preferences interact across states; additive values cannot.
Which goal cannot be expressed by a Markov reward on a robot's location alone, but can be once the state is suitably augmented?
- Reach the charger as quickly as possible
- Collect as many cans as possible
- Visit the kitchen before the bedroom, then stop
- Never enter the stairwell
Show the answer
C. Visit the kitchen before the bedroom, then stop
Whether entering the bedroom is good depends on whether the kitchen was visited earlier, which the location does not record: the goal breaks temporal -indifference on the original states. Add a "kitchen visited" bit, a two-state automaton, and a Markov reward on the augmented state expresses it.
Two objectives are scored by the utility . Policy A returns every episode. Policy B returns or with probability ½ each. Which policy is better under the scalarized expected return (SER) and which under the expected scalarized return (ESR)?
- A under both
- B under both
- A under SER, B under ESR
- B under SER, A under ESR
Show the answer
D. B under SER, A under ESR
SER applies to the expected return vector: for A and for B. ESR applies to each episode's returns, then averages: 4 for A and 0 for B, since every episode of B ends lopsided. Which criterion is right depends on whether the user experiences one episode or the long-run average.
What can linear scalarization, with weights , never select?
- A policy that is optimal for one objective alone
- A Pareto-optimal policy whose return vector is beaten in every objective by a mixture of other achievable return vectors
- A deterministic policy
- A policy whose returns are all positive
Show the answer
B. A Pareto-optimal policy whose return vector is beaten in every objective by a mixture of other achievable return vectors
If is beaten in every objective by a mixture , then for every , , we have , so never wins. is such a point: the even mixture of and gives . It is a corner of the convex hull of the three vectors, but on the side that faces away from every .
Further reading
- D. Abel, W. Dabney, A. Harutyunyan, M. K. Ho, M. L. Littman, D. Precup & S. Singh, "On the expressivity of Markov reward," NeurIPS (2021).
- M. Bowling, J. D. Martin, D. Abel & W. Dabney, "Settling the reward hypothesis," ICML, PMLR 202, 3003–3020 (2023).
- D. Silver, S. Singh, D. Precup & R. S. Sutton, "Reward is enough," Artificial Intelligence 299, 103535 (2021).
- P. Vamplew et al., "Scalar reward is not enough: a response to Silver, Singh, Precup and Sutton (2021)," Autonomous Agents and Multi-Agent Systems 36, 41 (2022).
- J. von Neumann & O. Morgenstern, Theory of Games and Economic Behavior (Princeton University Press, 1944; 2nd ed. 1947).