Skip to content
BY-NC-ND 3.0 license Open Access Published by De Gruyter March 22, 2017

Causal Inference via Algebraic Geometry: Feasibility Tests for Functional Causal Structures with Two Binary Observed Variables

  • Ciarán M. Lee EMAIL logo and Robert W. Spekkens

Abstract

We provide a scheme for inferring causal relations from uncontrolled statistical data based on tools from computational algebraic geometry, in particular, the computation of Groebner bases. We focus on causal structures containing just two observed variables, each of which is binary. We consider the consequences of imposing different restrictions on the number and cardinality of latent variables and of assuming different functional dependences of the observed variables on the latent ones (in particular, the noise need not be additive). We provide an inductive scheme for classifying functional causal structures into distinct observational equivalence classes. For each observational equivalence class, we provide a procedure for deriving constraints on the joint distribution that are necessary and sufficient conditions for it to arise from a model in that class. We also demonstrate how this sort of approach provides a means of determining which causal parameters are identifiable and how to solve for these. Prospects for expanding the scope of our scheme, in particular to the problem of quantum causal inference, are also discussed.

1 Introduction

Causal relationships, unlike statistical dependences, support inferences about the effects of interventions and the truths of counterfactuals. While a randomised controlled experiment can be used to determine causal relationships, these may not be available for various reasons: they could be restrictively expensive, technologically infeasible, unethical (e.g., assessing the effect of smoking on lung cancer), or indeed physically impossible (e.g., for variables describing properties of distant astronomical bodies). Therefore, inferring causal relationships from uncontrolled statistical data is an important problem, with broad applicability across scientific disciplines. Over the past-twenty five years, there has been much progress in developing methods to solve this problem [1, 2, 3, 4, 5].

As has become standard practice, we formalize the notion of causal structure using directed acyclic graphs (DAGs) with random variables as nodes and arrows representing direct causal influence [1, 2]. A more refined description of causal dependences specifies not only what causes what, but also, for every variable, its functional dependence on its causal parents. We shall use the term functional causal structure to refer to the specification of the set of functions, which includes a specification of the DAG.

As is standard, the variables that are not observed are termed latent, and the DAG does not include any latent variables that act as causal mediaries, so that all the latent variables are parentless. We shall use the term causal model to describe the functional causal structure together with a specification, for each latent variable, of a probability distribution over its values. Each causal model associated to a given functional causal structure defines a possible joint probability distribution over the observed variables. We are interested in the set of possible joint distributions over the observed variables for a given functional causal structure, that is, those that can arise from some set of distributions on the latent variables.

We will say that two functional causal structures are observationally equivalent if they are characterized by the same set of distributions over the observed variables.[1]Many causal inference algorithms, such as those of refs [1] and [2], only make use of conditional independence relations among the observed variables. If two causal structures are such that the same set of conditional independence relations are faithful to them, then they are said to be Markov equivalent.

Note that Markov equivalence can be decided purely on the basis of the DAG (i.e., the causal structure), while the notion of observational equivalence of interest here depends on the functional dependences (i.e., the functional causal structure).

In the case of just two observed variables, which is the one we consider here, the set of all causal structures are partitioned into just two Markov equivalence classes: those wherein the variables are causally connected, and those wherein they are not. As we show, however, the joint distribution over the observed variables supports many more inferences about the functional causal structure, thereby providing a more fine-grained classification than is provided by Markov equivalence.

In recent years, several methods have been suggested that make use not only of conditional independences, but also other properties of the joint statistical distribution between the observed variables [3, 4, 5, 6] (See also the works discussed in Section 6.2 and Section 6.3). These newer methods also have limitations in the sense that they impose restrictions on the number of latent variables allowed in the underlying causal model and also on the mechanisms by which these latent variables influence the observed ones.

In the present work, we restrict attention to the causal inference problem where there are just two observed variables, each of which is binary (that is, discrete with just two possible values). We allow any functional causal structure involving latent variables that are discrete (with a finite number of values), and we impose no restriction on the number of latent variables or the mechanisms by which these influence the observed ones.

We provide an inductive scheme for characterizing the observational equivalence classes of functional causal structures. This scheme has a few steps. First we show that, in each observational class, there is a functional causal structure wherein all of the latent variables are binary. Restricting ourselves to the latter sort of functional causal structure, we show that one can inductively build up any functional causal structure from a pair of others having fewer latent variables. Thus, starting with functional causal structures with no latent variables, we can recursively build up all functional causal structures, and therefore all observational equivalence classes of these, by applying our inductive scheme.

Using this scheme, we catalogue all observational equivalence classes generated by functional causal structures with four or fewer binary latent variables. We have evidence, but no proof yet, that our catalogue is complete in the sense that a functional causal structure with any number of binary latent variables – and hence, by the connection described above, any functional causal structure with discrete latent variables – belongs to one of the classes we have identified.

We also describe a procedure for deriving, for each class, the set of necessary and sufficient conditions on the joint distribution over observed variables for it to be possible to generate it from functional causal structures in this class. We call such a set of conditions a feasibility test for the class.

The procedure for deriving these is as follows. We start with a particular functional causal structure within the class, express the parameters in the joint probability distribution over the observed variables in terms of the parameters in the probability distributions over the latent variables, then eliminate the latter using techniques from algebraic geometry.

Finally, we consider applications to the problem of identifying causal parameters. For the parameters describing the probability distributions over the latent variables, we note that our technique allows one to find expressions for these in terms of the observational data for each observational equivalence classes that we have considered. For the parameters describing the functional relations, we note that the limits to what one can infer about these, which may be different for different points in the space of possible joint distributions over the observed variables, can be inferred from our feasibility tests.

2 Setting up the problem

Consider the causal model of Figure 1(a). From the DAG, it is clear that B is a cause of A, while λ is noise local to A and ν is noise local to B.

Figure 1: (a) DAG for causal model defined by A=B⊕λ$A=B\oplus\lambda$ and B=ν$B=\nu$ (b) Joint distributions that can be generated by this causal model.
Figure 1:

(a) DAG for causal model defined by A=Bλ and B=ν (b) Joint distributions that can be generated by this causal model.

The functional dependences are given by A=Bλ and B=ν. A model with this sort of functional dependence is referred to as an additive noise model (ANM) in refs [3, 4, 5, 6]. The values of A, for different values of B and λ, are given in the table below.

νλBA=Bλ
0000
0101
1011
1110

In Ref. [5], it was shown that one can distinguish between the causal model of Figure 1(a) and the causal models depicted in Figure 2(a) and Figure 2(c), except for special cases of the distributions over the noise variables, such as, for instance, when λ and ν are uniformly distributed. Thus if we are promised that the causal model is an ANM, then (except for the special cases) we can distinguish between B causing A, A causing B and A and B being causally disconnected. To see how this works we will need to determine the correlations generated by this model.

To describe the correlations we adopt the following notational convention.

P(A)=[x]meansP(A=x)=1P(A,B)=[x][y]=[xy]meansP(A=x,B=y)=1P(A)=q[x]meansP(A=x)=q.

Let q1 be the probability that ν=0 and q2 be the probability that λ=0, then the correlations for the above causal model are

P(A,B)=q1q2[00]+(1q1)(1q2)[01]+q1(1q2)[10]+(1q1)q2[11],

This means P(A=0,B=0)=q1q2,P(A=0,B=1)=(1q1)(1q2) and so on. From now on, we will use the shorthand qi1qi to simplify expressions.

Note that if a latent variable were to take one of its values with probability 1, then it would be trivial and could be eliminated from the functional causal structure. We therefore consider only functional causal structures with nontrivial latent variables, that is, latent variables that have some statistical variation in their value, so that the probability of any value is bounded away from 0 and 1. In the present example, therefore, 0<q1,q2<1.

For a general causal model we have P(A,B)=p00[00]+p01[01]+p10[10]+p11[11], where P(A=i,B=j)=pij. We note that p00+p01+p10+p11=1. As we only need three real parameters to specify P(A,B), we can plot it in R3. It is easy to see that the points {P(A=i,B=j)=1:i,jZ2} form the vertices of a tetrahedron in R3 and so the plot of P(A,B) must lie within this tetrahedron.

Figure 2: (a) DAG for causal model defined by A=λ$A=\lambda$ and B=A⊕ν$B=A\oplus\nu$. (b) Joint distributions that can be generated by the model of (a). Note that this is a head-on view of a fan shape of the same type as is depicted in (d). (c) DAG for causal model defined by A=λ$A=\lambda$ and B=ν$B=\nu$. (d) Joint distributions that can be generated by the model of (c).
Figure 2:

(a) DAG for causal model defined by A=λ and B=Aν. (b) Joint distributions that can be generated by the model of (a). Note that this is a head-on view of a fan shape of the same type as is depicted in (d). (c) DAG for causal model defined by A=λ and B=ν. (d) Joint distributions that can be generated by the model of (c).

We can rewrite P(A,B) for our current example as

P(A,B)=q1(q2[00]+q2[10])+q1(q2[11]+q2[01]).

So, if we fix the value of q2 in the range (0,1) and vary q1 over the interval (0,1), the plot of P(A,B) consists of the line passing through a point on the edge of the tetrahedron containing the vertices {[00],[10]} and a point on the edge containing the vertices {[11],[01]} (but excluding these points). The full plot of P(A,B), as q1 and q2 each range over the interval (0,1), is depicted in Figure 1(b) (where the boundary points are excluded). We refer to this shape as a fan. Figure 2(b) and Figure 2(d) depict the set of joint distributions for the ANM where A causes B and the causal structure where A and B are causally disconnected.

Given some joint distribution, P(A,B), how do we determine if it lies on one of the fans of Figure 1(b), Figure 2(b) or Figure 2(d)? Recall that, because the latent variables are unobserved, we do not have access to the qi’s directly, only the observed pij’s. Thus, the problem can be posed as follows: what are the defining equations of the fans in terms of the observed pij’s?

