On the Complexity of the Compatibility Problem for Succinctly Encoded Conditional Distributions
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
On the Complexity of the Compatibility Problem for Succinctly Encoded Conditional Distributions Guy Emerson
arXiv:2608.31120v1 [cs.LG] 31 Aug 2026
Abstract The motivation for this paper is the investigation of the trade-offs implicit in probabilistic models used in machine learning. Models are often used to make predictions in the form of conditional probabilities. However, a pair of conditional distributions p(x|y) and p(y|x) may not be compatible with any joint distribution p(x, y). Given two such conditionals, determining if there exists a compatible joint is known as the compatibility problem. For discrete random variables, when the conditionals are encoded as probability tables, the compatibility problem has a known solution, which is computationally tractable. In this paper, we formalise and study a succinct version of the problem, encoding conditional distributions as arithmetic circuits. This is applicable to practical applications of probabilistic modelling in high-dimensional settings, including neural network models. We show that, for succinct circuit representations of conditionals, the compatibility problem is intractable. In the case that all probabilities are non-zero, the problem is co-NP-complete. In the case that probabilities can be zero, we give examples to demonstrate that several notions of compatibility can be distinguished, and we prove that multiple versions of the problem are PSPACE-complete. Furthermore, we show that, assuming the polynomial hierarchy does not collapse, there exist compatible succinct conditionals whose joint cannot be expressed succinctly. Implications of these results for probabilistic modelling and machine learning are discussed.
1
Introduction
A joint distribution p(x, y) over X × Y implicitly defines conditional distributions p(x|y) = P p(x,y)′ and p(y|x) = P p(x,y) . Conversely, determining whether conditional distributions ′ p(x ,y) ′ p(x,y ′ ) x
y
p(x|y) and p(y|x) are compatible with some joint distribution p(x, y) is known as the compatibility problem (Arnold and Press, 1989). It can be solved as a constraint satisfaction problem using techniques from linear algebra (Arnold et al., 2004). However, if either of the spaces X and Y are large, iterating over all points is computationally expensive. A number of authors have sought more efficient algorithms (for example: Tian et al., 2008; Ip and Wang, 2009; Chen, 2010; Kuo and Wang, 2011; Yao et al., 2014; Kuo et al., 2017; Miranda and Zaffalon, 2020). However, the question remains how far the cost can be reduced. In fact, in high-dimensional settings, it would be prohibitive to even store a distribution as an enumeration of all values. In practice, a probabilistic model might store only a small number of parameters, which can be used to calculate any particular probability. In other words, the probabilistic model is a succinct representation, in the sense of Galperin and Wigderson (1983), but applied to distributions rather than graphs. However, to our best knowledge, the compatibility problem has not been studied in the succinct setting. In this paper, we formalise such a probability distribution as a succinct arithmetic circuit (Darwiche, 2003) with a further constraint that all values can be expressed succinctly (that is, with a bounded number of digits). This setting includes Bayesian networks, where inference is known to be #P-complete (Roth, 1996). At first sight, it seems possible that the compatibility problem might be simpler than Bayesian inference, since the conditionals are provided as input, and do not need to be computed from scratch. The main result of this paper is that the succinct compatibility problem is intractable. If all probabilities are non-zero, the problem is co-NP-complete, because incompatibilities can be identified locally. If probabilities can be zero, the non-zero conditional probabilities define a directed graph over X × Y. This graph may have multiple strongly connected components,
1
and we could require compatibility in all components (strong compatibility), or in at least one (weak compatibility). We show the strong and weak compatibility problems are both PSPACE-complete. If a joint exists, we may also wish to know whether it can be expressed succinctly. We define two notions of tractable compatibility, a weaker one requiring that each probability value requires only polynomially many digits to express, and a stronger one requiring that the joint can be represented as a succinct circuit. We show that determining compatibility with a tractably valued joint is still PSPACE-complete, while determining compatibility with a P succinctly expressible joint is only ΣP 2 -complete. Assuming that Σ2 ̸= PSPACE, these results mean that there are families of compatible succinct conditionals whose joints have succinctly expressible values but which nonetheless cannot be represented as succinct circuits.
2
Succinct Circuit Representations of Distributions
Consider random variables over boolean vectors {0, 1}n . We define a circuit representation of a distribution as an arithmetic circuit (Darwiche, 2003), which takes the values of the random variable(s) as input and gives the probability as output. More precisely, an arithmetic circuit is a directed acyclic graph, where each node is labelled as an input (with no incoming edges), an integer constant (with no incoming edges), or an operation (+ or ×, with exactly two incoming edges); some nodes can be additionally labelled as output. Rational numbers can be represented as pairs of integers, and so an arithmetic circuit with two output nodes can be used to represent a probability distribution. To represent a conditional distribution p(x|y), both x and y are considered as input, using n input nodes to represent a random variable over {0, 1}n . However, for such a circuit to represent a tractable computation, we must also ensure that each node can be tractably computed. As a counterexample, consider a circuit structured as a long chain, starting from the constant 2, with each subsequent step in the chain multiplying the previous number with itself; after n multiplican tions, this circuit computes the double exponential 22 , which requires exponentially many bits of memory. Definition 1. A tractable circuit representation of a distribution is an arithmetic circuit with exactly two output nodes, such that, given any values in {0, 1} for the input nodes, the number of bits in the binary representation of each node is bounded by the size of the circuit. Such arithmetic circuits are flexible enough to simulate arbitrary boolean circuits. By discretising real numbers to any given degree of accuracy, we can also simulate numerical algorithms. In particular, by introducing max as an additional operation that finds the maximum of two nodes, tractable arithmetic circuits can simulate neural networks with piecewise polynomial activation functions (for example, ReLU). Definition 2. A family of distributions is succinctly representable if the distributions can be represented by tractable circuits of polynomially bounded size with respect to the number of input nodes. Definition 1 uses a linear bound on bit lengths, but any polynomial bound could be used instead, in order to define the same families of distributions in Definition 2: given a family of circuits whose binary node values have lengths bounded by a polynomial in circuit size, we can construct a “padded” family of circuits satisfying Definition 1, which are only polynomially larger, and whose outputs always match the original family.
3
The Succinct Compatibility Problem
We first restrict ourselves to distributions that are non-zero everywhere. This avoids the problem that conditional probabilities are undefined when conditioning on an event with probability zero: p(y|x) is undefined if p(x) = 0, and p(x|y) is undefined if p(y) = 0. The case where probabilities can be zero will be considered in §4. In the non-zero case, we have the following result.1 1 This is naturally defined as a promise problem, since a circuit representation has no guarantee that the outputs are normalised to sum to 1. However, the compatibility problem can be extended to all inputs if we follow the convention that a circuit implicitly defines a distribution after its outputs are normalised. Ratios of probabilities are invariant to normalisation, and so this does not change any of the complexity results in this paper.
2
Theorem 1. Given tractable circuit representations of the conditionals p(x|y) and p(y|x), with p(x|y), p(y|x) > 0 for all (x, y), determining whether they are compatible with some joint p(x, y) is co-NP-complete. The proof is given in §3.1 and §3.2 (for the upper and lower complexity bounds, respectively). The basic idea is that, in order to check compatibility, we need to check a constraint on each set of four points (x1 , x2 , y1 , y2 ), following Arnold and Gokhale (1994). Intuitively, this is a co-NP-complete problem because we have exponentially many constraints to check, and any single violation means the conditionals are incompatible.
3.1
Proof of upper bound: Non-zero Succinct Compatibility is in co-NP
We define a verifier, with certificates of incompatibility of the form (x1 , x2 , y1 , y2 ). A certificate can be verified by checking: p(x1 |y1 )p(y1 |x2 )p(x2 |y2 )p(y2 |x1 ) ̸= p(y1 |x1 )p(x1 |y2 )p(y2 |x2 )p(x2 |y1 )
(1)
This inequality can be checked in linear time with respect to the maximum circuit size of p(x|y) and p(y|x). We must now show that this verifier is correct. First, suppose compatibility. Then a joint distribution and marginal distributions exist, such that p(x|y)p(y) = p(x, y) = p(y|x)p(x) for any (x, y). Therefore, for any (x1 , x2 , y1 , y2 ): p(x1 |y1 )p(y1 |x2 )p(x2 |y2 )p(y2 |x1 )p(x1 )p(x2 )p(y1 )p(y2 )
(2)
= p(y1 |x1 )p(x1 |y2 )p(y2 |x2 )p(x2 |y1 )p(x1 )p(x2 )p(y1 )p(y2 )
If any marginal probability p(a) is zero, conditional probabilities p(a|b) would also be zero. The marginal terms are therefore non-zero and cancel, so the verifier rejects any certificate. Conversely, suppose every certificate is rejected. Then fix some (x0 , y0 ). A joint distribution can be constructed as the following, which is well-defined since all conditional probabilities are non-zero: p(x|y)p(y|x0 ) p(x, y) = α (3) p(x0 |y)p(y0 |x0 ) The value P of the normalisation constant α = p(x0 , y0 ) is defined by summing over all (x, y) to ensure p(x, y) = 1. We must now show this joint distribution is compatible with both conditionals. In the above expression, the only term that depends on x is p(x|y), and so P p(x,y)′ = P p(x|y) = p(x|y) as required. ′ x′ p(x ,y) x′ p(x |y) Furthermore, for every (x, y), the certificate (x, x0 , y, y0 ) is rejected, and so: p(x, y) = α
p(y|x)p(x|y0 ) p(y0 |x)p(x0 |y0 )
(4)
Here, the only term that depends on y is p(y|x), and so we also have P p(x,y) = p(y|x). ′ p(x,y ′ ) y
Therefore, all certificates are rejected iff p(x|y) and p(y|x) are compatible.
3.2
Proof of lower bound: Non-zero Succinct Compatibility is co-NP-hard
We show this by reduction from tautology, the co-NP-complete problem of determining whether a given boolean formula is true under every assignment of values to its variables. To define a reduction, the idea is to use x to hold the variables, and to adjust the distribution of p(y|x) depending on the value of the formula, so that any false value creates an incompatibility. Given a boolean formula φ with n variables, let X = Y = {0, 1}n , let p(x|y) = 21n , and let: 1 if φ(x) = ⊤ 2n 2 p(y|x) = 2n +1 if φ(x) = ⊥ and x = y (5) 1 if φ(x) = ⊥ and x = ̸ y n 2 +1 By construction, both p(y|x) and p(x|y) are representable by circuits linear in the length of φ, and the reduction can be performed in linear time. If φ is a tautology, then p(y|x) and p(x|y) are compatible, with uniform joint distribution 1 p(x, y) = 22n . Conversely, suppose there is some x⋆ for which φ(x⋆ ) = ⊥. Choose any x0 ̸= x⋆ . Then the certificate (x0 , x⋆ , x0 , x⋆ ) is rejected by (1), since the p(x|y) terms cancel, and for the p(y|x) terms, we have p(x0 |x0 ) ≥ p(x⋆ |x0 ), and p(x⋆ |x⋆ ) > p(x0 |x⋆ ). Therefore, φ is a tautology iff p(x|y) and p(y|x) are compatible.
3
4
Succinct Compatibility with Zeroes
If at least one term on each side of (1) is zero, then we immediately have equality. Arnold and Gokhale (1998) give the following counter-example of incompatible conditionals where we always have equality in (1), showing that further constraints are necessary. 1 1 1 2 0 0 2 2 3 3 p(y|x) = 0 12 21 p(x|y) = 0 13 23 (6) 1 1 2 1 0 2 0 3 2 3 In fact, when we allow zero probabilities, we have more than one way to define compatibility, because conditioning on an event with zero probability is undefined. Following Walley (1991) and Miranda (2009), we can distinguish strong and weak compatibility, which differ in whether or not the conditionals are constrained in the cases where the joint assigns zero probability to the conditioning event:2 Definition 3. Conditionals p(x|y) and p(y|x) are weakly compatible if there exists a joint p(x, y) such that p(x|y) = P p(x,y) and p(y|x) = P p(x,y) whenever these values are ′ ′ x′ p(x ,y) y ′ p(x,y ) defined. Definition 4. Conditionals p(x|y) and p(y|x) are strongly compatible if there exists a joint p(x, y) such that p(x|y) = P p(x,y) and p(y|x) = P p(x,y) whenever these values are ′ p(x′ ,y) ′ p(x,y ′ ) x
y
defined, and p(x|y) = p(y|x) = 0 otherwise. Because of the special behaviour of zero probabilities, it is convenient to view the conditionals as defining a graph, where edges correspond to non-zero probabilities: Definition 5. Given p(x|y) and p(y|x), their non-zero graph is defined by the set of nodes {(x, y) | p(y|x) > 0 or p(x|y) > 0}, with directed edges (x, y) → (x, y ′ ) whenever p(y ′ |x) > 0 and (x, y) → (x′ , y) whenever p(x′ |y) > 0. If forward and reverse edges exists, we have a finite probability ratio: ′
|x) Definition 6. The probability ratio of an edge (x, y) → (x, y ′ ) is p(y , and of an edge p(y|x) ′
|y) . The probability ratio of a path is the product of its edge ratios. (x, y) → (x′ , y) is p(x p(x|y)
For strongly compatible conditionals, if two paths start and end at the same nodes, they must have the same ratio, equal to the ratio of joint probabilities (as observed by Besag, 1994; Kuo and Wang, 2011). Therefore, all loops (closed paths) must have ratio 1. In fact, this is also sufficient, as stated below in Lemma 1. For example, in (6), there is exactly one non-trivial loop (without repeating nodes), and so it is necessary and sufficient to check the following constraint, a product of six probability ratios: p(y2 |x1 )p(x2 |y2 )p(y3 |x2 )p(x3 |y3 )p(y1 |x3 )p(x1 |y1 ) =1 p(x1 |y2 )p(y2 |x2 )p(x2 |y3 )p(y3 |x3 )p(x3 |y1 )p(y1 |x1 )
(7)
Lemma 1. Conditionals p(x|y) and p(y|x) are strongly compatible iff every edge in the nonzero graph has a reverse edge and every loop has probability ratio 1; they are weakly compatible iff there is some strongly connected component of the non-zero graph where every outgoing edge has a reverse edge and every loop has probability ratio 1. Proof. The strongly compatible case is proved by Slavkovic and Sullivant (2006) (our probability ratios correspond to their binomials). It can also be proved by generalising the construction in §3.1, constructing the joint in terms of probability ratios of paths, and fixing not just one point but one point in each connected component of the graph. Now suppose the conditionals are weakly compatible. The joint must be non-zero at some node. Furthermore, that node’s strongly connected component cannot have edges to other components (if an edge a → b does not have a reverse edge b → a, the joint must have p(a) = 0, contradicting that the joint is non-zero in the component). Restricting the conditionals to this strongly connected component is therefore well-defined and gives the strongly compatible case, and so all loops in the component have ratio 1. Conversely, suppose there is some strongly connected where all loops have ratio 1. Restricting the conditionals to this component gives 2 These definitions allow the joint not to have full support in its margins, and allow the conditionals to formally sum to 0 when the conditioning event has zero probability. Restricting the input conditionals to disallow this would not affect the complexity results.
4
the strongly compatible case, and so we have a compatible joint over this component. This extends to a weakly compatible joint over the whole space, by setting the joint to 0 outside the component. An example is given in (8), using rows for x and columns for y, showing weakly compatible conditionals with two different violations of strong compatibility. There are three strongly connected components, {(1, 1), (1, 2), (2, 1), (2, 2)}, {(3, 3), (3, 4), (4, 3)}, and {(4, 4), (4, 5), (5, 4), (5, 5)}. The first component has inequality in (1), while the second component has directed edges to the third (but not vice versa). Either of these violations is sufficient to show that the conditionals are not strongly compatible; for weak compatibility, the joint must assign zero probability to both the first and second components. The third component has no violations of either type and this is sufficient to show that the conditionals are weakly compatible. 1 1 2 1 0 0 0 0 0 0 2 2 3 3 1 1 0 0 0 1 2 0 0 0 2 2 3 3 1 1 p(y|x) = 0 0 2 2 0 p(x|y) = 0 0 12 0 0 (8) 1 1 1 1 1 0 0 0 2 2 0 0 2 2 2 0
0
0
1 2
1 2
0
0
0
1 2
1 2
We have the following result, with the proof given in §4.1 and §4.2: Theorem 2. Given tractable circuit representations of the conditionals p(x|y) and p(y|x), determining whether they are strongly (weakly) compatible is PSPACE-complete. However, the existence of a joint does not mean that the joint is also succinctly representable. For example, consider the following conditionals, where x, y ∈ {0, 1}n , and for ease of notation, we view x and y as integers represented in binary: n 1 if x = y = 2 − 1 1 if x = y = 0 2 else if y = x 2 else if x = y − 1 p(y|x) = 31 p(x|y) = 31 (9) else if y = x + 1 else if x = y 3 3 0 otherwise 0 otherwise These conditionals are compatible, with non-zero joint probability where y = x or y = x + 1. The non-zero graph forms a chain (so no non-trivial loops exist, and so there are no corresponding constraints), with (x, x) connected to (x, x + 1) and (x − 1, x). The chain is exponentially long (with 2n+1 − 1 nodes), and each subsequent node has half the previous node’s probability, so the the probability of the final node is doubly exponentially small, which means the denominator’s binary representation has an exponential number of digits.3 This motivates two increasingly strict notions of compatibility, as well as a weaker notion of a succinct family of distributions.4 Definition 7. Two circuit representations of conditionals are strongly (weakly) compatible with tractable values, if they are strongly (weakly) compatible with a joint distribution where every ratio of two joint probabilities has numerator and denominator with binary length bounded by the total size of the two circuits. Definition 8. Two circuit representations of conditionals are strongly (weakly) compatible with a tractable joint, if they are strongly (weakly) compatible and the joint distribution can be represented by a tractable circuit with size bounded by the total size of the two circuits. Definition 9. A family of distributions is succinctly valued if the binary length of the numerator and denominator of each probability is polynomially bounded with respect to the number of dimensions. The conditionals in (9) are compatible, but not compatible with tractable values. Compatibility with a tractable joint implies compatibility with tractable values, but the converse might not be true. We have the following two results. The proof of Theorem 3 is given in §4.1 and §4.2, alongside the proof of Theorem 2. The proof of Theorem 4 is given in §4.3. 1 . More generally, for a polynomially bounded circuit, we n+1 −1 22 −1 could have each edge with an exponential ratio 2p(n) , for some polynomial p(n), but the probability ratio between 3 More precisely, we have p(2n − 1, 2n − 1) =
n+1
−2) , not triply exponential. the first and last nodes is still only doubly exponential, 2p(n)(2 4 As with the definitions of tractable circuits and succinctly representable families of distributions in Definitions 1 and 2, the linear bounds in Definitions 7 and 8 could be replaced with a polynomial bound without affecting Definition 9. Similarly, in Definition 7, the more obvious definition would directly use probabilities, rather than ratios. Using ratios simplifies the statement and proof of Theorem 3, while giving the same families of distributions.
5
Theorem 3. Given tractable circuit representations of the conditionals p(x|y) and p(y|x), determining whether they are strongly (weakly) compatible with tractable values is PSPACEcomplete. Theorem 4. Given tractable circuit representations of the conditionals p(x|y) and p(y|x), determining whether they are strongly (weakly) compatible with a tractable joint is ΣP 2 -complete. Corollary. Assuming ΣP 2 ̸= PSPACE, there are families of succinctly representable conditionals whose joints are succinctly valued but not succinctly representable. To prove the complexity upper bounds, the basic idea is to consider constraints defined by loops, somewhat similarly to Slavkovic and Sullivant (2006). However, a PSPACE algorithm over succinct circuits cannot explicitly store arbitrary paths or subgraphs, since there could be doubly exponentially many of them. However, there is a high level of redundancy in the set of constraints, which means that it is not necessary to iterate through all of them. While the full set of constraints is necessary to characterise the whole space of compatible conditionals (as done by Slavkovic and Sullivant), we can determine compatibility of any particular pair of conditionals by considering a smaller set of constraints. The proof is simplified by providing a non-deterministic algorithm which walks over the non-zero graph, rejecting if we return to the starting node and the probability ratio is not 1. The redundancy in the constraints allows us to only keep track of the ends of the path and its probability ratio, while other information about the path can be forgotten. A more precise characterisation of the redundancy in the constraints is given in §5, along with a sketch of a deterministic algorithm.
4.1
Proof of upper bound: Succinct Compatibility is in PSPACE
We have four results to prove, for strong/weak compatibility with/without tractable values (Theorems 2 and 3). We start with strong compatibility with tractable values. Since NPSPACE = PSPACE (Savitch, 1970), we define the following non-deterministic algorithm. Furthermore, since PSPACE is closed under complement, for ease of exposition we define the algorithm such that it rejects if a single computation path rejects. Non-deterministically pick a point (x, y) ∈ {0, 1}n × {0, 1}m . If exactly one of p(x|y) and p(y|x) is zero, reject; if both are zero, accept. Otherwise, record (x, y) as the starting node, initialise (x, y) as the current node of a non-deterministic walk, initialise a counter (from 0 to 2min{n,m}+1 ), and initialise 1 as the current probability ratio, with the amount of memory for the numerator and denominator set as the total size of the two input circuits. At each step of the walk, non-deterministically choose the next node, changing only one of x and y in the current node. If exactly one of the edges to and from that node exists, reject; if neither exist, accept; otherwise (when both exist), multiply the current probability ratio by the edge’s probability ratio (simplifying numerator and denominator if possible), update the current node of the walk, and increment the counter. If the probability ratio exceeds the allowable memory, reject. If the current node is equal to the starting node, check whether the probability ratio is equal to 1: accept if it is, and reject if it is not. If the counter has reached its max value, accept; otherwise, continue the walk. If the conditionals are strongly compatible with tractable values, they are non-zero for the same values and every loop has probability ratio 1 (by Lemma 1), and the probability ratio of every path fits into memory (be definition). Therefore, for any computation path, the algorithm accepts. Conversely, if the conditionals are not strongly compatible with tractable values, either there is some (x, y) where exactly one conditional is non-zero, or there is some loop whose probability ratio is not 1 with the length of the loop bounded by 2min{n,m}+1 (any longer loop can be decomposed into shorter loops), or some probability ratio cannot fit into memory. In each case, there is a rejecting computation path. We now turn to strong compatibility without tractable values. A path’s probability ratio is 1, iff all terms cancel, iff all prime factors of those terms cancel. We know that all values of circuit nodes have at most k digits, where k is the total circuit size. and so we only need to consider primes up to 2k . We can amend the algorithm, non-deterministically choosing a prime p up to this size, at the beginning of the algorithm. Instead of storing the probability ratio, we store only the exponent of p, i.e. the number of times it divides the numerator or denominator, while all other prime factors are ignored. Instead of checking whether the probability ratio is 1, we check whether the exponent of p is 0. The stored exponent is
6
bounded by the maximum exponent in one edge ratio (k) times the maximum path length (2min{n,m}+1 < 2k ), and so it can be stored in polynomial space with respect to k. Finally, we turn to weak compatibility (with or without tractable values). The conditionals are weakly compatible iff there is a strongly connected component without outgoing edges to other components where all loops have ratio 1 (Lemma 1). We amend the algorithm to take a starting node as input (instead of choosing it non-deterministically). When checking the existence of edges, an incoming edge without an outgoing edge is not rejected, but an outgoing edge without an incoming edge is still rejected. This gives an NPSPACE = PSPACE algorithm for compatibility of the strongly connected component that includes the starting node. Since PSPACEPSPACE = PSPACE, we can iterate over all starting nodes, and accept if a single one accepts.
4.2
Proof of lower bound: Succinct Compatibility is PSPACE-hard
For circuit representations of graphs, the connectivity problem and st-connectivity problem are both is PSPACE-complete (Papadimitriou and Yannakakis, 1986; Balcázar et al., 1992). Given succinctly encoded undirected graph (V, E), define a new graph with nodes V ∪ (V × V ), and edges between v and (v, v ′ ) for each vv ′ ∈ V as well as between (v, v ′ ) and (v ′ , v) if (v, v ′ ) ∈ E. This graph can also be encoded succinctly, and it is connected iff the original graph is connected. Furthermore, the degree of each node in the new graph can be determined in polynomial time: each node v has degree |V |, and each node (v, v ′ ) has degree 2 if (v, v ′ ) ∈ E and degree 1 otherwise. We can therefore define a uniform random walk on the graph, where the conditional p(y|x) of taking one step can be calculated in polynomial time. If we also define p(x|y) in the same way, the two are compatible, with the joint being a stationary distribution of the random walk over the graph (unique iff the graph is connected). We can reduce connectivity to weak compatibility by modifying the p(x|y) distribution at one point (e.g. as if some node v has an extra self-connection). Then the conditionals are not compatible within v’s connected component. Therefore, the conditionals are weakly compatible iff there is another connected component, i.e. the graph is disconnected. We can reduce st-connectivity to strong compatibility as follows. We add an additional node u to the new graph, adding non-zero probability to (t, u), (u, u), and (u, s). If s is connected to t, this creates a loop whose probability ratio must be 1; if they are not connected, no new constraints are introduced. with p(Y = u|X = t) ∝ 1 (scale down rest), p(Y = s|X = u) = p(Y = u|X = u) = 21 , p(X = t|Y = u) = p(X = u|Y = u) = 12 , p(X = u|Y = s) ∝ 1 (scale down rest). The conditionals are strongly compatible iff the random walk admits a stationary distribution where s and t have equal probability. Now duplicate the entire graph, but with p(X = t|Y = u) = 31 and p(X = u|Y = u) = 32 in the second copy. The conditionals are strongly compatible iff the random walk admits a stationary distribution where t has twice the probability of s. The random walk admits both stationary distributions iff s and t are not connected. Therefore, the conditionals are strongly compatible iff s and t are not connected. When compatible, these reductions always give circuits compatible with tractable values, because, within each connected component, a node’s probability is proportional to the node’s degree. Each probability ratio is therefore equal to the ratio of the nodes’ degrees. The maximum degree of a node is bounded by the number of nodes, which is always less than 2n , where n is the number of inputs in the circuit, so probability ratios have numerator and denominator both with at most n bits.
4.3
Proof: Succinct Compatibility with a Tractable Joint is ΣP 2 -complete
Weak compatibility with a tractable joint is in ΣP 2 , since a necessary and sufficient condition can be expressed with ∃∀ quantifiers: there exists a tractable circuit for the joint and there exists a point (x0 , y0 ) with non-zero joint probability, such that for every triple (x, y1 , y2 ) or (x1 , x2 , y), the conditional ratio agrees with the joint ratio, i.e. p(y1 |x)p(x, y2 ) = p(y2 |x)p(x, y1 ) and p(x1 |y)p(x2 , y) = p(x2 |y)p(x1 , y), respectively. Strong compatibility with a tractable joint is similarly in ΣP 2 , but if both joint probabilities are zero, we require both conditional probabilities to be zero. P Weak compatibility with a tractable joint is ΣP 2 -hard, by reduction from the Σ2 -hard problem of determining whether a boolean proposition ∃u∀vφ(u, v) is true. Given φ(u, v), we define x and y each of the form (u, v). We now define conditional distributions such that each u forms one connected component (non-zero probability only when x = (u, v1 ) and y = (u, v2 )),
7
and a single false value for some v forces incompatibility in that component (using the same construction as in §3.2). So ∃u∀vφ(u, v) iff there is some compatible component, i.e. the conditionals are weakly compatible. If the joint distribution exists, it is uniform, therefore tractable. Strong compatibility with a tractable joint is also ΣP 2 -hard. For φ(u, v), we construct a potentially long loop, where each u is one potential link, and any false (u, v) constructs the link (with probability ratio 1); furthermore, we add a potentially contradictory link from start to end (with probability ratio 2). More precisely, viewing u as encoding an integer from 0 to 2n − 1, we define x and y to each be of the form (u, v) or u or 2n . We define both conditionals to assign non-zero probability mass to the following points: (u, u); (2n , 2n ); (2n , 0); (u, (u, v)); ((u, v), u + 1); and for each φ(u, v) = ⊥, ((u, v), (u, v)). All distributions are uniform except for p(x|(0, 0)) where we set p((2n , 0)|(0, 0)) = 2p((0, 0)|(0, 0)). By construction, ∀u∃v¬φ(u, v) iff the conditionals are incompatible, i.e. ∃u∀vφ(u, v) iff the conditionals are compatible. Each conditional is tractable, as calculating any probability requires at most one evaluation of φ, and then the return value is one of 0, 1, 12 , or 2m1+1 . If the joint exists, it is tractable: given a witness u⋆ , a (not necessarily unique) compatible joint assigns unnormalised probability 1 whenever u ≤ u⋆ in the x component, and 2 otherwise. (Finding the normalisation constant is not necessary for determining compatibility; a tractable circuit with the correct normalisation exists.) Remark. This last construction builds gadgets for existential and universal quantifiers (logical OR and AND gates ranging over u and v values), and this can be generalised to give an alternative proof of PSPACE-hardness (§4.2). However, the generalised construction does not provide a tractable joint.
5
Algebraic Structure of Compatibility Constraints
Although the set of loops in the non-zero graph can be doubly exponentially large, for any problem instance we only need to check at most exponentially many. We already know from linear algebra that we have at most (2n − 1)(2m − 1) independent constraints. The aim of this section is to more precisely characterise the set of compatibility constraints for any given pair of conditionals. It is helpful to distinguish constraints on the minimal loops of four points, as in (1), from constraints on longer loops, as in (7), which we formalise in Definitions 10 and 11. Intuitively, the computationally hardest part of the succinct compatibility problem is finding these longer loops, and it is PSPACE-complete because path-finding on succinct graphs is PSPACE-complete. In contrast, the non-zero case is only co-NP-complete because it is fully characterised by local constraints. Definition 10. Given p(x|y) and p(y|x), a local compatibility constraint is the probability ratio of a loop in the non-zero graph of the form (x1 , y1 ) → (x1 , y2 ) → (x2 , y2 ) → (x2 , y1 ) → (x1 , y1 ) (which must equal 1). Definition 11. Given p(x|y) and p(y|x), a non-local compatibility constraint is a probability ratio of a loop in the non-zero graph, that cannot be expressed as a product of local constraints. By Lemma 1, strong compatibility requires all edges in the non-zero graph to have reverse edges, and weak compatibility only depends on the strongly connected components without outgoing edges to other components. We therefore restrict to considering graphs where all reverse edges exist, and so we can view the non-zero graph as undirected. Local constraints are easy to find, and we can formalise the idea of factoring them out using homology theory. It simplifies the presentation to use polygonal complexes, which generalise simplicial complexes: Definition 12. Given p(x|y) and p(y|x), where all reverse edges exist in the non-zero graph, their non-zero polygonal complex is defined with graph nodes as polyhedral vertices, graph edges as polyhedral edges, a triangular face when all three {(x, y1 ), (x, y2 ), (x, y3 )} or {(x1 , y), (x2 , y), (x3 , y)} exist, and a square face when all four {(x1 , y1 ), (x1 , y2 ), (x2 , y1 ), (x2 , y2 )} exist. Lemma 2. Given p(x|y) and p(y|x), where all reverse edges exist in the non-zero graph, the non-zero polygonal complex is a well-defined polygonal complex. Proof. We need to show that all non-empty intersections of faces are edges or vertices. All singleton subsets of a face are vertices by definition. If both (x, y1 ) and (x, y2 ) exist, then
8
by definition of the non-zero graph, there is an edge between them (similarly for (x1 , y) and (x2 , y)); therefore all non-empty intersections with a triangular face give a vertex or edge. Each square face {(x1 , y1 ), (x1 , y2 ), (x2 , y1 ), (x2 , y2 )} contains exactly four edges (keeping one x or y value fixed), again by definition of the non-zero graph. A non-empty intersection of two square faces must share at least one x value and one y value; if exactly one of each, this gives a vertex; if two of one and one of the other, this gives an edge. Each local constraint corresponds to a square face. Each triangular face formally has a constraint, but it only includes terms from one conditional and is trivially satisfied. The triangular faces are nonetheless necessary when considering independence of constraints: they encode the fact that edge ratios cannot be set independently, but rather must derive from the same conditional distribution. Theorem 5. Given p(x|y) and p(y|x), where all reverse edges exist in the non-zero graph, the number of independent non-local compatibility constraints is equal to the rank of the first homology group of the non-zero polygonal complex. Proof. Probability ratios form a group under multiplication: every product of ratios is a ratio, and every ratio has an inverse (its reciprocal). Furthermore, every ratio can be expressed in terms of an integer exponent for each edge in the non-zero graph (with the sign of the integer corresponding to the direction in which the edge is followed), which is exactly the definition of a homological 1-chain. Compatibility constraints are ratios of loops, and so are precisely the 1-chains without boundary. Local constraints are precisely the boundaries of square faces. Multiplication of ratios is isomorphic to addition of 1-chains. In other words, expressing a constraint as a product of other constraints is equivalent to expressing a 1-chain as a sum of other 1-chains. In particular, the constraints expressible as a product of local constraints are isomorphic to the boundary subgroup generated by the faces of the polygonal complex. Equivalence classes of non-local constraints are isomorphic to the first homology group (factoring out the boundary subgroup). A maximal set of independent non-local constraints is precisely a minimal generating set of the group, and so the number of independent constraints is the rank of the group. Remark. To solve the compatibility problem, it is sufficient to check a generating set of constraints. For any equivalence class of non-local constraints, we can check a constraint with minimum length. This suggests the following PSPACE algorithm, which iterates through constraints more explicitly than the proof in §4.1. For every set of three points, we can run the st-connectivity algorithm between each pair of points, to find a minimum-length loop containing those points. The st-connectivity algorithm can be modified, still in PSPACE, to also return the probability ratio (for compatibility with tractable values) or the number of times a prime appears in the ratio (for compatibility in the general case).
5.1
Constructing Hard Problem Instances
The aim of this section is to construct problem instances where independent non-local constraints are large in both number and length, both of which contribute to the complexity of the problem. However, we first look at simpler examples. All reverse edges exist iff the conditionals have the same non-zero values. We present the non-zero structure as a matrix, writing a dot (·) to denote a non-zero value (a node in the non-zero graph). The left-hand example in (10) corresponds to (6). Its polygonal complex is a hexagonal loop, so its first homology group is of rank 1. All three zeroes are necessary for it to have a non-trivial homology group: if we make one of them non-zero, the polygonal complex is equivalent to a disc (the hexagon is filled with two squares and two triangles). The middle and right-hand examples in (10) have rank 2 and 3, respectively. These three examples can be generalised to n values with rank n − 2. For n > 3, there are more than n − 2 constraints that do not repeat any points, but they can all be generated by a (non-unique) set of size n − 2. · · · · 0 · · · 0 · · 0 0 0 · · 0 0 0 · · 0 0 · 0 · 0 · · (10) 0 · 0 · 0 · 0 0 · · 0 · · 0 0 · · 0 0 0 · The examples in (11) both have rank 1, homology-equivalent to a circle. The left-hand example has no local constraints; its polygonal complex is a closed chain with no faces, and its
9
homology group is generated by a loop of path length 10. This construction can be generalised to n values with rank 1, where the generating loop is of length 2n. (It can also be used to encode a logical AND gate, while the construction in (10) can be used to encode a logical OR gate, both as seen in §4.3.) The right-hand example in (11) has 5 independent local constraints; its polygonal complex is equivalent to a Möbius strip (comprising five squares, each joined to adjacent squares by two triangles, but with a twist at each step). Its homology group is generated by an equivalence class of loops, of path length between 6 and 10 (ignoring loops that include any x or y value more than twice). All of these loops must have the same probability ratio, if all local constraints are satisfied. · · 0 0 · · · 0 0 0 · · · 0 0 0 · · 0 0 0 · · · 0 0 0 · · 0 (11) 0 0 · · · 0 0 0 · · · 0 0 · · · 0 0 0 · With more values, more intricate structures are possible. The left-hand example (12) has rank 4, with no local constraints. There are several ways to see that it has rank 4. Most simply, it is equivalent to three circles joined in a ring: three copies of the left-hand example in (10), joined together (with two triangles at each of the three joins). Alternatively, it is equivalent to a 4-punctured projective plane (we can fill in 3 hexagonal holes, creating a Möbius strip, and fill the remaining twelve-sided hole to give a projective plane), or a 3-punctured torus (we can fill 3 ten-sided holes). These alternative views are possible because there are many points adjoining more than two boundary edges. We can also see the left of (12) as having a long “spine” like the examples in (11), with 4 additional points that each increase the rank by 1. With 7 values, we can fit a whole diagonal of such points, without creating any square faces, as shown on the right of (12), which has rank 8. · · 0 0 0 · 0 · · 0 0 · 0 0 · · 0 0 0 · 0 · · 0 0 0 · 0 · · 0 0 0 · 0 · · 0 0 0 · 0 · · 0 0 (12) 0 0 0 · · 0 0 0 · 0 · · 0 0 0 · 0 · · 0 0 0 · 0 · · · 0 0 0 0 · · 0 0 0 · 0 · With 15 values, we can fit four diagonals without any square faces (two diagonals giving the spine, plus two additional diagonals), giving rank 31, as shown in (13). We can continue this construction: to fit k diagonals, we need 2k −1 values, giving rank (k −2)(2k −1)+1. More precisely, labelling the rows from 1 to 2k − 1, the first column is non-zero precisely at each row 2j − 1. Asymptotically, for n values, this has rank n log n, which is large, but nonetheless much smaller than the O(n6 ) possible loops of length 6. · 0 · 0 0 0 · 0 0 0 0 0 0 0 ·
· · 0 · 0 0 0 · 0 0 0 0 0 0 0
0 · · 0 · 0 0 0 · 0 0 0 0 0 0
0 0 · · 0 · 0 0 0 · 0 0 0 0 0
0 0 0 · · 0 · 0 0 0 · 0 0 0 0
0 0 0 0 · · 0 · 0 0 0 · 0 0 0
0 0 0 0 0 · · 0 · 0 0 0 · 0 0
0 0 0 0 0 0 · · 0 · 0 0 0 · 0
0 0 0 0 0 0 0 · · 0 · 0 0 0 ·
· 0 0 0 0 0 0 0 · · 0 · 0 0 0
0 · 0 0 0 0 0 0 0 · · 0 · 0 0
0 0 · 0 0 0 0 0 0 0 · · 0 · 0
0 0 0 · 0 0 0 0 0 0 0 · · 0 ·
· 0 0 0 · 0 0 0 0 0 0 0 · · 0
0 · 0 0 0 · 0 0 0 0 0 0 0 · ·
(13)
In the above construction, the homology group is generated by constraints of path length 6, i.e. the shortest possible non-local constraints. To increase the minimum generator length, we
10
can again start from a long spine, and add a diagonal which is not only further from the spine, but also has gaps. This construction generalises the right-hand of (12), which can be seen as 7 overlapping loops of length 6. We have slightly different behaviour depending on whether the generator length is a multiple of 4. For length 4a + 2 (where a > 2), we can overlap 4a + 1 loops. This adds a diagonal at a distance of 2a from the spine, with a non-zero value every a places. This gives a(4a + 1) values, with rank 4a + 2 and generator length 4a + 2. The case a = 2 is shown in (14). For length 4a (where a > 2), we can overlap 4a loops, which adds one diagonal either side of the spine, both at a distance of 2a − 1, and both with a non-zero value every 2a − 1, but out of phase with each other. This gives 2a(2a − 1) values, with rank 4a + 1 and generator length 4a. The case a = 2 is shown in (15). · 0 0 0 · 0 0 0 0 0 0 0 0 0 0 0 0 ·
· · 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 · · 0 0 0 · 0 0 0 0 0 0 0 0 0 0 0
0 0 · · 0 0 0 0 0 0 0 0 0 0 0 0 0 0 · 0 0 · 0 0 0 0 0 0 0 ·
0 0 0 · · 0 0 0 · 0 0 0 0 0 0 0 0 0
0 0 0 0 · · 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 · · 0 0 0 · 0 0 0 0 0 0 0
0 0 0 0 0 0 · · 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 · · 0 0 0 · 0 0 0 0 0
0 0 0 0 0 0 0 0 · · 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 · · 0 0 0 · 0 0 0
0 0 0 0 0 0 0 0 0 0 · · 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 · · 0 0 0 · 0
0 0 0 0 0 0 0 0 0 0 0 0 · · 0 0 0 0
· · 0 0 0 0 0 0 0 0 0 0
0 · · 0 0 0 0 0 0 0 · 0
0 0 · · 0 0 · 0 0 0 0 0
0 0 0 · · 0 0 0 0 0 0 0
0 · 0 0 · · 0 0 0 0 0 0
0 0 0 0 0 · · 0 0 · 0 0
0 0 0 0 0 0 · · 0 0 0 0
0 0 0 0 · 0 0 · · 0 0 0
· 0 0 0 0 0 0 0 · · 0 0
0 0 0 0 0 0 0 0 0 · · 0
· 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 · 0 · · 0 · 0 0 0 0 0 0 0 0 0 0 0 · 0 0 ·
0 0 · 0 0 0 0 0 0 0 0 0 0 0 0 · · 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ·
(14)
·
(15)
·
√ For n values, this construction gives rank and generator length both asymptotically 2 n. In the succinct case, we have n = 2k for k-dimensional inputs, so rank and generator length 1 are both asymptotically 2 2 k+1 .
6
Discussion
Trade-offs between computational tractability and other model properties are typically only understood informally, but the need to maintain tractability often drives researchers to rely on models that come with no guarantees on their performance. In a rare example of an explicit discussion of a trade-off, Bruinsma et al. (2023) consider probabilistic neural models for time-series data (including applications in environmental modelling, where physics-based simulations have extremely high computational cost). They articulate a set of four desirable properties, one of which is tractability of the objective function used in training, two of which are types of model flexibility, and the last of which is coherence of model predictions. For each combination of three properties, they give an example of a model which achieves those three properties but fails on the fourth, and they observe that no known model can achieve all four at once. This shows that a trade-off exists in practice, but without a theoretical justification.
11
The intractability of the succinct compatibility problem, as proved in this paper, demonstrates that high-dimensional probabilistic models are subject to a trade-off between computational tractability, model flexibility, and probabilistic coherence. The trade-off has different implications in different settings. If there are strong reasons for believing the structure of the model is correct (for example, models based on physical laws), we might prioritise flexibility and coherence, and therefore seek to make inferences despite the computational cost (for a survey, see: Cranmer et al., 2020). Alternatively, we might prioritise tractability and coherence. The results in this paper rely on using arithmetic circuits that are flexible enough to simulate boolean circuits. Restricting the class of arithmetic circuit, for example using Probabilistic Circuits (Vergari et al., 2021), can allow Bayesian inference to be tractable. Finally, we might prioritise tractability and flexibility, which are important in many applications of machine learning, including in cognitive science, where it is an open question to explain how all aspects of cognition are computationally tractable (Van Rooij, 2008; Colombo and Piccinini, 2023). The results of this paper imply that for flexible tractable models, we must expect to sometimes observe incoherence between conditionals. Furthermore, in many settings we are primarily interested in making predictions conditioned on observations, which requires the conditionals rather than the joint. The Corollary demonstrates that constructing tractable conditionals via tractable joints is itself a restriction on flexibility. In other words, there is a trade-off between tractability of the joint and flexibility of the conditionals. If we prioritise tractability and flexibility of the conditionals, this provides a strong theoretical motivation for developing models directly in terms of conditionals, rather than the traditional approach of first defining a joint.
References Barry C. Arnold, Enrique Castillo, and José Marı́a Sarabia (2004), Compatibility of partial or complete conditional probability specifications, Journal of statistical planning and inference, 123(1):133–159, doi:10.1016/S0378-3758(03)00137-X, URL https://www. sciencedirect.com/science/article/pii/S037837580300137X. Barry C. Arnold and Dattaprabhakar V. Gokhale (1994), On uniform marginal representation of contingency tables, Statistics & Probability Letters, 21(4):311–316, doi:10. 1016/0167-7152(94)00024-7, URL https://www.sciencedirect.com/science/article/ pii/0167715294000247. Barry C. Arnold and Dattaprabhakar V. Gokhale (1998), Distributions most nearly compatible with given families of conditional distributions, Test, 7(2):377–390, doi:10.1007/ BF02565119, URL https://link.springer.com/article/10.1007/BF02565119. Barry C. Arnold and S. James Press (1989), Compatible conditional distributions, Journal of the American Statistical Association, 84(405):152–156, URL https://www.jstor.org/ stable/2289858. José L. Balcázar, Antoni Lozano, and Jacobo Torán (1992), The complexity of algorithmic problems on succinct instances, in Computer Science: Research and Applications, pp. 351–377, Springer, doi:10.1007/978-1-4615-3422-8 30, URL https://link.springer. com/chapter/10.1007/978-1-4615-3422-8_30. Julian Besag (1994), Discussion: Markov chains for exploring posterior distributions, The Annals of Statistics, 22(4):1734–1741, URL https://www.jstor.org/stable/2242479. Wessel Bruinsma, Stratis Markou, James Requeima, Andrew YK Foong, Tom Andersson, Anna Vaughan, Anthony Buonomo, Scott Hosking, and Richard E. Turner (2023), Autoregressive Conditional Neural Processes, in Proceedings of the Eleventh International Conference on Learning Representations, URL https://openreview.net/forum? id=OAsXFPBfTBh. Hua Yun Chen (2010), Compatibility of conditionally specified models, Statistics & probability letters, 80(7-8):670–677, doi:10.1016/j.spl.2009.12.025, URL https://www.sciencedirect. com/science/article/pii/S0167715209004830.
12
Matteo Colombo and Gualtiero Piccinini (2023), The computational theory of mind, Cambridge University Press, ISBN 9781009183734, doi:10.1017/9781009183734, URL https://www.cambridge.org/core/elements/abs/computational-theory-of-mind/ A56A0340AD1954C258EF6962AF450900. Kyle Cranmer, Johann Brehmer, and Gilles Louppe (2020), The frontier of simulation-based inference, Proceedings of the National Academy of Sciences, 117(48):30055–30062, doi:10. 1073/pnas.1912789117, URL https://www.pnas.org/doi/abs/10.1073/pnas.1912789117. Adnan Darwiche (2003), A differential approach to inference in Bayesian networks, Journal of the ACM (JACM), 50(3):280–305, doi:10.1145/765568.765570, URL https://dl.acm. org/doi/abs/10.1145/765568.765570. Hana Galperin and Avi Wigderson (1983), Succinct representations of graphs, Information and Control, 56(3):183–198, doi:10.1016/S0019-9958(83)80004-7, URL https://www. sciencedirect.com/science/article/pii/S0019995883800047. Edward H. Ip and Yuchung J. Wang (2009), Canonical representation of conditionally specified multivariate discrete distributions, Journal of Multivariate Analysis, 100(6):1282–1290, doi:10.1016/j.jmva.2008.11.010, URL https://www.sciencedirect.com/ science/article/pii/S0047259X08002546. Kun-Lin Kuo, Chwan-Chin Song, and Thomas J. Jiang (2017), Exactly and almost compatible joint distributions for high-dimensional discrete conditional distributions, Journal of Multivariate Analysis, 157:115–123, doi:10.1016/j.jmva.2017.03.005, URL https: //www.sciencedirect.com/science/article/pii/S0047259X17301689. Kun-Lin Kuo and Yuchung J. Wang (2011), A simple algorithm for checking compatibility among discrete conditional distributions, Computational Statistics & Data Analysis, 55(8):2457–2462, doi:10.1016/j.csda.2011.02.017, URL https://www.sciencedirect.com/ science/article/pii/S0167947311000764. Enrique Miranda (2009), Updating coherent previsions on finite spaces, Fuzzy Sets and Systems, 160(9):1286–1307, doi:10.1016/j.fss.2008.10.005, URL https://www.sciencedirect. com/science/article/pii/S016501140800465X. Enrique Miranda and Marco Zaffalon (2020), Compatibility, desirability, and the running intersection property, Artificial Intelligence, 283:103274, doi:10.1016/j.artint.2020.103274, URL https://www.sciencedirect.com/science/article/pii/S0004370220300345. Christos H Papadimitriou and Mihalis Yannakakis (1986), A note on succinct representations of graphs, Information and Control, 71(3):181–185, doi:10.1016/ S0019-9958(86)80009-2, URL https://www.sciencedirect.com/science/article/pii/ S0019995886800092. Dan Roth (1996), On the hardness of approximate reasoning, Artificial Intelligence, 82(12):273–302, doi:10.1016/0004-3702(94)00092-1, URL https://www.sciencedirect.com/ science/article/pii/0004370294000921. Walter J. Savitch (1970), Relationships between nondeterministic and deterministic tape complexities, Journal of Computer and System Sciences, 4(2):177–192, doi:10.1016/ S0022-0000(70)80006-X, URL https://www.sciencedirect.com/science/article/pii/ S002200007080006X. Aleksandra B. Slavkovic and Seth Sullivant (2006), The space of compatible full conditionals is a unimodular toric variety, Journal of Symbolic Computation, 41(2):196–209, doi: 10.1016/j.jsc.2005.04.006, URL https://www.sciencedirect.com/science/article/pii/ S0747717105001148. Guo-liang Tian, Ming Tan, Kai Wang Ng, and Man-lai Tang (2008), A unified method for checking compatibility and uniqueness for finite discrete conditional distributions, Communications in Statistics—Theory and Methods, 38(1):115–129, doi: 10.1080/03610920802169586, URL https://www.tandfonline.com/doi/full/10.1080/ 03610920802169586.
13
Iris Van Rooij (2008), The tractable cognition thesis, Cognitive Science, 32(6):939–984, doi:10.1080/03640210801897856, URL https://onlinelibrary.wiley.com/doi/full/10. 1080/03640210801897856. Antonio Vergari, YooJung Choi, Anji Liu, Stefano Teso, and Guy Van den Broeck (2021), A Compositional Atlas of Tractable Circuit Operations for Probabilistic Inference, in Advances in Neural Information Processing Systems, volume 34, pp. 13189–13201, URL https://proceedings.neurips.cc/paper/2021/hash/ 6e01383fd96a17ae51cc3e15447e7533-Abstract.html. Peter Walley (1991), Statistical reasoning with imprecise probabilities, Chapman and Hall, ISBN 0412286602. Yi-Ching Yao, Shih-Chieh Chen, and Shao-Hsuan Wang (2014), On compatibility of discrete full conditional distributions: A graphical representation approach, Journal of Multivariate Analysis, 124:1–9, doi:10.1016/j.jmva.2013.10.007, URL https://www.sciencedirect.com/ science/article/pii/S0047259X13002145.
14
Related documents
- On the Complexity of the Compatibility Problem for Succinctly Encoded Conditional Distributions#819140
- On the Complexity of the Compatibility Problem for Succinctly Encoded Conditional Distributions#809148
- One Token Is Enough: Fingerprinting and Verifying Large Language Models from Single-Token Output Distributions#363194
- Generalized logical operations among conditional events#736406
- Language Model Maps for Prompt-Response Distributions via Log-Likelihood Vectors#924061
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive