[Paper Review] Estimating Causal Direction and Confounding of Two Discrete Variables
This paper proposes a neural network classifier that infers causal direction and confounding structure between two discrete variables using only their joint probability distribution. By assuming independence between the cause distribution and the cause-effect mechanism, the method achieves high accuracy—especially as variable cardinality increases—demonstrating that causal structure becomes practically identifiable under these assumptions.
We propose a method to classify the causal relationship between two discrete variables given only the joint distribution of the variables, acknowledging that the method is subject to an inherent baseline error. We assume that the causal system is acyclicity, but we do allow for hidden common causes. Our algorithm presupposes that the probability distributions $P(C)$ of a cause $C$ is independent from the probability distribution $P(E\mid C)$ of the cause-effect mechanism. While our classifier is trained with a Bayesian assumption of flat hyperpriors, we do not make this assumption about our test data. This work connects to recent developments on the identifiability of causal models over continuous variables under the assumption of "independent mechanisms". Carefully-commented Python notebooks that reproduce all our experiments are available online at http://vision.caltech.edu/~kchalupk/code.html.
Motivation & Objective
- To develop a method for identifying causal direction and confounding between two discrete variables using only observational data.
- To address the fundamental non-identifiability of two-variable causal systems without experimental intervention.
- To investigate whether causal structure can be inferred from the joint distribution alone under minimal assumptions.
- To evaluate the performance of a neural network classifier trained under Bayesian assumptions of flat hyperpriors on real-world-like distributions.
- To explore the conditions under which causal inference becomes practically identifiable despite inherent non-identifiability.
Proposed method
- The method uses a neural network to classify causal structures based on input joint probability tables $P(X,Y)$, mapping them to one of six possible acyclic causal models.
- It assumes that the distribution of the cause $P(C)$ is independent of the mechanism $P(E|C)$, a principle inspired by the 'independent mechanisms' assumption in continuous variable causal inference.
- The classifier is trained under a Bayesian framework with flat Dirichlet hyperpriors on both $P(C)$ and $P(E|C)$, though test data need not follow this assumption.
- Experiments use carefully curated synthetic datasets with varying cardinalities to evaluate classification performance across different causal structures.
- Performance is evaluated via confusion matrices and error rates across multiple trials, with analysis of variance and robustness under non-uniform hyperpriors.
- The approach leverages the fact that as cardinality increases, likelihoods under the assumed model grow sharply peaked, making one causal structure dominate.
Experimental results
Research questions
- RQ1Can causal direction and confounding be reliably inferred from the joint distribution of two discrete variables without interventions?
- RQ2How does the performance of causal structure classification vary with variable cardinality under the assumption of independent cause and mechanism distributions?
- RQ3To what extent does the classifier’s performance degrade when hyperpriors are non-uniform, despite being trained under flat priors?
- RQ4In what conditions does the problem become practically identifiable, even though it is fundamentally non-identifiable?
- RQ5Does the independence assumption between $P(C)$ and $P(E|C)$ enable reliable causal inference in discrete systems, and how robust is the method to violations of this assumption?
Key findings
- The classifier achieves an error rate of 25.7% for variables with cardinality 2, but this drops to 0.85% (85 out of 10,000 test points) when cardinality increases to 10.
- As variable cardinality increases, the likelihoods under the assumed model become sharply peaked, making one causal structure overwhelmingly likely, thus rendering the problem practically identifiable.
- Performance remains stable under non-uniform hyperpriors, though variance in performance increases, indicating robustness to prior misspecification on average.
- The neural network correctly identifies independent variables in all cases and distinguishes between direct causal directions and confounded cases, though it occasionally confuses $X\rightarrow Y$ and $Y\rightarrow X$ when cardinality is low.
- The method demonstrates that causal inference is feasible under minimal assumptions—specifically, independence between cause distribution and mechanism—when cardinality is high.
- The results confirm that even with non-zero error due to fundamental non-identifiability, the classifier provides useful and reliable inferences in high-cardinality settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.