Score matching enables causal discovery despite hard selection bias
Causal Discovery Under Hard Selection Bias: A New Robust Score-Matching Approach
Machine Learning
Summary
Sometimes data is collected in a way that leaves out important parts, causing selection bias which makes it hard to find true cause-and-effect relationships. The authors studied a specific problem where data is cut off or truncated, making the bias very strong. They found that a mathematical tool called the score function keeps useful information even after this truncation. Using this insight, they developed a new method that can still find causal links in such biased data without needing extra knowledge about how the bias happened. This method works well compared to other top methods even when there is no bias.
What this means in practice
- •For data scientists in healthcare: Identify causal factors from patient data even when some records are missing due to selection processes.
- •For financial risk analysts: Analyze market data with incomplete samples to uncover true causal relationships affecting risk.
Authors
Yiwen Qiu, Francesco Montagna, Shimeng Huang, Francesco Locatello
Abstract
Selection bias is a difficult yet widespread problem in causal discovery, occurring whenever non-random selection processes lead to data that is not representative of the underlying populations. Due to its practical importance, related works have been proposed to address the problem under local [Versteeg et al., 2022] or interventional settings [Dai et al., 2025a], but general algorithms for observational data remain elusive. In this paper, we focus on truncated data (hard selection), and provide a general result for Additive Noise Models (ANM). We show that score-based methods are a surprisingly suitable candidate due to a special property of the score function ($\nabla \log p(x)$): deterministic truncation preserves both the score of the joint distribution as well as the Jacobian of the score. While established score-matching algorithms still fail in most settings, we actively leverage this observation to propose a new method for causal discovery that is robust under truncated data with ANMs. Overall, our approach offers a general, robust solution that is agnostic to external information about the selection process and still achieves comparable performance to the state-of-the-art approaches when selection is not present.