Actor-Critic or Critic-Actor? A Tale of Two Time Scales

Shalabh Bhatnagar, Vivek S. Borkar, Soumyajit Guin

TL;DR

This paper challenges the traditional "Actor-Critic" hierarchy by proposing a "Critic-Actor" algorithm that reverses their learning speeds. By making the Actor learn on a faster time scale than the Critic, the authors demonstrate that the algorithm emulates Value Iteration rather than Policy Iteration, achieving performance on par with standard methods while providing a fresh theoretical perspective on reinforcement learning.

What Problem Does This Paper Address?

In reinforcement learning (RL), the Actor-Critic (AC) framework is a cornerstone. Traditionally, these algorithms operate on two distinct time scales: the "Critic" (which estimates value functions) moves quickly to evaluate the current policy, while the "Actor" (which updates the policy) moves slowly to ensure stability. This setup essentially mimics Policy Iteration, where you fully evaluate a policy before improving it.

The authors ask a fundamental "what if" question: What happens if we flip this relationship? If the Actor moves fast and the Critic moves slow, does the algorithm still converge? Does it offer any advantages? This exploration addresses the gap in our understanding of time-scale dynamics and whether the "Critic-Actor" (CA) configuration is a legitimate, effective RL scheme.

Methods

The authors introduce the Critic-Actor (CA) algorithm. The key technical shift is in the step-size sequences (learning rates):

  • Standard AC: Critic step-size >> Actor step-size (Critic is fast).
  • Proposed CA: Actor step-size >> Critic step-size (Actor is fast).

By making the Actor faster, the Actor essentially becomes a "subroutine" that quickly finds the best action for the current (slowly changing) value estimate. This structure emulates Value Iteration, where the value function is updated based on the optimal action at each step.

The paper provides a rigorous mathematical proof of convergence using the Ordinary Differential Equation (ODE) approach. They analyze the system as a "two time-scale stochastic approximation," showing that the faster component (the Actor) views the slower one (the Critic) as quasi-static, while the slower component sees the faster one as having already reached equilibrium.

Datasets

The algorithms were evaluated on various Grid World environments, which are standard benchmarks for testing the fundamental properties of RL algorithms:

  • 3D Grid World: 1,000 states ($10 \times 10 \times 10$) with 6 possible actions.
  • 2D Grid World: 400 states ($20 \times 20$) with 4 actions.
  • 4D Grid World: 10,000 states ($10 \times 10 \times 10 \times 10$) with 8 actions.
  • Large 2D Grid: 10,000 states ($100 \times 100$) with 9 actions, used for function approximation tests.

The authors tested three settings: tabular (exact), linear function approximation, and non-linear function approximation using neural networks.

Key Insights and Ideas

  • Emulating Value Iteration: The most profound insight is that reversing time scales changes the fundamental nature of the algorithm's search. AC mimics Policy Iteration; CA mimics Value Iteration.
  • The "Fast" Actor as a Minimizer: In CA, because the Actor updates rapidly, it effectively performs the "minimization" (or maximization) over actions required by the Bellman equation in real-time.
  • Leveling the Playing Field: Historically, AC was preferred because its slow policy updates made the Critic's job "linear" and easier to solve with simple tools. However, the authors argue that in the modern era of deep learning and non-linear function approximation (Neural Networks), this theoretical advantage of AC disappears, putting CA on equal footing.
  • Dimensionality Reduction: Working with value functions (as in CA) rather than Q-value functions (as in Q-learning) can lead to a cleaner convergence analysis and reduced dimensionality.

Key Results

  • Performance Parity: Across multiple experiments, the Critic-Actor algorithm performed on par with or slightly better than the standard Actor-Critic in terms of both accuracy (Value Error) and Average Reward.
  • Computational Efficiency: There was no significant difference in the computational time required for either approach. For instance, in a 1,000-state experiment, both took approximately 11 hours to run $10^8$ time-steps.
  • Robustness: In neural network settings, CA showed similar performance to Deep Q-Networks (DQN) and standard AC, but often with lower variance in performance compared to AC.
  • Convergence: The empirical results backed up the theoretical proofs, showing that CA converges rapidly to the optimal value function.

Limitations and Future Work

  • Tabular Limitations: Like all tabular methods, the basic CA algorithm suffers from the "curse of dimensionality" when state spaces become massive, necessitating function approximation.
  • Equilibria Sensitivity: The authors note that with function approximation, the presence of multiple equilibria can make results less conclusive than in the tabular case.
  • Unexplored Variants: This paper focuses on the standard CA setup. The authors suggest that future research should explore reversing time scales for more advanced variants, such as Natural Actor-Critic or Constrained Actor-Critic algorithms.
  • Exploration vs. Exploitation: The paper primarily focuses on convergence and value estimation; further study into how the CA time-scale reversal affects the exploration-exploitation tradeoff in complex environments would be valuable.

Summary updated

BibTeX
@article{bhatnagar2023actor,
  author = {Shalabh Bhatnagar and Vivek S. Borkar and Soumyajit Guin},
  title = {{Actor-Critic or Critic-Actor? A Tale of Two Time Scales}},
  journal = {IEEE Control. Syst. Lett.},
  year = {2023},
  doi = {10.1109/lcsys.2023.3288931},
}
Figure