This problem was solved for the example of Figure 1 in Ref. [5] using the following technique. First, it was noted that the DAG implies that λ is marginally independent of B, and therefore P(λ|B=0)=P(λ|B=1). Given that λ is a binary variable, this is true if and only if P(λ=1|B=0)=P(λ=1|B=1). We wish to eliminate λ from this condition. Recall from the definition of conditional probability that P(λ=1|B=b)=P(λ=1,B=b)/P(B=b). The functional dependence A=Bλ can be used to conclude that P(λ=1,B=b)=P(A=b1,B=b). Note that this last step is only possible because the noise is additive, so that one can infer λ from A and B. Therefore, reverting to our notational conventions, where P(A=1b,B=b)=p1b,b and P(B=b)=p0,b+p1,b, the condition becomes

p10p00+p10=p01p11+p01,

which can be rewritten as:

p00p01=p11p10.

This equation, together with the open-interval constraints,

0<00,p01,p10,p11<1,

defines the fan in Figure 1(b). Using similar techniques, one can show that Figure 2(b) and Figure 2(d) are defined by equation

p00p10=p11p01,

respectively

p00p11=p10p01,

together with the open-interval constraint.

The question is: how can one find feasibility tests for generic causal models? In particular, how does one treat models where the noise is not additive? Consider, for instance, the causal model that has the same DAG as in Figure 1(a), but where the noise is multiplicative, that is, A=Bλ. In this case, the value of λ cannot be inferred from A and B (given that these could be zero), and consequently one cannot use the approach of Ref. [5].

It is also unclear how one can characterize the possibilities for the joint distribution when the causal model involves an arbitrary number of latent variables.

We will show that these questions can be answered using powerful tools from algebraic geometry, which we describe in the next section.

3 Deriving the feasibility tests

We begin with an introduction to some of the main concepts of algebraic geometry following the presentation given in [7]. For a more detailed discussion, see A.

Denote the set of all polynomials in variables x1,,xn with coefficients in some field k by k[x1,,xn].

When dealing with polynomials, we are mainly interested in the solution set of systems of polynomial equations. This leads us to the main geometrical objects studied in algebraic geometry, algebraic varieties and semi-algebraic sets.

An algebraic variety[2]V(f1,,fs)kn is the solution set of the system of polynomial equations f1(x1,,xn)==fs(x1,,xn)=0. A basic semi-algebraic set is defined to be the solution set of a system of polynomial equalities and inequalities, that is, {xRn:gi(x)0,i=1,,m}, whereg1,,gnR[x1,,xn] are polynomials ove the reals[3] and where corresponds to either,=,or. Note that algebraic varieties are examples of basic semi-algebraic sets. A semi-algebraic set is formed by taking finite combinations of unions, intersections, or complements of basic semi-algebraic sets. For instance, the fan in Figure 1(b) is the semi-algebraic set that results from the intersection of the algebraic variety defined by the single polynomial equation p00p01p11p10=0 and the set of inequalities that define the interior of the tetrahedral probability simplex (requiring each probability to be in the interval (0,1)).

More generally, for any causal model, the set of possible joint distributions that can be generated by it are represented by a semi-algebraic set. It follows that two causal models are observationally equivalent if and only if they generate the same semi-algebraic set.

We now define ideals, the main algebraic object studied in algebraic geometry. A subset Ik[x1,,xn] is an ideal if it satisfies: (1) 0I, (2) If f,gI, then f+gI, and (3) If fI and hk[x1,,xn], then hfI.

A natural example of an ideal is the ideal generated by a finite number of polynomials, defined as follows. Let f1,,fs be polynomials in k[x1,,xn], then the ideal generated byf1,,fs is:

f1,,fs={i=1shifi:h1,,hsk[x1,,xn]}.

The polynomials f1,,fs are called the basis of the ideal.

Studying the relations between certain ideals and varieties forms one of the main areas of study in algebraic geometry. One can even define the algebraic variety V(I) defined by the ideal Ik[x1,,xn], where

V(I)={(a1,,an)kn:f(a1,,an)=0,fI}.

Interestingly, it can also be shown that if I=f1,,fs, then V(I)=V(f1,,fs), which is to say that the variety defined by a set of polynomials is the same as the variety defined by the ideal generated by those polynomials. Hence, varieties are determined by ideals.

We can now use the language of algebraic geometry to restate the question asked at the end of the last section. Let Vkn be an algebraic variety given parametrically as

(1)p1=g1(q1,,qm),pn=gn(q1,,qm),

where the gi are polynomials in q1,,qm. The conjunction of the above equalities with the inequalities ensuring that the variables q1,,qm are in the interval (0,1) (probabilities bounded away from 0 and 1) defines a semi-algebraic set on p1,,pn,q1,,qm. We seek to infer which values of p1,,pn are possible for some values of the q1,,qm in their allowed intervals. By the Tarski-Seidenberg theorem [8], the solution to this problem is also a semi-algebraic set. We determine the latter as follows. First, we eliminate the variables q1,,qm to find a system of polynomial equations in p1,,pn,. These define the smallest algebraic variety on p1,,pn,q1,,qm that contains the semi-algebraic set that we seek to characterize. This problem is known as implicitization. The second step is to determine which points in this algebraic variety can be extended to a solution of the equalities and inequalities of the original parametric characterization.

For example, consider the algebraic variety that is defined parametrically by the polynomial equations

p00=q1q2,p10=q1q2,p01=q1q2,p11=q1q2.

We would like to characterize the semi-algebraic set that this variety defines on the observed variables p00,p01,p10,p11 alone when one eliminates the parameters q1 and q2 while enforcing that they are probabilities in (0,1). In Section 2, it was shown how one can do so, and that the resulting semi-algebraic set is the one depicted in Figure 1(b). However, the technique was not generalizable to arbitrary functional causal structures. Here, we reconsider this example using techniques that are generally applicable.

The problem can be solved by employing a specific choice of basis for the ideal generated by the system of polynomial equations that define the variety eq. (1). The basis that achieves this feat is known as the Groebner basis.

Groebner bases simplify many calculations in algebraic geometry and they have many interesting properties [7]. There are efficient algorithms for calculating Groebner bases and many software packages that one can use to implement them.

We discovered in this section that the fan of Figure 1(b) is in fact the intersection of the algebraic variety defined by the ideal

p00q1q2,p10q1q2,p01q1q2,p11q1q2

with the tetrahedron. The Groebner basis [4] of this ideal is found to be

g1=q1+p01+p111g2=q2+p01+p101g3=p00+p01+p10+p111g4=p012+p01p10+p11p01p01+p10p11.

Solutions to g1==g4=0 provide solutions to

p00=q1q2,p10=q1q2,p01=q1q2,p11=q1q2

which define our algebraic variety. Looking more closely at the Groebner basis we note that the variables q1,q2 have been eliminated from the polynomials g3 and g4. The solution of g3=p00+p01+p10+p111=0 is exactly the normalisation condition. The solution of g4=0 gives us the following

p01(p10+p01+p111)+p10p11=0,

which, using the normalization condition, then gives us

p00p01=p10p11.

On demanding 0<00,p01,p10,p11<1 and pijR,ij (i.e. on taking the intersection of this algebraic variety with the tetrahedron), we obtain the semi-algebraic set corresponding to the fan of Figure 1(b), which we derived in Section 2. This is a special case of a general result, known as the elimination theorem, which provides us with a way of using Groebner bases to systematically eliminate certain variables from a system of polynomial equations and, thus, to solve the implicitization problem.

The general procedure for finding the semi-algebraic set is as follows. First, given the system of polynomial equations defining the implicitization problem, as in eq. (1), form the ideal generated by these polynomials and compute[5] its Groebner basis. The elements of this basis that do not contain the variables q1,,qm constitute constraints on the variables p1,,pn alone. These constraints consitute polynomial equalities, and therefore define an algebraic variety on the variables p1,,pn. Second, we determine which points on this variety correspond to solutions of the original equalities and inequalities on q1,,qn and p1,,pm. This will result in inequality constraints.

The equality constraints from the first step and the inequality constraints from the second step together characterize the semi-algebraic set on p1,,pn that is compatible with the given functional causal structure. We note that one trivial consequence of the fact that each of the q1,,qm is in the interval (0,1) is that each of the p1,,pn is in the interval (0,1). As such, the semi-algebraic set we seek to characterize is always a subset of the geometric intersection of the algebraic variety we find in the first step and the probability simplex on p1,,pn. Note, however, that it is generically a strict subset of this intersection.

These inequality constraints manifest themselves in different ways. We present an example of one such manifestation below and leave the remaining examples to B.

Consider the causal model of Figure 3(a). Defining q1, q2 and q3 to be the probabilities for μ=0, ν=0 and λ=0 respectively, the joint distribution generated by this model is

(2)P(A,B)=(q1+q1q2q3)[00]+q1q2q3[01]+q1q2q3[10]+q1q2q3[11].

We begin by providing an intuitive account of the semi-algebraic set describing such joint distributions. Note first that P(A,B) can be rewritten as

P(A,B)=q1[00]+qˉ1(q2q3[00]+q2qˉ3[01]+qˉ2q3[10]+qˉ2qˉ3[11]),

implying that it is the convex combination, with weight q1, of the point distribution [00], and with weight q1, of the distribution arising from the functional causal structure of Figure 2(c), shown above to be characterized by the equality p00p11=p10p01.

It follows that the semi-algebraic set defined by P(A,B) contains all interior points on any line extending from the vertex [00] to a point on the fan depicted in Figure 2(d); this variety is depicted in Figure 3(b).

Reading off the expressions for p00,p01,p10, and p11 from eq. (2), we obtain the set of polynomials that define the full algebraic variety. The ideal generated by these is:

