A Connection between One-Step Regularization and Critic Regularization in Reinforcement Learning

Benjamin Eysenbach, Matthieu Geist, Ruslan Salakhutdinov, Sergey Levine

TL;DR

Offline reinforcement learning methods typically avoid out-of-distribution errors using either "one-step" policy improvements or iterative "critic regularization" (like CQL). This paper proves that under a classifier-based actor-critic formulation, multi-step critic regularization with a unit penalty is mathematically equivalent to one-step RL. Even in deep continuous control settings where practical design choices deviate from the theory, critic regularization implicitly regularizes the actor, while one-step RL exhibits the value-underestimation benefits long attributed to regularized critics.

What Problem Does This Paper Address?

In offline RL, an agent must learn an optimal policy from a static dataset without taking exploratory actions in the environment. Because standard Q-learning overestimates values for unseen actions, offline algorithms rely on aggressive regularization:

  1. One-step RL: Evaluates the Q-function of the static behavioral policy ($Q^\beta$) and runs a single policy improvement step constrained near that behavioral policy (e.g., via reverse KL divergence).
  2. Critic Regularization (e.g., CQL): Runs multi-step policy iteration while penalizing the critic to predict lower values for unseen actions.

Despite their very different algorithmic complexities—one-step RL is simple and stable, while critic regularization requires solving an adversarial game between actor and critic—prior empirical work frequently shows both paradigms performing comparably. This paper answers why: it reveals an underlying mathematical equivalence between the two approaches.

Methods

The authors build a theoretical bridge by introducing Classifier Actor-Critic (CAC):

  • Critic Loss: Instead of mean squared error (MSE), the critic treats transformed Q-values ($\frac{Q}{Q+1} \in [0, 1)$) as probabilities and optimizes a cross-entropy loss against TD targets.
  • Actor Loss: Maximizes the expected log of the Q-values: $\mathbb{E}_{\pi}[\log Q(s, a)]$.
  • The Equivalence Mechanism: When adding a CQL-style penalty to log Q-values with weight $\lambda = 1$, the regularized TD updates introduce an importance weight $\frac{\beta(a|s)}{\pi(a|s)}$. Consequently, multi-step TD backups under policy $\pi$ collapse into evaluating the behavioral policy $\beta$.
  • When the unregularized actor optimizes this critic, the importance weight inside the logarithm expands into an explicit behavioral anchor: $$\mathbb{E}_{\pi}[\log Q^r_\pi(s, a)] = \mathbb{E}_{\pi}[\log Q^\beta(s, a) + \log \beta(a|s) - \log \pi(a|s)]$$ This matches the exact objective of one-step RL with a reverse-KL penalty.

The authors extend this proof to intermediate regularization parameters ($\lambda < 1$ using policy mixtures), goal-conditioned RL (via C-learning), and example-based control (via Recursive Classification of Examples / RCE).

Datasets

  • Synthetic Gridworlds: A $5 \times 5$ deterministic gridworld with 5 actions, including custom "trap" environments and an evaluation over 100 randomized MDPs with randomly placed goal/penalty states.
  • D4RL Benchmark: Standard continuous control offline datasets across four difficulty splits: medium-expert, medium-replay, medium, and random.

Key Insights and Ideas

  • Critic penalties act as importance weights: Critic regularization does not merely penalize unseen actions; it reweights the Bellman backup so that iterating over the learned policy $\pi$ simulates Bellman backups under the behavioral distribution $\beta$.
  • Implicit actor regularization: Practitioners often treat critic regularization and actor regularization as separate levers. The theory shows that regularizing the critic is an indirect way of penalizing policy divergence from the dataset.
  • Underestimation is not unique to CQL: A hallmark theoretical claim of critic regularization is guaranteed value underestimation. However, one-step RL naturally underestimates returns for any policy that improves upon the behavior policy simply because $Q^\beta \le Q^\pi$.

Key Results

  • Exact Theoretical Validation: In a tabular gridworld using the classifier actor-critic loss, one-step RL and critic-regularized RL produced identical policies ($R^2 \ge 0.999$).
  • Shared Suboptimal Failure Modes: In a gridworld designed to trick one-step RL into moving away from a high reward, CQL with $\lambda = 10$ adopted the exact same failure mode. Across 100 randomized gridworlds, CQL and one-step RL agreed on suboptimal actions at rates far exceeding the 20% random chance baseline.
  • Value Underestimation in Practice: Evaluated on D4RL benchmarks, one-step RL strictly underestimated actual returns across all four dataset types. In contrast, standard CQL implementations actually overestimated returns on the random dataset.
  • Empirical Actor Regularization: Without explicit actor constraints, standard CQL caused the actor's mean squared error (MSE) relative to dataset actions to drop by over half during training (though explicit actor regularizers in one-step RL produced roughly $3\times$ lower MSE).

Limitations and Future Work

  • Loss Function Mismatch: The analytical proof requires a cross-entropy TD loss and a penalty applied to $\log(Q+1)$, whereas popular methods (like vanilla CQL) rely on MSE Bellman losses on linear Q-values.
  • Equilibrium Assumptions: The proofs assume convergence to equilibrium in the tabular setting, abstracting away function approximation error, neural representation dynamics, and finite-sample variance.
  • Hyperparameter Sensitivity: The exact collapse occurs at $\lambda = 1$ (or specific mixture ratios). In real-world continuous benchmarks, CQL is often tuned with small coefficients that interpolate between behavioral cloning and unregularized RL rather than hitting the exact one-step equivalence point.

Summary updated

BibTeX
@inproceedings{eysenbach2022connection,
  author = {Benjamin Eysenbach and Matthieu Geist and Ruslan Salakhutdinov and Sergey Levine},
  title = {{A Connection between One-Step Regularization and Critic Regularization in Reinforcement Learning}},
  booktitle = {DeepRL @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=GXiWE8kDTcn},
}
Figure