NOTREKS: Marginal Independence in Score-based Structure Learning

Fabian Bleile, Sarah Lumpp, Mathias DrtonarXiv 2026

TL;DR

The paper introduces NOTREKS, a framework for incorporating prior knowledge of marginal independence into score-based causal discovery. By translating independence into a graphical "no-trek" constraint, the authors develop differentiable penalties for gradient-based optimization and restricted search spaces for order-based methods, significantly improving causal structure recovery and effect identification in finite-sample settings.

What Problem Does This Paper Address?

Causal discovery aims to uncover the web of cause-and-effect relationships from observational data. Score-based methods do this by searching for a graph that maximizes a "score" (like BIC), representing how well the model fits the data. However, with limited data or model misspecification, these methods often produce incorrect graphs.

While researchers often have prior knowledge—for instance, from previous studies showing that two variables are independent—integrating this "marginal independence" into modern optimization-based causal discovery is non-trivial. Most existing methods either ignore this information or use it only for local edge-masking, failing to capture the global structural implications of independence.

Methods

The core insight of the paper is the link between marginal independence and treks. In a causal graph, a trek between two variables $X_i$ and $X_j$ is a pair of directed paths starting from a common ancestor. Under the standard "faithfulness" assumption, if $X_i$ and $X_j$ are marginally independent, there can be no trek between them. This means they cannot have a common cause, and neither can be a cause of the other.

The authors propose two ways to enforce these "no-trek" (NOTREKS) constraints:

  1. PSTrek (Power Series Trek) Penalty: For gradient-based methods like DAGMA, they introduce a differentiable penalty function. It uses a matrix power series to "count" treks in a weighted adjacency matrix. If a forbidden trek exists, the penalty is positive; if not, it's zero. This allows the constraint to be baked directly into the continuous optimization objective.
  2. Trek-Aware Order Search: For order-based methods like FLOP, they modify the parent search algorithm. When the algorithm considers adding an edge, it first checks if that edge would create a forbidden trek based on the current ancestry information. If it does, the edge is rejected.
The paper illustrates how marginal independence translates to "no-trek" constraints. (a) shows a true DAG and the independence information $H$. (b) shows examples of graphs that satisfy these constraints.

The authors also provide a combinatorial analysis, showing that the number of feasible graphs shrinks exponentially as more independence constraints are added, specifically relating the search space size to the chromatic number of the independence graph.

Datasets

The authors evaluated NOTREKS using a mix of synthetic and semi-synthetic benchmarks:

  • Synthetic DAGs: Erdos-Rényi (ER) and Watts-Strogatz (WS) graphs with varying densities.
  • Mechanisms: Linear Gaussian, Linear non-Gaussian (Laplace noise), and Nonlinear Gaussian models.
  • CausalMan: A physics-based simulator of a manufacturing line, providing a complex, realistic causal structure with latent confounding.
  • CausalAssembly: A semi-synthetic benchmark based on real-world assembly line measurements.

Key Insights and Ideas

  • Independence is stronger than "no-edge": Knowing $X_i \perp X_j$ is far more restrictive than just knowing there's no direct edge between them. It forbids all paths through common ancestors.
  • Differentiable Treks: The PSTrek penalty (Table 1) generalizes the "no-path" constraints used in methods like NOTEARS to "no-trek" constraints. This is a significant technical leap for continuous causal optimization.
  • Structure Matters: The benefit of prior knowledge depends not just on the number of independent pairs, but on how they are structured. A set of independent variables that forms a large "clique" in the independence graph restricts the search space much more than scattered pairs.
Table 1: Representative members of the PSTrek family.

Key Results

  • Dramatic Recovery Gains: In a controlled 10-node experiment, using all available marginal independence information improved the recovery of the correct Markov Equivalence Class (MEC) from 12.8% to 61.2% compared to a standard BIC search.
  • Improved Effect Identification: Beyond just finding the right arrows, NOTREKS significantly reduced the "Ancestor-AID" metric, meaning the resulting graphs were much better at correctly identifying causal effects for downstream tasks like policy intervention.
  • Robustness: The benefits persisted even when the model was misspecified (e.g., using non-Gaussian noise or nonlinear relationships), although the gains were most pronounced in the linear settings the methods were designed for.
Figure 1(c) shows that as more true marginal independence (MI) information is supplied, the percentage of correctly recovered MECs increases significantly.

Limitations and Future Work

  • Oracle Assumption: The experiments mostly used "oracle" prior knowledge (perfectly correct information). In the real world, prior knowledge can be noisy or flat-out wrong. The authors note that making the methods robust to contradictory or uncertain priors is a key next step.
  • Optimization Gaps: The authors observed a "BIC gap," where the constrained search didn't always find the globally optimal feasible graph, suggesting that better optimization strategies (like better initialization or annealing) could further unlock the potential of NOTREKS.
  • Real-world Complexity: On the most complex semi-synthetic benchmarks (CausalMan/Assembly), the improvements were less consistent, likely due to the extreme model misspecification in those datasets. Combining NOTREKS with more flexible, non-parametric score functions is a promising future direction.

Summary updated

Abstract

Score-based structure learning estimates causal graphs by optimizing a data-dependent objective over structural equation models. We study how prior knowledge that selected pairs of variables are marginally independent can be incorporated into such causal discovery methods. Under faithfulness, marginally independent pairs cannot be connected by a trek, so the knowledge becomes a graphical no-trek constraint, which we call NOTREKS information. We introduce a power-series trek (PSTrek) penalty for gradient-based optimization and a trek constraint for order-based search, and we analyze why such information helps in finite samples and how it restricts the search space. Our numerical experiments illustrate to what extent NOTREKS information helps in causal discovery. In particular, using synthetic benchmarks with oracle NOTREKS information, we show that these constraints can improve both structural recovery and adjustment-based effect identification.
BibTeX
@misc{bleile2026notreks,
  author = {Fabian Bleile and Sarah Lumpp and Mathias Drton},
  title = {{NOTREKS: Marginal Independence in Score-based Structure Learning}},
  year = {2026},
  eprint = {2611.24015},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24015},
}
Figure