Sequential Causal Imitation Learning with Unobserved Confounders

Daniel Kumor, Junzhe Zhang, Elias Bareinboim

Abstract

Imitation learning (IL) often fails when the imitator lacks access to all sensory information available to the expert, a phenomenon known as causal confusion. While previous work addressed this in single-step settings, real-world tasks are inherently sequential. This paper introduces the first complete mathematical framework for sequential causal imitation learning under unobserved confounding. We propose the Sequential $\pi$-Backdoor Criterion to identify imitable policies and the FINDOX algorithm to efficiently determine optimal conditioning variables. Our results demonstrate that structural causal knowledge allows for successful imitation even when critical expert observations are hidden.

Introduction: The Challenge of Causal Confusion

Standard imitation learning, or behavior cloning, relies on the assumption that an agent can replicate expert behavior by mapping observed states to actions. However, this "monkey see, monkey do" approach breaks down in the presence of sensory mismatch. If an expert driver reacts to an auditory cue (like a siren) that the AI cannot hear, the AI may incorrectly associate the resulting action (braking) with irrelevant visual features, such as a shadow on the road.

Causal diagrams representing different imitation learning scenarios with unobserved confounders (dashed nodes).

In sequential environments, these errors compound. A single misattributed action in the first step can lead to a state from which the agent cannot recover. This paper addresses the fundamental question: given a causal structure of the environment, is it possible for an imitator to match expert performance despite missing information?

Methodology: Sequential $\pi$-Backdoor and FINDOX

The authors leverage causal inference to provide a rigorous solution through three primary contributions:

  1. Sequential $\pi$-Backdoor Criterion: This new graphical rule determines if a set of observed variables is sufficient to shield the imitator from hidden confounders. Crucially, it accounts for sequential dependencies where future actions might compensate for earlier information gaps.
  2. FINDOX Algorithm: A polynomial-time algorithm that identifies the maximal set of imitable actions by searching for optimal conditioning variables in a causal graph.
  3. Completeness Proofs: The authors prove their criterion is both necessary and sufficient, establishing a theoretical bound on what can be achieved through imitation.
Sequential causal structures illustrating dependencies that the imitator must navigate to achieve successful policy transfer.

Experimental Evaluation

The framework was validated using both synthetic and real-world data:

  • Synthetic Models: 10,000 randomized causal models were used to test the algorithm's robustness across diverse edge cases.
  • HighD Dataset: Real-world aerial drone footage of highway traffic was used to simulate scenarios with "hidden" sensors (e.g., side-view mirrors). The framework successfully identified winning imitation policies even with restricted sensory input.

Key Results and Insights

  • Structural Imitability: Imitation success is a property of the environment's causal structure, not just data volume.
  • Future Actions as Shields: An agent doesn't always need to know the exact cause of an expert's early action if a later action can "correct" the state using available sensors.
  • Avoiding Collider Bias: Counter-intuitively, more data can be detrimental. Including variables affected by hidden expert knowledge can introduce "collider bias," leading to incorrect policy learning.
  • Performance: The Sequential $\pi$-Backdoor method consistently achieved near-zero error in simulations where traditional behavior cloning failed (often with bias-induced error rates of 19-27%).

Discussion and Future Work

While this framework provides a powerful tool for robust imitation learning, it currently requires a pre-defined causal graph. Future research will focus on relaxing this requirement by incorporating data-driven causal discovery and scaling density estimation to high-dimensional sensory spaces like raw video.

Summary updated

BibTeX
@inproceedings{kumor2021sequential,
  author = {Daniel Kumor and Junzhe Zhang and Elias Bareinboim},
  title = {{Sequential Causal Imitation Learning with Unobserved Confounders}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
}
Figure