Efficient Performance Bounds for Primal-Dual Reinforcement Learning from Demonstrations

Angeliki Kamoutsi, Goran Banjac, John Lygeros

Abstract

We consider large-scale Markov decision processes with an unknown cost function and address the problem of learning a policy from a finite set of expert demonstrations. We assume that the learner is not allowed to interact with the expert and has no access to reinforcement signal of any kind. Existing inverse reinforcement learning methods come with strong theoretical guarantees, but are computationally expensive, while state-of-the-art policy optimization algorithms achieve significant empirical success, but are hampered by limited theoretical understanding. To bridge the gap between theory and practice, we introduce a novel bilinear saddle-point framework using Lagrangian duality. The proposed primal-dual viewpoint allows us to develop a model-free provably efficient algorithm through the lens of stochastic convex optimization. The method enjoys the advantages of simplicity of implementation, low memory requirements, and computational and sample complexities independent of the number of states. We further present an equivalent no-regret online-learning interpretation.

Introduction

Standard Reinforcement Learning (RL) relies on a well-defined reward signal, which is often difficult to design for complex real-world tasks like autonomous driving or robotic surgery. Learning from Demonstrations (LfD) offers an alternative by allowing agents to learn from expert behavior. However, existing LfD methods face a trade-off: Inverse Reinforcement Learning (IRL) provides strong theoretical guarantees but is computationally prohibitive, while Adversarial Imitation Learning (e.g., GAIL) is empirically successful but lacks rigorous theoretical foundations due to its non-convex nature.

This paper bridges this gap by introducing a bilinear saddle-point framework for Batch LfD. In this scenario, the learner has a fixed set of expert data and no further interaction with the expert or environment rewards. By reframing the problem, the authors develop a model-free algorithm with provable performance guarantees and a sample complexity that is independent of the number of states.

Methodology

The core of the proposed approach is the use of Lagrangian Duality to transform the original non-convex LfD problem into a tractable bilinear saddle-point problem.

Transformation of the LfD problem into a computationally tractable minimax formulation.

As illustrated in Figure 1, the transformation involves several key steps:

  1. Primal-Dual Viewpoint: The problem is reframed using occupancy measures (primal variables) and value functions/cost weights (dual variables).
  2. Linear Function Approximation (LFA): To handle large-scale MDPs, the authors employ linear features to approximate occupancy measures and value functions. This allows the algorithm to scale independently of the state-space size.
  3. Stochastic Mirror Descent: The authors propose a variance-reduced algorithm that updates the policy and cost function estimates simultaneously. This model-free approach assumes access to a generative model (simulator) for sampling transitions.

Key insights include the "Expert Optimality" shortcut, where the expert's policy and the true cost function form a saddle point of the Lagrangian. Furthermore, the total error is decoupled into optimization error (related to iteration count) and approximation error (related to feature quality). This allows researchers to improve either part independently.

Experimental Validation and Results

The authors provide theoretical bounds showing that the performance gap between the learned policy and the expert policy converges at a rate of $O(1/\sqrt{N})$, where $N$ is the number of iterations. Crucially, the sample complexity depends on the number of features rather than the number of states, breaking the "curse of dimensionality."

The approach was validated using a 16-by-16 Gridworld environment. In this setup, an agent moves in four directions with a 70% success rate. Despite its simplicity, the gridworld served to demonstrate that the learned policy could recover expert-level performance with a relatively small number of trajectories (around $10^2$ to $10^3$), confirming that the theoretical efficiency holds up in practice. Additionally, the authors show their algorithm is equivalent to an online learning game against an adversary, linking the work to established no-regret online learning theory.

Discussion and Future Work

While the framework provides a robust theoretical foundation, it remains dependent on the quality of linear features. If the features cannot represent the true value function or occupancy measure well, the approximation error will remain high regardless of data volume.

Future work includes extending the framework to truly continuous state-action spaces, which requires addressing infinite-dimensional linear programs. Additionally, adapting the algorithm for purely offline settings—where a generative model is unavailable and only a static dataset of transitions exists—remains an important open challenge.

Summary updated

BibTeX
@inproceedings{kamoutsi2021efficient,
  author = {Angeliki Kamoutsi and Goran Banjac and John Lygeros},
  title = {{Efficient Performance Bounds for Primal-Dual Reinforcement Learning from Demonstrations}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=fC7MALkZ21z},
}
Figure