Smooth Imitation Learning for Online Sequence Prediction

Hoang Minh Le, Andrew Kang, Yisong Yue, Peter Carr

TL;DR

SIMILE (Smooth IMItation LEarning) is a novel framework for training policies that mimic expert behavior in continuous, online environments where "smoothness" is just as critical as accuracy. By utilizing deterministic policy blending and adaptive learning rates, SIMILE achieves faster, more stable convergence than classic imitation learning algorithms like DAgger or SEARN—particularly over long time horizons.

The Challenge: Drift and Jitter in Imitation Learning

Imitation learning (IL) is the art of teaching a machine to act by watching a human expert. However, two major hurdles often trip up standard approaches in continuous control tasks:

  1. The "Drift" Problem: When a learned policy makes a tiny mistake, it ends up in a state it never saw during training. These errors compound over time, leading to a total cascading failure. Existing solutions like DAgger or SEARN fix this by iteratively collecting new data, but they can be computationally slow or require constant expert feedback.
  2. The Jitter Problem: In tasks like autonomous driving or camera panning, we don't just want the right answer; we want a smooth transition. Standard IL often produces "jittery" outputs because it treats every time step as an independent prediction rather than a continuous flow.

The authors focus on online sequence prediction—specifically automated camera planning for sports broadcasts—where the goal is to follow the action smoothly despite noisy input data.

The SIMILE Framework

The authors introduce SIMILE, a learning reduction approach that transforms the complex imitation problem into a series of simpler regression problems. Key innovations include:

  • Smooth Policy Classes: They define a family of policies regularized by a "smoothness" constraint (e.g., a linear auto-regressor). This ensures the model doesn't just chase noisy targets but maintains physical plausibility.
  • Deterministic Policy Interpolation: Unlike SEARN, which stochastically chooses between an old and new policy, SIMILE blends them deterministically: $\pi_n = \beta \hat{\pi}_n + (1-\beta)\pi_{n-1}$. This is more practical for continuous action spaces and provides more stable training signals.
  • Adaptive Learning Rate ($\beta$): Instead of a fixed, conservative step size, SIMILE calculates $\beta$ based on the relative performance of the new policy. If the new policy is a significant improvement, the algorithm takes a bigger leap forward.
Convergence comparison of adaptive vs fixed learning rates
  • Virtual Expert Feedback: To keep the learner stable when it goes off-track, the algorithm generates "virtual" targets—smooth corrections that guide the learner back toward the expert's path without requiring a human to re-label every mistake.

Experimental Setup

The primary evaluation is conducted on an Automated Camera Planning dataset:

  • Source: Real-world basketball broadcast data provided by Disney Research.
  • Input: Noisy tracking data of players on the court.
  • Target: Pan-tilt-zoom angles recorded from a professional human camera operator.
  • Characteristics: This is a "long horizon" problem where the camera must make thousands of sequential decisions, making it a perfect stress test for error accumulation and smoothness.

Key Insights and Results

Theoretical Insights

  • Smoothness as a Convergence Booster: One of the most surprising theoretical results is that if a policy class is "smooth" enough (specifically, $\gamma$-Lipschitz continuous in its actions), the convergence bound no longer depends on the time horizon $T$. This means SIMILE can handle very long sequences without the slowdown seen in previous methods.
  • Deterministic is Better in Continuous Space: The authors prove (via Jensen’s inequality) that in continuous regimes, blending policies deterministically is at least as good as, and often better than, the stochastic mixing used in discrete imitation learning.
  • The "Virtual" Expert: You don't always need the ground truth expert action to learn. By providing a "smoothed" version of the expert's intent, you can prevent the learner from trying to learn impossible, jerky corrections in early training rounds.

Empirical Performance

  • Faster Convergence: In head-to-head tests against SEARN, SIMILE’s adaptive $\beta$ reached a high-performing policy in significantly fewer iterations.
  • Superior Smoothness: Qualitatively, SIMILE produced camera trajectories that looked "professional" and fluid. In contrast, non-regularized supervised models exhibited high-frequency jitter that would be unwatchable in a real broadcast.
Qualitative comparison showing SIMILE's smooth predictions versus jittery supervised baselines
  • Stability: The use of virtual feedback allowed the model to remain stable even when the initial policy was very poor, avoiding the divergence that often plagues iterative learning.

Limitations and Future Work

  • Domain Specificity: The "smoothness" regularizer $\mathcal{H}$ must be chosen carefully based on the domain. While linear auto-regressors worked well for camera panning, more complex dynamics (like drone flight) might require more sophisticated regularizers.
  • Agnostic Gap: The theory assumes there exists a "good" smooth policy in the class. If the human expert is inherently non-smooth or erratic, the gap between the learner and the expert may remain large.
  • Future Directions: The authors suggest extending SIMILE to more complex reinforcement learning settings where the environment is not just exogenous (i.e., where the agent's actions change the world, not just its own internal state).

Summary updated

BibTeX
@inproceedings{le2016smooth,
  author = {Hoang Minh Le and Andrew Kang and Yisong Yue and Peter Carr},
  title = {{Smooth Imitation Learning for Online Sequence Prediction}},
  booktitle = {International Conference on Machine Learning},
  year = {2016},
}
Figure