arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.00809cs.LGcs.AIstat.MEstat.ML
收藏

迈向因果基础模型:论因果推断与注意力机制之间的对偶性

Towards Causal Foundation Model: on Duality between Causal Inference and Attention

Massachusetts Institute of Technology(麻省理工学院);Microsoft Research(微软研究院);Microsoft Research Cambridge(微软研究院剑桥分部)

Jiaqi Zhang, Joel Jennings, Agrin Hilmkil, Nick Pawlowski, Cheng Zhang, Chao Ma

AI总结:

本文提出基于注意力的因果推断方法CInA,利用无标签数据集进行自监督学习,通过最优协变量平衡与自注意力机制的对偶联系实现零样本因果推断,在分布外和真实数据集上表现优异,为因果基础模型发展奠定基础。

摘要:

基础模型改变了机器学习的格局,在多种任务中展现出了人类智能水平的火花。然而,在因果推断等复杂任务中仍存在差距,这主要由于复杂的推理步骤和高数值精度要求带来的挑战。在这项工作中,我们迈出了构建具备因果感知能力的基础模型以进行处理效应估计的第一步。我们提出了一种新颖且具有理论依据的方法,称为基于注意力的因果推断(Causal Inference with Attention, CInA),该方法利用多个无标签数据集执行自监督因果学习,随后能够在具有新数据的未见任务上实现零样本因果推断。这基于我们的理论结果,该结果证明了最优协变量平衡与自注意力机制之间的原始-对偶联系,从而通过已训练的transformer类型架构的最后一层促进零样本因果推断。我们通过实验证明,CInA能有效地泛化到分布外数据集和各种真实世界数据集,匹配甚至超越了传统的单数据集方法。这些结果提供了令人信服的证据,表明我们的方法有潜力成为发展因果基础模型的垫脚石。

英文摘要:

Foundation models have brought changes to the landscape of machine learning, demonstrating sparks of human-level intelligence across a diverse array of tasks. However, a gap persists in complex tasks such as causal inference, primarily due to challenges associated with intricate reasoning steps and high numerical precision requirements. In this work, we take a first step towards building causally-aware foundation models for treatment effect estimations. We propose a novel, theoretically justified method called Causal Inference with Attention (CInA), which utilizes multiple unlabeled datasets to perform self-supervised causal learning, and subsequently enables zero-shot causal inference on unseen tasks with new data. This is based on our theoretical results that demonstrate the primal-dual connection between optimal covariate balancing and self-attention, facilitating zero-shot causal inference through the final layer of a trained transformer-type architecture. We demonstrate empirically that CInA effectively generalizes to out-of-distribution datasets and various real-world datasets, matching or even surpassing traditional per-dataset methodologies. These results provide compelling evidence that our method has the potential to serve as a stepping stone for the development of causal foundation models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