Causal discovery—the task of figuring out "what causes what"—is a cornerstone of human intelligence. While standard AI often relies on passive observation, humans learn by doing: we poke, prod, and intervene in our environment to see how it reacts. This paper, presented at a NeurIPS 2019 workshop, proposes a framework for an "intrinsically motivated agent" that uses Bayesian active learning to choose the most informative experiments to uncover causal structures.
TL;DR
The authors propose a method for active causal discovery in continuous, non-linear systems by modeling relationships with Gaussian Processes (GPs). They use Bayesian Optimization to efficiently search through an infinite space of possible interventions to find the one that maximizes information gain about the underlying causal graph.
What Problem Does This Paper Address?
Most causal discovery methods rely on observational data, which is often insufficient to distinguish between different causal structures (e.g., does $X$ cause $Y$, or does $Y$ cause $X$?). While interventions (experiments) can resolve these ambiguities, choosing the right intervention is difficult, especially when:
- Variables are continuous: There are infinitely many values you could set a variable to.
- Relationships are non-linear: Simple linear models don't capture the complexity of the real world.
- Data is scarce: Experiments are often expensive or time-consuming, so every sample must count.
Existing work mostly focused on discrete variables or linear models. This paper bridges the gap by handling continuous, non-linear functional relationships in a Bayesian framework.
Methods
The authors treat causal discovery as a sequential decision-making problem. The agent maintains a belief (a posterior distribution) over possible causal graphs and their functional parameters.
- Gaussian Process Networks: The functional relationships between variables are modeled using Gaussian Processes (GPs). GPs are flexible, non-parametric priors that allow the model to represent complex non-linearities while providing closed-form expressions for marginal likelihoods—a key requirement for Bayesian model comparison.
- Expected Information Gain (EIG): The agent's goal is to choose an intervention $do(X_j = x)$ that maximizes the expected reduction in entropy regarding the causal graph $G$.
- Monte Carlo Estimation: Since the integral for EIG isn't analytically tractable, they use a Monte Carlo estimator to approximate the utility of a potential intervention.
- Bayesian Optimization (BO): Because the set of possible intervention values $x$ is uncountable, the authors use Bayesian Optimization (specifically the GP-UCB algorithm) to search for the optimal $x$. This allows the agent to intelligently trade off exploring new intervention ranges versus exploiting known informative ones.
Datasets
The paper demonstrates the approach using a synthetic bivariate prototype.
- True Model: $X \sim \mathcal{N}(0, 1)$ and $Y := 2 \tanh(X) + \epsilon$, where $\epsilon \sim \mathcal{N}(0, 0.1)$.
- Task: Distinguish between $G_1: X \to Y$ and $G_2: Y \to X$.
- Setup: The model was initialized with 5 observational samples and then allowed to perform interventions.
Key Insights and Ideas
- Closed-Form Tractability: The choice of GPs is strategic. Because GPs provide closed-form marginal likelihoods when conditioned on a specific graph, the agent can efficiently update its beliefs about which graph is more likely after each experiment.
- Interventions as Optimization: Treating the choice of intervention value as a global optimization problem (via BO) is a novel way to handle the "uncountable set of interventions" problem that plagues continuous causal discovery.
- The "Child as Scientist": The framework mirrors the psychological theory that children learn causal models through playful, targeted interaction with their environment rather than just passive observation.
Key Results
In the bivariate prototype experiment, the agent was able to identify the correct causal direction ($X \to Y$) with >99% confidence after only 10 targeted interventions.
Even without the full Bayesian Optimization scheme (using random intervention values instead), the GP-based Bayesian update was powerful enough to converge quickly. This highlights the effectiveness of the GP marginal likelihood as a score for causal discovery in non-linear settings.
Limitations and Future Work
- Scalability: The number of possible Directed Acyclic Graphs (DAGs) grows super-exponentially with the number of variables. The current approach, which enumerates all graphs, is only feasible for small systems (low $d$). The authors suggest using MCMC sampling in the space of graphs to scale up.
- Computational Cost: GPs scale cubically with the number of observations ($O(n^3)$). While this is fine for "small data" regimes where experiments are expensive, it becomes a bottleneck as data accumulates.
- Root Node Priors: Standard GP networks assume Gaussian marginals for root nodes. The authors suggest using Dirichlet Process Mixture Models to allow for more flexible, non-Gaussian input distributions.
- Hyperparameter Tuning: Choosing GP hyperparameters (like lengthscales) online is challenging. The authors propose either a fully Bayesian approach with hyperpriors or using an initial batch of observational data to fix these values.
Summary updated