&p00q1qˉ1q2q3,p01qˉ1q2qˉ3,p10qˉ1qˉ2q3,p11qˉ1qˉ2qˉ3.
Figure 3: (a) A=μν$A=\mu\nu$ and B=μλ$B=\mu\lambda$. (b) p00p11≥p01p10$p_{00}p_{11}\geq{p_{01}p_{10}}$.
Figure 3:

(a) A=μν and B=μλ. (b) p00p11p01p10.

To implement the first step of the general procedure outlined above, we derive the Groebner basis for this ideal [6]:

g1=q2q1q1q2p10p11+1g2=q3q1q1q3p01p11+1g3=q3p10+q3p11p10g4=q2p01+q3p11p01g5=p00+p01+p10+p111g6=p112+p01p10+p11p10p11+p01p11+p11q1.

Now g5=0 is just the normalisation condition and g6=0 gives the following:

p11(p10+p01+p111)+p01p10+p11q1=0

which, using the normalisation condition, results in

(3)q1=p11p00p10p01p11.

To implement the second step of our procedure, we begin by enforcing q1>0. This results in the following inequality

p11p00>p10p01.

None of the remaining constraints 0<qi<1, for i{2,3} result in nontrivial relations among the pij’s, so the latter inequality is the only nontrivial constraint. Together with the open-interval constraints 0<00,p01,p10,p11<1, it describes the necessary and sufficient conditions for the distribution on observed variables to be compatible with the functional causal structure of Figure 3(a). These conditions define the semi-algebraic set depicted in Figure 3(b).

4 Characterizing the observational equivalence classes

In this section, we will provide a scheme for inductively characterizing all observational equivalence classes. As noted in the introduction, we consider only causal models where there is a pair of binary observed variables, which we denote by A and B.

4.1 Sufficiency of considering purely common-cause models

A causal model having no directed causal influences between the observed variables will be termed purely common-cause.

Lemma 4.1.1.

Every causal model wherein there is a directed causal influence between A and B (either AB or BA) is observationally equivalent to one that is purely common-cause.

The proof is as follows. Suppose that there is a directed causal influence BA. If the collection of all latent variables is denoted by λ, then a general causal model can be specified by the functional dependences B=f(λ) and A=g(λ,B) for some functions f and g. But this is observationally equivalent to the causal model that is purely common-cause with functional dependences B=f(λ) and A=g(λ) where g(λ)g(λ,f(λ)). In characterizing the distinct observational equivalence classes, therefore, it suffices for us to consider the models that are purely common-cause, and therefore we restrict our attention to these henceforth.

An explicit example serves to illustrate this equivalence. The causal model depicted in Figure 4(a), with functional dependences A=λB and B=ν, involving a directed causal influence from B to A, is observationally equivalent to the causal model depicted in Figure 4(b), with functional dependences A=λμ and B=μ, which is purely common-cause. To see this, note that one can express the functional dependences of the first causal model

as A=g(λ,ν,B)=λB and B=f(λ,ν)=ν. Performing the substitution described in the previous paragraph yields A=g(λ,ν,f(λ,ν))=g(λ,ν)=λν, which on identifying ν with μ, results in the second causal model.

Figure 4: (a) DAG for causal model defined by A=λ⊕B$A=\lambda\oplus B$ and B=ν$B=\nu$ (b) DAG for causal model defined by A=λ⊕μ$A=\lambda\oplus\mu$ and B=μ$B=\mu$.
Figure 4:

(a) DAG for causal model defined by A=λB and B=ν (b) DAG for causal model defined by A=λμ and B=μ.

4.2 Sufficiency of considering models with binary latents

We call a causal model where all the latent variables are binary a causal model with binary latents. If there are n binary latent variables, it is called an n-latent-bit causal model.

Theorem 4.2.1

Consider the family of causal models where the latent variables are discrete and finite, but not necessarily binary. Every such model is observationally equivalent to one with binary latents. Equivalently, there is a causal model with binary latents in each observational equivalence class.

The proof is provided in C, but we now present a simple example which illustrates the main idea of the proof.

Consider the causal model of Figure 5(a), where C,D are binary, but τ is a three-valued variable, i.e., a trit. Suppose the functional relationships are as follows: C=τmod2 and D=(2(τ31))mod2, where k means addition modulo k. The values of C,D for different values of τ are given in the table below.

τCD
000
111
201

One can see that the distributions over C,D that can be generated by this model correspond to the face of the tetrahedron that contains the vertices {[00],[11],[01]}.

Figure 5: Example of how to reduce a causal model with a latent trit to one involving only latent bits. (a) The original causal model, with functional dependences C=τmod2$C=\tau\mod2$, and D=(2(τ⊕31))mod2$D=\big(2 (\tau\oplus_3 1)\big)\mod2$. (b) the trit τ$\tau$ is replaced by two bits, γ$\gamma$ and η$\eta$, which are presumed to be determined by a causal model having the depicted causal structure with functional dependences γ=μν$\gamma = \mu\nu$, and η=μ$\eta =\mu$. (c) The causal model with binary latents that simulates the original model; the functional dependences are C=νμ⊕2ν$C=\nu\mu \oplus_2 \nu$, and D=ν$D=\nu$.
Figure 5:

Example of how to reduce a causal model with a latent trit to one involving only latent bits. (a) The original causal model, with functional dependences C=τmod2, and D=(2(τ31))mod2. (b) the trit τ is replaced by two bits, γ and η, which are presumed to be determined by a causal model having the depicted causal structure with functional dependences γ=μν, and η=μ. (c) The causal model with binary latents that simulates the original model; the functional dependences are C=νμ2ν, and D=ν.

The trick to simulating this model using a 2-latent-bit model is to replace the latent three-valued variable τ with a pair of binary variables γ and η and to imagine that these are causally related in the manner depicted in Figure 5(b). That is, we imagine a latent bit ν acting locally on γ and a latent bit μ acting as a common cause of γ and η with the functional dependence γ=μν and η=μ. This causal model can generate any distribution over γ and η that has support only on the values (γ,η){(0,1),(0,0),(1,1)}, as can be seen by consulting the row containing class (2,1,b)Id from the 3-page table appearing later in this paper, where A and B play the role of γ and η.

If we take γ and η to be related to τ by τ=(γmod3)3(ηmod3), so that the values (0,0),(0,1) and (1,1) of (γ,η) map respectively to the values 0,1 and 2 of τ, then any distribution over τ can be emulated by some distribution over the values (0,0),(0,1) and (1,1) of (γ,η) and hence some distribution over μ and ν. Finally, we can express C and D explicitly in terms of μ and ν by eliminating γ and η, obtaining the causal model depicted in Figure 5(c) with dependences C=νμ2ν and D=ν. By construction, we must obtain precisely the same semi-algebraic set for C and D in the model of Figure 5(c) as one does in the model of Figure 5(a). We have therefore defined a 2-latent-bit model that simulates our latent trit model.

The key ingredient of the above example was that we were able find a causal model which could – by appropriately varying over the distribution of its latent variables – generate any distribution over a given face of the tetrahedron, and hence any distribution on a trit. In the case of an m-valued latent variable however, one would need to find a k-latent-bit model which could generate any distribution on an m-simplex. We provide an inductive procedure for constructing such a latent-bit model in C.

Theorem 4.2.1 implies that for the project of determining the observational equivalence classes, it suffices

to consider models with binary latents. and so we restrict our attention to these henceforth.

4.3 Inductive scheme

Next, we define a scheme for composing pairs of n-latent-bit causal models into a single (n+1)-latent bit causal model, such that if we start with all possible pairs of n-latent-bit causal models, and apply the composition operation, we generate all possible (n+1)-latent-bit causal models.

Denote the n latent binary variables by λ(λ1,,λn). A general n-latent-bit causal model is then defined by the functional dependences

(4)A=αaαλαandB=αbαλα

where λα is shorthand for the monomial λ1α1λnαn for some set of exponents α(α1,αn), and aα,bαZ2 are parameters that specify the nature of the functional dependences.

We assume that the first causal model is defined by parameters {aα(0)} and {bα(0)}, and the second is defined by parameters {aα(1)} and {bα(1)}. The additional binary latent variable, which supplements the n binary variables of the original two models is denoted δ. The (n+1)-latent-bit model which is the composition of the two models is defined by the functional dependences

(5)A=α[(δ1)aα(0)+δaα(1)]λα,B=α[(δ1)bα(0)+δbα(1)]λα.

This construction has been chosen such that δ acts as a switch variable: if we set δ=0 in the resulting (n+1)-latent-bit model, we recover the first n-latent-bit model, while if we set δ=1, we recover the second n-latent-bit model.

With these definitions, our composition result can be summarized as follows.

Theorem 4.3.1.

Consider the map that takes a pair of n-latent-bit causal models defined by the functional dependences of eq. (4) with parameters {aα(0)}{bα(0)} for the first model, and parameters {aα(1)}{bα(1)} for the second model, and returns the (n+1)-latent-bit causal model defined by the functional dependences of eq. (5). Under this map, the image of the set of all pairs of n-latent-bit causal models is the set of all (n+1)-latent-bit causal models.

Proof

The functional dependences of eq. (5) can equivalently be expressed as polynomials in λ and δ as

A=αaα(0)λα+(aα(0)aα(1))λαδ,B=αbα(0)λα+(bα(0)bα(1))λαδ

It now suffices to note that as one varies over all possible joint values for the variables in the set {aα(0)}{aα(1)} (there are 22n+1 possibilities), one necessarily varies over all possible joint values for the variables in the set {aα(0)}{aα(0)aα(1)}, which in turn implies that one is varying over all possible polynomials in λ1,,λn and δ in the expression for A. By a similar argument, as one varies over all possible joint values for the variables in the set {bα(0)}{bα(1)}, one varies over all possible polynomials in λ1,,λn and δ in the expression for B. It follows that as one varies over all possible joint values for the variables in the set {aα(0)}{aα(1)}{bα(0)}{bα(1)}, one obtains all possible manners in which A and B might be functionally dependent on the latent variables in the (n+1)-latent-bit causal model. Thus as one varies over all possible pairs of n-latent-bit causal models in our switch-variable construction, one varies over all possible (n+1)-latent-bit causal models.

