Hamming distortion Created 2026-09-24 Updated 2026-10-14
Hamming distortion is zero for a correctly reconstructed symbol and one for a mismatch. Its expected distortion is the symbol-error probability:For strings of length , separable distortion divides their Hamming distance by . Thus reconstructed as has Hamming distance one and average Hamming distortion . Counting only whether the whole string is correct would give a different criterion.
Separable distortion 2026-10-14
For a block code, separable distortion is the average of the individual symbol costs. With Hamming distortion it is the fraction of incorrectly reconstructed symbols, rather than the unnormalized number of mismatches. This normalization makes expected distortion comparable across different block lengths.[ref]
Shannon's rate-distortion theorem 2026-10-14
For a finite alphabet source with independent and identically distributed symbols, a finite reconstruction alphabet, and a bounded nonnegative separable distortion, the rate-distortion function is the asymptotic limit for fixed-length lossy codes. In particular, for a distortion target in the interior of the feasible range and every , sufficiently long block codes exist with rate at most and expected distortion at most . Every such -symbol code obeys , where is its actual expected distortion.[ref]
The outline is instructive. The data processing inequality bounds the mutual information in a reconstruction by the information entropy of the transmitted message, which is at most . Independence and the convexity of the rate-distortion function then give the per-symbol lower bound. For achievability, choose many reconstruction blocks using a suitable probability distribution, so that the source's typical blocks are likely to have an acceptable nearby reconstruction. This is a covering argument; it does not require recovering the original block exactly.