Learning Belief Representations for Imitation Learning in POMDPs

Tanmay Gangwani, Joel Lehman, Qiang Liu, Jian Peng

In the real world, robots and autonomous systems rarely have a perfect view of their environment. Sensors are noisy, occlusions happen, and critical information (like the velocity of a moving object) might not be directly visible in a single snapshot. This is the realm of Partially Observable Markov Decision Processes (POMDPs).

While Imitation Learning (IL) has seen great success in fully observable environments, it often stumbles when the agent has to rely on a history of observations to make decisions. A new framework called BMIL (Belief-Module Imitation Learning) addresses this by jointly learning robust internal representations of the world specifically for the purpose of mimicking experts.

The BMIL Framework

The authors propose BMIL as a framework that treats belief learning as a first-class citizen in the imitation process. Unlike prior work that decouples representation learning from policy training, BMIL trains the belief module (a GRU-based recurrent network) and the policy module simultaneously.

The BMIL architecture showing the joint training of the belief module (RNN), policy, and discriminator, along with auxiliary regularization losses.

Joint Task-Aware Learning

The belief module is updated using the same adversarial loss as the policy, ensuring the representation is "task-aware"—it learns exactly what it needs to know to satisfy the imitation objective. To prevent the belief state from collapsing or ignoring history, the authors introduce three auxiliary "self-supervised" losses:

  • Forward Regularization ($\mathcal{L}^f$): Predicting future observations ($o_{t+k}$).
  • Inverse Regularization ($\mathcal{L}^i$): Predicting past observations ($o_{t-k}$).
  • Action Regularization ($\mathcal{L}^a$): Predicting the sequence of actions taken between time steps.

By predicting several steps into the future or past ($k=5$), the model captures more global, long-term structures of the environment, a concept known as temporal abstraction.

Experimental Setup

The researchers evaluated BMIL on a suite of continuous-control locomotion tasks from the MuJoCo physics engine. To simulate POMDPs, they redacted specific sensory data, removing measurements for torso translation, angular velocities, and all link joint velocities. This forces the agent to infer velocity and orientation from a sequence of positional snapshots. Each task was provided with 50 expert demonstration trajectories.

Key Results

BMIL significantly outperformed several strong baselines, including standard GAIL and versions of GAIL that use simple observation stacking or internal recurrence.

Performance comparison across MuJoCo tasks. BMIL (Ours) consistently outperforms GAIL baselines and approaches expert-level performance.

As shown in the table above, BMIL achieved near-expert performance in tasks like InvertedDoublePendulum (9104 vs. 9300 expert) and Humanoid (4382 vs. 4800 expert). In the complex Humanoid task, BMIL's score was 1.6x higher than the best recurrent baseline. Ablation studies confirmed that removing any of the regularization terms led to a drop in performance, highlighting the necessity of a multi-pronged approach to belief shaping.

Discussion and Future Work

While effective, BMIL has areas for improvement. Predicting raw, high-dimensional observations can be computationally expensive; predicting in a latent encoding space is a promising alternative. Additionally, the current belief module is a deterministic GRU. Incorporating stochasticity (e.g., via Variational Autoencoders) could help the agent better handle environmental uncertainty. Finally, future work could explore adaptive methods for choosing the temporal offset $k$ for multi-step predictions.

Summary updated

BibTeX
@inproceedings{gangwani2019learning,
  author = {Tanmay Gangwani and Joel Lehman and Qiang Liu and Jian Peng},
  title = {{Learning Belief Representations for Imitation Learning in POMDPs}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2019},
}
Figure