We can therefore generate all causal models with binary latents by this inductive rule starting from the 0-latent-bit causal models.

4.4 Catalogue of observational equivalence classes

Recall that two causal models are observationally equivalent if they define the same semi-algebraic set. Thus, to characterize the observational equivalence classes, we proceed as follows. For each new causal model that we generate by the inductive scheme, we determine the corresponding semi-algebraic set. Every time one obtains a variety that has not appeared previously, one adds it to the catalogue of observational equivalence classes.

Note that if a causal model has been obtained from two simpler models via our composition scheme, then the semi-algebraic set associated to it necessarily includes as subsets both of the semi-algebraic sets of the simpler models (note that this semi-algebraic set is generally not the convex hull of the semi-algebraic sets of the two simpler models).

It follows that if the semi-algebraic set of a given causal model is found to be the entire tetrahedron, then composing this model with any other will also yield the tetrahedron. In this case, there are no new observational equivalence classes to be found among the descendants of this causal model in the inductive scheme.

In particular, if it were to occur that at some level of the inductive scheme, every newly generated causal model could be shown either to reduce to a previously generated causal model or to yield a semi-algebraic set that is the entire tetrahedron, then one could conclude that one’s catalogue of the observational equivalence classes of causal models was complete in the sense that any n-latent bit causal model belongs to one of these classes.

We have used our inductive scheme to construct all observational equivalence classes generated by causal models with four or fewer binary latent variables. We have also considered a large number of causal models with five binary latent variables and found no new observational equivalence classes. This suggests that our catalogue may already be complete, although we do not have a proof of this. Above, we noted circumstances in which our inductive scheme would terminate, which provides one strategy for attempting to settle the question.

Even in the absence of a proof of completeness, the inductive scheme presented here for classifying observational equivalence classes may be of independent interest to researchers in the field.

The observational equivalence classes of causal models that we have obtained (which cover all causal models with four or fewer binary latent variables) are presented in the table covering the next three pages. For each class, we depict the semi-algebraic set that defines the class, the feasibility test for the class, and a representative causal model from the class. Note that the open-interval constraints 0<p00,p01,p10,p11<1 are part of every feasibility test unless explicitly stated otherwise. The corresponding constraint on the affine varieties is that those varieties confined to the edges exclude the vertices, those confined to the faces exclude the edges, and those in the bulk exclude the faces.

The task of describing the catalogue is simplified by the fact that many of the observational equivalence classes are related to one another by simple symmetries. We therefore organize the classes into orbits, where an orbit is a set of classes whose elements are related to one another by a set of symmetry transformations. For one of the classes in the orbit (which we term the ‘fiducial’ class), we provide a full description, and below this description, we specify the set of symmetry transformations that must be applied to it to obtain the other elements of the orbit. Formally, this is a set of representatives of the right cosets of the subgroup of symmetries of the semi-algebraic set in the full symmetry group of the tetrahedron.

We express these representatives as compositions of the following set of symmetry transformations, which we define below: {Id,fA,fB,S,X}. For each of the five, we specify both their action on the causal model, i.e., their action on the functional dependences, from which their action on the DAG can be inferred, and on the elements of the joint distribution {pab:a,bZ2}, from which their action on the feasibility test can be inferred. Each symmetry transformation also defines an action on the tetrahedron in an obvious manner. Id is the identity transformation, leaving the model and pab invariant; fA is the bit flip on A, replacing the functional dependence A=f(λ) with A=f(λ)1 and mapping pabpa1,b; fB is the bit flip on B, defined analogously to fA; S is the swap transformation, replacing the functional dependences A=f(λ),B=g(λ) with A=g(λ),B=f(λ), and mapping pabpba; X is the “add B to A” transformation, replacing the functional dependences A=f(λ),B=g(λ) with A=f(λ)g(λ),B=g(λ) and mapping pabpab,b. We denote a composition of two symmetry transformations by a right-to-left product: for instance, a bit flip on A followed by a swap is denoted SfA. The conjunction of a bit flip on A and a bit flip on B yields the same transformation regardless of the order in which they are implemented and is denoted fAB.

Finally, a given observational equivalence class will be distinguished by a label of the form (n,m,x)g. Here, n is the number of binary latent variables in the causal model, m is the number of these that act as common causes, x is an optional label that is used for distinguishing functional dependences that are consistent with a given (n,m) but are observationally inequivalent, and g labels the symmetry transformation that relates the class to the fiducial class

ClassSemi-algebraic setTest for feasibility 0<p00,p01,p10,p11<1Minimal causal model
unless stated otherwise
(0,0)Idp00=1p01=p10=p11=0
Transformations: G(0,0)={Id,fA,fB,fAB}
(1,0)Idp00=p01=0
G(1,0)={Id,fA,S,fBS}
(1,1)Idp10=p01=0
G(1,1)={Id,fA}
(2,0)Idp00p11=p01p10
G(2,0)={Id}
(2,1,a)Idp00p01=p11p10
G(2,1,a)={Id,S}
(2,1,b)Idp10=0
G(2,1,b)={Id,fA,fB,S}
(2,2)Id(p01+2p112)24p00,p10=0
G(2,2)={Id,S,fA,fB,fABX,fBSX,fASX,fABSX,SfBXS,fABS,fXS,fBXS}
(3,1,a)Idp00p11>p01p10
G(3,1,a)={Id,fA}
(3,1,b)Id(p01p11)(p00p11p01p10)<0(p01p11)(p10p11p01p00)<0
G(3,1,b)={Id,fAB}
(3,1,c)Id14>p10p11p00p012p10+p111,14>p01p11p00p102p01+p111,14>p10p01p00p112p10+p011.
G(3,1,c)={Id}
(3,2,a)Idp10p11>p01p00
G(3,2,a)={Id,SfA,fA,fAXS}
(3,2,b)Id(p01p10)(p11p10p01p00)<0(p01p10)(p00p10p01p11)<0
G(3,2,b)={Id,fABXS,fBXS,fA}
(3,2,c)Id|4(p10p11)(p00p10p01p11)|(p11(2p01+2p10+p00)p10(2p00+2p11+p01))2
G(3,2,c)={Id,S,fA,fABSX,fBXS,XS,fAXS,fAX,fABX,fASXS,X}
(3,2,d)Id(p01+2p10+2p112)24p00
G(3,2,d)={Id,fB,fA,fAB,fABSX,fBXS,XS,fAXS,SX,fBSX,fASX,fABSX}
(3,2,e)Id4(p10p11)(p00p10p01p11)(p11(2p01+p11)p10(2p00+p10))2,4(p10p11)(p01p10p00p11)(p11(2p01+p11)p10(2p00+p10))2
G(3, 2, e) = \{Id,fABS,fABX,fBX,fAS\}
(3, 2, f)Id|4(p10p11)(p00p10p01p11)|(p11(2p01+2p10+p00)p10(2p00+2p11+p01))2p00p11>p01p10
G(3, 2, f) = \{Id, S,fA,fABSX,fBXS, XS,fAXS,fAX,fABX,fASXS, X\}
(3, 2, g)Id
G(3,2,g)={Id}
(3, 3)Id(2p10+p01)24(1p00)p10
G(3, 3) = \{Id,fB,fA,fAB,fABSX,fBXS, XS,fAXS, SX,fBSX,fASX,fABSX\}
(4,2,a)Idp00p11 > p01p10

p11p10 > p00p01
G(4, 2, a) = \{Id,fB,fA,fAB,fABSXfA,fBXSfA, XS,fAXSfA, SX,fBSXfAB,fABXSfB,fASXfB\}
(4, 2, b)Idp00p11 > p01p10

p11p10 > p00p01

p01p00 > p00p10
G(4,2,b)={Id,fA,fB,fAB}

for the particular n,m and x. The set of possibilities for g for a given n,m, and x is a subgroup of the group closure of {Id,fA,fB,S,X}, which we denote by G(n,m,x). Note that n,mN, mn, and we take x{a,b,c,}.

The first few steps of our iterative procedure for the construction of causal models proceed as follows.

The semi-algebraic sets associated to the four 0-latent-bit causal models are the four vertices of the tetrahedron, labelled by the deterministic assignments to A and B, that is, as [00], [10], [01] and [11]. These correspond to the classes {(0,0)g:g{Id,fA,fB,fAB}}, depicted in the first row of the table (because there is only one observational equivalence class with n=0 and m=0, the label x is not necessary in this case and so it is not excluded from the name of the class).

One finds that by composing these with one another into 1-latent-bit causal models, one arrives at six new observational equivalence classes. Four of these correspond to models with a single latent bit that acts locally, and their semi-algebraic sets are the four edges of the tetrahedron with endpoints {[00],[01]}, {[10],[11]}, {[00],[10]}, {[01],[11]}, which we might call the AB-uncorrelated edges; these correspond to the classes {(1,0)g:g{Id,fA,S,fBS}}, depicted in the second row of the table.

Two of these correspond to models with a single latent bit acting as a common cause and their semi-algebraic sets are the [00]-[11] and [01]-[10] edges of the tetrahedron, which we might call the AB-correlated edges, corresponding to the classes {(1,1)g:g{Id,fA}}, depicted in the third row of the table.

Next, one constructs all of the 2-latent-bit causal models and finds their semi-algebraic sets. This set includes the model of Figure 2(c), where both latent bits act locally, and whose semi-algebraic set is the fan of Figure 2(d), which touches each of the AB-uncorrelated edges of the tetrahedron, corresponding to the single class (2,0)Id, depicted in the fourth row of the table.

