AI Safety Compendium

Theory: the maths of agents and goals

Aligned models

Impact measures

Penalise the AI for making large or irreversible changes to the world state.

Open in the compendium

Impact measures give an AI a penalty for changing the world more than its task needs. The aim is to avoid side effects: harms nobody thought to forbid, because no one can list everything an AI should leave alone. A good impact measure would make "don't break things" the default, even when the goal is written badly.

How it works

Picture a cleaning robot told to carry a box across a room. The shortest path runs through a vase. The goal says nothing about vases, so a plain reward-maximiser smashes it. An impact measure adds a cost for the difference between the world the robot leaves and some baseline world, typically the one where the robot did nothing.

A simple count of changed objects is a poor way to define "difference": it punishes harmless changes and misses subtle harms. Two main proposals appeared in 2018 and 2019. Relative reachability, from Victoria Krakovna and colleagues at DeepMind, penalises the agent for making states of the world harder to reach than they would have been by default. A smashed vase can never be reached again, so smashing costs a lot. The other, attainable utility preservation (AUP), from Alexander Turner, Dylan Hadfield-Menell and Prasad Tadepalli, penalises changes in the agent's ability to achieve other goals. Those other goals can even be randomly generated and still produce careful behaviour.

Both need a baseline. If the baseline is the world as it was at the start, the agent may be pushed to stop events that would have happened anyway, such as other agents' actions. If the baseline is "do nothing from the start", the agent may be pushed to undo the intended effects of its own task, which researchers call offsetting. A stepwise baseline, which compares each step with doing nothing from that step on, avoids both traps in DeepMind's tests.

Where research stands

In gridworlds, relative reachability with a stepwise baseline avoided the bad incentives that simpler penalties created. In 2020 AUP was scaled to SafeLife, a set of large, randomly generated environments based on Conway's Game of Life. Built by the Partnership on AI, SafeLife scores agents on both task reward and side effects. AUP completed tasks while avoiding many side effects at modest cost. Also in 2020, DeepMind researchers proposed rewarding an agent for keeping possible future tasks achievable.

Most of this work appeared between 2016 and 2020, and the published tests of relative reachability and AUP cited here all use gridworlds or SafeLife. The problem has since returned in practical form: a NeurIPS 2026 benchmark of tool-using language-model agents found collateral damage, such as writing to the wrong object or contacting an unintended recipient, in 15.2% of runs across 11 frontier models. Whether any impact measure survives a capable agent is still open. Stuart Armstrong showed in February 2020 that an agent can largely neutralise AUP by building a helper agent, while relative reachability holds up better.

Key results

Open problems

See all open problems in this group

Criticisms

Who works on it

Status

Mature; tested in gridworlds and larger Game of Life-based environments, not on human life outcomes.

Start reading

Related approaches

In their own words

There are various ways to make the notion of a "side effect" more precise - I think of it as a disruption of the agent's environment that is unnecessary for achieving its objective. ... For each state, we penalize the agent for making it less reachable than it would be from the default state.

Victoria Krakovna (DeepMind), Measuring and avoiding side effects using relative reachability, 2018

For example, a robotic factory assistant could break expensive equipment due to a reward misspecification; even if the designers immediately correct the reward function, the damage is done. To mitigate this risk, we introduce an approach that balances optimization of the primary reward function with preservation of the ability to optimize auxiliary reward functions.

Alexander Matt Turner, Dylan Hadfield-Menell, Prasad Tadepalli, Conservative Agency via Attainable Utility Preservation, 2019

Suggest a correction Something wrong, out of date or missing, such as an organisation? Opens a GitHub issue (free account needed).