TL;DR
This paper introduces Direct Value Learning (DIVA), a novel reinforcement learning approach that learns policies by observing "bad" behaviors (Murphy State Sequences) instead of requiring expert demonstrations. DIVA learns a rank-invariant utility function that approximates the optimal value function, enabling it to derive effective policies with minimal prior knowledge.
What Problem Does This Paper Address?
Traditional reinforcement learning (RL) often relies on well-defined reward functions or expert demonstrations to guide learning. Crafting accurate reward functions can be challenging and requires domain expertise. While Inverse Reinforcement Learning (IRL) and imitation learning leverage expert data, they still depend on the quality and availability of that data. Preference-based RL offers a more flexible alternative by asking for comparisons between behaviors, but it can still be demanding for the teacher. The core problem DIVA addresses is how to learn effective RL policies with significantly reduced reliance on expert knowledge, specifically by learning from easily generated "bad" behaviors.
Methods
DIVA's core idea is to learn a utility function that is rank-invariant to the true value function. This means that if two states have the same relative ordering in the true value function, they will also have the same relative ordering in the learned utility function, even if the absolute values differ. This is achieved by learning from Murphy State Sequences (MSS), which are sequences of states where the value is consistently decreasing. These MSS are generated by "bad" behaviors, which are often easier to produce than good ones (e.g., random actions).
The learning process involves framing the problem as a learning-to-rank task. Given a set of MSS, DIVA learns a utility function $U$ such that for any MSS $(s_1, s_2, ..., s_T)$, $U(s_t) > U(s_{t+1})$.
The paper distinguishes between two settings:
- Model-based setting: When the environment's transition model is known, DIVA learns the utility function $U$ and then derives a greedy policy $\pi_U(s) = \arg\max_a U(\text{next\_state})$.
- Model-free setting: When the transition model is unknown, DIVA learns a Q-utility function $Q(s, a)$ from state-action pairs and their resulting states. Ordering constraints are generated based on the utility of the resulting states, effectively learning a rank-invariant quality function.
Datasets
The paper does not introduce new datasets. Instead, it uses two well-established benchmark problems for evaluation:
- Mountain Car: A classic 2D state-space problem where the agent must learn to drive a car up a hill.
- Bicycle Riding: A 4D state-space problem where the agent must learn to balance a bicycle.
Key Insights and Ideas
- Learning from "bad" is easier than learning from "good": The central insight is that generating sequences of states with decreasing value (Murphy State Sequences) is often much simpler and requires less expertise than demonstrating optimal behavior. This significantly lowers the barrier to entry for RL.
- Rank-invariance is sufficient for policy learning: The paper demonstrates that a utility function that is merely rank-invariant to the true value function is sufficient to derive a near-optimal policy. This is a crucial relaxation from needing to learn the exact value function.
- DIVA's robustness to target state knowledge: The paper shows DIVA's effectiveness even when the target state is not explicitly known, particularly in the model-free setting.
- Utility function smoothness: In the model-free setting, DIVA learns a smoother Q-utility function compared to the value function learned by SARSA, which can lead to more stable policies.
Key Results
- Mountain Car: In the model-free setting, DIVA significantly outperforms SARSA, especially at moderate friction values (0.01 to 0.02), achieving better performance in fewer time steps. DIVA's learned utility function is also smoother than SARSA's learned value function.
- Bicycle Riding: In the model-based setting, DIVA achieves a high success rate (over 30,000 steps of equilibrium) with a relatively small number of Murphy State Sequences (20 MSS of length 5). The model-free setting requires more data (5,000 pairs) but still achieves comparable performance.
Limitations and Future Work
- Look-ahead requirement: In the model-based setting, computing the utility-based policy might require some look-ahead, depending on the transition model's latency.
- Difficulty in generating bad behaviors: For certain problems, generating truly "bad" behaviors that consistently lead to decreasing utility might be challenging.
- Scalability: The paper suggests future work on investigating DIVA's scalability to richer state spaces (e.g., robotic controllers with many degrees of freedom).
- Linear complexity ranking: Exploring other ranking approaches with linear complexity is also proposed.
- Integration with approximate RL: Combining DIVA with approximate RL methods is another promising direction.
Summary updated