This set also includes the models of Figure 1(a) and Figure 2(a) where one of the latent bits acts as a common cause and whose semi-algebraic sets are the fans of Figure 1(b) and Figure 2(b), which touch the AB-correlated edges of the tetrahedron.

They correspond to the pair of classes {(2,1,a)g:g{Id,S}}, depicted in the fifth row of the table.

There is also a second type of 2-latent-bit causal model where one latent bit acts as a common cause

which yield the semi-algebraic sets corresponding to the four faces of the tetrahedron. These are the four classes {(2,1,b)g:g{Id,fA,fB,S}} in the table.

When both of the latent variables act as common causes, one obtains semi-algebraic sets that are subsets of a face of the tetrahedron and which have the appearance of the StarFleet insignia from Star Trek, of which there are twelve in total. These are the classes labelled (2,2)g in the table.

The construction of 3-latent-bit and 4-latent-bit causal models proceeds similarly and the new observational equivalence classes one thereby obtains are depicted in the rest of the table.

5 Identification of parameters in the causal model

Our results also have applications for the identification problem, that is, the problem of determining which parameters in a causal model can be identified or bounded using observational data.

Consider the problem of identifying the probability distributions over the latent variables (our qj parameters) in a causal model associated to a given functional causal structure. From the description of our algorithm, it is clear that the qj parameters are generally identifiable because the Groebner basis provides a means of computing expressions for them in terms of our pi parameters (the observational data). Indeed, we often must compute the explicit expressions for one or more of the qjs in terms of the pis as an intermediate step on the way to deriving our feasibility tests. Equation (3) is an example of such an identification formula.

The other sort of parameter of a causal model that one may wish to identify is the nature of the functional dependences (assuming the model is indeed functional). For the sorts of models we consider, this problem is also solved by our results.

Consider the problem where the causal structure is given, but where there is uncertainty over the nature of the functional dependences thereon. For instance, suppose that it is known that the functional causal structure is either the minimal structure associated to the class (2,1,a)Id in our table or the one associated to (2,1,b)Id. Because the semi-algebraic sets defining these two classes do not intersect[7], it is clear that one can settle this decision problem on the basis of the observational data.

As another, more nuanced example, suppose that it is known that the functional causal structure is the minimal structure associated to one of the three classes (3,1,a)Id, (3,1,b)Id, and (3,1,c)Id in our table. Here, one finds that certain points in the space of distributions over the observed variables pass the feasibility test for just one of these functional causal structures, other points pass the test for two of them, while still others pass the test for all three.

More generally, one might know only the causal structure. For instance, the set of possible functional causal structures might be the minimal ones in each of the classes in the set {(2,1,a)g:g{Id,S}}{(2,1,b)g:g{Id,fA,fB,S}}. The feasibility tests we have derived provide a means of determining, for any given point in the space of distributions over the observed variables, precisely which of these functional causal structures is compatible with that observational data.

6 Discussion

6.1 Future directions

The restriction to pairs of binary observed variables is a limitation of our analysis. In future work, we hope to extend our approach to cases where the observed variables have an arbitrary number of values and where the number of observed variables is also arbitrary. While the tools from algebraic geometry employed in this paper provide a procedure for deriving feasibility tests for such functional causal structures in principle, in practice it is unlikely that such procedures will be scalable. Indeed, calculating Groebner bases is an EXPSPACE-complete problem [9]. Nevertheless, it may still be possible to develop new tools for causal inference in these cases using the approach described here.

It also remains an open problem to decide, for any given functional causal structure, which observational equivalence class it belongs to. That is, even if our catalogue of classes is complete, it merely establishes that every functional causal structure falls into one of these classes, but it does not provide a means of deciding, for a given functional causal structure, having an arbitrary number of latent variables and functional dependences, which class it is a member of. Of course, if one supplements a given functional causal structure with distributions over the latent variables, then one obtains a joint distribution over the observed variables and this can be subjected to the feasibility tests for different observational equivalence classes. It is likely, however, that there are better ways of solving the classification problem, for instance, by determining how the functional dependences can be simplified. Solving this classification problem would allow one to find common features of all of the functional causal structures in a given class, for instance, features of the topology of the causal structure.

We have here made the idealization that the uncontrolled statistical data is given as a joint distribution whereas in practice it is a finite sample from this distribution. To contend with this idealization, one should in practice evaluate causal models by considering how well the finite statistical data can be fit to them.

6.2 Relevance to quantum foundations

One of the motivations of the current work was the prospect of new insights into the interplay between causal structure and observed correlations in quantum theory. In particular, for a pair of quantum systems – each subjected to one of a set of possible measurements – a Bell inequality [10, 11, 12] is a constraint on the joint probability distribution over the outcomes of each possible choice of the local measurements (that is, for every combination of local measurement settings). It has recently been noted [13, 14] that one can understand the assumptions required to derive a Bell inequality as the standard assumptions for causal inference together with a particular hypothesis about the underlying causal structure, namely, that each local outcome depends causally on the corresponding local setting and on a latent common cause between the two systems. This causal structure is illustrated in Figure 6, where A and B are the measurement outcomes for each quantum system, X and Y are the local choices of measurement, and μ is the latent common cause. The complete set of Bell inequalities for this scenario, therefore, can be understood as a feasibility test for such a causal model.

The problem considered in the current work is different from that of deriving the complete set of Bell inequalities in a couple of ways: (i) The observational input to our causal inference problem is different; there are no setting variables in our problem – that is to say, any variable distinct from the observed A,B appearing in a causal structure must be latent – and therefore our input is a single joint distribution over two observed binary variables rather than a set of such distributions, one for each choice of the setting variables.

(ii) The hypotheses whose feasibility we are testing are different; while the set of all Bell inequalities provides a test of the feasibility of the causal structure illustrated in Figure 6, we here seek to assess the feasibility of a causal structure for a given choice of cardinalities for the latent variables appearing therein (e.g., whether a given latent variable consists of a single bit, two bits, etcetera) and for a given choice of the precise form of the functional dependence of the observed variables on the latent variables.

Consider the Bell scenario of Figure 6 where A,B,X, and Y are binary variables. To define a functional causal structure, one must supplement this causal structure with a hypothesis about the cardinality of μ and a hypothesis about the function f that maps X,μ to A and the function g that maps Y,μ to B. (Given that there are only 16 possible values of A,B,X, and Y, a μ of cardinality 16 is sufficient to simulate any other case.) The conditional distributions P(A,B|X,Y) compatible with this functional causal structure are

(6)P(A,B|X,Y)=μP(A,B|X,Y,μ)qμ=μ|A=f(X,μ),B=g(Y,μ)qμ

where qμ denotes a probability distribution over the latent variable μ. To determine the semi-algebraic set of possibilities for P(A,B|X,Y) that are compatible with this functional causal structure, one could use the techniques of the present article. From the polynomial equalities that hold between the P(A,B|X,Y) and the qμ (those given in eq. (6)), one seeks to obtain constraints on the P(A,B|X,Y) alone by eliminating the qμ. Because the variables to be eliminated appear linearly, to eliminate the qμ, it suffices to use quantifier elimination techniques that are less computationally demanding than implicitization, such as Fourier-Motzkin elimination.

Note that if some observed correlations violate an inequality derived in this fashion, it only establishes the infeasibility of a given classical functional causal structure. Violation of Bell inequalities, on the other hand, rule out the feasibility of the causal structure, regardless of the cardinality of the latent variables and the nature of the functional dependences. In this sense, deriving Bell inequalities is more challenging than deriving feasibility tests for functional causal structures. However, in another sense, deriving Bell inequalities is more straightforward because the semi-algebraic set defined by eq. (6) is a polytope, whereas for a general functional causal structure this is not the case. The mathematical tools that have been used to derive Bell-type inequalities – which include semi-definite [15] and linear programming [16] as well as Fourier-Motzkin elimination [17, 18] – are therefore quite different from those used here.

Figure 6: In the Bell scenario, one is interested in the conditional distribution P(A,B|X,Y)$\mathbb{P}(A,B|X,Y)$. This is equivalent to a set of distributions over A,B$A,B$, {P(X,Y)(A,B)}$\{\mathbb{P}_{(X,Y)}(A,B)\}$, one for each choice of measurement setting.
Figure 6:

In the Bell scenario, one is interested in the conditional distribution P(A,B|X,Y). This is equivalent to a set of distributions over A,B, {P(X,Y)(A,B)}, one for each choice of measurement setting.

Bell inequalities are significant to the foundations of quantum theory because they are found to be violated in experiments on pairs of separated quantum systems, implying that the predictions of quantum theory cannot be explained by a classical causal model with the causal structure that one expects to hold for the experiment (that of Figure 6) without fine-tuning [13].

Researchers in the field of quantum foundations have now begun to apply insights obtained from the study of Bell inequalities to the problem of deriving constraints on observed correlations in more general causal scenarios [14, 19, 20, 21, 22, 23], and the current work constitutes another contribution in this direction.

More importantly, there are now a few proposals for how to generalize the standard notion of a causal model to the quantum realm. Reference [24], for instance, proposes a definition of a quantum causal model in terms of a noncommutative generalization of conditional probability, while refs. [19, 25, 26] follow a more operational approach.

With a notion of quantum causal model in hand, one can explore the problem of inferring facts about the quantum causal model from observed correlations. This is the problem of quantum causal inference.

In the case of Bell-type experiments, for instance, one expects a quantum causal model with the natural causal structure (that of Figure 6) to be feasible only if the observed correlations satisfy the so-called Cirel’son bound, which is a generalization of a Bell inequality [27]. A simple case of quantum causal inference that has been investigated recently is the problem of distinguishing a cause-effect relation from a common-cause relation.

Here, it has been shown that the quantum correlations can distinguish the two cases even in uncontrolled experiments, implying a quantum advantage for causal inference [28].

