arXiv:2609.31315cs.LGSep 2026

Manuscript Offprint

arXiv:2609.31315

LUCID: Learning Under Confounding for Inference and Discovery in Time Series

Mohammad Fesanghary

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Unobserved common causes are pervasive in real-world time series and can induce spurious associations that causal discovery methods mistake for direct edges. We propose LUCID (Learning Under Confounding for Inference and Discovery), a regime-adaptive deconfounding layer that first estimates the confounding regime from data using a Marčenko–Pastur spectral router, then applies a deconfounding strategy matched to that regime. When the spectrum indicates pervasive factor confounding, LUCID attenuates factor-dominated variation and recovers contemporaneous (lag-0) structure from the resulting innovations, with edge selection calibrated against a data-driven edge-free null. Rather than being tied to a particular discovery algorithm, it can wrap existing discovery engines; we demonstrate consistent improvements across three such methods. On a diverse synthetic out-of-distribution benchmark spanning changes in confounder strength and sparsity, loading density, lag structure, volatility dynamics, edge heterogeneity, persistence, intermittency, and tail behavior, LUCID achieves the best family-weighted directed, lag-resolved graph F1F_{1} (0.60), improving over the strongest baseline by 0.19 absolute ( ≈\approx 46% relative). Its advantage widens relative to looser lag-collapsed scoring, and remains robust under intermittent and heavy-tailed confounding. Code reproducing the method, the benchmark generators, and every reported experiment is available at https://github.com/bloomberg/causal-ts.

1. Introduction

Causal discovery from multivariate time series is critical across climate science, finance, neuroscience, and industrial monitoring (Peters et al., 2017; Runge et al., 2019; Spirtes et al., 2000). A pervasive obstacle is latent confounding—when observed variables are driven by unrecorded common causes: unmeasured regional rainfall might affect multiple river gauges, a macroeconomic shock might move disparate assets, or a shared environment could regulate several genes. These hidden drivers induce spurious associations that mimic direct causal effects, so discovery algorithms that ignore them systematically over-connect the causal graph.

Latent confounding lacks a universal statistical signature, so no single correction handles all of its forms. Under pervasive confounding, a few latent factors affect large subsets of the observed variables, which leaves two exploitable traces: a low-rank component in the covariance, whose leading eigenvalues separate from the bulk, and algebraic rank constraints among the many observed children of each factor. Spectral and factor-adjustment methods (Cévid et al., 2020) use the former, while rank- and tetrad-based methods (Spirtes et al., 2000; Dong et al., 2024) use the latter. Under sparse confounding, hidden causes are localized, for example a single latent fork driving only two or three variables. Such a fork need not produce a separated eigenvalue, and may provide too few observed children for informative rank constraints, so the signals these corrections rely on can be weak or absent and genuine edges risk being pruned. Corrections optimized for one regime often degrade the other, so a robust algorithm must first detect which regime is present.

Our approach. Rather than proposing a new discovery engine, LUCID is a regime-adaptive deconfounding layer: it infers from the observed data whether confounding is sparse or pervasive, then routes each dataset to a correction appropriate for that regime. The routing decision is based on a Marčenko–Pastur spectral statistic (Marčenko & Pastur, 1967) whose threshold is derived from the data dimension and length rather than tuned per dataset. On the pervasive branch, the contemporaneous edges that a shared factor would otherwise smear into a dense clique are recovered by a spectral low-rank-plus-sparse step with a self-calibrating threshold. Because the router and the recovery step both act on the data and on the returned graph—never on the internals of the search—LUCID can wrap different discovery engines rather than replacing them. We demonstrate

1^{1}Bloomberg L.P. Correspondence to: Mohammad Fesanghary mfesanghary1@bloomberg.net.

Preprint. Copyright 2026 by the author(s).

this with CDNOTS (Sadeghi et al., 2025) (our default), PCMCI+ (Runge, 2020), and NTS-NOTEARS (Sun et al., 2023) alike.

References (92)