Lably
Skip to content

Differential entropy

Concept in information theory

  • 5 min read
  • 7 chapters

Related on Lably

Through Measure (mathematics), Logarithm and If and only if

In terms of measure theory, the differential entropy of a probability measure is the negative relative entropy from that measure to the Lebesgue measure, where the latter is treated as if it were a probability measure, despite being unnormalized.

Definition

Let X be a random variable with a probability density function f whose support is a set X. The differential entropy h(X) or h(f) is defined as

h(X)=E⁡[−log⁡(f(X))]=−∫Xf(x)log⁡f(x)dx

For probability distributions which do not have an explicit density function expression, but have an explicit quantile function expression, Q(p), then h(Q) can be defined in terms of the derivative of Q(p) i.e. the quantile density function Q′(p) as

h(Q)=∫01log⁡Q′(p)dp.

As with its discrete analog, the units of differential entropy depend on the base of the logarithm, which is usually 2 (i.e., the units are bits). See logarithmic units for logarithms taken in different bases. Related concepts such as joint, conditional differential entropy, and relative entropy are defined in a similar fashion. Unlike the discrete analog, the differential entropy has an offset that depends on the units used to measure X. For example, the differential entropy of a quantity measured in millimeters will be log(1000) more than the same quantity measured in meters; a dimensionless quantity will have differential entropy of log(1000) more than the same quantity divided by 1000.

One must take care in trying to apply properties of discrete entropy to differential entropy, since probability density functions can be greater than 1. For example, the uniform distribution U(0,1/2) has negative differential entropy; i.e., it is better ordered than U(0,1) as shown now

∫012−2log⁡(2)dx=−log⁡(2)

being less than that of U(0,1) which has zero differential entropy. Thus, differential entropy does not share all properties of discrete entropy.

The continuous mutual information I(X;Y) has the distinction of retaining its fundamental significance as a measure of discrete information since it is actually the limit of the discrete mutual information of partitions of X and Y as these partitions become finer and finer. Thus it is invariant under non-linear homeomorphisms (continuous and uniquely invertible maps), including linear transformations of X and Y, and still represents the amount of discrete information that can be transmitted over a channel that admits a continuous space of values.

For the direct analogue of discrete entropy extended to the continuous space, see limiting density of discrete points.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Statistics