IL-SOAR : Imitation Learning with Soft Optimistic Actor cRitic

Stefano Viel, Luca Viano, Volkan Cevher

TL;DR

The SOAR (Soft Optimistic Actor cRitic) framework significantly boosts the sample efficiency of imitation learning algorithms by introducing an ensemble of multiple critics to drive exploration. By replacing the single critic in Soft Actor-Critic (SAC)-based methods with an optimistic ensemble estimate, SOAR cuts the number of training episodes required to match baseline performance in half across standard MuJoCo benchmarks.

What Problem Does This Paper Address?

Imitation Learning (IL) allows an agent to learn a policy from expert demonstrations. Many state-of-the-art IL algorithms rely on Soft Actor-Critic (SAC) to update their policies. SAC uses entropy regularization to encourage exploration by maintaining a positive probability for all actions, but this strategy alone is often inefficient in complex environments.

While theoretical research has successfully introduced "exploration bonuses" to guide agents toward unvisited state-action pairs, these solutions are largely confined to simple tabular or linear settings. Their mathematical designs rely heavily on knowing the underlying transition dynamics, making them difficult to scale to continuous environments that require deep neural network function approximation. This paper bridges the gap by providing an exploration technique that is both theoretically sound in tabular settings and easily implementable via deep neural networks in continuous spaces.

Methods

SOAR introduces a primal-dual algorithmic template that alternates between updating a cost function and updating the policy. The core innovation lies within the policy update step: instead of using a single critic network (or a standard twin-critic pair to avoid overestimation), SOAR maintains an ensemble of $L$ independent critics ($L > 1$).

Because this framework minimizes a cumulative cost rather than maximizing a reward, "optimism in the face of uncertainty" means the agent should underestimate the expected cumulative cost. SOAR achieves this by aggregating the ensemble's value estimates using one of two rules:

  1. Min: Taking the minimum value across all $L$ estimators.
  2. Mean-Std: Taking the ensemble mean and subtracting a clipped factor proportional to the empirical standard deviation.

In continuous settings, this optimistic value function is fed directly into the SAC policy loss, guiding the agent to explore under-sampled regions of the state-action space where critic uncertainty is high.

Datasets

The authors evaluated the SOAR framework on standard continuous control tasks from the MuJoCo benchmark suite:

  • Ant-v5
  • Hopper-v5
  • Walker2d-v5
  • Humanoid-v5

They evaluated performance across both state-only (learning purely from observed states) and state-action expert demonstration settings. Additionally, they validated the role of the ensemble size ($L$) using a custom 2-state hard exploration MDP benchmark designed specifically to expose exploration weaknesses.

Key Insights and Ideas

  • Optimism via Cost Underestimation: In a cost-minimization framework, being optimistic means assuming the cost of the unknown is low. SOAR mathematically enforces this by ensuring the aggregated critic $Q^{k+1} \le c^k + \gamma PV^k$ with high probability.
  • The Critic Ensemble Sweet Spot: There is a fundamental trade-off when choosing the number of critics ($L$). While a larger $L$ guarantees that the optimism property holds with higher probability, it also increases the upper bound on the expected temporal difference error. Empirically, the authors found that $L=4$ provides the optimal balance for deep reinforcement learning tasks.
  • Simplicity Wins: Unlike alternative deep exploration methods for imitation learning (such as OPT-AIL) which require solving complex, non-concave optimization problems, SOAR achieves superior results simply by modifying the critic aggregation step within standard SAC.

Key Results

When integrated into existing SAC-based imitation learning algorithms—specifically Coherent Soft Imitation Learning (CSIL), Maximum Likelihood IRL (ML-IRL), and Reversed KL Inverse Reinforcement Learning (RKL)—SOAR consistently and substantially accelerated learning.

Across all tested MuJoCo environments, SOAR cut the required number of training episodes to reach baseline performance by roughly 50%.

Figure 1: Summary of experimental results. Each plot compares the average normalized return across 4 MuJoCo environments with 16 expert trajectories for a base algorithm and its SOAR-enhanced version. SOAR replaces the single critic in SAC-based methods with multiple critics to compute an optimistic estimate. Across all algorithms, incorporating SOAR consistently improves performance. ML-IRL (SA) stands for ML-IRL [115] from expert state- action demonstrations.

As shown in the performance curves above, the SOAR-enhanced variants (solid lines) dominate their respective baselines (dashed lines), achieving higher final returns much earlier in the training cycle. The benefits were particularly pronounced in higher-dimensional, more challenging environments like Ant-v5 and Humanoid-v5.

Limitations and Future Work

While SOAR demonstrates exceptional empirical performance when paired with deep neural networks, the rigorous sample complexity guarantees presented in the paper are mathematically proven only for the tabular setting. Extending these formal theoretical proofs to general function approximation or linear MDPs remains an open challenge.

For future work, the authors propose exploring whether similar ensemble-based exploration techniques can accelerate imitation learning directly from visual inputs (e.g., via exploration-enhanced versions of DQN) and investigating potential applications in Large Language Model (LLM) finetuning.

Summary updated

BibTeX
@inproceedings{viel2025il,
  author = {Stefano Viel and Luca Viano and Volkan Cevher},
  title = {{IL-SOAR : Imitation Learning with Soft Optimistic Actor cRitic}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=NNr8DHb0L7},
}
Figure