Be Considerate: Objectives, Side Effects, and Deciding How to Act

Parand Alizadeh Alamdari, Toryn Q. Klassen, Rodrigo Toro Icarte, Sheila A. McIlraitharXiv 2021

TL;DR

This paper proposes a novel approach to AI safety by enabling reinforcement learning (RL) agents to consider the impact of their actions on other agents and the environment. By augmenting the agent's reward function with a measure of future welfare for others, the authors demonstrate how agents can learn to act more considerately, ranging from self-centered to selfless behavior.

What Problem Does This Paper Address?

Modern AI systems, particularly those using reinforcement learning (RL), are often trained to optimize a specific objective function. However, these objectives can be underspecified or incomplete, leading to agents achieving their goals in ways that have unintended and potentially harmful "side effects" on the environment or other agents. For instance, a robot tasked with fetching coffee might cause harm to achieve its objective if not properly constrained. This paper addresses the critical challenge of ensuring AI agents act safely and considerately, not just by achieving their primary goal, but also by minimizing negative externalities on others.

Methods

The core contribution of this paper is to augment the RL agent's reward function to incorporate the impact of its actions on the future welfare and agency of others. This is achieved by:

  • Augmenting the Reward Function: The agent's reward is modified to include an auxiliary reward that reflects the expected future return for other agents or the environment. This is done by leveraging a distribution over possible value functions of other agents.
  • "Caring" Coefficients: The authors introduce hyperparameters, termed "caring coefficients" ($\alpha_1$ and $\alpha_2$), which control the degree to which the agent prioritizes its own reward versus the welfare of others. This allows for a spectrum of behaviors from self-centered to self-less.
  • Different Notions of "Caring": The paper explores various ways to define this auxiliary reward, including:
  • Expected Future Return: Considering the average expected future return of others.
  • Worst-Case Future Return: Prioritizing the welfare of the least well-off agent.
  • Avoiding Negative Change: Penalizing actions that decrease the expected future return compared to an initial state.
  • Simultaneous Agents: The framework is extended to handle scenarios where multiple agents act concurrently, allowing the acting agent to consider the immediate impact of its actions on others.

Datasets

Not discussed in the paper. The experiments utilize custom gridworld environments.

Key Insights and Ideas

  • Beyond Self-Interest: The paper convincingly argues that true AI safety requires agents to look beyond their immediate reward and consider the broader consequences of their actions on others.
  • Quantifying "Caring": The introduction of "caring coefficients" provides a concrete mechanism to control and analyze the degree of consideration an agent exhibits, bridging the gap between abstract ethical principles and algorithmic implementation.
  • Spectrum of Behavior: The ability to tune these coefficients allows for a rich exploration of agent behaviors, from purely self-serving to altruistic, demonstrating the flexibility of the proposed approach.
  • Future Welfare as a Proxy: Using the expected future return of others as a proxy for their welfare is a practical way to incorporate long-term considerations into RL agent design.

Key Results

The experiments, primarily conducted in a "Craft-World" grid environment, demonstrate the effectiveness of the proposed approach:

  • Craft-World Environment: In a scenario where two agents need to cooperate to complete a task (making a box), increasing the caring coefficient ($\alpha_2$) led the first agent to change its behavior from selfishly exiting without returning a key (resulting in a large penalty for the second agent) to returning the key, thus enabling the second agent to complete its task.
  • Varying Caring Coefficients: As the caring coefficient increases, the acting agent's total reward often stays the same or decreases, while the reward for other agents increases, highlighting the trade-off and the agent's willingness to sacrifice for others.
  • Qualitative Illustrations: The paper provides compelling qualitative examples showing how different notions of safety and caring lead to distinct behaviors, such as choosing longer paths to avoid upsetting other agents or even building protective structures.
  • Simultaneous Agents: In a simultaneous action setting, the acting agent's behavior shifted from selfishly hoarding a shared resource (the key) to cooperating by returning it, demonstrating the framework's applicability to concurrent interactions.

Limitations and Future Work

  • Sequential vs. Simultaneous Actions: The paper primarily focuses on a two-stage sequential process (acting agent completes policy, then others act). The authors acknowledge that real-world scenarios are often more complex and involve simultaneous interactions, which they begin to address but note as an area for further exploration.
  • Acquiring Value Functions/Options: The approach relies on having access to a distribution of value functions or options for other agents. The paper notes that acquiring, representing, and performing computations with these distributions is a significant challenge.
  • Scalability and Representation: The practical implementation of these methods, especially in large-scale or complex environments, requires efficient ways to represent and learn these distributions.
  • Differing Scales of Reward: The paper acknowledges the philosophical challenge of comparing rewards across agents with vastly different scales, suggesting that normalizing values via caring coefficients is a partial solution but not a complete fix.
  • Acquisition of Distributions: The paper assumes the distribution over value functions can be acquired through observation, simulation, or crowdsourcing, but the robustness and accuracy of this acquisition process are not deeply explored.
  • Future Work: The authors suggest exploring more complex baselines for avoiding negative side effects, incorporating more sophisticated notions of fairness, and addressing the challenges of acquiring and representing the necessary distributions.

Summary updated

BibTeX
@misc{alamdari2021be,
  author = {Parand Alizadeh Alamdari and Toryn Q. Klassen and Rodrigo Toro Icarte and Sheila A. McIlraith},
  title = {{Be Considerate: Objectives, Side Effects, and Deciding How to Act}},
  year = {2021},
  eprint = {2106.02617},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.02617},
}
Figure