Attainable Utility Preservation (AUP) stops a reinforcement learning agent from causing irreversible side effects under an incomplete reward function by penalizing shifts in how well the agent could optimize a handful of randomly sampled auxiliary goals, passing all 5 safety gridworld benchmarks where relative reachability passes only 3. Instead of requiring engineers to enumerate every vase, human, or off-switch an agent must avoid, Turner, Hadfield-Menell, and Tadepalli show that preserving optionality for arbitrary objectives automatically preserves optionality for the unknown true objective.
- 5/5 gridworld pass rate: A 9-step planning AUP agent passes Options, Damage, Correction, Offset, and Interference, beating relative reachability (3/5, failing Correction and Offset) and standard Q-learning (1/5, passing only Interference).
- Only 5 random auxiliary rewards needed: Sampling auxiliary reward functions uniformly from
[0, 1]^Swith zero task knowledge still avoids side effects; the default run uses|R| = 30, discountγ = 0.996, and penalty weightλ = 0.67, yet 5 random rewards already suffice in Options. - Linear scaling in
|R|: Unlike relative reachability, which tracks reachability across all|S|^2state pairs, AUP learns one Q-function per auxiliary reward alongsideQ_R_AUP, with proved probability-1 convergence in finite MDPs (Theorem 1). - Hard shutdown bound at
λ > 1: Dividing the penalty by total baseline attainable utility (SCALE(s)) ensures that any terminal goal with reward 1 yields net reward1 - λ < 0whenλ > 1, cleanly bounding how high the conservatism weight can go.
How AUP turns random goals into a side-effect brake
The paper frames reward specification as an iterated game: designers hand an agent a partial reward function, watch it act, and patch the reward whenever mistakes surface. As outlined in Concrete Problems in AI Safety, that loop breaks if the agent takes an irreversible shortcut early, such as breaking factory equipment or wedging a crate into a corner, because no later reward edit can restore lost capability.
AUP works because optimal value functions across unrelated goals are tightly correlated: actions that break tools, injure workers, or shut down infrastructure degrade attainable utility across almost any objective, a link Turner later formalized in optimal policies seeking power. Formally, given an MDP with a no-op action ∅ and a finite auxiliary set R, the penalty sums absolute Q-value changes relative to doing nothing:
PENALTY(s, a) = sum_i |Q_R_i(s, a) - Q_R_i(s, ∅)|
To stay invariant to arbitrary reward scales, AUP divides by SCALE(s) = sum_i Q_R_i(s, ∅) and subtracts λ * PENALTY(s, a) / SCALE(s) from the primary reward R(s, a). Even when R consists of 30 uniformly random state rewards in [0, 1] learned via tabular Q-learning over 6,000 episodes (4,000 random, 2,000 epsilon-greedy), AUP agents reach the goal while routing around the crate in Options and avoiding the pacing human in Damage.
Why the baseline, deviation, and rollout choices decide all 5 tests
The ablation in Table 1 isolates three design decisions that separate full AUP from earlier side-effect penalties:
- Stepwise inaction baseline (fixes Offset): Comparing against what would happen if the agent never acted (
Inaction) creates a perverse incentive on the conveyor-belt vase: after rescuing the vase for reward 1, the agent keeps paying a penalty as long as the world differs from the inaction rollout where the vase shattered, so it puts the vase back on the belt. Comparing against doing nothing from the current state (Stepwise inaction) zeros out past actions once completed. - Absolute deviation metric (fixes Correction): Penalizing only decreases in attainable utility fails Correction, where the agent can prevent a 2-step shutdown by disabling its off-switch. Staying powered on increases auxiliary Q-values relative to shutdown, so
Decrease AUPand relative reachability happily disable the switch; penalizing absolute change makes resistance expensive too. - Multi-step model rollout (fixes delayed effects): One-step
Model-free AUPalso fails Correction because disabling the off-switch at step 1 yields a 1-step Q difference of only1(1/(1-γ)vsγ/(1-γ)), masking the impending shutdown at step 2. Rolling out actionafollowed by no-ops for 9 steps against a pure no-op rollout reveals the terminal branch gap and stops the agent from touching the switch. - Avoiding starting-state baselines (fixes Interference): Comparing to the initial state penalizes natural world evolution, nudging
Starting state AUPto block a moving pallet in Interference just to freeze the room.
Caveats and builder takeaway
All experiments run in small discrete gridworlds using tabular Q-learning and exact 9-step transition models, and assume a clean no-op action ∅ exists in the action space. Performance is sensitive to γ and λ: low γ over-penalizes ordinary movement, γ near 1 inflates sample complexity, and λ > 1 blocks the agent from ever finishing an episode. Specifying random auxiliary rewards avoids listing every forbidden side effect up front, but scaling AUP to high-dimensional robotics or language-model agents still requires a learned dynamics model and informative auxiliary Q-functions rather than tabular state sampling.


