Manuscript Offprint
arXiv:2611.07156Lossless Source Coding with Marginal Distribution Constraint
Abstract
We consider lossless source coding with a marginal distribution constraint on the encoding symbols (SC-MDC). Unlike distribution matching, signal shaping and homophonic coding which require the symbols to be (approximately) i.i.d. following a target distribution, SC-MDC requires each symbol to have a marginal distribution that exactly matches the target distribution, which can be regarded as a perfect perceptual quality constraint on the symbols, and may have applications to wear leveling, source coding with cost and steganography. We give nonasymptotic lower and upper bounds on the optimal encoding length, and exactly characterize the coding rate (or the first-order term of the length) when the source distribution or the target distribution is uniform, or when the source is an i.i.d. sequence.
I. INTRODUCTION
Consider a lossless source coding setting with a marginal distribution constraint (SC-MDC) on the encoding symbols. We encode a source , supported on , into a sequence of encoding symbols from via a stochastic encoder , so that the source can be recovered exactly, i.e., . Unlike conventional source coding where we only impose a constraint on the alphabet (e.g., ), we impose a constraint on the marginal distribution that for , where is a given target distribution. The goal is to find the smallest possible length .
This problem is equivalent to finding a coupling between and copies of (i.e., for ) satisfying . The smallest is given by the following quantity which we call coupled aggregation number:
where is the set of all couplings of copies of , i.e., the set of possible joint distributions of where , and ( is an aggregation of [1], [2], [3]) if there exists a function such that if , then .
This quantity was introduced in the setting of learning with totally unpaired data [4], which concerns the smallest possible value of given the marginal distributions of , which corresponds to the smallest average cross entropy loss of predicting given the features when only their marginals are known, i.e., when we only have unpaired datasets, one for each of . The value of is the smallest number of identically distributed features that allow perfect prediction of , i.e., .
This setting is also related to distribution matching [5], [6], [7], signal shaping [8], [9] and homophonic coding [10], [11], [12], which require to be approximately i.i.d. following (this is only satisfied weakly in the sense of vanishing normalized divergence for distribution matching [13], [7], or requires fixed-to-variable or variable-to-fixed codes for homophonic coding [10], [11], [12]; see Section II for details). We instead impose a marginal distribution constraint , which must be satisfied exactly. We list some motivations for imposing marginal constraints:
-
Encoding with perfect perceptual quality. Suppose we encode into a sequence of images , and we want each image to have a high perceptual quality. In the literature of rate-distortion-perception trade-off [14], [15], [16], [17], having perfect perceptual quality means where is a natural distribution of images (this is referred to as weak-sense perfect perceptual quality in [17]). More generally, if is a natural distribution for the type of data belongs to (e.g., audio, DNA strand, chemical solution), then would make indistinguishable from a natural sample. We can also relax the perceptual constraint by only requiring the divergence between and the distribution of to be small, and study the rate-perception trade-off; see Section VI.
-
Wear leveling. Consider a visible light communication setting where we use an array of LEDs ( is the intensity of the -th LED) to transmit (e.g., see [18]). Having the same marginal distribution ensures the same amount of lumen depreciation for each LED in the long run. If we apply on-off keying where , we may want to ensure
§C. T. Li is with the Department of Information Engineering, The Chinese University of Hong Kong, Hong Kong, China (email: cti1@ie.cuhk.edu.hk).
†J. Chen is with the Department of Electrical and Computer Engineering, McMaster University, Hamilton, ON L8S 4K1, Canada (email: chen-jun@mcmaster.ca).
‡S. Asoodeh is with Vector Institute and the Department of Computing and Software, McMaster University, Hamilton, ON L8S 4K1, Canada (email: asoodeh@mcmaster.ca).
has only one element, which is the degenerate distribution at (the zero-length sequence).
We take if no such exists.
for a small , so the LEDs wear evenly. This is also applicable to flash memory where we have cells, the wear of the -th cell can depend on the level programmed to the cell [19], and we want the cells to wear evenly.
- Unknown or adversarial cost per symbol. Different values of may require a different amount of energy or cost to store or transmit [20], [21]. Controlling the distribution of allows us to limit the expected cost. SC-MDC is particularly useful when the cost function is unknown and may be different for each , or equivalently, the cost of also depends on an unknown or adversarial state . For example, in flash memory [19], the cost (energy or wear) of writing to a cell depends not only on the target level , but also on its previous level . We minimize the worst-case average cost
Since we are minimizing a worst-case expectation, a stochastic encoder (like a mixed strategy in game theory) is generally needed. If the minimax optimal distribution
is unique, then attaining the optimal worst-case average cost is equivalent to fulfilling the marginal distribution constraint where is the minimizer in (1) (assuming that the constraint can be fulfilled), since is minimized if and only if .^4 For example, if are the new and previous bits stored in a cell, respectively, and (it costs to change 0 to 1), , , then the unique optimal is , and we should ensure . Other techniques such as constant composition codes [7] would not give an exact optimality guarantee.
- Steganography with limited adversary. Consider a steganography system similar to [22], [23], where an encoder wants to send a plaintext to a decoder by producing stegotexts . The encoder and decoder share a secret key , and the plaintext must be recoverable from the stegotexts and the key, i.e., . The goal is to ensure that a limited adversary who only observes any one stegotext would not be able to know that communication is occurring. Assuming is the coverttext distribution (the distribution if no communication is occurring), we require for each . One method is to encrypt into a uniformly-distributed ciphertext (e.g., via one-time pad [24] where , ), and apply SC-MDC to encode into .^5 This can also be regarded as a covert communication setting [25], where we ensure that a warden which only observes one cannot detect the communication.
The number of encoding symbols needed by SC-MDC is , which can be interpreted as an operational measure of the ratio of the information in P to the information in Q. One would expect
where are certain entropy measures. The question is whether they should be the Shannon entropy H, the Hartley entropy [26] or the min-entropy [27]. We will prove various bounds on that are indeed in the form of the ratio in (2). The choice of entropy measures would depend on the scenario, i.e., whether we consider arbitrary P, Q, or whether we fix Q and let the entropy of P become larger, or let P be an i.i.d. product distribution with increasing length. To summarize the key results in this paper:
• For general (Theorem 1, Proposition 1),
The upper bound is approximately , which is the “most conservative” bound in the form since is the largest and is the smallest among . The upper and lower bounds do not match unless is uniform. For the special case , the bounds approximately match, and we can show that
Hence, the number of bits needed to encode , if we require each bit to be , is approximately within 2 bits. Comparing this to the classical result [26] that the number of bits needed without the marginal constraint is approximately within 1 bit, we can see that the marginal constraint only adds a penalty of 1 bit.
Using a code with a small number of 1's (e.g., a constant composition code [7]) is not sufficient if the same code is used repeatedly. For example, if the code sets for most choices of X, then the first LED will wear quickly, even though the total number of 1's may be small.
The case where the minimizer is not unique is addressed in Section VI.
Steganography via minimum entropy coupling was studied in [23]. The difference is that we allow multiple stegotexts, where the adversary can only observe one of them. We also require exactly.
• If is large, we have a better upper bound (Theorem 3)
where the constant in only depends on . This upper bound is better than the in (3), at the expense of having an term that makes the bound usable only when , which is a reasonable assumption for source coding since the whole source sequence usually has a much larger entropy than one encoding symbol. The upper bound (4) approximately matches the lower bound in (3) when is uniform, which yields
This gives a new operational meaning of entropy, as is the asymptotic number of i.i.d. source bits that can be encoded per symbol .
• For a source distribution which is an i.i.d. product distribution, we have (Theorem 4)
This shows the asymptotic tightness of the lower bound in (3), and is asymptotically tighter than (4) at the expense of requiring an i.i.d. product distribution. In particular, for P with finite support, we have
This gives another new operational meaning of entropy via the following source coding setting. Suppose we encode into , where we have a cost constraint for every . The optimal rate as is . Interestingly, the optimal rate is given in terms of entropy, even though the setting is fixed-length and zero-error.
• Continuing the i.i.d. setting for general , if we allow a vanishing error probability in the source coding setting, or equivalently, allow a vanishing total variation distance from , then the optimal coding rate is (Theorem 7)
• Continuing the i.i.d. setting, if we instead allow to only approximately follow by imposing a constraint on the divergence (which can be regarded as a perception constraint) where is convex in its second argument, then the optimal coding rate is (Theorem 6)
which generalizes (5). We call this the SC-MDC rate-perception function.
II. RELATED WORKS
A relevant prior work is learning with totally unpaired data [4], where the following minimum conditional entropy coupling problem is studied: minimize subject to the marginal distribution constraints and for . The optimal value is characterized when are Bernoulli distributions. The settings and applications of [4] and this paper are different. [4] studies learning with totally unpaired data, and hence mostly focuses on the heterogeneous setting where may have different marginal distributions since each is a different feature, and does not require to be 0. In comparison, this paper focuses on source coding with marginal constraint, and hence studies the homogeneous setting where the 's have a common marginal distribution since the encoding symbols are usually homogeneous in source coding settings, and requires the source to be decoded (i.e., ). Some results in [4] apply to the homogeneous setting (e.g., [4, Theorems 4, 5]), though these results are not strong enough to yield the source coding results in (3), (4), (5). The setting of source coding with marginal distribution constraint gives different operational limits compared to [4], and requires completely different analysis.
Distribution matching [5], [6], [7], [13] concerns the problem of mapping an i.i.d. source ( is usually taken to be ) to a sequence (where is injective) that is approximately i.i.d. following a desired distribution . It has been shown in [7] that for distribution matching with , and a vanishing normalized divergence constraint , the optimal rate is . Homophonic codes can ensure i.i.d. output that follows exactly, but only via fixed-to-variable codes [11] ( depends on ) or variable-to-fixed codes [12] ( depends on ), not fixed-to-fixed codes ( are fixed).
In comparison, the SC-MDC setting only requires to be identically distributed (not i.i.d.) according to . Although the lower bound in (3) shows that SC-MDC cannot achieve a rate better than the rate of distribution matching, the operational advantage of SC-MDC is twofold. First, the distribution constraint in SC-MDC is exact, whereas the constraint in distribution matching is approximate. Distribution matching only guarantees a vanishing normalized divergence (e.g., [7] gives ), which does not imply a vanishing total variation distance between and the distribution of (which can even be close to 1). Second, SC-MDC allows one-shot achievability bounds like (3) which apply to sources with small entropy, whereas theoretical results in distribution matching are often asymptotic or require a large (e.g., [7]).
These differences make the applications of distribution matching and SC-MDC vastly different. Distribution matching is useful for channel coding where we want the input sequence to be weakly approximately i.i.d. following the optimal distribution , but it is not important whether each individual symbol is exactly (or even approximately) following , since wasting symbols would not affect the rate. SC-MDC is useful for source coding settings where it is important for each encoding symbol to follow exactly, but the symbols being i.i.d. is not required.
The infinite divisibility of information [29] concerns a setting where a source is encoded into an i.i.d. sequence with . While the theoretical setting is similar to SC-MDC, the key difference is that [29] allows the encoder to choose the alphabet and distribution of as a part of the scheme (the alphabet may be large), whereas the distribution is given in SC-MDC, but we do not require 's to be i.i.d. Hence, [29] is not applicable to source coding settings where the alphabet of is fixed.
Distribution-preserving and output-constrained quantization [30], [31] and rate-distortion-perception coding [14], [15], [16], [17] concern lossy source coding where the distribution of the reconstruction is controlled. This is different from SC-MDC, which controls the marginal distribution of the encoding symbols , not the reconstruction (which is the source since we consider lossless compression). As mentioned in the introduction, SC-MDC can be regarded as lossless source coding with perfect perceptual quality of the encoding symbols (not the reconstruction).
The joint mixability problem [32] (also see [33]) studies whether there exists a coupling of (i.e., ) such that for given . In comparison, SC-MDC allows an arbitrary decoding function , not only the sum.
III. GENERAL BOUNDS
As mentioned in the introduction, the answer to the source coding with marginal distribution constraint (SC-MDC) problem is given by the coupled aggregation ratio defined as follows.
Definition 1. Given discrete distributions , we say that is a coupled aggregation of , denoted as , if there exists a coupling such that , or equivalently, there exist random variables with marginal distributions and for such that . The coupled aggregation ratio between and is
We list some simple properties of the coupled aggregation ratio. The proof is in Appendix A.
Proposition 1. For discrete distributions and discrete random variables ,
• (Lower bounds).
[4, Theorem 4] shows an exponentially decreasing bound on the minimum conditional entropy, which is not sufficient for the source coding setting where the conditional entropy must be 0 (see Remark 1). [4, Theorem 5] shows the existence of m with zero conditional entropy, though it does not provide a bound on m.
Also,
• (Chain rule). .
• (Subadditivity). .
• (Almost quasiconvexity). For discrete random variables ,
We can regard as the “ratio of the information in P to the information in Q”. The lower bound (7) shows that for being H or . The lower bound (8) shows that is approximately lower-bounded by as well when are small.
Most of this paper is devoted to proving upper bounds on , which correspond to achievability results for SC-MDC. We first show a simple bound when Q is a uniform distribution.
Proposition 2. If Q is a uniform distribution over a finite set,
Proof: The lower bound follows from Proposition 1. For the upper bound, assume , , and let . Since , there exists an injective mapping from to , i.e., . Let , and take , where denote addition modulo . We can check that , and .
To prove bounds for general , we will utilize the majorized alias lemma in [3, Lemma 1] (also see [34] for a more general construction). We state the lemma in the following convenient form. The proof that [3, Lemma 1] implies Lemma 1 is in Appendix B.
Lemma 1 (Majorized alias lemma [3], [34]). For discrete distributions where is finite, there exists such that .
We present a key technical lemma about coupled aggregation, which utilizes the majorized alias lemma.
Lemma 2. Let with and . For every , we have . Moreover, for discrete distributions where is finite, we have .
Proof: Assume . Consider a coupling , with joint probability mass function , , , where . By varying , we can make any number in , or make any number in , or make any number in . The union of these three intervals covers as long as and , so must fall in one of these intervals, and we can have a function of which follows . For the second claim, Lemma 1 gives for some , so the result follows from .
Using Lemma 2, we can give the following upper bound on .
Lemma 3. If there exists a coupling with , then
Proof: Without loss of generality, assume is supported over and is non-increasing. First consider the case . If , since , applying Lemma 2 on gives , and . If , we apply Lemma 2 on instead. If , let . Since , we have , so we can apply Lemma 2 on .
We then consider the case . We have . Note that as long as , where there are copies in . This is because we can couple such that at most one is 1 at a time, and the probability that there exists is . Let . Applying Lemma 2 on , (we have and ), we have , and hence .
The following simple bound shows that is approximately upper-bounded by . Since is an “over-estimate” of the information in P, and is an “under-estimate” of the information in Q, the ratio is a conservative upper bound on the ratio between the information in P and that in Q.
Theorem 1. We have
Furthermore, we can find a coupling achieving the bound, where all except at most symbols in are i.i.d.
Proof: Let . We have , where is the support of . Hence, . If , we have . If , then . In both cases, we can show by Lemma 3 that
We can also consider the heterogeneous case where we require , and may be different.
Theorem 2. Given discrete distributions , we have if there exists a partition of with for , and . For a simpler sufficient condition, we have if is in ascending order, and
Proof: Consider , , with , . By the same arguments as in the proof of Lemma 3, we have for some . Since , we have (see the proof of Theorem 1). Applying Lemma 2 on and being , we have .
For the simpler condition, let , and assume is in ascending order, and . Assign to by first filling up until , and then filling up until (which is guaranteed to succeed due to the assumption), and then assign the remaining 's to . We have , so .
Remark 1. In [4, Theorem 4], letting where the infimum is taken over jointly-distributed random variables with marginals , it was proved that
This bound shows that is small when is large, which is order-wise similar to Theorem 1 (for the homogeneous case) and Theorem 2. Nevertheless, the bound (9) only shows that decays exponentially as increases. Unlike Theorems 1 and 2, (9) cannot show that for large enough.
IV. BOUNDS FOR P WITH LARGE ENTROPY
Can the upper bound in Theorem 1 be improved? For simplicity, we want the bound to be in the form for some entropy measures . By Proposition 2, we know that is the correct entropy measure for when , so the numerator cannot be improved. Nevertheless, the denominator can be improved. Since copies of can have approximately amount of information that is “nearly uniform” by the asymptotic equipartition property, we expect the correct denominator to be instead of .
Indeed, the following theorem shows that can be approximately upper-bounded by , at the expense of having a constant depending on Q that cannot be easily tracked, making the bound only meaningful when .
Theorem 3. For every non-degenerate discrete distribution Q with an information spectrum with finite third moment, there exists a constant (which only depends on Q) such that
for every discrete distribution P.
As a result, we can characterize the first-order term of when P is uniform by comparing against the lower bound in Proposition 1. This shows that for a uniform source, the asymptotic number of source bits encoded per encoding symbol is .
Corollary 1. As , we have
Hence, .
We now prove Theorem 3.
Proof of Theorem 3: The case is clear, so we assume (it is impossible to have ). Fix , . Write and where , and is the self-information. Let . The result follows directly from Corollary 1 if , so we assume . Let , , . Consider the inverse cumulative distribution function of , and of . Consider a quantile coupling between and , i.e., we let be such that , and let . We have . Since , by the Berry-Esseen theorem [35], [36], , where is a constant that only depends on . Hence, , and
where is the probability density function of , and we take if (we consider the above inequality to be vacuously true if ). Mills' inequality gives for . Hence, for . Since is decreasing in , for . Therefore, as long as , we have
We generate copies of , denoted as , by generating conditional on following . T Let . By (10), we have
We also have
This means when , where is the self-information.
Hence,
Hence,
Taking , we have , where . Note that is a coupling of copies of , and their joint distribution is majorized by if . Taking , we have . Applying Lemma 3, for large ,
in the sense that there exists (which depend on ) such that for . For , Theorem 1 gives . The result follows from taking .
Remark 2. The inequality (11) implies the following result:
Comparing this to when , we can see that relaxing the i.i.d. condition to the requirement that the variables be identically distributed can increase the min-entropy of the coupling.
V. ASYMPTOTIC SC-MDC
We now consider the asymptotic SC-MDC setting where the source is i.i.d. and . Define the asymptotic coupled aggregation ratio as
Note that the limit exists by Fekete's lemma since is subadditive in . We can exactly characterize when is finite, showing that the lower bound (7) is asymptotically tight.
Theorem 4. For discrete distributions with , we have
We regard 0/0 = 0 and (where a > 0) here.
An interesting special case is , where . For example, we have
for , where is the binary entropy function. This has the following operational interpretation. Suppose we want to encode into , where we have a cost constraint for . In other words, we find a joint distribution of with , and . We say that a rate is achievable if the encoding is possible with for all large enough . We can show that the infimum of achievable is . The achievability follows from (14) by taking , whereas the converse follows from since the geometric distribution maximizes entropy for a given expectation.
In particular, the optimal for is , giving a new operational meaning of entropy. Comparing this to the standard operational meaning of entropy via source coding, which is the rate needed to encode to a fixed number of bits with vanishing error probability, or to a variable number of bits (via a prefix code) with zero error [37], our new operational interpretation is fixed-length and zero error, but requires a cost constraint. This is perhaps surprising since it is usually expected that to achieve a rate (instead of ) in source coding, we either require a non-zero vanishing error probability, or a variable-length code.
Proof of Theorem 4: If , we clearly have if , or otherwise, so we assume . The “” direction follows from the fact that if , with , then , and the same holds with in place of . We now prove the “” direction. We first consider the case . Consider any integer , and let be a distribution that is uniform over a support of size . For every , we can decompose into a mixture , with as . Assume . By the law of large numbers, for every large enough ,
Hence, we can define an event with such that if occurs, then (note that might require additional randomness outside of ). By almost quasiconvexity (Proposition 1),
as and then , where (a) is by Theorem 3 (the finite third moment assumption in Theorem 3 is satisfied since is finite) and Corollary 1, and (b) is because there are at most choices of where the event holds. The result follows from taking if , or otherwise.
If and , we can truncate to a finite with and , and apply the finite case on . The result follows from taking . If , we can truncate to a finite with . The result follows from taking .
Note that the proof of Theorem 4 also applies to non-i.i.d. , as long as (15) is satisfied. A similar bound on also holds if is information stable [38] (which holds, for example, when is stationary and ergodic with finite entropy rate [38]).
Theorem 5. For a discrete distribution with , and a source where and exist and are finite, and converges to in probability, we have
We consider to have a support instead of .
Proof: Since converges to in probability, we have for large enough. The rest of the proof follows from the same arguments as in the proof of Theorem 4, with in place of .
The characterization of for P, Q both having infinite support is left for future studies. This will likely depend on the tail behaviors of P and Q.
VI. APPROXIMATE MARGINAL CONSTRAINT AND THE RATE-PERCEPTION FUNCTION
In this section, we generalize the SC-MDC setting by relaxing the marginal constraint to only require . More precisely, we require for all , where is a certain function (where is the set of discrete distributions over ), and is the allowed divergence level. If we regard as having perfect perceptual quality as discussed in the introduction, and if is a divergence, then requiring (or equivalently, requiring ) is a constraint that guarantees high perceptual quality, in line with the rate-distortion-perception function [14], [15], [16], [17]. Similar symbol-wise perception constraints are imposed in the rate-distortion-perception coding theorems in [17], [16].
Another setting where we do not require an exact marginal distribution is source coding with symbol-wise expected cost constraints. Suppose we require that , for cost functions and . A motivation is wear leveling as discussed in the introduction, where each corresponds to a degradation mechanism (a way in which the memory cell may degrade). We impose the constraint .
Generally, we can impose the constraint for any set . The optimal rate is defined as follows.
Definition 2. Given a distribution and set , the asymptotic coupled aggregation ratio between and is defined as
where
In particular, given distributions , function and , the SC-MDC rate-perception function is
We now characterize the asymptotic coupled aggregation ratio between P and A.
Theorem 6. For a discrete distribution with and nonempty , we have
(17)
where . Moreover, if A is convex, this can be simplified to
For a divergence that is convex in its second argument, is convex, and hence we can find the rate-perception function via (18) by solving for . The optimization problem is usually simple. For example, if , then the optimal value of the optimization problem is . If or , then the optimal value is as long as . Hence, when is a divergence that is convex in its second argument, to find , we usually only need to solve which is a convex optimization problem. The following results follow from straightforward applications of the Karush-Kuhn-Tucker conditions.
Corollary 2. Under the same assumptions as Theorem 6, we have:
• If , then
The limit exists by Fekete's lemma since is subadditive in .
where is the tilted distribution [39] with (we take here), for .
• If and and is finite, then
where for chosen such that , , and or . If is infinite and , .
We now prove Theorem 6.
Proof of Theorem 6: We first prove the achievability. Fix and . Fix , , and let . Applying Theorem 4 on , we have
for k large enough, where
Therefore, is a coupled aggregation of copies of and copies of . We have , and hence . Taking shows that is upper-bounded by the right-hand side of (17).
We then prove the converse. Assume there exists with . We have for . The point is in the convex hull of . By Carathéodory's theorem, there exist and such that for . Therefore, , and is lower-bounded by the right-hand side of (17). Hence, is also lower-bounded by the same quantity.
We finally consider the case where is convex. Since , the right-hand side of (17) is lower-bounded by the right-hand side of (18). For the other direction, let , and consider any with where . Let since is a convex set. We have
Taking , the right-hand side of (17) is upper-bounded by the right-hand side of (18).
VII. SC-MDC WITH VANISHING ERROR
We can also consider an asymptotic SC-MDC setting with i.i.d. source , where we only require the decoding error probability to be small instead of zero. More precisely, we design and a decoding function such that and . This is equivalent to finding a distribution over with total variation distance and . To prove the forward direction, we can take to be the distribution of , so . For the reverse direction, if we have such a , we can construct a scheme for vanishing-error SC-MDC by letting and be coupled so that , construct which is maximally coupled with , i.e., , and take the stochastic encoder to be the conditional distribution of given .
We can show that the optimal rate for vanishing-error SC-MDC is . Comparing to Theorem 4, we can see that allowing a vanishing error removes the dependency on the Hartley entropies .
If is infinite, we can find with , and .
Carathéodory's theorem shows that is the convex combination of 3 points. We need only 2 points since we only require upper bounds on . This can be shown by noting that any triangle is a subset of the downward closure of its three edges.
Theorem 7. For discrete distributions with ,
where the infimum is over discrete distributions over .
Proof: Compared to Theorem 4, Theorem 7 does not depend on . Intuitively, allowing a vanishing error lets us focus only on typical sequences of , and remove the dependency on the cardinality of . We now prove the achievability. We use the same proof as Theorem 4 for the case , except that we define , if the event occurs, and is generated from (without depending on other random variables) if does not occur. Note that . We have , so . By the same arguments as in the proof of Theorem 4,
Hence, , and the left-hand side of (19) is at most . For the case , we use the same truncation argument as in the proof of Theorem 4.
For the converse, letting and be coupled so that , construct which is maximally coupled with , i.e., . By Fano's inequality [40], , so . Hence, , and the left-hand side of (19) is at least .
We can combine Theorems 6 and 7 to obtain the following result on approximate SC-MDC with vanishing error.
Theorem 8. For a discrete distribution with and nonempty , we have
Proof: For an upper bound, since for every , the left-hand side of (20) is upper-bounded by for every by Theorem 7. For a lower bound, we use the same converse proof as Theorem 7, except that where for . We have .
VIII. AXIOMATIC CHARACTERIZATION OF SHANNON AND HARTLEY ENTROPY
In this section, we investigate a slightly unexpected consequence of Theorem 4 outside of the SC-MDC setting. We will show that Theorem 4 gives a new axiomatic characterization of Shannon and Hartley entropy that is similar to [41]. Consider a function from the space of finite discrete probability distributions to real numbers. For to be a reasonable entropy measure, we may expect to satisfy the following properties for finite discrete random variables (write ):
• (Monotonicity) for every function .
• (Additivity) If are independent, then .
• (Quasi-subadditivity) .
• (ID-subadditivity) If are identically distributed, , then .
Note that quasi-subadditivity and ID-subadditivity are weak versions of the subadditivity property . We can show that, as long as satisfies monotonicity, additivity, and either one of quasi-subadditivity or ID-subadditivity, then must be a non-negative linear combination of Shannon and Hartley entropy. Compare this to the celebrated result in [41], which shows that as long as satisfies monotonicity, additivity and weak subadditivity (i.e., if ), then must be a non-negative linear combination of Shannon and Hartley entropy. Our result shows that we can replace weak subadditivity in [41] by either quasi-subadditivity or ID-subadditivity, and the result still holds. Also refer to [42], [43], [44], [45] for related axiomatic characterizations.
Theorem 9. If satisfies monotonicity+additivity+quasi-subadditivity, or satisfies monotonicity+additivity+ID-subadditivity, then must be of the form
for some constants . Moreover, if we also have and , then .
Actually, [41] only requires for f that is injective over the support of X.
Proof: Note that (where denotes a constant random variable) by monotonicity, and by additivity, so . We first prove
To prove this, consider . By the definition of , there exists such that for every , , there exists with . Take to be a power of 2 satisfying , and . We have , which holds either by ID-subadditivity, or by repeated applications of quasi-subadditivity since is a power of 2. Hence, by additivity and monotonicity. Taking gives . The claim (21) follows from .
Let (which exists since for by (21)), and . Let
We have by additivity. Consider distribution . Take , . By (21) and Theorem 4,
where we take in (a), and we take in (b). Also by (21),
Hence, .
IX. ACKNOWLEDGEMENT
The work of C. T. Li was supported in part by a grant from the Research Grants Council of the Hong Kong Special Administrative Region, China [Project No: CUHK 14209823 (GRF)]. The work of S. Asoodeh was partially supported by the Natural Sciences and Engineering Research Council of Canada.
APPENDIX
A. Proof of Proposition 1
For the lower bound (7), consider with , and . We have , and also similarly. To show (8), consider with , so . Assume . Union bound gives , so
For the chain rule, let , . Consider which achieves (i.e., if , , then and ), and which achieves . Generate , and for . We have , so .
For subadditivity, let , . Consider which achieves , and which achieves . Generate , , . We have , so .
We now prove almost quasiconvexity. Let , . By the definition of , we can consider a coupling in (i.e., ) and a function such that . Conditional on the event , generate according to a coupling in (i.e., ) where there is a function with . Since , we have . Also, since and , we have . Hence, is a coupling in . The result follows from being a function of .
B. Proof of Lemma 1
[3, Lemma 1] shows that for probability vectors with entries in descending order and , there is a lower triangular right stochastic matrix where each row has at most one positive off-diagonal entry, and . We show that this implies the statement of Lemma 1 for completeness. Assume are supported within with probabilities in descending order. We first consider the case where are finite and supported within , so we can define the corresponding probability vectors . Generate , generate conditional on according to the conditional probability matrix , and let , with since there is at most one off-diagonal entry (the conditional distribution of given is at most binary). We have for some . If is desired, we can simply consider either or .
This also applies when has infinite support as long as is finite (assume its support is ). To show this, fix , generate , and let . Let be the distribution of . We have for as long as , which holds for large enough . Since , we also have , so we can apply the lemma on instead.
REFERENCES
[1] M. Vidyasagar, “A metric between probability distributions on finite sets of different cardinalities and applications to order reduction,” IEEE Transactions on Automatic Control, vol. 57, no. 10, pp. 2464–2477, 2012.
[2] F. Cicalese, L. Gargano, and U. Vaccaro, “Approximating probability distributions with short vectors, via information theoretic distance measures,” in 2016 IEEE ISIT. IEEE, 2016, pp. 1138–1142.
[3] C. T. Li, “Efficient approximate minimum entropy coupling of multiple probability distributions,” IEEE Transactions on Information Theory, vol. 67, no. 8, pp. 5259–5268, 2021.
[4] C. T. Li, J. Chen, and S. Asoodeh, “Learning from totally unpaired data via minimum conditional entropy coupling,” arXiv preprint arXiv:2605.16229, 2026.
[5] F. R. Kschischang and S. Pasupathy, “Optimal nonuniform signaling for Gaussian channels,” IEEE Transactions on Information Theory, vol. 39, no. 3, pp. 913–929, 1993.
[6] G. Böcherer and R. Mathar, “Matching dyadic distributions to channels,” in 2011 Data Compression Conference. IEEE, 2011, pp. 23–32.
[7] P. Schulte and G. Böcherer, “Constant composition distribution matching,” IEEE Transactions on Information Theory, vol. 62, no. 1, pp. 430–434, 2015.
[8] R. F. Fischer, Precoding and signal shaping for digital transmission. John Wiley & Sons, 2005.
[9] M. Mondelli, S. H. Hassani, and R. L. Urbanke, “How to achieve the capacity of asymmetric channels,” IEEE Transactions on Information Theory, vol. 64, no. 5, pp. 3371–3393, 2018.
[10] C. G. Günther, “A universal algorithm for homophonic coding,” in Workshop on the Theory and Application of of Cryptographic Techniques. Springer, 1988, pp. 405–414.
[11] M. Hoshi and T. S. Han, “Interval algorithm for homophonic coding,” IEEE Transactions on Information Theory, vol. 47, no. 3, pp. 1021–1031, 2001.
[12] J. Honda and H. Yamamoto, “Variable-to-fixed length homophonic coding with a modified Shannon-Fano-Elias code,” in 2016 International Symposium on Information Theory and Its Applications (ISITA), 2016, pp. 11–15.
[13] G. Böcherer and R. A. Amjad, “Informational divergence and entropy rate on rooted trees with probabilities,” in 2014 IEEE International Symposium on Information Theory. IEEE, 2014, pp. 176–180.
[14] Y. Blau and T. Michaeli, “The perception-distortion tradeoff,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 6228–6237.
[15] —, “Rethinking lossy compression: The rate-distortion-perception tradeoff,” in International Conference on Machine Learning. PMLR, 2019, pp. 675–685.
[16] L. Theis and A. B. Wagner, “A coding theorem for the rate-distortion-perception function,” in Neural Compression: From Information Theory to Applications–Workshop@ ICLR 2021, 2021.
[17] J. Chen, L. Yu, J. Wang, W. Shi, Y. Ge, and W. Tong, “On the rate-distortion-perception function,” IEEE Journal on Selected Areas in Information Theory, 2022.
[18] T. Nagura, T. Yamazato, M. Katayama, T. Yendo, T. Fujii, and H. Okada, “Improved decoding methods of visible light communication system for ITS using LED array and high-speed camera,” in 2010 IEEE 71st Vehicular Technology Conference. IEEE, 2010, pp. 1–5.
[19] A. Jagmohan, M. Franceschini, L. A. Lastras-Montafio, and J. Karidis, “Adaptive endurance coding for NAND flash,” in 2010 IEEE Globecom Workshops. IEEE, 2010, pp. 1841–1845.
[20] R. M. Krause, “Channels which transmit letters of unequal duration,” Information and Control, vol. 5, no. 1, pp. 13–24, 1962.
[21] E. N. Gilbert, “Coding with digits of unequal cost,” IEEE Transactions on Information Theory, vol. 41, no. 2, pp. 596–600, 1995.
[22] C. Cachin, “An information-theoretic model for steganography,” in International Workshop on Information Hiding. Springer, 1998, pp. 306–318.
[23] C. S. de Witt, S. Sokota, J. Z. Kolter, J. N. Foerster, and M. Strohmeier, “Perfectly secure steganography using minimum entropy coupling,” in The Eleventh International Conference on Learning Representations, 2023.
[24] C. E. Shannon, “Communication theory of secrecy systems,” The Bell system technical journal, vol. 28, no. 4, pp. 656–715, 1949.
[25] M. R. Bloch, "Covert communication over noisy channels: A resolvability perspective," IEEE Transactions on Information Theory, vol. 62, no. 5, pp. 2334–2354, 2016.
[26] R. V. Hartley, "Transmission of information," Bell System technical journal, vol. 7, no. 3, pp. 535–563, 1928.
[27] A. Rényi, “On measures of entropy and information,” in Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and Probability, Volume 1: Contributions to the Theory of Statistics. The Regents of the University of California, 1961.
[28] A. W. Marshall, I. Olkin, and B. C. Arnold, Inequalities: Theory of Majorization and its Applications. New York, Dordrecht, Heidelberg, London: Springer, 2011.
[29] C. T. Li, “Infinite divisibility of information,” IEEE Transactions on Information Theory, vol. 68, no. 7, pp. 4257–4271, 2022.
[30] M. Li, J. Klejsa, and W. B. Kleijn, “Distribution preserving quantization with dithering and transformation,” IEEE Signal Processing Letters, vol. 17, no. 12, pp. 1014–1017, 2010.
[31] N. Saldi, T. Linder, and S. Yüksel, “Randomized quantization and source coding with constrained output distribution,” IEEE Transactions on Information Theory, vol. 61, no. 1, pp. 91–106, 2015.
[32] B. Wang and R. Wang, “Joint mixability,” Mathematics of Operations Research, vol. 41, no. 3, pp. 808–826, 2016.
[33] C. Bernard, O. Bondarenko, and S. Vanduffel, “Rearrangement algorithm and maximum entropy,” Annals of Operations Research, vol. 261, no. 1, pp. 107–134, 2018.
[34] F. Cicalese, L. Gargano, and U. Vaccaro, “Minimum-entropy couplings and their applications,” IEEE Transactions on Information Theory, vol. 65, no. 6, pp. 3436–3451, 2019.
[35] A. C. Berry, “The accuracy of the Gaussian approximation to the sum of independent variates,” Transactions of the American Mathematical Society, vol. 49, no. 1, pp. 122–136, 1941.
[36] C.-G. Esseen, “On the Liapunov limit error in the theory of probability,” Ark. Mat. Astr. Fys., vol. 28, pp. 1–19, 1942.
[37] C. E. Shannon, “A mathematical theory of communication,” Bell system technical journal, vol. 27, no. 3, pp. 379–423, 1948.
[38] M. S. Pinsker, Information and information stability of random variables and processes. Holden-Day, 1964.
[39] Y. Polyanskiy and Y. Wu, Information Theory: From Coding to Learning. Cambridge University Press, 2025.
[40] R. M. Fano, Transmission of Information. The MIT Press, 1961.
[41] J. Aczél, B. Forte, and C. T. Ng, “Why the Shannon and Hartley entropies are ‘natural’,” Advances in applied probability, vol. 6, no. 1, pp. 131–146, 1974.
[42] I. Csiszár, “Axiomatic characterizations of information measures,” Entropy, vol. 10, no. 3, pp. 261–273, 2008.
[43] M. P. Müller and M. Pastena, “A generalization of majorization that characterizes Shannon entropy,” IEEE Transactions on Information Theory, vol. 62, no. 4, pp. 1711–1720, 2016.
[44] J. C. Baez, T. Fritz, and T. Leinster, “A characterization of entropy in terms of information loss,” Entropy, vol. 13, no. 11, pp. 1945–1957, 2011.
[45] C. T. Li, “A characterization of entropy as a universal monoidal natural transformation,” arXiv preprint arXiv:2308.05742, 2023.