[Paper Review] Preferences Implicit in the State of the World
This paper proposes Reward Learning by Simulating the Past (RLSP), an algorithm that infers human preferences from the initial state of an environment—assuming it reflects human-optimized conditions—using Maximum Causal Entropy IRL. It successfully learns to avoid side effects (e.g., breaking vases) and infer active tasks (e.g., harvesting apples) without explicit reward shaping, demonstrating that implicit preferences in the world state can guide safe and goal-directed behavior.
Reinforcement learning (RL) agents optimize only the features specified in a reward function and are indifferent to anything left out inadvertently. This means that we must not only specify what to do, but also the much larger space of what not to do. It is easy to forget these preferences, since these preferences are already satisfied in our environment. This motivates our key insight: when a robot is deployed in an environment that humans act in, the state of the environment is already optimized for what humans want. We can therefore use this implicit preference information from the state to fill in the blanks. We develop an algorithm based on Maximum Causal Entropy IRL and use it to evaluate the idea in a suite of proof-of-concept environments designed to show its properties. We find that information from the initial state can be used to infer both side effects that should be avoided as well as preferences for how the environment should be organized. Our code can be found at https://github.com/HumanCompatibleAI/rlsp.
Motivation & Objective
- To address the challenge of specifying complete reward functions in RL, especially for avoiding unintended side effects.
- To leverage the implicit optimization of the environment's initial state as a source of human preference information.
- To develop a method that infers preferences from the state alone, without requiring demonstrations or human feedback.
- To evaluate whether the initial state encodes information about both side effects to avoid and tasks to perform.
- To demonstrate that RLSP can improve sample efficiency and safety in RL by incorporating implicit human preferences.
Proposed method
- The method assumes that the initial state $ s_0 $ reflects a human-optimized configuration, implying that prior human behavior avoided negative outcomes.
- It uses Maximum Causal Entropy Inverse Reinforcement Learning (MCE-IRL) to infer a reward function $ \theta_{\text{Alice}} $ that explains why $ s_0 $ is likely under human behavior.
- The algorithm computes a MAP estimate of the human reward $ \theta_{\text{Alice}} $ by simulating possible past trajectories leading to $ s_0 $, assuming known dynamics and hand-coded features.
- It combines the inferred human reward $ \theta_{\text{Alice}} $ with a specified reward $ \theta_{\text{spec}} $ via a weighted sum to form a final reward $ \theta_{\text{final}} $.
- The robot then acts to optimize $ \theta_{\text{final}} $, balancing task performance and avoidance of side effects.
- The approach is evaluated in gridworld environments designed to test inference of side effect avoidance and active task performance.
Experimental results
Research questions
- RQ1Can the initial state of an environment implicitly encode human preferences regarding side effects, such as avoiding breaking vases?
- RQ2Can the initial state also encode preferences for active tasks, such as harvesting apples or charging batteries?
- RQ3How well can RLSP infer these preferences using only the state and known dynamics, without demonstrations?
- RQ4What are the limitations of inferring preferences from a single state, especially when dynamics are unknown or features are ambiguous?
- RQ5How does combining inferred preferences with a specified reward affect overall task performance and safety?
Key findings
- The initial state of an environment, when optimized by human behavior, contains implicit information about human preferences, including side effects to avoid and tasks to perform.
- RLSP successfully inferred that breaking vases should be avoided, even when no such penalty was specified in the reward function.
- The algorithm correctly inferred that a basket of apples near a tree implied a preference for harvesting, enabling the robot to act on this implicit task.
- The method demonstrated robustness to variations in the planning horizon $ T $ and prior over initial states $ s_{-T} $ in gridworld environments.
- However, in cases where the initial state was not the result of human optimization (e.g., atmospheric oxygen), RLSP failed to infer the relevant preference.
- The approach revealed a conflict between the inferred human preference for status quo and the specified reward, suggesting a need for better reward combination or human query mechanisms.
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.