Direct and indirect reinforcement learning

Yang Guan, Shengbo Eben Li, Jingliang Duan, Jie Li, Yangang Ren, Qi Sun, Bo Cheng

TL;DR

This paper proposes a new "direct" vs. "indirect" taxonomy for reinforcement learning (RL) algorithms, unifying existing value-based and policy-based approaches. They demonstrate that direct and indirect RL methods can be unified under an actor-critic framework and share theoretical equivalences, offering a deeper understanding of their mechanisms and leading to a more systematic classification of current RL algorithms.

What Problem Does This Paper Address?

Reinforcement learning (RL) has seen tremendous success in various domains, but the field is often categorized by value-based vs. policy-based methods, which can be superficial. This paper aims to provide a more fundamental understanding of RL algorithms by proposing a new taxonomy based on how they find an optimal policy: directly optimizing an objective function (direct RL) or indirectly solving the Bellman equation (indirect RL). This new perspective helps to clarify the underlying mechanisms, reveal hidden connections between existing methods, and offer a more systematic way to classify and understand the vast landscape of RL algorithms.

Methods

The core of this paper is the introduction of the "direct" and "indirect" RL taxonomy.

  • Direct RL: This approach directly optimizes an objective function, typically the expected cumulative future rewards, using gradient descent methods. The paper derives the policy gradient for direct RL, highlighting its dependence on the discounted visiting frequency (DVF) and the true value function.
  • Indirect RL: This approach focuses on solving the Bellman equation, which is a necessary and sufficient condition for optimality. The optimal policy is then derived from the solved value function. The paper derives the policy gradient for indirect RL, emphasizing its reliance on the initial state distribution and an approximate value function.
  • Unification and Equivalence: The authors demonstrate that both direct and indirect RL can lead to the actor-critic architecture. They further show that under certain conditions, their policy gradients can be unified into a single form that uses an approximate value function and the stationary state distribution, revealing a theoretical equivalence between the two.
  • Algorithm Classification: The paper then uses this new taxonomy, alongside existing ones (value-based/policy-based, model-based/model-free), to classify a wide range of mainstream RL algorithms.

Datasets

The paper uses a custom-designed Gridworld task for experimental verification. This task is a 4x6 grid with discrete states, where an agent navigates to a terminal state to receive a reward. The authors describe variations in initial state distributions and value iteration numbers to test different scenarios. No standard datasets are used for training or evaluation.

Key Insights and Ideas

  • A Deeper Taxonomy: The "direct" vs. "indirect" taxonomy offers a more fundamental way to understand RL algorithms than the traditional value-based vs. policy-based split, by focusing on the core mechanism of policy optimization.
  • Unifying Actor-Critic: The paper shows that the actor-critic architecture can be derived from both direct and indirect RL, suggesting that this popular framework is not exclusive to one approach.
  • Theoretical Equivalence: The demonstration that direct and indirect RL policy gradients can be unified under specific conditions (approximate value function and stationary state distribution) is a significant theoretical contribution, bridging the gap between seemingly different approaches.
  • Value-Based as a Special Case: The research suggests that value-based methods can be viewed as a specific type of indirect RL that implicitly learns a greedy policy.
  • Importance of State Distribution and Value Function: Experiments highlight how the choice of state distribution (DVF vs. initial vs. stationary) and the accuracy of the value function significantly impact training performance and convergence speed.

Key Results

  • Theoretical Equivalence: The paper establishes a theoretical equivalence between direct and indirect RL, showing they can be unified into a single policy gradient form.
  • Experimental Verification: Experiments on a Gridworld task demonstrate that:
  • Value-based methods are statistically equivalent to indirect methods with an implicit greedy policy.
  • The choice of state distribution in policy gradients significantly affects performance, with stationary state distributions generally outperforming initial ones.
  • The accuracy of the value function approximation directly influences convergence speed and final performance.
  • Algorithm Classification: The paper provides a comprehensive classification of numerous RL algorithms under the proposed direct/indirect taxonomy, alongside other common classifications.

Limitations and Future Work

  • True Value Function Inaccessibility: A key limitation in direct RL is the inaccessibility of the true value function, requiring approximations. The paper acknowledges that while Monte Carlo methods can estimate it, more accurate value estimates lead to better policy gradients and performance.
  • Future Directions: The authors suggest several promising avenues for future research:
  • Designing new sufficient and necessary conditions for optimal policies in indirect RL.
  • Developing novel objective functions for direct RL to improve performance.
  • Combining the direct and indirect RL families to leverage their respective strengths and mitigate weaknesses, similar to how optimal control methods are combined.

Summary updated

Abstract

Reinforcement learning (RL) algorithms have been successfully applied to a range of challenging sequential decision-making and control tasks. In this paper, we classify RL into direct and indirect RL...
BibTeX
@article{guan2021direct,
  author = {Yang Guan and Shengbo Eben Li and Jingliang Duan and Jie Li and Yangang Ren and Qi Sun and Bo Cheng},
  title = {{Direct and indirect reinforcement learning}},
  journal = {Int. J. Intell. Syst.},
  year = {2021},
  doi = {10.1002/int.22466},
}
Figure