Docsity

Entropy - Information Theory - Lecture Slides, Slides of Information Technology

Partial preview of the text

Download Entropy - Information Theory - Lecture Slides and more Slides Information Technology in PDF only on Docsity!

EE514a – Information Theory I

Fall Quarter 2013

Prof. Jeff Bilmes

University of Washington, Seattle Department of Electrical Engineering Fall Quarter, 2013 http://j.ee.washington.edu/~bilmes/classes/ee514a_fall_2013/

Lecture 2 - Oct 1st, 2013

Logistics Review

Class Road Map - IT-I

L1 (9/26): Overview, Communications, Information, Entropy L2 (10/1): Props. Entropy, Mutual Information, KL-Divergence L L L L L L L L

L L L L L L L L L L

Finals Week: December 12th–16th.

Logistics Review

Review

Last time we discussed a model of communication and what “information” might mean. Intuitively, we gain more information when something unexpected happens, and gain less information when something expected happens.

Logistics Review

Review

Last time we discussed a model of communication and what “information” might mean. Intuitively, we gain more information when something unexpected happens, and gain less information when something expected happens. Entropy will characterize this mathematically and is useful for characterizing “information” even if it doesn’t capture all the information in a given source.

Logistics Review

Homework

Homework 0 due this evening (Tuedsay, Oct 1st) 11:45pm electronically. It is not graded but it counts credit/no-credit. Homework 1 is posted on our assignment dropbox (https://canvas.uw.edu/courses/847774/assignments)

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

What is entropy?

Events Ek each occur with probability pk. pk indicates the likelihood of the event Ek happening.

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

What is entropy?

Events Ek each occur with probability pk. pk indicates the likelihood of the event Ek happening. Shannon information of event Ek is I(Ek) = log(1/pk). It indicates : (^1) a measure of surprise of finding out Ek. If pk = 1 ⇒no surprise in finding out that Ek occurred, while pk = 0 ⇒ infinite surprise in finding out Ek.

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

What is entropy?

Events Ek each occur with probability pk. pk indicates the likelihood of the event Ek happening. Shannon information of event Ek is I(Ek) = log(1/pk). It indicates : (^1) a measure of surprise of finding out Ek. If pk = 1 ⇒no surprise in finding out that Ek occurred, while pk = 0 ⇒ infinite surprise in finding out Ek. (^2) A measure if information gained in finding out Ek (information gained is equal to surprise). pk = 1 ⇒No information is gained, while pk = 0 ⇒ infinite information is gained.

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

What is entropy?

Events Ek each occur with probability pk. pk indicates the likelihood of the event Ek happening. Shannon information of event Ek is I(Ek) = log(1/pk). It indicates : (^1) a measure of surprise of finding out Ek. If pk = 1 ⇒no surprise in finding out that Ek occurred, while pk = 0 ⇒ infinite surprise in finding out Ek. (^2) A measure if information gained in finding out Ek (information gained is equal to surprise). pk = 1 ⇒No information is gained, while pk = 0 ⇒ infinite information is gained. (^3) A measure of the “uncertainty” of Ek (but really unexpectedness). Unexpectedness is the thing that determines interest, or information. Also, information required to resolve this particular unexpectedness. (^4) I(Ek) = − log p(Ek) == the self information of that event, or that message. Why is it called self-information? We’ll soon see.

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

What is entropy?

Events Ek each occur with probability pk. pk indicates the likelihood of the event Ek happening. Shannon information of event Ek is I(Ek) = log(1/pk). It indicates : (^1) a measure of surprise of finding out Ek. If pk = 1 ⇒no surprise in finding out that Ek occurred, while pk = 0 ⇒ infinite surprise in finding out Ek. (^2) A measure if information gained in finding out Ek (information gained is equal to surprise). pk = 1 ⇒No information is gained, while pk = 0 ⇒ infinite information is gained. (^3) A measure of the “uncertainty” of Ek (but really unexpectedness). Unexpectedness is the thing that determines interest, or information. Also, information required to resolve this particular unexpectedness. (^4) I(Ek) = − log p(Ek) == the self information of that event, or that message. Why is it called self-information? We’ll soon see. All logs are base 2 (by default), so log ≡ log 2 unless otherwise stated. ln will be natural log.

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

What is entropy?

The word “Uncertainty” doesn’t really apply to the individual event or information thereof (as it is described in some texts).

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

What is entropy?

The word “Uncertainty” doesn’t really apply to the individual event or information thereof (as it is described in some texts). If p(x) = 0, we are as certain about it not happening as we are certain about x happening when p(x) = 1.

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

What is entropy?

The word “Uncertainty” doesn’t really apply to the individual event or information thereof (as it is described in some texts). If p(x) = 0, we are as certain about it not happening as we are certain about x happening when p(x) = 1. That’s why “surprise, unexpectedness, etc.” are better words, self information is a measure of this. Unexpectedness is the thing that determines interest, or information. We care about that which is unexpected.

Entropy Mutual Information KL-Divergence & Cond. MI Review and Venn Scratch

Entropy - What’s in a name?

In Shannon’s 1948 paper, he used the term “entropy” which came from the “disorder” in a thermodynamical system. The term “Entropy” came from Rudolph Clausius, 1865: Since I think it is better to take the names of such quantities as these, which are im- portant for science, from the ancient lan- guages, so that they can be introduced with- out change into all the modern languages, I propose to name the magnitude S the entropy of the body, from the Greek word “trope” for “transformation.” I have inten- tionally formed the word “entropy” so as to be as similar as possible to the word “en- ergy” since both these quantities which are to be known by these names are so nearly related to each other in their physical signifi- cance that a certain similarity in their names seemed to me advantageous.