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.
MPC-guided Imitation Learning of Neural Network Policies for the Artificial Pancreas
Stony Brook University(石溪大学);University of London, Royal Holloway(伦敦大学皇家霍洛威学院)
尽管模型预测控制(MPC)目前是人工胰腺(AP)中胰岛素控制的主要算法,但它通常需要复杂的在线优化,这对于资源受限的医疗设备是不可行的。MPC通常还依赖于状态估计,这是一个容易出错的过程。在本文中,我们介绍了一种新的方法,AP控制,使用模仿学习合成神经网络胰岛素政策MPC计算的演示。这样的策略在计算上是高效的,并且通过在训练时间用完整的状态信息装备MPC,它们可以直接将测量映射到最佳治疗决策中,从而绕过状态估计。我们通过Monte Carlo Dropout应用贝叶斯推理来学习策略,这使我们能够量化预测的不确定性,从而得出更安全的治疗决策。我们表明,我们的控制策略在特定的患者模型下训练容易推广(在模型参数和干扰分布方面)到患者队列,始终优于传统的MPC与状态估计。