Skip to main content
QUICK REVIEW

[Paper Review] Avoiding Side Effects By Considering Future Tasks

Victoria Krakovna, Laurent Orseau|arXiv (Cornell University)|Jan 1, 2020
Computability, Logic, AI AlgorithmsComputer Science8 citations
TL;DR

This paper proposes a method to automatically generate auxiliary reward functions that penalize side effects by rewarding the agent's ability to perform future tasks. By using a baseline policy to filter achievable future tasks, the approach avoids interference incentives and outperforms irreversible action penalties in gridworld environments.

ABSTRACT

Designing reward functions is difficult: the designer has to specify what to do (what it means to complete the task) as well as what not to do (side effects that should be avoided while completing the task). To alleviate the burden on the reward designer, we propose an algorithm to automatically generate an auxiliary reward function that penalizes side effects. This auxiliary objective rewards the ability to complete possible future tasks, which decreases if the agent causes side effects during the current task. The future task reward can also give the agent an incentive to interfere with events in the environment that make future tasks less achievable, such as irreversible actions by other agents. To avoid this interference incentive, we introduce a baseline policy that represents a default course of action (such as doing nothing), and use it to filter out future tasks that are not achievable by default. We formally define interference incentives and show that the future task approach with a baseline policy avoids these incentives in the deterministic case. Using gridworld environments that test for side effects and interference, we show that our method avoids interference and is more effective for avoiding side effects than the common approach of penalizing irreversible actions.

Motivation & Objective

  • To reduce the burden on reward designers by automating side effect avoidance in reinforcement learning.
  • To address the challenge of specifying what actions should be avoided beyond task completion.
  • To prevent agents from interfering with the environment to preserve future task feasibility.
  • To formally define and eliminate interference incentives in deterministic environments.
  • To evaluate the method's effectiveness in avoiding side effects and interference using gridworld environments.

Proposed method

  • The method introduces an auxiliary reward function that incentivizes maintaining the ability to complete future tasks.
  • It uses a baseline policy representing default behavior (e.g., doing nothing) to filter out future tasks that are not achievable by default.
  • Future tasks are only considered if they are achievable under the baseline policy, preventing artificial incentives to interfere.
  • The auxiliary reward penalizes actions that reduce the agent's ability to achieve these filtered future tasks.
  • The approach is formally proven to eliminate interference incentives in deterministic environments.
  • The method is evaluated in gridworld environments designed to test side effect and interference behaviors.

Experimental results

Research questions

  • RQ1Can an auxiliary reward based on future task capability effectively reduce side effects without manual reward shaping?
  • RQ2Does the use of a baseline policy eliminate interference incentives in the agent's behavior?
  • RQ3How does the method compare to standard irreversible action penalties in avoiding side effects?
  • RQ4Can the method maintain task performance while preventing harmful environmental interference?
  • RQ5Does the filtering of future tasks via the baseline policy improve robustness and alignment?

Key findings

  • The proposed method successfully avoids interference with the environment by filtering future tasks that are not achievable under the baseline policy.
  • The method outperforms the common approach of penalizing irreversible actions in reducing side effects in gridworld environments.
  • Formal analysis shows that the method eliminates interference incentives in deterministic environments.
  • The auxiliary reward based on future task capability leads to more robust and aligned agent behavior.
  • The baseline filtering mechanism prevents the agent from manipulating the environment to improve future task prospects artificially.
  • Empirical results demonstrate that the method maintains high task performance while minimizing unintended side effects.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.