In quantum causal models, variables are replaced by systems, each represented by a Hilbert space, and one makes a distinction between observed systems, upon which a measurement is made, and latent systems. Sets of systems are described by joint quantum states (as opposed to the joint probability distributions that describe sets of variables), and the functional dependences are specified by unitary maps. A natural analogue of the classical causal inference problem is to make inferences about the causal structure and the parameters of the causal model given a joint quantum state on the observed systems. The natural analogue of the functional causal structures considered in this article are quantum causal structures together with a specification of the dimensions of the latent systems and the unitaries that describe the functional dependences. To derive a feasibility test for a functional causal structure, one must eliminate the real-valued parameters that specify the quantum state of the latent systems. For example, if a given latent system is 2-dimensional (the quantum analogue of a binary latent variable), there are three real-valued parameters needed to specify the state completely (as opposed to the one real parameter needed to completely specify a distribution over a classical bit). The expectation values of the three Pauli operators, for instance, suffice to do so. Nonetheless, one can still take advantage of the techniques from algebraic geometry employed in this work to eliminate these parameters and determine constraints on the quantum state of the observed systems. In this way, we ought to be able to derive feasability tests for functional causal structures in the quantum sphere.

6.3 Related work

The extent to which the mathematical tools associated to quantifier elimination are well-suited to problems of causal inference has been previously emphasized by Geiger and Meek [29]. Many authors have noted, in particular, the applicability of quantifier elimination to the problem of deriving tests for the feasibility of a causal structure when the cardinality of the latent variables is known. Reference [29], for instance, used Cylindrical Algebraic Decomposition to derive equality and inequality constraints for a particular causal model. However the computational complexity of such brute-force quantifier elimination (doubly exponential in the number of parameters) means that its applications are limited to very simple examples.

Many previous works have appealed to implicitization procedures using Groebner bases to obtain equality constraints for causal models.

Geiger and Meek [30], Garcia, Stillman and Sturmfels [31], and Garcia [32] have used implicitization to obtain the smallest algebraic variety that contains the semi-algebraic set of joint distributions over observed variables for various causal structures with known cardinalities of latent variables. This yields polynomial equalities on the joint distribution whose satisfaction are necessary conditions for compatibility with the causal structure. Kang and Tian [33] have also applied implicitization techniques to the problem of identifying polynomial equality constraints on observational and interventional distributions (using the framework supplied by refs. [34, 35]).

Our work goes beyond these treatments insofar as it uses implicitization as one step in an algorithm that finds the semi-algebraic set itself rather than the smallest algebraic variety containing it. The second step is to use the extension theorem (described in A) to find inequality constraints on the joint probability distribution over observed variables from knowledge of the Groebner basis. To illustrate the difference, consider the observational equivalence class labelled (2,2)Id in our classification. This corresponds to a semi-algebraic set for which the smallest algebraic variety containing it is the plane p10=0. The intersection of this variety with the tetrahedral probability simplex is its p10=0 facet. The semi-algebraic set, however, is a strict subset of this, the one satisfying the additional inequality (p01+2p112)24p00.

One novel feature of our approach which distinguishes it from previous uses of implicitization is that we focus on deriving feasibility constraints for a causal structure with specific functional dependences. In previous approaches, the set of variables that needed to be eliminated included both the parameters describing the probability distributions for the root variables and the parameters describing the conditional probability distributions for each non-root variable. In our approach, the second sort of parameter is fixed and not in need of elimination. The restriction to binary variables ensures that the number of distinct possible functional dependences is relatively modest.

Finally, the use of Groebner bases in identifying or bounding parameters in a causal model has also been highlighted in previous work such as Garcia-Puente et al. [36].

After the completion of this work, we became aware of related independent works by Chaves [37] and Rossett et al. [38] which also derive nonlinear inequalities for determining the feasibility of certain causal structures. These authors consider structures which, like Bell scenarios, have multiple pairs of observed variables that are related as cause and effect (understood as setting-outcome pairs) but which, unlike Bell scenarios, can have more than one latent common cause acting on the outcome variables. Chaves simplifies the quantifier elimination problem that must be solved using a round of Fourier-Motzkin elimination, while Rossett et al. provide an inductive approach for deriving new inequalities from given inequalities for subgraphs of the causal network under consideration. Combining our approach with these other methods constitutes an interesting direction for future work.

Acknowledgements

This research began while CML was completing the Perimeter Scholars International Masters program at Perimeter Institute. Research at Perimeter Institute is supported by the Government of Canada through Industry Canada and by the Province of Ontario through the Ministry of Research and Innovation.

References

1. Pearl J. Causality, 2nd ed. Cambridge : Cambridge University Press; 2009.10.1017/CBO9780511803161Search in Google Scholar

2. Sprites P, Glymour C, Scheines R. Causation, prediction and search, 2nd ed. Cambridge: The MIT press; 2000.10.7551/mitpress/1754.001.0001Search in Google Scholar

3. Janzing D, Mooij J, Peters J, Scholkopf B. Identifying counfounders using additive noise models. Proceedings of the 25th Conference on Uncertainty in Artificia Intelligence.2009.Search in Google Scholar

4. Hoyer P, Janzing D, Mooij J, Peters J, Scholkopf B. Nonlinear causal discovery with additive noise models. Advances in Neural Information Processing Systems 21. New York: Curran Associates, Inc.; 2009:689–696.Search in Google Scholar

5. Peters J, Janzing D, Scholkopf B. Causal inference on discrete data using additive noise models. IEEE TPAMI. 2011;33(12):2436–2450.10.1109/TPAMI.2011.71Search in Google Scholar PubMed

6. Peters J, Mooij JM, Janzing D, Scholkopf B. Causal discovery with continuous additive noise models. J Mach Learn Res. 2014;15:2009–2053.Search in Google Scholar

7. Cox D, Little J, O’Shea Ideals D. Varieties and algorithms: an introduction to computational algebraic geometry and commutative algebra. New York: Springer Verlag; 2007.10.1007/978-0-387-35651-8Search in Google Scholar

8. Mishra B. Algorithmic algebra. New York: Springer Verlag; 2012.Search in Google Scholar

9. Bardet M. Algorithms Seminar. On the complexity of a Groebner basis algorithm; 2002–2004:2005.Search in Google Scholar

10. Bell JS. Speakable and unspeakable in quantum mechanics. Cambridge: Cambridge University Press; 1964.Search in Google Scholar

11. Clauser JF, Horne MA, Shimony A, Holt RA. Proposed experiment to test local hidden-variable theories. Phys Rev Lett. 1969;23:880.10.1103/PhysRevLett.23.880Search in Google Scholar

12. Brunner N, Cavalcanti D, Pironio S, Scarani V, Wehner S. Bell nonlocality. Rev Mod Phys. 2014;86:419.10.1103/RevModPhys.86.419Search in Google Scholar

13. Wood CJ, Spekkens RW. The lesson of causal discovery algorithms for quantum correlations: Causal explanations of Bell-inequality violations require fine-tuning. New J Phys. 2015;17:033002.10.1088/1367-2630/17/3/033002Search in Google Scholar

14. Fritz T. Beyond Bell’s theorem: correlation scenarios. New J Phys. 2012;14:103001.10.1088/1367-2630/14/10/103001Search in Google Scholar

15. Ver Steeg G, Galstyan A. A sequence of relaxations constraining hidden variable models. Proceedings of the 27th Conference on Uncertainty in Artificial Intelligence, UAI.2011.Search in Google Scholar

16. Bonet B. Instrumentality tests revisited. Proceedings of the 17th Conference on Uncertainty in Artificia Intelligence.2001.Search in Google Scholar

17. Budroni C, Cabello A. Bell inequalities from variable elimination methods. J Phys A Math Theor. 2012;45:385304.10.1088/1751-8113/45/38/385304Search in Google Scholar

18. Fritz T, Chaves R. Entropic inequalities and marginal problems. IEEE Trans Inf Theory. 2013;59:803–817.10.1109/TIT.2012.2222863Search in Google Scholar

19. Fritz T. Beyond Bell’s Theorem II: scenarios with arbitrary causal structure. Commun Math Phys. 2016;341(2):391–434.10.1007/s00220-015-2495-5Search in Google Scholar

20. Chaves R, Kuen R, Brask J, Gross D. A unifying framework for relaxations of the causal assumptions in Bell’s theorem. Phys Rev Lett. 2015;114:140403.10.1103/PhysRevLett.114.140403Search in Google Scholar PubMed

21. Chaves R, Majenz C, Gross D. Information-theoretic implications of quantum causal structures. Nat Commun. 2015;6:5766.10.1038/ncomms6766Search in Google Scholar PubMed

22. Tavakoli A, Skrzypczyk P, Cavalcanti D, Acin A. Non-local correlations in the star-network configuration. Phys Rev A. 2014;90:062109.10.1103/PhysRevA.90.062109Search in Google Scholar

23. Branciard C, Rosset D, Gisin N, Pironio S. Bilocal versus nonbilocal correlations in entanglement swapping. Phys Rev A. 2012;85:032129.10.1103/PhysRevA.85.032119Search in Google Scholar

24. Leifer MS, Spekkens RW. Formulating quantum theory as a causally neutral theory of Bayesian inference. Phys Rev A. 2013;88:052130.10.1103/PhysRevA.88.052130Search in Google Scholar

25. Hensen J, Lal R, Pusey MF. Theory-independent limits on correlations from generalised Bayesian networks. New J Phys. 2014;16:113043.10.1088/1367-2630/16/11/113043Search in Google Scholar

26. Pienaar J, Brukner C. A graph-separation theorem for quantum causal models. New J Phys. 2015;17:073020.10.1088/1367-2630/17/7/073020Search in Google Scholar

27. Cirel’son BS. Quantum generalisations of Bell’s inequality. Lett Math Phys. 1980;4:2.10.1007/BF00417500Search in Google Scholar

