Lably
Skip to content

Information content

Quantity in information theory

  • 9 min read
  • 5 chapters

Related on Lably

Through Probability, Event (probability theory) and Random variable

The Shannon information can be interpreted as quantifying the level of "surprise" of a particular outcome. As it is such a basic quantity, it also appears in several other settings, such as the length of a message needed to transmit the event given an optimal source coding of the random variable.

The Shannon information is closely related to entropy, which is the expected value of the self-information of a random variable, quantifying how surprising the random variable is "on average". This is the average amount of self-information an observer would expect to gain about a random variable when measuring it.

The information content can be expressed in various units of information, of which the most common is the "bit" (more formally called the shannon), as explained below.

The term 'perplexity' has been used in language modelling to quantify the uncertainty inherent in a set of prospective events.

Definition

Claude Shannon's definition of self-information was chosen to meet several axioms:

  • An event with probability 100% is perfectly unsurprising and yields no information.
  • The less probable an event is, the more surprising it is and the more information it yields.
  • If two independent events are measured separately, the total amount of information is the sum of the self-informations of the individual events.

The detailed derivation is below, but it can be shown that there is a unique function of probability that meets these three axioms, up to a multiplicative scaling factor. Broadly, given a real number b>1 and an event x with probability P, the information content is defined as the negative log probability:I(x):=−logb⁡[Pr(x)]=−logb⁡(P).The base b corresponds to the scaling factor above. Different choices of b correspond to different units of information: when b=2, the unit is the shannon (symbol Sh), often called a 'bit'; when b=e, the unit is the natural unit of information (symbol nat); and when b=10, the unit is the hartley (symbol Hart).

Formally, given a discrete random variable X with probability mass function pX(x), the self-information of measuring X as outcome x is defined as:IX⁡(x):=−log⁡[pX(x)]=log⁡(1pX(x)).The use of the notation IX(x) for self-information above is not universal. Since the notation I(X;Y) is also often used for the related quantity of mutual information, many authors use a lowercase hX(x) for self-entropy instead, mirroring the use of the capital H(X) for the entropy.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Computing and communication