On the Entropy of Couplings
Mladen Kovačević, Ivan Stanojević, Vojin Šenk
Introduction
Distributions with fixed marginals have been studied extensively in the probability literature (see for example and the references therein). They are closely related to (and sometimes identified with, as will be the case in this paper) the concept of coupling, which has proven to be a very useful proof technique in probability theory , and in particular in the theory of Markov chains . In statistics, a related notion of contingency tables is of considerable importance . There is also rich literature on the geometrical and combinatorial properties of sets of distributions with given marginals, which are known as transportation polytopes in this context (see, e.g., ). We investigate here these objects from a certain information-theoretic perspective. Our results and the general outline of the paper are briefly described below.
In Section 2 we recall the definitions and elementary properties of the quantities under study, namely, information-theoretic functionals and couplings. Notational conventions are also introduced here.
In Section 3 we discuss properties of Shannon information measures under constraints on the marginal distributions. In particular, certain optimization problems associated with these functionals are studied. Most of them are, in a sense, the reverses of the well-known optimization problems, such as the maximum entropy principle, channel capacity, and information projections. The general problems of entropy minimization, maximization of mutual information, and maximization of information divergence are all shown to be intractable. Since mutual information is a good measure of dependence of two random variables, this will also lead to a similar result for all measures of dependence satisfying Rényi’s axioms, and to a statistical scenario where this result might be of interest. Furthermore, these problems are found to be basically information-theoretic restatements of some well-known problems in complexity theory. The infinite-alphabet case is also discussed in this section, in particular the questions of continuity and existence of extrema.
In Section 4 we define a family of (pseudo)metrics on the space of probability distributions, that is based on the so-called minimum entropy coupling in the same way as the total variation distance is based on the maximal coupling. The relation between these distances is derived from Fano’s inequality. Other properties of the new metrics are also discussed, in particular an interesting characterization of the conditional entropy that they yield.
Preliminaries
Shannon entropy of a random variable with probability distribution is defined as
with the usual convention being understood. is a strictly concave functional in . Further, for a pair of random variables with joint distribution and respective marginal distributions and , the following defines their joint entropy
again with appropriate conventions. The above quantities, usually referred to as the Shannon information measures , are all related by simple identities
The equalities on the right-hand sides of (6)–(8) are attained if and only if and are independent. The equalities on the left-hand sides of (6) and (7) are attained if and only if deterministically depends on (i.e., iff is a function of ), or vice versa. The equality on the left-hand side of (8) holds if and only if deterministically depends on . We will use some of these properties in our proofs; for their demonstration we point the reader to the standard reference .
From identities (5) one immediately observes the following: Over a set of bivariate probability distributions with fixed marginals (and hence fixed marginal entropies and ), all the above functionals differ up to an additive constant (and a minus sign in the case of mutual information), and hence one can focus on studying only one of them and easily translate the results for the others. This fact will also be exploited later.
Relative entropy (information divergence, Kullback-Leibler divergence) of the distribution with respect to the distribution is the following functional
where and for every , .
2 Couplings of probability distributions
Let and denote the sets of one- and two-dimensional probability distributions with alphabets of size and , respectively
and let denote the set of all couplings of and
The set of distributions with fixed marginals is basically the set of matrices with nonnegative entries and prescribed row and column sums. Such sets are special cases of the so-called transportation polytopes .
We will also find it interesting to study information measures over the sets of distributions whose one marginal and the support of the other are fixed
These sets are also convex polytopes and form a partition of when varies through .
Information measures and couplings
In the following we analyze some general properties of Shannon information measures, as well as natural optimization problems associated with these functionals, over domains of the form and . The proofs presented are not difficult, but they have a number of important consequences, as discussed in Section 3.3. Some closely related problems over , in the context of computing the metric (defined in Section 4), are also studied in .
Due to (5), we can focus on the optimization of only. In regard to this, we introduce the following definition, whose relevance will be demonstrated throughout this and the following section.
Minimum entropy coupling of probability distributions and is a bivariate distribution that minimizes the entropy functional , i.e.,
Note that the maximization of entropy over is trivial – the maximizer is always .
Minimum entropy couplings exist for any and because sets are compact (closed and bounded) and entropy is continuous over and hence attains its extrema. Note, however, that they need not be unique. From the strict concavity of entropy one concludes that the minimum entropy couplings must be vertices of the polytope (i.e., they cannot be expressed as , with , ). Finally, from identities (5) it follows that the minimizers of over are simultaneously the minimizers of and and the maximizers of , and hence could also be called maximum mutual information couplings for example.
From the last observation we see that minimum entropy couplings express the largest dependence (measured by ) of random variables having particular marginal distributions; this is further discussed in Section 3.3.4.
The problem at hand is a constrained optimization problem, and we will use a standard result in the field – the Berge’s maximum theorem [40, Thm 9.14]. To see that the conditions of the theorem are satisfied, observe that entropy is continuous over , and that the mapping , viewed as a correspondence The term correspondence denotes a set-valued map (i.e., multi-valued map). Much of the study of such maps was motivated by their applications in mathematical economics. For a definition of continuity of correspondences, as well as the related notions of lower and upper hemi-continuity, see ., is compact-valued and continuous .
Berge’s maximum theorem also implies that the mapping , which maps distributions to the set of minimum entropy couplings in , is a compact-valued upper hemi-continuous correspondence on . It is in fact finite-valued because minimum entropy couplings are necessarily vertices of , as commented above. In the following we analyze the computational complexity of finding an element of the set .
Positive integers and .
Is there a such that ?
We demonstrate a reduction from the Subset sum to the Minimum entropy coupling. Let there be given an instance of the Subset sum, i.e., a set of positive integers , . Let , and let , (assume that , the problem otherwise being trivial). Denote and . The question we are trying to answer is whether there is a such that , i.e., such that . Observe that this happens if and only if there is a matrix with row sums and column sums , which has exactly one nonzero entry in every row (or, in probabilistic language, a distribution such that deterministically depends on ). We know that in this case, and only in this case, the entropy of would be equal to , which is by (6) a lower bound on entropy over . In other words, if such a distribution exists, it must be the minimum entropy coupling. Therefore, if we could find the minimum entropy coupling, we could easily decide whether it has one nonzero entry in every row, thereby solving the given instance of the Subset sum.
We have shown that the problem of deciding whether there is a distribution with is NP-complete even when the distribution is allowed to have only two masses. In this case it is equivalent to the Subset sum problem and represents its information theoretic analogue (and it implies the hardness of the Minimum entropy coupling). When this restriction on is removed, the problem is equivalent to deciding whether there exist subsets with prescribed sums . This problem is NP-complete in the strong sense because it is a generalization of the 3-Partition problem which we recall below. Since the reduction in the proof of the previous theorem is clearly pseudo-polynomial (it is just a division of all numbers by ), it follows that Minimum entropy coupling is strongly NP-hard.
It would be interesting to determine whether the Minimum entropy coupling belongs to FNP , but this appears to be quite difficult. Namely, given the optimal solution, it is not obvious how to verify (in polynomial time) that it is indeed optimal. A similar situation arises with the decision version of this problem: Given and and a threshold , is there a distribution with entropy ? Whether this problem belongs to NP is another interesting question (which we will not be able to answer here). We will not go into these details further; we mention instead one closely related problem which has been studied in the literature:
Positive integers , and .
Decide whether ?
This problem, though “conceptually simple” and bearing certain resemblance with the above decision version of the entropy minimization problem, is not known to be solvable in NP (it is solvable in PSPACE).
2 Optimization over 𝒞(P,m)𝒞𝑃𝑚{\mathcal{C}}(P,m)
Optimal channel with outputs and input distribution is a bivariate distribution that maximizes the mutual information functional, i.e.,
Since is fixed, maximizing over is equivalent to minimizing the conditional entropy , and is the only interesting optimization problem over domains of this form. Namely, the minimizer of and over is any joint distribution having at most one nonzero entry in each row (i.e., such that deterministically depends on ), and the maximizer is , where is the uniform distribution over .
By the Berge’s maximum theorem we have the following claim.
We will use the well-known Partition (or Number partitioning) problem .
Is there a partition of into two subsets with equal sums?
This is clearly a special case of the Subset sum. It can be solved in pseudo-polynomial time by dynamic programming methods . But the following closely related problem is much harder.
Positive integers with , where .
Is there a partition of into subsets (disjoint and covering ) such that are all equal? (The sums are necessarily and every has elements.)
This problem is NP-complete in the strong sense , i.e., no pseudo-polynomial time algorithm for it exists unless P=NP.
We prove the claim by reducing 3-Partition to Optimal channel. Let there be given an instance of the 3-Partition as described above, and let , where . Observe that a partition with desired properties exists if and only if there is a matrix , , having column sums and having exactly one nonzero entry in every row (i.e., if and only if a bivariate distribution exists with the uniform second marginal , and such that deterministically depends on ). Furthermore, a distribution has such properties if and only if it satisfies (to see this, observe that (i) , where is the second marginal of , with equality if and only if has at most one nonzero entry in every row, and (ii) , whenever , with equality if and only if is uniform). Since is an upper bound on over , such a distribution would necessarily be the maximizer of . To conclude, if we could solve the Optimal channel with instance , we could easily decide whether the maximizer has column sums and exactly one nonzero entry in every row, thereby solving the original instance of the 3-Partition.xxxxx
Note that the problem remains NP-hard even when the number of channel outputs () is fixed in advance and is not a part of the input instance. For example, maximization of over is essentially equivalent to the Partition problem. Furthermore, since the transformation in the proof of Theorem 3.8 is pseudo-polynomial , Optimal channel is strongly NP-hard and, unless P=NP, has no pseudo-polynomial time algorithm.
3 Comments and generalizations
In this subsection we put the above optimization problems in a more general context, and discuss their relevance and certain generalizations.
Entropy minimization, taken in the broadest sense, is a very important problem. Watanabe has shown, for example, that many algorithms for clustering and pattern recognition can be characterized as suitably defined entropy minimization problems. In theoretical computer science, a class of combinatorial optimization problems based on entropy minimization has been studied extensively (see and the references therein). These include minimum entropy set cover, minimum entropy graph coloring, minimum entropy orientation, etc.
A much more familiar problem in information theory is that of entropy maximization. The so-called Maximum entropy principle formulated by Jaynes states that, among all probability distributions satisfying certain constraints (expressing our knowledge about the system), one should pick the one with maximum entropy. It has been recognized by Jaynes, as well as many other researchers, that this choice gives the least biased, the most objective distribution consistent with the information one possesses about the system. Consequently, the problem of maximizing entropy under constraints has been thoroughly studied (see, e.g., ). It has been argued, however, that minimum entropy distributions can also be of interest in many contexts. The MinMax information measure, for example, has been introduced as a measure of the amount of information contained in a given set of constraints, and it is based both on maximum and minimum entropy distributions.
One could formalize the problem of entropy minimization as follows: Given a polytope (by a system of inequalities with rational coefficients, say) in the set of probability distributions, find the distribution which minimizes the entropy functional . (If the coefficients are rational, then all the vertices are rational, i.e., have rational coordinates. Therefore, the minimum entropy distribution has finite description and is well-defined as an output of a computational problem.) This problem is strongly NP-hard and remains such over transportation polytopes, as established above.
3.2 Rényi entropy minimization
Rényi entropy of order of a random variable with distribution is defined as
It was introduced by Rényi on axiomatic grounds as a generalization of the Shannon entropy, and represents an important functional in information theory. Joint Rényi entropy of the pair having distribution is naturally defined as
Due to subadditivity (for ) and superadditivity (for ) properties of the function for , it follows that
Hence, as we have seen throughout this section, various problems from computational complexity theory can be reformulated as information-theoretic optimization problems. (Observe also the similarity of the Sqrt sum and the minimization of Rényi entropy of order .)
3.3 Other information measures
Maximization of mutual information is also a problem of great importance in information theory. The so-called Maximum mutual information criterion has found many applications, e.g., for feature selection and the design of classifiers . Another familiar example is that of the capacity of a communication channel which is defined precisely as the maximum of the mutual information between the input and the output of a channel.
We have illustrated the general intractability of the problem of maximization of by exhibiting two simple classes of polytopes over which the problem is strongly NP-hard. We also mention here one possible generalization of this problem – maximization of information divergence. Namely, since for
one can naturally consider the more general problem of maximizing when belongs to some convex region and is fixed. Related problems of finding maximizers of information divergence from exponential families have been studied in .
Formally, let Information divergence maximization be the following computational problem: Given a rational convex polytope in the set of probability distributions, and a distribution , find the distribution which maximizes . This is again a convex maximization problem because is convex in the pair .
Information divergence maximization is NP-hard.
Note that the reverse problem, namely the minimization of information divergence, defines an information projection of onto the region .
3.4 Measures of statistical dependence
We conclude this subsection with one more generalization of the problem of maximization of mutual information. Namely, this problem can also be seen as a statistical problem of expressing the largest possible dependence between two given random variables.
Suppose we have two correlated information sources obtained by independent drawings from a discrete bivariate probability distribution, and suppose we only have access to individual streams of symbols (i.e., streams of symbols from either one of the sources, but not from both simultaneously) and can observe the relative frequencies of the symbols in each of the streams. We therefore “know” probability distributions of both sources (say and ), but we don’t know how correlated they are. Then the “model” for this joint source would be . In the absence of any additional information, we must assume that some is the “true” distribution of the source.
Given such a model, we may ask the following question: What is the largest possible dependence of the two random variables? How correlated can they possibly be? This question can be made precise once a dependence measure is specified, and this is done next.
A. Rényi has formalized the notion of probabilistic dependence by presenting axioms which a “good” dependence measure should satisfy. These axioms, adapted for discrete random variables, are listed below.
is defined for any two random variables , , neither of which is constant with probability .
iff and are independent.
If and are injective functions, then .
Actually, Rényi considered axiom (E) to be too restrictive and demanded only the “if part”. It has been argued subsequently , however, that this is a substantial weakening. We will find it convenient to consider the stronger axiom given above. As an example of a good measure of dependence, one could take precisely the mutual information; its normalized variant satisfies all the above axioms.
Let be a measure of dependence satisfying axioms (A)–(F). Then maximal –dependence is NP-hard.
The intractability of the problem over more general statistical models is now a simple consequence.
4 Infinite alphabets
We conclude this section with a discussion on the properties of information measures over domains of the form and in the case when the distributions and have possibly infinite supports. The notation is similar to the finite alphabet case, for example
A metric space is compact if and only if it is complete and totally bounded ; these facts are demonstrated below.
and are complete metric spaces.
and hence could not decrease to zero. The case of is similar.
For our next claim, recall that a set is said to be totally bounded if it has a finite covering by -balls, for any . In other words, for any , there exist such that , where denotes the open ball around of radius . The points are then called an -net for .
and are totally bounded.
Understanding that for or , we have
Note that is not a distribution, but that does not affect the proof. Note also that the marginals of are bounded from above by the marginals of , namely and . Finally, we have because the total mass of on the coordinates where or is at most . The next step is to create by adding masses to on the rectangle. One way to do this is as follows. Let
and let , and , and (to see that these two sums are equal write which is equal to zero by the definition of and due to the fact that ). Now define by
It is easy to verify that and that because the total mass added is
which completes the proof.
The following claim shows that imposing certain restrictions on the marginal distributions ensures the continuity of Shannon information measures and existence of their extrema. In contrast, without any restrictions, these functionals are known to be discontinuous at every point of . (Entropy is, however, sequentially continuous at any power bounded distribution in the topology of information divergence [18, Thm 21]; this weaker notion of continuity is useful for many applications in probability theory.)
Continuity over and is a special case of [19, Thm 4.3] and can thus be established by exhibiting cost-stable codes for these statistical models. We also give here a more direct proof (which can be extended to prove Theorem 3.16). Write
The functional is lower semi-continuous because it is a sum of nonnegative continuous functions. The functional is also lower semi-continuous since
and information divergence is known to be jointly lower semi-continuous in the distributions and [42, Thm 3.1]. But since the sum of these two functionals is a constant , both of them must be continuous. The continuity of and follows from (5).
Now consider . In it is shown that and are continuous when the alphabet of is finite and fixed, which is what we have here. And since is fixed, and are also continuous (if then they are infinite over the entire , but we also take this to mean that they are continuous).
Uniform continuity and the fact that the above functionals attain their extrema over and now follow from the compactness of these domains.
Regarding the extrema of information measures, we note that Proposition 3.2 fails in the case of unbounded alphabets (when ). Namely, the functional is discontinuous at every with . This follows easily from the discontinuity of entropy. However, Proposition 3.7 remains valid because is continuous when one of the alphabets is finite .
The argument in the proof of Theorem 3.15 can easily be adapted to prove the following more general claim which gives necessary and sufficient conditions for the convergence of entropy in terms of other information measures.
Let be a bivariate probability distribution with finite entropy, . Then the following statements are equivalent:
and are continuous at ,
, , and are continuous at .
Note first that when , then also , , and , where , and are the marginals of and , respectively. Now all implications follow from (5) and the fact that the functionals in question are lower semi-continuous.
Metrics from couplings
Apart from many of their other uses, couplings are very convenient for defining metrics on the space of probability distributions. There are many interesting metrics defined via so-called “optimal” couplings. We illustrate this point below using one familiar example, and then define new information-theoretic metrics based on the minimum entropy coupling. Similar approaches are also used in the literature for defining measures of distortion (that are not necessarily metrics) between random objects; see, e.g., for the corresponding definitions and their applications in rate distortion theory.
We next define information-theoretic distances in a similar manner.
Let be a random pair with joint distribution and marginal distributions and . The total information contained in these random variables is , while the information contained simultaneously in both of them (or the information they contain about each other) is measured by . One is then tempted to take as a measure of their dissimilarity Drawing a familiar information-theoretic Venn diagram makes it clear that this is a measure of “dissimilarity” of two random variables.
Indeed, this quantity (introduced by Shannon , and usually referred to as the entropy metric ) satisfies the properties of a pseudometric . In a similar way one can show that the following is also a pseudometric
as are the normalized variants of and . These pseudometrics have found numerous applications (see for example ) and have also been considered in an algorithmic setting .
for . Observe that , justifying the notation.
satisfies the properties of a pseudometric, for all .
Nonnegativity and symmetry are clear, as is the fact that if (but not only if) with probability one. The triangle inequality remains. Following the proof for from [12, Lemma 3.7], we first observe that , wherefrom
Now apply the Minkowski inequality () to the vectors and to get
are pseudometrics on the space of random variables over the same probability space. Namely, for to be defined, the joint distribution of must be given because joint entropy and mutual information are not defined otherwise. Equation (43) below defines the distance between random variables (more precisely, between their distributions) that does not depend on the joint distribution.
Having defined measures of dissimilarity, we can now define the corresponding distances
The case has also been analyzed in some detail in , motivated by the problem of optimal order reduction for stochastic processes.
is a pseudometric on , for any .
Since satisfies the properties of a pseudometric, we only need to show that these properties are preserved under the infimum. Nonnegativity and symmetry are clearly preserved. Also, if then . This is because (distribution with masses on the diagonal and zeros elsewhere) belongs to in this case, and for this distribution we have . The triangle inequality is left. Let , and be random variables with distributions , and , respectively, and let their joint distribution be specified. We know that , and we have to prove that
( denotes the set of all three-dimensional distributions with one-dimensional marginals , , and , as the notation suggests.) Let and be the optimizing distributions on the right-hand side (rhs) of (46). Observe that there must exist a joint distribution consistent with and (for example, take ). Since the optimal value of the lhs is less than or equal to the value at , we have shown that the lhs of (46) is less than or equal to the rhs. For the opposite inequality observe that the optimizing distribution on the lhs of (46) defines some two-dimensional marginals and , and the optimal value of the rhs must be less than or equal to its value at .
If , then and are permutations of each other. This is easy to see because only in that case can one have , for some . Therefore, if distributions are identified up to a permutation, then is a metric. In other words, if we think of distributions as unordered multisets of nonnegative numbers summing up to one, then is a metric on such a space.
Observe that the distribution defining is in fact the minimum entropy coupling. Thus minimum entropy couplings define the distances on the space of probability distributions in the same way as the maximal coupling defines the total variation distance. However, there is a sharp difference in the computational complexity of finding these two couplings, as illustrated in the previous section.
2 Some properties of entropy metrics
Note that is a monotonically nonincreasing function of . In the following, we will mostly deal with and , but most results concerning bounds and convergence can be extended to all based on this monotonicity property.
The metric gives an upper bound on the entropy difference . Namely, since
Therefore, entropy is continuous with respect to this pseudometric, i.e., implies . Bounding the entropy difference is an important problem in various contexts and it has been studied extensively, see for example . In particular, studies bounds on the entropy difference via maximal couplings, whereas (48) is obtained via minimum entropy couplings.
Another useful property, relating the entropy metric and the total variation distance, follows from Fano’s inequality
This relation makes sense only when the alphabets (supports of and ) are finite. When the supports are also fixed it shows that is continuous with respect to , i.e., that implies . By the Pinsker-Csiszár-Kemperman inequality
it follows that is also continuous with respect to information divergence, i.e., implies .
The continuity of with respect to fails in the case of infinite (or even finite, but unbounded) supports, which follows from (48) and the fact that entropy is a discontinuous functional with respect to the total variation distance. One can, however, claim the following.
If in the total variation distance, and , then .
It should be pointed out that sharper bounds than the above can be obtained by using instead of . For example
(with equality whenever the minimum entropy coupling of and is such that is a function of , or vice versa), and
We conclude this section with an interesting remark on the conditional entropy. First observe that the pseudometric () can also be defined for random vectors (multivariate distributions). For example, is well-defined by . If the distributions of and are and , respectively, then minimizing the above expression over all tri-variate distributions with the corresponding marginals and would give . Furthermore, random vectors can even overlap. For example, we have
because the first summand is equal to zero. Therefore, the conditional entropy can be seen as the distance between the pair and the conditioning random variable . If the distribution of is , and the marginal distribution of is , then
because is the only distribution consistent with these constraints. In fact, we have for all . Therefore, the conditional entropy represents the distance between the joint distribution of and the marginal distribution of the conditioning random variable .
Conclusions
We have presented an information-theoretic view on probability distributions with fixed marginals. This well-studied topic still provides many interesting research problems and enables an interplay of several different fields. Various optimization problems associated with information measures over such sets of distributions were analyzed and shown to be intractable. Continuity questions and the existence of extrema of these functionals were also addressed (in the case of countably infinite alphabets). A family of information-theoretic pseudometrics was defined and their properties and relations to other metrics investigated. A central notion that was introduced in the paper and that represents a connecting point of the above-mentioned results is the minimum entropy coupling; the relevance of this notion was demonstrated in several respects.
Acknowledgments
The authors would like to thank the reviewers for carefully reading the manuscript and for providing many suggestions on how to improve it.