Apprenticeship Learning via Frank-Wolfe

Tom Zahavy, Alon Cohen, Haim Kaplan, Yishay Mansour

Abstract

This paper establishes a formal connection between the classic "Projection Method" for Apprenticeship Learning (AL) and the Frank-Wolfe optimization algorithm. By framing AL as a convex optimization problem over a policy polytope, the authors introduce the Away-Step Conditional Gradient (ASCG) variant. This approach achieves a linear rate of convergence, providing both a theoretical breakthrough and a practical speedup over existing sub-linear methods. The algorithm is validated on standard benchmarks, demonstrating superior efficiency in matching expert feature expectations.

Introduction

In Reinforcement Learning (RL), defining an accurate reward function is often the most challenging part of agent design. In complex scenarios like autonomous driving, "reward engineering"—manually balancing speed, safety, and lane-keeping—is prone to error. Apprenticeship Learning (AL) offers an alternative: instead of a reward function, the agent is provided with demonstrations from an expert. The agent's goal is to find a policy that matches the expert's "feature expectations," effectively mimicking their behavior.

Mathematically, AL is often formulated as a projection problem: finding a point within the set of all possible policy outcomes (the "polytope") that minimizes the distance to the expert's performance. While effective, previous algorithms for this task often lacked strong theoretical convergence guarantees or were slow to reach high precision.

The Frank-Wolfe Connection

A primary contribution of this work is the theoretical unification of RL and optimization. The authors prove that the seminal AL algorithm by Abbeel and Ng (2004) is mathematically equivalent to the Frank-Wolfe (or Conditional Gradient) algorithm.

Frank-Wolfe is a first-order optimization method for constrained convex optimization. In the context of AL, the constraint set is the polytope of feature expectations. By recognizing this link, the authors can apply decades of optimization research to the problem of learning from demonstrations.

Away-Step Conditional Gradient (ASCG)

Standard Frank-Wolfe algorithms can suffer from slow convergence because they continuously add new "directions" (policies) to the solution without discarding old ones. To address this, the authors propose the Away-Step Conditional Gradient (ASCG) algorithm.

ASCG introduces "away steps," which allow the algorithm to actively remove weight from suboptimal policies added in earlier iterations. Because the objective function (minimizing distance to the expert) is strongly convex and the search space is a polytope, this modification enables a linear convergence rate. This means the error drops exponentially over time ($T = O(\log(1/\epsilon))$), a significant improvement over the sub-linear rates ($T = O(1/\epsilon)$) of previous state-of-the-art methods.

Experimental Results

The authors evaluated ASCG against the standard Frank-Wolfe (CG) baseline on two classic benchmarks: a $5 \times 5$ Gridworld and a high-fidelity Car Simulator.

Figure 1: Convergence comparison between standard CG and ASCG on the Gridworld task, showing the error reduction over 50 iterations.

In the Car Simulator, the agent must balance multiple objectives such as speed and collision avoidance. The results across both environments consistently showed that ASCG reached lower error levels in significantly fewer iterations than the baseline.

Figure 2: Long-term convergence behavior over 100 iterations, demonstrating the sustained linear convergence rate of the ASCG method.

Discussion and Future Work

While the linear convergence rate is a major theoretical advancement, it depends on a geometric property known as the "facial distance" of the polytope, which can be difficult to calculate for arbitrary MDPs. Furthermore, the current framework assumes a linear reward function.

Future research may focus on extending these fast convergence results to non-linear reward functions, such as those used in Deep Inverse Reinforcement Learning, or exploring "relaxed" versions of the policy polytope to further accelerate the optimization process. Despite these limitations, this work provides a robust theoretical foundation for more efficient apprenticeship learning.

Summary updated

BibTeX
@inproceedings{zahavy2020apprenticeship,
  author = {Tom Zahavy and Alon Cohen and Haim Kaplan and Yishay Mansour},
  title = {{Apprenticeship Learning via Frank-Wolfe}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i04.6150},
}
Figure