[Paper Review] Penalizing side effects using stepwise relative reachability
This paper proposes a novel approach to penalizing side effects in reinforcement learning by combining a stepwise inaction baseline with a relative reachability deviation measure, which avoids harmful incentives like interference and magnitude insensitivity. The method outperforms existing baselines and deviation measures in gridworld experiments, demonstrating safer and more robust agent behavior without relying on human oversight or task-specific reward shaping.
How can we design safe reinforcement learning agents that avoid unnecessary disruptions to their environment? We show that current approaches to penalizing side effects can introduce bad incentives, e.g. to prevent any irreversible changes in the environment, including the actions of other agents. To isolate the source of such undesirable incentives, we break down side effects penalties into two components: a baseline state and a measure of deviation from this baseline state. We argue that some of these incentives arise from the choice of baseline, and others arise from the choice of deviation measure. We introduce a new variant of the stepwise inaction baseline and a new deviation measure based on relative reachability of states. The combination of these design choices avoids the given undesirable incentives, while simpler baselines and the unreachability measure fail. We demonstrate this empirically by comparing different combinations of baseline and deviation measure choices on a set of gridworld experiments designed to illustrate possible bad incentives.
Motivation & Objective
- To address unsafe agent behavior caused by poor side effect penalties in reinforcement learning.
- To identify and eliminate bad incentives—such as interference with environmental changes and insensitivity to disruption magnitude—arising from flawed design choices in side effect penalties.
- To propose a new baseline (stepwise inaction) and deviation measure (relative reachability) that collectively avoid these incentives.
- To evaluate the effectiveness of different combinations of baselines and deviation measures in controlled gridworld environments.
- To lay foundations for a scalable, intrinsic method to penalize side effects that generalizes across complex environments.
Proposed method
- Decomposes side effect penalties into two components: a baseline state and a deviation measure from that baseline.
- Proposes a stepwise inaction baseline, where the baseline at time t is the state reached by taking no actions from the previous state, rather than the initial state.
- Introduces a relative reachability deviation measure that quantifies the average reduction in reachability of all states from the current state compared to the baseline state.
- Computes reachability using a reachability function R(s′; s), measuring the probability of reaching state s from s′.
- Defines the relative reachability deviation as the average of max(R(s′; s) − R(s; s), 0) over all states s, capturing the loss of reachability due to agent actions.
- Empirically evaluates combinations of baselines and deviation measures in gridworld environments designed to test interference, offsetting, and magnitude insensitivity.
Experimental results
Research questions
- RQ1What undesirable incentives arise from using a fixed initial state as the baseline in side effect penalties?
- RQ2How does the choice of deviation measure—unreachability versus relative reachability—affect the agent's sensitivity to the magnitude of environmental disruptions?
- RQ3Can a stepwise inaction baseline eliminate interference incentives where the agent tries to prevent natural or other-agent-induced irreversible changes?
- RQ4Does the combination of stepwise inaction baseline and relative reachability deviation measure avoid all three key bad incentives: interference, offsetting, and magnitude insensitivity?
- RQ5How does this approach compare to existing methods like unreachability, attainable utility, or human oversight in terms of safety and robustness?
Key findings
- The stepwise inaction baseline successfully eliminates interference incentives, where agents would otherwise try to prevent natural or other-agent-induced irreversible changes.
- The relative reachability deviation measure avoids magnitude insensitivity, correctly penalizing agents more heavily for larger disruptions, such as breaking 100 vases versus one.
- The combination of stepwise inaction baseline and relative reachability deviation measure outperforms all other combinations in avoiding the three key bad incentives.
- The unreachability measure, regardless of baseline choice, consistently produces magnitude insensitivity, making it unsuitable for real-world applications where disruption scale matters.
- The proposed method avoids offsetting incentives, where agents act to restore a baseline state even when it is not the optimal or intended behavior.
- Empirical results in gridworlds confirm that only the proposed combination of baseline and deviation measure avoids all three identified bad incentives, suggesting it as a necessary foundation for safe RL.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.