On Efficient Online Imitation Learning via Classification

Yichen Li, Chicheng Zhang

Authors: Yichen Li and Chicheng Zhang (University of Arizona) | Conference: NeurIPS 2022

Abstract & Introduction

Imitation Learning (IL) is a powerful paradigm for training agents to mimic expert behavior. Interactive IL, such as the well-known DAGGER algorithm, allows learners to query experts during training, yielding superior sample efficiency compared to offline methods. However, most existing research assumes a "realizable" setting—meaning the expert's perfect strategy exists within the learner's library of possible policies.

In reality, our models are often simpler than the experts they attempt to emulate. This NeurIPS 2022 paper explores Classification-based Online Imitation Learning (COIL) in the general non-realizable case, establishing fundamental limits and proposing a novel, oracle-efficient framework.

The Challenges of Non-Realizable Imitation Learning

When the expert's policy lies outside the learner's hypothesis class, traditional approaches face two major hurdles:

  1. The Proper Learning Trap: Traditional methods attempt to output a single "proper" policy from a predefined class (e.g., a specific decision tree). The authors prove that in complex, non-ideal scenarios, any proper online learning algorithm can be forced into a "linear regret" trap, failing to improve over time.
  2. Computational Inefficiency: Many theoretical solutions that address non-realizability are "oracle-inefficient," requiring computationally intractable amounts of power to find the best policy.

The LOGGER Framework: A Shift to Improper Learning

To overcome the impossibility of proper learning, the authors propose a shift to "improper" learning. Instead of selecting a single policy, they utilize a Mixed Policy Class—a randomized mixture of policies.

They introduce LOGGER (Linear lOss aGGrEgation), an algorithmic framework that reduces the complex COIL problem into online linear optimization. By treating the loss as a linear function of the policy mixture, LOGGER leverages powerful optimization theory tools. The authors design two specific, oracle-efficient algorithms within this framework:

  • LOGGER-M: Utilizing "Mixed Contextual Follow the Perturbed Leader" (MFTPL), this algorithm achieves a standard "no-regret" guarantee of $O(\sqrt{N})$. It eventually performs as well as the best possible policy in its class.
  • LOGGER-ME: An "Extra-Gradient" variant that exploits the inherent predictability of imitation learning (i.e., the environment changes based on the executed policy, exhibiting "distributional continuity"). By using an extra round of interaction to "peek" at the next step, LOGGER-ME achieves an optimal $O(1)$ regret.

To maintain computational feasibility, these algorithms assume access to a Cost-Sensitive Classification (CSC) Oracle and a "small separator set" (a small number of examples capable of distinguishing between any two different policies).

Key Theoretical Insights

As a purely theoretical paper, the authors provide mathematical proofs of performance rather than empirical benchmark scores. Key insights include:

  • Proper Learning is Impossible: A negative result proving that any algorithm forced to pick a single policy from its class at each step will fail to reach sublinear regret in the general case. Randomization or mixing is essential.
  • The Power of Predictability: Unlike adversarial games, imitation learning environments exhibit distributional continuity. LOGGER-ME leverages this to achieve massive learning speedups.
  • Dynamic Regret is Hard: While efficiently competing with the best single policy (static regret) is possible, the authors prove that competing with a sequence of changing policies (dynamic regret) is computationally PPAD-hard.

Theoretical Performance Comparison

The paper compares the LOGGER algorithms against the standard baseline of Behavior Cloning (BC):

Metric Behavior Cloning (BC) LOGGER-M LOGGER-ME
Approximation Error High ($H^2$) Low ($\mu H$) Low ($\mu H$)
Interaction Rounds 1 (Offline) High ($1/\epsilon^2$) Low ($1/\epsilon$)
Expert Annotations High ($1/\epsilon^2$) Medium ($1/\epsilon^2$) Medium ($1/\epsilon^2$)

Note: $H$ represents task length, $\mu$ is a recovery constant, and $\epsilon$ is the desired error level.

LOGGER-ME stands out by providing the high accuracy of interactive learning while significantly reducing the "tax" on the expert's time through fewer interaction rounds.

Limitations and Future Directions

  • Separator Set Assumption: The computational efficiency of LOGGER relies on the "small separator set" assumption. While standard in theoretical contexts, it may require refinement for highly complex policy classes like deep neural networks.
  • Empirical Validation: As a theory-heavy paper, the natural next step is to implement LOGGER within a deep learning framework and evaluate it on real-world robotics or autonomous driving simulators.
  • Oracle Approximations: The algorithms assume a perfect classification oracle. In practice, approximate solvers (like SGD) are used, and the impact of these approximations on LOGGER's theoretical guarantees remains an open question.

Summary updated

BibTeX
@inproceedings{li2022efficient,
  author = {Yichen Li and Chicheng Zhang},
  title = {{On Efficient Online Imitation Learning via Classification}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=EIpNvnBzqL},
}
Figure