Two apparently unrelated fields -- normalizing flows and causality -- have recently received considerable attention in the machine learning community. In this work, we highlight an intrinsic correspondence between a simple family of autoregressive normalizing flows and identifiable causal models. We exploit the fact that autoregressive flow architectures define an ordering over variables, analogous to a causal ordering, to show that they are well-suited to performing a range of causal inference tasks, ranging from causal discovery to making interventional and counterfactual predictions. First, we show that causal models derived from both affine and additive autoregressive flows with fixed orderings over variables are identifiable, i.e. the true direction of causal influence can be recovered. This provides a generalization of the additive noise model well-known in causal discovery. Second, we derive a bivariate measure of causal direction based on likelihood ratios, leveraging the fact that flow models can estimate normalized log-densities of data. Third, we demonstrate that flows naturally allow for direct evaluation of both interventional and counterfactual queries, the latter case being possible due to the invertible nature of flows. Finally, throughout a series of experiments on synthetic and real data, the proposed method is shown to outperform current approaches for causal discovery as well as making accurate interventional and counterfactual predictions.
翻译:两个显然无关的领域 -- -- 正常流动和因果关系 -- -- 最近在机器学习界受到相当重视。在这项工作中,我们强调一个简单的自动递减正常流动和可识别因果模型之间的内在对应关系。我们利用自动递减流结构对变量定序,类似于因果指令,以表明它们完全适合执行一系列因果推断任务,从因果发现到作出干预和反事实预测。首先,我们表明,从固定定序变量的亲和添加自动递增流动产生的因果模型是可识别的,即因果关系影响的真正方向可以恢复。我们利用自动递减流结构对变量定序的定序与可识别因果关系模型之间的内在对应。我们利用这一事实来表明,它们完全适合执行一系列因果推断任务,从因果发现到干预,利用流动模型对数据标准化的日志密度。第三,我们证明流动自然允许直接评价干预和反事实查询,后一种情况是可能的,因为流动的不可逆性质,即因果影响的真正方向可以恢复。这提供了在因果关系发现中广为人所知的添加的添加的噪音模型,最后是一系列的、真实的、真实的、真实的预测方法。