28. Ried K, Agnew M, Vermeyden L, Janzing D, Spekkens RW, Resch K. A quantum advantage for inferring causal structure. Nat Phys. 2015;11:414.10.1038/nphys3266Search in Google Scholar

29. Geiger D, Meek C. Quantifier elimination for statistical problems. Proceedings of the 15th Conference on Uncertainty in artificial intelligence.1999.Search in Google Scholar

30. Geiger D, Meek C. Graphical models and exponential families. Proceedings of the 14th Conference on Uncertainty in Artificial Intelligence.1998.Search in Google Scholar

31. Garcia LD, Stillman M, Sturmfels B. Algebraic geometry of Bayesian networks. J Symbolic Comput. 2005;39(34):331–355.10.1016/j.jsc.2004.11.007Search in Google Scholar

32. Garcia LD. Algebraic statistics in model selection. Proceedings of the 20th Conference on Uncertainty in Artificial Intelligence.2004.Search in Google Scholar

33. Kang C, Tian J. Polynomial constraints in causal Bayesian networks. Proceedings of the 23rd Conference on Uncertainty in Artificia Intelligence.2007.Search in Google Scholar

34. Tian J, Pearl J. On the testable implications of causal models with hidden variables. Proceedings of the 18th Conference on Uncertainty in Artificia Intelligence.2002.Search in Google Scholar

35. Kang C, Tian J. Inequality constraints in causal models with hidden variables. Proceedings of the 22nd Conference on Uncertainty in Artificia Intelligence.2006.Search in Google Scholar

36. Garcia-Puente LD, Spielvogel S, Sullivant S. Identifying causal effects with computer algebra. Proceedings of the 26th Conference on Uncertainty in Artificia Intelligence.2010.Search in Google Scholar

37. Chaves R. Polynomial Bell inequalities. Phys Rev Lett. 2016;116:010402.10.1103/PhysRevLett.116.010402Search in Google Scholar PubMed

38. Rosset D, Branciard C, Barnea TJ, Ptz G, Brunner N, Gisin N. Nonlinear bell inequalities tailored for quantum networks. Phys Rev Lett. 2016;116(1):010403.10.1103/PhysRevLett.116.010403Search in Google Scholar PubMed

Appendices

A Ideals, varieties and Groebner bases

We now introduce useful concepts and tools from algebraic geometry that we will make use of in solving the problem mentioned in Section 2 of the main text. We will follow the presentation given in Ref. [7].

We define a monomial in x1,,xn to be a product of the form x1α1x2α2xnαn, where the exponents are non-negative integers, αiZ0 for i=1,,n. We can simplify our notation slightly by letting α=(α1,,αn) and setting

xα=x1α1x2α2xnαn.

We can now define a polynomial over a field k.

Definition A.0.1.

A polynomial f in x1,,xn with coefficients in a field k is a finite linear combination of monomials. We write f as

f=αcαxα,cαk,

where the sum is taken over a finite number of α’s.

The set of all polynomials in x1,,xn with coefficients in k is denoted k[x1,,xn]. When we deal with polynomials we are mainly interested in the solution set of systems of polynomial equations. This leads us to the main geometrical objects studied in algebraic geometry, algebraic varieties and semi-algebraic sets, which we now define.

Definition A.0.2.

Let k be a field and let f1,,fs be polynomials in k[x1,,xn]. Then we set

V(f1,,fs)={(a1,,an)kn:fi(a1,,an)=0,,1is}.

We call V(f1,,fs) the algebraic variety (also called the affine variety) defined by f1,,fs.

Thus, an algebraic variety V(f1,,fs)kn is the solution set of the system of polynomial equations f1(x1,,xn)==fs(x1,,xn)=0. A basic semi-algebraic set is defined to be the solution set of a system of polynomial equalities and inequalities, that is:

Definition A.0.3.

A basic semi-algebraic set is defined by {xRn:gi(x)0,i=1,,m}, where g1,,gnR[x1,,xn] are polynomials over the reals[8] and where corresponds to either,=,or.

Note that algebraic varieties are examples of basic semi-algebraic sets.

Definition A.0.4.

A semi-algebraic set is formed by taking finite combinations of unions, intersections, or complements of basic semi-algebraic sets.

For any causal model, the set of possible joint distributions that can be generated by it are represented by a semi-algebraic set. It follows that two causal models are observationally equivalent if and only if they generate the same semi-algebraic set.

We now introduce and define ideals, the main algebraic object studied in algebraic geometry.

Definition A.0.5.

A subset Ik[x1,,xn] is an ideal if it satisfies:

  1. 0I,

  2. If f,gI, then f+gI,

  3. If fI and hk[x1,,xn], then hfI.

A natural example of an ideal is the ideal generated by a finite number of polynomials.

Definition A.0.6.

Let f1,,fs be polynomials in k[x1,,xn]. Then we set

f1,,fs={i=1shifi:h1,,hsk[x1,,xn]}.

It is not hard to show that f1,,fs is an ideal. We call it the ideal generated byf1,,fs and we call f1,,fs the basis of the ideal.

Studying the relations between certain ideals and varieties forms one of the main areas of study in algebraic geometry. One can even define the algebraic variety V(I) defined by the ideal Ik[x1,,xn], where

V(I)={(a1,,an)kn:f(a1,,an)=0,fI}.

The proof that V(I) forms an algebraic variety can be found in Ref. [7]. Interestingly, it can also be shown that if I=f1,,fs, then V(I)=V(f1,,fs). That is to say that varieties are determined by ideals. This will have interesting consequences for us, as we will see shortly.

To find a general solution to the implicitization problem introduced in the main text we need to introduce monomial orderings and Groebner bases.

First, note that we can reconstruct the monomial x1α1xnαn from the n-tuple of exponents (α1,,αn)Z0n. This establishes a one-to-one correspondence between Z0n and monomials in k[x1,,xn]. It follows that any ordering > on the space Z0n will induce an ordering on monomials: if α>β according to this ordering, then we will also say that xα>β.

Now, we want the induced ordering to be ‘compatible’ with the algebraic structure of the polynomial ring that our monomials live in. This requirement leads us to the following definition.

Definition A.0.7.

A monomial ordering on k[x1,,xn] is any relation > on Z0n satisfying:

  1. > is a total ordering on Z0n. That is to say that, for every α,βZ0n either α>β, β>α or α=β.

  2. If α>β and γZ0n, then α+γ>β+γ.

  3. > is a well ordering on Z0n. This means that every non-empty subset of Z0n has a smallest element under >.

The main monomial ordering we will make use of here is the lexicographic order, which we define as follows.

Definition A.0.8.

[Lexicographic order] Let α=(α1,,αn) and β=(β1,,βn)Z0n. We say α>lexβ if, in the vector difference αβZn, the leftmost non-zero entry is positive. We will write xα>lexxβ if α>lexβ.

Once we fix a monomial order, each fk[x1,,xn] has a unique leading term LT(f) relative to this order. We denote by LT(I) the set of leading terms of elements of the ideal I. We can then define LT(I) to be the ideal generated by the elements of LT(I). Consider a finitely generated ideal I=f1,,fs, it is interesting to note that LT(f1),,LT(fs) and LT(I) may in general be different ideals. But surprisingly there always exists [7] a choice of basis g1,,gtI such that LT(g1),,LT(gt)=LT(I). These bases are know as Groebner bases.

Definition A.0.9.

Fix a monomial ordering. A finite subset G={g1,,gt} of an ideal I is said to be a Groebner basis if

LT(g1),,LT(gt)=LT(I).

More informally, a set G={g1,,gt}I is a Groebner basis for I if and only if the leading term of any element of I is divisible by (at least) one of the LT(gi). Groebner bases simplify performing many calculations in algebraic geometry and they have many interesting properties, some of which we will see shortly. There are efficient algorithms for calculating Groebner bases and many software packages that one can use to implement them. An example of a Groebner basis was given in the main text. Our use of the Groebner basis in that example was a special case of a general result, known as the elimination theorem, which provides us with a way of using Groebner bases to systematically eliminate certain variables from a system of polynomial equations and thereby solve the implicitization problem. We will state the elimination theorem shortly. First, we require the following definition.

Definition A.0.10.

Given I=g1,,gtk[x1,,xn], the lth elimination idealIl is the ideal of k[x1,,xn] defined by

Il=Ik[xl+1,,xn].

Thus Il consists of all consequences of g1==gt=0 which eliminate the variables x1,,xl. Using this language, we see that eliminating x1,,xl means finding non-zero polynomials in the lth elimination ideal of k[xl+1,,xn]. With the proper ordering, Groebner bases allow us to do this instantly. We can now state the elimination theorem (for a proof, see Ref. [7]).

Definition A.0.11.

[Elimination theorem] Let Ik[x1,,xn] be an ideal and let G be a Groebner basis for I with respect to the lex order where x1>2>>n. Then, for every 0ln, the set

Gl=Gk[x1,,xn]

is a Groeber basis of the lth elimination ideal.

So, in our example with the fan depicted in Figure 1(b) – discussed in the main text – g3 and g4 form a Groebner basis of the 2nd elimination ideal and this is what allowed us to eliminate the variables q1 and q2.

How do we know that we can extend solutions from the lth elimination ideal to the (l1)th? More concretely, in our specific example of the fan, how do we know that the equation p00p01=p10p11 defines the entire algebraic variety and not just some part of it? The following result shows us the conditions under which we can extent partial solutions to full ones.

Definition A.0.12.

[Extension theorem] Let IC[x1,,xn] and let I1 be the first elimination ideal of I. For each 1is, write fi in the form

fi=gi(x2,,xn)x1Ni+terms of lower degree,

where Ni0 and giC[x1,,xn] is non-zero. Suppose we had a partial solution (a2,,an)V(I1). If (a2,,an)V(g1,,gs), then there exists a1C such that (a1,,an)V(I).

