Introduction
Uncovering causal relationships in time-series data—such as determining whether variable A influences variable B—is a cornerstone of scientific discovery and artificial intelligence. In time-series analysis, these relationships are defined by lags: an effect might be instantaneous (lag 0) or delayed by several time steps (lag $L$).
Current state-of-the-art methods often treat structure learning as a continuous optimization problem. However, they face a major practical hurdle: they either rely entirely on observational data or require lag-specific priors (i.e., knowing exactly how many time steps the delay entails). In real-world scenarios, domain experts usually possess lag-agnostic knowledge. For instance, a biologist may know that one gene regulates another, or an economist may know a policy affects the market, without knowing the exact "reaction time."
Simply instructing an optimizer that "A causes B at some lag" creates two distinct challenges:
- Process-Inequivalence: Standard "maximum-based" penalties often bias the optimizer toward whichever lag appears strongest early in training. This causes the model to ignore better candidates and prematurely converge to a "lag-specific" falsehood.
- Increased Non-Convexity: Adding logical "OR" constraints (e.g., lag 0 OR lag 1 OR lag 2...) makes the optimization landscape significantly more complex and "bumpy," frequently trapping the model in poor local optima.
Methodology
To address these challenges, the authors propose a novel continuous optimization framework designed to integrate coarse, lag-agnostic priors into existing "backbone" models like DYNOTEARS, LIN, and RHINO.
1. Process-Equivalent Formulations
To ensure the optimizer holistically considers all possible lags throughout the training process, the authors introduce two new loss functions:
- Binary-Masked Formulation: This activates a penalty only if all potential lags for a prior-specified edge fall below a certain threshold. Once active, it encourages all candidate lags to grow equally until the data naturally "chooses" the best fit.
- Logic-Dual (Product-based) Formulation: This approach uses a product of ReLU terms to encode a logical "OR." It creates a fully continuous, smooth loss that vanishes only when at least one lag is sufficiently strong. A normalization term is also included to prevent the signal from decaying as the number of candidate lags increases.
2. Data-Driven Initialization
To combat the severe non-convexity introduced by these complex priors, the authors employ a two-stage optimization strategy:
- Stage 1: The structure learning problem is solved without any prior constraints to obtain a purely "data-driven" estimate.
- Stage 2: The result from Stage 1 serves as the initialization (a "warm start") for the prior-constrained optimization. This guides the model toward the most data-consistent lags right from the beginning, preventing it from getting trapped in flat basins.
Experimental Setup
The framework was evaluated on both synthetic and real-world datasets:
- Synthetic Data: Generated using Erdős-Rényi (ER) random graphs with varying densities (ER-2, ER-4) and noise types (Gaussian and Exponential).
- DREAM4 Challenge: A standard real-world benchmark for gene regulatory networks. It provides gene expression trajectories where the ground truth specifies causal links but not their time lags, making it an ideal testbed for lag-agnostic priors.
Key Findings & Results
Superior Recovery on Synthetic Data
On synthetic datasets, the proposed method consistently outperformed data-only baselines. The integration of lag-agnostic priors, particularly when combined with the data-driven initialization, yielded significant improvements in F1 score and Structural Hamming Distance (SHD).
Robustness to Imperfect Knowledge
A critical insight from the study is that lag-agnostic priors are inherently more robust than lag-specific ones. Providing a model with a slightly incorrect lag-specific prior (e.g., specifying lag 1 when the true delay is lag 2) severely degrades performance. Lag-agnostic priors avoid this brittleness by allowing the data to determine the precise timing. Furthermore, in experiments where 30% of the provided priors were intentionally incorrect, the framework successfully rejected the bad information while leveraging the accurate 70%, maintaining higher accuracy than baselines.
Success in Real-World Gene Networks
In the DREAM4 gene network recovery task, the method achieved state-of-the-art performance across multiple sample sizes. It significantly improved the AUROC (Area Under the ROC Curve) compared to standard NOTEARS and DYNOTEARS implementations.
Limitations and Future Directions
While highly effective, the proposed framework has limitations that pave the way for future research:
- Latent Confounders: The current model assumes causal sufficiency (no unobserved confounding variables), which is rarely guaranteed in complex biological or social systems.
- Prior Quality: Although robust to some noise, the model fundamentally relies on the provided priors being generally accurate. An overwhelming amount of low-quality prior knowledge could still mislead structure recovery.
- Beyond Direct Edges: Future work could extend this framework to accommodate more complex lag-agnostic priors, such as causal paths (knowing A causes B through intermediate, unspecified steps) or partial temporal orders.
Summary updated