[Paper Review] Imitation Learning via Off-Policy Distribution Matching
This paper introduces ValueDICE, a novel off-policy imitation learning algorithm that directly minimizes the divergence between expert and behavior policy state-action distributions without relying on explicit rewards or on-policy data. By reformulating distribution ratio estimation as a fully off-policy objective, ValueDICE enables sample-efficient, stable training and achieves state-of-the-art performance on MuJoCo benchmarks, outperforming prior methods like DAC and GAIL, especially in low-data regimes.
When performing imitation learning from expert demonstrations, distribution matching is a popular approach, in which one alternates between estimating distribution ratios and then using these ratios as rewards in a standard reinforcement learning (RL) algorithm. Traditionally, estimation of the distribution ratio requires on-policy data, which has caused previous work to either be exorbitantly data-inefficient or alter the original objective in a manner that can drastically change its optimum. In this work, we show how the original distribution ratio estimation objective may be transformed in a principled manner to yield a completely off-policy objective. In addition to the data-efficiency that this provides, we are able to show that this objective also renders the use of a separate RL optimization unnecessary.Rather, an imitation policy may be learned directly from this objective without the use of explicit rewards. We call the resulting algorithm ValueDICE and evaluate it on a suite of popular imitation learning benchmarks, finding that it can achieve state-of-the-art sample efficiency and performance.
Motivation & Objective
- To address the sample inefficiency of on-policy distribution matching in imitation learning, which requires repeated environment interactions for each policy update.
- To develop a theoretically grounded, off-policy formulation of distribution ratio estimation that avoids the need for on-policy data during ratio estimation.
- To eliminate the need for a separate reinforcement learning optimization step by enabling direct policy optimization from the divergence minimization objective.
- To achieve state-of-the-art performance in imitation learning under low-data and high-data regimes using a unified, reward-free framework.
Proposed method
- Reformulates the original distribution matching objective to avoid on-policy expectations by deriving a fully off-policy objective for density ratio estimation.
- Uses a critic network to estimate the ratio of expert-to-behavior policy state-action distributions, trained on a replay buffer of past interactions.
- Derives gradients of the divergence objective directly with respect to the behavior policy parameters, enabling end-to-end policy learning without explicit rewards.
- Introduces ValueDICE as a streamlined algorithm that learns the imitating policy directly from the divergence objective, bypassing traditional RL reward shaping.
- Employs a Q-function-based objective that approximates the distribution ratio, allowing for stable and efficient off-policy updates.
- Uses a replay buffer containing both expert demonstrations and behavior policy rollouts to train the ratio estimator in an off-policy manner.
Experimental results
Research questions
- RQ1Can distribution matching in imitation learning be made fully off-policy without sacrificing the theoretical guarantees of the original objective?
- RQ2Is it possible to eliminate the need for a separate reinforcement learning optimization step by directly optimizing the divergence objective?
- RQ3Can a reward-free imitation learning algorithm achieve state-of-the-art performance with high sample efficiency?
- RQ4How does the proposed off-policy distribution matching method compare to on-policy and prior off-policy imitation learning baselines in low-data regimes?
Key findings
- ValueDICE outperforms DAC and GAIL on all MuJoCo environments when given only one expert trajectory, demonstrating superior sample efficiency.
- In the low-data regime (1 expert trajectory), ValueDICE achieves higher average returns than DAC and GAIL, with GAIL failing to make meaningful progress.
- With 10 expert trajectories, ValueDICE maintains strong performance and converges faster than baselines, while behavioral cloning also recovers expert performance.
- On a synthetic ring MDP with sparse expert data, ValueDICE successfully learns a policy that matches expert state-action occupancies by navigating to and cycling through states 1 and 2.
- In a stochastic expert setting, ValueDICE effectively minimizes the true KL divergence between the behavior policy and expert state-action distributions during training.
- The method achieves state-of-the-art performance across both low-data and high-data regimes, validating its robustness and efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.