Table of Contents
Fetching ...

A Two-Timescale Primal-Dual Framework for Reinforcement Learning via Online Dual Variable Guidance

Axel Friedrich Wolter, Tobias Sutter

TL;DR

The paper addresses reinforcement learning under a regularized Markov Decision Process by leveraging a linear programming reformulation and a double-regularized Lagrangian. It introduces PGDA-RL, a two-timescale primal-dual Projected Gradient Descent-Ascent algorithm that uses experience replay and online updates from a single trajectory, guided by the dual occupancy-measure variable. The authors prove almost-sure convergence of the last iterates to the optimal regularized value function $V^*_r$ and the corresponding policy $\\pi^*_r$ under weak assumptions, without requiring a simulator or a fixed behavioral policy, and extend the analysis to asynchronous settings with structured replay buffers. The work combines LP-based RL with mature stochastic approximation theory to yield provable convergence for both synchronous and asynchronous learning and demonstrates empirical viability on a standard tabular task, highlighting the practical impact of dual-variable guidance and two-timescale dynamics for stable RL training.

Abstract

We study reinforcement learning by combining recent advances in regularized linear programming formulations with the classical theory of stochastic approximation. Motivated by the challenge of designing algorithms that leverage off-policy data while maintaining on-policy exploration, we propose PGDA-RL, a novel primal-dual Projected Gradient Descent-Ascent algorithm for solving regularized Markov Decision Processes (MDPs). PGDA-RL integrates experience replay-based gradient estimation with a two-timescale decomposition of the underlying nested optimization problem. The algorithm operates asynchronously, interacts with the environment through a single trajectory of correlated data, and updates its policy online in response to the dual variable associated with the occupation measure of the underlying MDP. We prove that PGDA-RL converges almost surely to the optimal value function and policy of the regularized MDP. Our convergence analysis relies on tools from stochastic approximation theory and holds under weaker assumptions than those required by existing primal-dual RL approaches, notably removing the need for a simulator or a fixed behavioral policy.

A Two-Timescale Primal-Dual Framework for Reinforcement Learning via Online Dual Variable Guidance

TL;DR

The paper addresses reinforcement learning under a regularized Markov Decision Process by leveraging a linear programming reformulation and a double-regularized Lagrangian. It introduces PGDA-RL, a two-timescale primal-dual Projected Gradient Descent-Ascent algorithm that uses experience replay and online updates from a single trajectory, guided by the dual occupancy-measure variable. The authors prove almost-sure convergence of the last iterates to the optimal regularized value function and the corresponding policy under weak assumptions, without requiring a simulator or a fixed behavioral policy, and extend the analysis to asynchronous settings with structured replay buffers. The work combines LP-based RL with mature stochastic approximation theory to yield provable convergence for both synchronous and asynchronous learning and demonstrates empirical viability on a standard tabular task, highlighting the practical impact of dual-variable guidance and two-timescale dynamics for stable RL training.

Abstract

We study reinforcement learning by combining recent advances in regularized linear programming formulations with the classical theory of stochastic approximation. Motivated by the challenge of designing algorithms that leverage off-policy data while maintaining on-policy exploration, we propose PGDA-RL, a novel primal-dual Projected Gradient Descent-Ascent algorithm for solving regularized Markov Decision Processes (MDPs). PGDA-RL integrates experience replay-based gradient estimation with a two-timescale decomposition of the underlying nested optimization problem. The algorithm operates asynchronously, interacts with the environment through a single trajectory of correlated data, and updates its policy online in response to the dual variable associated with the occupation measure of the underlying MDP. We prove that PGDA-RL converges almost surely to the optimal value function and policy of the regularized MDP. Our convergence analysis relies on tools from stochastic approximation theory and holds under weaker assumptions than those required by existing primal-dual RL approaches, notably removing the need for a simulator or a fixed behavioral policy.
Paper Structure (18 sections, 17 theorems, 75 equations, 1 figure, 1 table, 2 algorithms)

This paper contains 18 sections, 17 theorems, 75 equations, 1 figure, 1 table, 2 algorithms.

Key Result

Proposition 2.1

geist2019theory The policy $\pi^\star_{r}:=\arg\max_{\pi\in\Pi} T_{\pi,G}V^\star_r$ is the unique optimal regularized policy in the sense that $V^{\pi^\star_r}_r=V^\star_r\geq V^\pi_r$ for all policies $\pi\in\Pi$.

Figures (1)

  • Figure 1: Value Function and Policy Evaluation during Training. The plots show the averages (solid lines) and two standard deviation bars (shaded areas) over 10 independent training runs.

Theorems & Definitions (17)

  • Proposition 2.1
  • Corollary 2.1
  • Proposition 2.2
  • Theorem 2.1
  • Lemma 2.2: Optimal dual variable
  • Theorem 3.1: Convergence of Algorithm \ref{['alg1']}
  • Theorem 3.2
  • Lemma 3.3: Verifying (A2)
  • Lemma 3.4: Verifying (A4)
  • Lemma 3.5
  • ...and 7 more