Invariant Causal Imitation Learning for Generalizable Policies

Ioana Bica
2/12/2026

No official code found. Best implementation: vanderschaarlab/mlforhealthlabpub (473 stars, last commit 2023-02-27). 1 more below.

Abstract

Consider learning an imitation policy on the basis of demonstrated behavior from multiple environments, with an eye towards deployment in an unseen environment. Since the observable features from each setting may be different, directly learning individual policies as mappings from features to actions is prone to spurious correlations -- and may not generalize well. However, the expert's policy is often a function of a shared latent structure underlying those observable features that is invariant across settings. By leveraging data from multiple environments, we propose Invariant Causal Imitation Learning (ICIL), a novel technique in which we learn a feature representation that is invariant across domains, on the basis of which we learn an imitation policy that matches expert behavior. To cope with transition dynamics mismatch, ICIL learns a shared representation of causal features (for all training environments), that is disentangled from the specific representations of noise variables (for each of those environments). Moreover, to ensure that the learned policy matches the observation distribution of the expert's policy, ICIL estimates the energy of the expert's observations and uses a regularization term that minimizes the imitator policy's next state energy. Experimentally, we compare our methods against several benchmarks in control and healthcare tasks and show its effectiveness in learning imitation policies capable of generalizing to unseen environments.

View on arXivView PDF

Code Implementations(2)

Machine Learning and Artificial Intelligence for Medicine.

473183R, CSSOct 22, 20203 years agoNOASSERTION
deep-learninghealthcaremachine-learning
MIT

Code for NeurIPS 2021 paper: "Invariant Causal Imitation Learning for Generalizable Policies" by I. Bica, D. Jarrett, M. van der Schaar

284Shell, PythonJan 6, 20224 years agoMIT

Similar Papers

Cite this paper

@article{bica2026invariant,
  title  = {Invariant Causal Imitation Learning for Generalizable Policies},
  author = {Ioana Bica},
  year   = {2026},
  eprint = {2311.01489},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2311.01489},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.01489.svg)](https://codeofpaper.com/paper/2311.01489)

Discussion