Causal Bandits for Linear Structural Equation Models

Burak Varici, Karthikeyan Shanmugam, Prasanna Sattigeri, Ali Tajer · DOI

Abstract

Standard Multi-Armed Bandit (MAB) frameworks struggle with the exponential growth of intervention sets in complex causal systems. This paper introduces a scalable approach to causal bandits by leveraging the structure of Linear Structural Equation Models (SEMs). By estimating local causal parameters rather than an exponential number of possible interventional distributions, the proposed algorithms achieve regret bounds that scale with graph properties—specifically degree and path length—rather than the total number of possible interventions ($2^N$). This shift makes causal discovery and optimization feasible for significantly larger systems than previously possible.

Introduction and Problem Statement

In a standard Multi-Armed Bandit problem, a learner attempts to identify the optimal "arm" to maximize a cumulative reward. In the context of Causal Bandits, these arms represent interventions on a causal graph. For example, in a digital advertising ecosystem, one might ask: "If I modify the click-through rate prediction algorithm and the website layout, how will the total revenue be affected?"

A causal graph representing an advertising system where interventions on specific nodes (like the prediction algorithm) propagate through the network to affect revenue.

The primary challenge in these systems is the "curse of dimensionality." For a graph with $N$ nodes, there are $2^N$ possible subsets of nodes that could be intervened upon. Most existing causal bandit algorithms assume prior knowledge of the probability distributions for the reward node’s parents under every possible intervention. However, acquiring these $2^N$ distributions is practically impossible for even moderate-sized graphs. This research addresses a fundamental question: Can we design an optimal sequence of interventions using only the graph structure, without prior knowledge of interventional distributions, and still achieve efficient performance?

Methodology

The authors focus on Linear Structural Equation Models (SEMs) utilizing soft interventions. Unlike "hard" interventions, which force a variable to a fixed value and sever its relationship with its parents, soft interventions modify the functional relationship between a variable and its parents. This is often a more realistic representation of interventions in fields like computational advertising or biology.

Parameter Estimation over Distribution Estimation

The core innovation of this work is the shift from learning $2^N$ different reward distributions to learning the underlying linear weights of the SEM. Since each node in this framework has only two possible states (observational or intervened), there are only $2N$ weight vectors to learn. The paper proposes two primary algorithms:

  1. LinSEM-UCB (Frequentist): This algorithm employs an Upper Confidence Bound approach, maintaining confidence ellipsoids for the causal weights and selecting interventions that maximize the "optimistic" expected reward.
  2. LinSEM-TS (Bayesian): A Thompson Sampling variant that samples causal weights from a posterior distribution. A practical LinSEM-TS-Gaussian version is also provided for streamlined implementation.

A critical mathematical contribution is Lemma 1, which proves that the expected reward can be expressed as a function of the powers of the weight matrix. This allows the learner to propagate local parameter estimates through the graph to predict global rewards effectively.

Experimental Evaluation

The algorithms were evaluated using synthetic simulations designed to stress-test various causal structures:

  • Hierarchical Graphs: Layered structures used to test how errors compound over the longest causal path ($L$).
  • Enhanced Parallel Bandits: Complex structures modified with additional random edges to increase difficulty.
  • Graph Misspecification: Scenarios where the learner is provided with a "supergraph" (the true graph plus incorrect edges) to test robustness against imperfect domain knowledge.

Key Results and Insights

Regret Scaling

The research demonstrates that regret scales with the graph's maximum degree ($d$) and the longest causal path ($L$). Crucially, it does not grow exponentially with the number of nodes $N$. This confirms that knowing the Directed Acyclic Graph (DAG) structure acts as a "force multiplier," turning a global search problem into a local estimation problem.

Performance and Robustness

In empirical simulations, LinSEM-TS-Gaussian significantly outperformed standard non-causal UCB algorithms. While standard UCB regret exploded as the intervention space grew, the proposed causal algorithms remained stable. Furthermore, the algorithms achieved sublinear regret even when the provided graph structure was slightly incorrect, suggesting viability for real-world applications where the exact causal model may be uncertain.

Conclusion and Future Work

While this framework provides a scalable solution for linear systems, it relies on the assumption of linearity. Real-world causal relationships, such as gene regulatory networks, are often non-linear. Future research directions include extending these methods to Reproducing Kernel Hilbert Spaces (RKHS) to handle non-linearity and addressing scenarios where the graph topology is partially unknown or edges are missing. Despite these constraints, the current work establishes a near-optimal foundation for efficient causal optimization in large-scale linear systems.

Summary updated

BibTeX
@article{varici2023causal,
  author = {Burak Varici and Karthikeyan Shanmugam and Prasanna Sattigeri and Ali Tajer},
  title = {{Causal Bandits for Linear Structural Equation Models}},
  journal = {J. Mach. Learn. Res.},
  year = {2023},
  url = {https://openreview.net/forum?id=uJRpDicn7M},
}
Figure