Figure 7: (a) A=μν$A=\mu\nu$ and B=μ⊕ν⊕μν$B=\mu\oplus\nu\oplus\mu\nu$. $\quad$ (b) (p01+2p00)2≥4p00$\big(p_{01}+2p_{00}\big)^2\geq 4p_{00}$.
Figure 7:

(a) A=μν and B=μνμν. (b) (p01+2p00)24p00.

When we work over (0,1)R we also, in conjunction with the conditions of the above theorem, need to ensure that at every extension step the new solution is real and lies in (0,1).

We can apply the above theorem to our example to see that, indeed, the equation p00p01=p10p11 defines the smallest algebraic variety that contains the semi-algebraic set

depicted in Figure 1(b) in the main text.

B More examples of deriving tests for feasibility

Consider the functional causal structure of Figure 7(a). The joint distributions that can arise from it are of the form

P(A,B)=q1q2[00]+(q1qˉ2+qˉ1q2)[01]+qˉ1qˉ2[11].

The semi-algebraic set defined by P(A,B) is shown in Figure 7(b). We refer to this variety as a StarFleet insignia. The Groebner basis for the ideal

p00q1q2,p01q1q2q1q2,p11q1q2,

with respect to the lex order q1>2>00>01>11, is

g1=q1+q2+p00+2p012g2=p00+p01+p111g3=q22+2p11q2+p01q22q2p11p01+1.

The equation g2=0 defines an equality constraint that restricts the joint probability distribution to the plane p10=0 and therefore to the face of the tetrahedron containing the vertices [00],[01] and [11]. In order to extend the partial solution {p00,p01,p11} to a full solution {q1,q2,p00,p01,p11} using the extension theorem, we must ensure that all the solutions are real. Now the equation g3=0 allows us to write q2 in terms of the pij’s as follows

q2=(p01+2p112)±(p01+2p112)2+4(p11+p011)2.

So in order to ensure that q2R, we must set (p01+2p112)2+4(p11+p011)0. Using the normalisation condition and rearranging gives us

(p01+2p00)24p00,

which defines the semi-algebraic set depicted in Figure 7(b). None of the remaining constraints 0qi1, for i=1,2,3 result in non-trivial relations among the pij’s.

Consider the functional causal structure of Figure 8(a). The joint distributions that can arise from it are of the form

P(A,B)=(q1q2q3+qˉ1q2qˉ3+q1qˉ2qˉ3)[00]+(q1q2qˉ3+q1qˉ2q3+qˉ1q2q3)[01]+qˉ1qˉ2q3[10]+qˉ1qˉ2qˉ3[11].

The semi-algebraic set defined by P(A,B) is shown from different angles in Figure 8(b). We note that conditioning on the variable δ being equal to 0 or 1 reduces this variety to one of the star trek symbols depicted on the faces. Similarly conditioning on ν=1 (or μ=1) reduces this variety to a fan.

Figure 8: (a) A=μν$A=\mu\nu$ and B=μ⊕ν⊕δ$B=\mu\oplus\nu\oplus\delta$. (b) |4(p10−p11)(p00p10−p01p11)|≤(p11(2p01+2p10+p00)−p10(2p00+2p11+p01))2$\vert{4}(p_{10}-p_{11})(p_{00}p_{10}-p_{01}p_{11})\vert\leq\big(p_{11}(2p_{01}+2p_{10}+p_{00})-p_{10}(2p_{00}+2p_{11}+p_{01}) \big)^2$ .
Figure 8:

(a) A=μν and B=μνδ. (b) |4(p10p11)(p00p10p01p11)|(p11(2p01+2p10+p00)p10(2p00+2p11+p01))2 .

The Groebner basis for the ideal

p00q1q2q3qˉ1q2qˉ3q1qˉ2qˉ3,p01q1q2qˉ3q1qˉ2q3qˉ1q2q3,p10qˉ1qˉ2q3,p11qˉ1qˉ2qˉ3,

with respect to the usual lex order, is given by

g1=q3p10+q3p11p10g2=p00+p01+p10+p111g3=q2q1q1q2p10p11+1g4=2q3q1q1q2+2q2q33q2q33q3+p01+2p10p11+1g5=2q3q22q223q3q2+p01q2+2p10q2p11q2+q2+q3p01p10g6=2p102+q1p10+q2p10+p10p01+p11p102p10p112q1p11q2p11+p01p11+p11g7=p10q22p11q22+2p102q2p112q2+p01p10q22p10q2+p01p11q2+p10p11q2+p11q2p102p01p10+p10p01p11p10p11.

The equation g2=0 is just the usual normalisation condition restricting the joint probability distribution to the tetrahedron. In order to use the extension theorem to extend a partial solution {p00,p01,p10,p11} to a full solution {q1,q2,q3,p00,p01,p10,p11}, we must ensure that each solution is real. The only situations in which we need to impose this is in the case of q2. The equation g7=0 is a quadratic in q2 and in order for its solutions to be real, we must stipulate that

4(p10p11)(p00p10p01p11)(p11(2p01+2p10+p00)p10(2p00+2p11+p01))2.

Using g1=0 to write q3 in terms of p10 and p11 and substituting this into g5=0 gives us another quadratic in q2. For the solutions of this quadratic to be real we must enforce that

4(p10p11)(p00p10p01p11)(p11(2p01+2p10+p00)p10(2p00+2p11+p01))2.

Combining these two inequalities we get

|4(p10p11)(p00p10p01p11)|(p11(2p01+2p10+p00)p10(2p00+2p11+p01))2,

where |.| denotes the absolute value. None of the remaining constraints 0qi1, for i=1,2,3 result in non-trivial relations among the pij’s.

Examining this inequality more closely, we see that setting p10=0 reduces it to the inequality defining the StarFleet insignia, 4p01(2p01+p00)2, on the face spanned by {[00],[01],[11]}, as it should (this is visible in Figure 8(b)). Similarly, for p11=0 we get the StarFleet insignia on the face {[00],[01],[10]} (also visible in Figure 8(b)). The appearance of the term p00p10p01p11 is also noteworthy. Recall that the equation p00p10=p01p11 defines the fan depicted in Figure 2(b) in the main text, so the above inequality quantitatively bounds the deviation from the surface of this fan by an amount proportional to the two star trek symbols discussed above. This is intuitively what we would expect from looking at the semi-algebraic set depicted in Figure 8(b).

These examples cover all the different situations one may encounter while using algebraic geometry techniques to derive tests for feasibility of the causal models we are considering in this work. The remaining tests are derived in an analogous fashion.

C Sufficiency of n-latent-bit models

We here present the proof of Theorem 4.2.1.

The example presented in Section 4.2 suggests a general procedure for replacing an m-valued latent variable with some finite number of binary latent variables. Replace the m-valued variable with a number of substitute variables – the analogues of γ and η above, but which now can take an arbitrary number of values – such that any distribution over the m-valued variable can be simulated using a k-latent-bit causal model – the analogue of the causal model containing μ and ν above – underlying the substitute variables. By eliminating the intermediary variables, the dependence of the observed variables on the m-valued latent variable is replaced with a dependence on k binary latent variables.

We now describe a procedure for replacing an m-valued variable, for any m, by two variables γ and η in such a way that any distribution over the m-valued variable is obtained by some k-latent-bit causal model underlying γ and η.

Recall that for a 3-valued variable, we can take γ and η to be bits and use the fiducial model from class (2,1,c)Id, whose distribution is the convex combination of an edge of the tetrahedron and a vertex not contained in that edge. Similarly, for a 4-valued variable, we can take γ and η to be bits and use the fiducial model from class (3,2,g)Id, whose distribution is the convex combination of a face and vertex not contained in that face.

For a 5-valued variable, we can take γ to be a trit and η to be a bit. For any causal model underlying γ and η, the semi-algebraic set generated by this model is now a subset of a simplex with six vertices, [γη]{[00],[01],[10],[11],[20],[21]}

We now construct a causal model underlying γ and η by combining two simpler models, using the procedure described in section 4 in the main text: the first model is one whose semi-algebraic set is the tetrahedron (considered as the subset of the six-simplex having [γη]{[00],[01],[10],[11]}) and the second is one whose semi-algebraic set is a vertex of the six-simplex not contained in the tetrahedron. A binary switch variable toggles between these two simpler models. Given the geometry, the semi-algebraic set defined by the model is clearly the convex combination of the tetrahedron and the vertex outside the tetrahedron.

In particular, we can take the first model to be the fiducial model from class (3,3)Id (where γ is replaced by a trit but its dependence on its causal parents is unchanged) and the second model to be a deterministic model that sets γ=2 and η=0. Denoting the switch variable by ρ, and the other latent bits by μ, ν, δ (as in the row containing class (3,3)Id), we obtain the following functional dependences by the switch-variable construction: γ=ρ(μν21)32(ρ21) and η=ρ(μνδ2ν). One easily verified that if ρ=1, one recovers the fiducial model of class (3,3)Id and hence the tetrahedron spanned by [γη]{[00],[01],[10],[11]}, while if ρ=0, one obtains the point [γη]=[20].

By increasing the number of values that γ and η can take, one can ensure that the number of vertices in the space of distributions over γ and η is at least m, such that one can simulate an m-valued latent variable by finding a causal model underlying γ and η whose semi-algebraic set is an m-simplex.

To construct such a model, we apply the switch-variable construction to a pair of simpler models, one of which has an semi-algebraic set corresponding to an (m1)-simplex, and the other of which is a deterministic model corresponding to a vertex outside of this (m1)-simplex. In this way, we can recursively build up a causal model involving only binary latent variables whose semi-algebraic set is an m-simplex for any m.

Published Online: 2017-3-22

© 2017 Walter de Gruyter GmbH, Berlin/Boston

This article is distributed under the terms of the Creative Commons Attribution Non-Commercial License, which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.

Downloaded on 6.12.2023 from https://www.degruyter.com/document/doi/10.1515/jci-2016-0013/html
Scroll to top button