因果基础模型

·

研究论文 · 2026/09/09

因果推断是从数据中估计治疗或干预效果的方法,传统上需要针对每个新问题定制流程。与此同时,机器学习已转向基础模型范式,即大规模预训练网络并直接应用于新任务。因果基础模型(CFMs)将这一范式引入因果推断,通过上下文学习在全新数据集上估计因果量(如平均治疗效果),无需更新模型。本文对这一新兴领域进行了实用介绍,总结了因果推断和机器学习的必要背景,并提供了示例代码和Jupyter笔记本。

本文首次系统介绍因果基础模型这一新兴领域,将基础模型范式与因果推断结合,为读者提供了清晰的背景知识和实用代码,是了解该方向的重要入门资料。

Causal inference is the practice of estimating the effect of a treatment or intervention from data. It traditionally requires a bespoke pipeline for every new problem: first proposing a causal mechanism, selecting a compatible estimator, and finally training it. Meanwhile, across diverse settings and modalities, much of machine learning has shifted to the paradigm of foundation models: networks pretrained once at scale and applied to new tasks without fine-tuning. Causal foundation models (CFMs) bring this paradigm to causal inference. CFMs are pretrained neural networks that estimate causal quantities, such as the average treatment effect, on entirely new datasets using in-context learning without requiring model updates. This work provides a practical introduction to this emerging area. We summarize the necessary background in causal inference and machine learning before discussing CFMs. Throughout, we include example code and Jupyter notebooks.

阅读原文

参与讨论