Simple Algorithm
Reinforcement Learning · Fixed Point · 26 min

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 (s,a,s′)(s, a, s') 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 R(s,a,s′)R(s,a,s')?

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

DerivationThe two-state XOR task
  1. Vπxy(s0)=R(s0,ax)+γ R(s1,ay)1−γ2=g(x)+h(y)1−γ2V^{\pi_{xy}}(s_0) = \frac{R(s_0, a_x) + \gamma\,R(s_1, a_y)}{1-\gamma^2} = \frac{g(x) + h(y)}{1-\gamma^2}

    Take two states that alternate deterministically: from s0s_0 every action leads to s1s_1, and from s1s_1 every action leads back to s0s_0. Write πxy\pi_{xy} for the policy taking axa_x in s0s_0 and aya_y in s1s_1. The next state is fixed by the current one, so any Markov reward R(s,a,s′)R(s,a,s') is in effect a function R(s,a)R(s,a), and the value from s0s_0 splits into one term per state:

  2. g(1)+h(2)>g(1)+h(1)andg(2)+h(1)>g(2)+h(2)g(1) + h(2) > g(1) + h(1)\qquad\text{and}\qquad g(2) + h(1) > g(2) + h(2)

    The task is to choose a different action in each state: ΠG={π12,π21}\Pi_G = \{\pi_{12}, \pi_{21}\}. Both good policies must beat both bad ones, π11\pi_{11} and π22\pi_{22}; in particular

  3. h(2)>h(1)>h(2)h(2) > h(1) > h(2)

    The first inequality says h(2)>h(1)h(2) > h(1) and the second h(1)>h(2)h(1) > h(2), so no reward satisfies both. ■\blacksquare The obstruction is additivity: whether a2a_2 is a good choice in s1s_1 cannot depend on what was chosen in s0s_0.

The fix is to change the state, not the reward. Let the state remember the first choice, s~1=(s1,x)\tilde s_1 = (s_1, x), and pay +1+1 in (s1,x)(s_1, x) for any action aya_y with y≠xy \ne x: 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, Vπ(s0)=⟨ds0π,r⟩/(1−γ)V^\pi(s_0) = \langle d^\pi_{s_0}, r\rangle/(1-\gamma) (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.

Check your understanding

In the same alternating MDP, which of these sets of acceptable policies can a Markov reward realize?

  1. Take the same action in both states, either one: ΠG={π11,π22}\Pi_G = \{\pi_{11}, \pi_{22}\}
  2. Take a2a_2 in s1s_1, anything in s0s_0: ΠG={π12,π22}\Pi_G = \{\pi_{12}, \pi_{22}\}
  3. Take different actions in the two states: ΠG={π12,π21}\Pi_G = \{\pi_{12}, \pi_{21}\}
  4. None of them: an alternating MDP admits no realizable task
Show the answer

B. Take a2a_2 in s1s_1, anything in s0s_0: ΠG={π12,π22}\Pi_G = \{\pi_{12}, \pi_{22}\}

With gg constant and h(2)>h(1)h(2) > h(1), both good policies score g+h(2)g + h(2) and both bad ones g+h(1)g + h(1), so the reward realizes the task. Its condition is separable: it concerns one state only. The "same action" task fails just like XOR: π11\pi_{11} beating π12\pi_{12} needs h(1)>h(2)h(1) > h(2), while π22\pi_{22} beating π21\pi_{21} needs h(2)>h(1)h(2) > h(1).

Axioms for rewards

Which preferences can be written as an expected sum of rewards? Decision theory answers this for one-shot choices. Let ⪰\succeq 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 u(h)u(h) of an entire history. The reward hypothesis needs more: that uu splits into per-step rewards. Bowling, Martin, Abel and Dabney (2023) identified the missing axiom.

DerivationWhy the new axiom is necessary
  1. 11+γ(r(t)+γ EAu)+γ1+γ EBu  =  r(t)+γ EAu+γ EBu1+γ\tfrac{1}{1+\gamma}\big(r(t) + \gamma\,\E_A u\big) + \tfrac{\gamma}{1+\gamma}\,\E_B u \;=\; \frac{r(t) + \gamma\,\E_A u + \gamma\,\E_B u}{1+\gamma}

    Suppose u(t⋅h)=r(t)+γ(t) u(h)u(t\cdot h) = r(t) + \gamma(t)\,u(h), write γ\gamma for γ(t)\gamma(t), and take the expected utility of the left-hand mixture in the axiom:

  2. The right-hand mixture gives the same expression with AA and BB exchanged. It is symmetric in AA and BB, 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 γ\gamma-indifference: goals that depend on the history in a way the state does not record, like the XOR task.

The theorem lets γ(t)\gamma(t) vary with the transition, and γ(t)=0\gamma(t) = 0 marks the end of an episode. Pitis (2019) argued from related axioms that a single constant discount cannot express all rational preferences.

Check your understanding

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?

  1. Completeness
  2. Transitivity
  3. Continuity
  4. Temporal γ\gamma-indifference
Show the answer

C. Continuity

Let BB be slow and perfectly safe, AA fast with a one-in-a-million crash risk, and CC a certain crash, so that B≻A≻CB \succ A \succ C. Continuity demands a mixture of BB and CC exactly as good as AA, but every mixture is either riskier than AA, 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 r∈Rm\mathbf r \in \R^m (speed, energy, safety, …), every policy has a vector of returns Vπ\mathbf V^\pi, and π\pi 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 w⊤Vπ\mathbf w^\top \mathbf V^\pi for weights w≥0\mathbf w \ge 0. That is ordinary RL with the reward w⊤r\mathbf w^\top \mathbf r, and it only ever selects a return vector on the part of the boundary of their convex hull that faces a direction w≥0\mathbf w \ge 0. 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), u(E[G])u(\E[\mathbf G]), a coin flip between (10,0)(10,0) and (0,10)(0,10) has E[G]=(5,5)\E[\mathbf G] = (5,5) and min⁡=5>4\min = 5 > 4, so randomizing beats (4,4)(4,4). Under the expected scalarized return (ESR), E[u(G)]\E[u(\mathbf G)], every episode of the coin-flip policy ends at (10,0)(10,0) or (0,10)(0,10) with min⁡=0\min = 0, and (4,4)(4,4) 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 γ\gamma-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.

Question 1

Why can no Markov reward realize the XOR task in the alternating two-state MDP?

  1. Under a Markov reward the start-state value is a sum of one term per state, so whether an action is good in s1s_1 cannot depend on the action taken in s0s_0
  2. The task has too few acceptable policies
  3. The discount factor is too small for the second state to matter
  4. 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 s1s_1 cannot depend on the action taken in s0s_0

Vπxy(s0)∝g(x)+h(y)V^{\pi_{xy}}(s_0) \propto g(x) + h(y). Requiring π12\pi_{12} to beat π11\pi_{11} forces h(2)>h(1)h(2) > h(1), and requiring π21\pi_{21} to beat π22\pi_{22} forces the reverse. The task's preferences interact across states; additive values cannot.

Question 2

Which goal cannot be expressed by a Markov reward on a robot's location alone, but can be once the state is suitably augmented?

  1. Reach the charger as quickly as possible
  2. Collect as many cans as possible
  3. Visit the kitchen before the bedroom, then stop
  4. 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 γ\gamma-indifference on the original states. Add a "kitchen visited" bit, a two-state automaton, and a Markov reward on the augmented state expresses it.

Question 3

Two objectives are scored by the utility u(v)=min⁡(v1,v2)u(\mathbf v) = \min(v_1, v_2). Policy A returns (4,4)(4,4) every episode. Policy B returns (10,0)(10,0) or (0,10)(0,10) with probability ½ each. Which policy is better under the scalarized expected return (SER) and which under the expected scalarized return (ESR)?

  1. A under both
  2. B under both
  3. A under SER, B under ESR
  4. B under SER, A under ESR
Show the answer

D. B under SER, A under ESR

SER applies uu to the expected return vector: min⁡(4,4)=4\min(4,4) = 4 for A and min⁡(5,5)=5\min(5,5) = 5 for B. ESR applies uu 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.

Question 4

What can linear scalarization, max⁡πw⊤Vπ\max_\pi \mathbf w^\top \mathbf V^\pi with weights w≥0\mathbf w \ge 0, never select?

  1. A policy that is optimal for one objective alone
  2. A Pareto-optimal policy whose return vector is beaten in every objective by a mixture of other achievable return vectors
  3. A deterministic policy
  4. 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 v\mathbf v is beaten in every objective by a mixture ∑iλivi\sum_i\lambda_i\mathbf v_i, then for every w≥0\mathbf w \ge 0, w≠0\mathbf w \ne 0, we have w⊤v<∑iλiw⊤vi≤max⁡iw⊤vi\mathbf w^\top\mathbf v < \sum_i\lambda_i\mathbf w^\top\mathbf v_i \le \max_i\mathbf w^\top\mathbf v_i, so v\mathbf v never wins. (4,4)(4,4) is such a point: the even mixture of (10,0)(10,0) and (0,10)(0,10) gives (5,5)(5,5). It is a corner of the convex hull of the three vectors, but on the side that faces away from every w≥0\mathbf w \ge 0.

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).