c16 · E3

Open: Information and Compression

c16.E3.1E3 · open

The source coding theorem gives a floor of bits for a block of symbols, on the assumption that the distribution of the source is known in advance. In practice you learn the distribution from the same data you compress: you count symbol frequencies, build a Huffman tree or a model, and write the model's description alongside the encoded message. On a source that changes over time, yesterday's model is wrong today, and a model fitted to the whole message may describe the message better than it describes the next one.

The chapter's tools point in several directions: send the model's description, fix the model in advance and amortise its cost over many messages, or let the decoder learn the model while it reads. No rule in the chapter says what a single reported compressed length promises when the model is learned from the message. Take a position: when the source is unknown, what should a compressed length promise, and how should the cost of the model be counted?

In your answer: say what the encoder builds its code from and what the decoder is told; say how the model's description enters the bit count; say what the reported number is a promise about, such as this message, this source, or the next block; say what happens when the source changes; and name one way a reported compression ratio can mislead even when the encoder and the decoder are both correct.

Rubric. Tick each criterion your answer meets, then save the self-assessment. The platform does not grade it.

Other tiers

E1 Practise · E2 Derive

Every hint opened, solution viewed and answer checked is recorded in this browser only. See Progress to export or delete it.