Surprise is measurable
H = βΞ£ p logβ p. Uniform sources maximize H; skewed sources carry fewer bits per symbol.
Module 5 Β· Foundation
More data β more information. Entropy measures surprise, noisy channels flip bits, and redundancy vs compression are engineering levers for recovery and trade-offs.
The single idea
Predictable outcomes carry little information; surprises carry more. In systems: flat metrics are dashboard noise; lossy summaries drop distribution tails.
H = βΞ£ p logβ p. Uniform sources maximize H; skewed sources carry fewer bits per symbol.
Each bit flips with probability p. Without coding BER β p; redundancy enables recovery.
For a binary symmetric channel C β 1 β H(p). You cannot beat that error-free.
LLM summaries and Grafana rollups are lossy. What did you drop? Does it matter for decisions?
Interactive
Generate a 16-bit message, run it through a channel with flip probability p, compare BER before and after majority decoding.
Decoder recovers the message β redundancy pays off.
What you should see
Same laws show up in monitoring, logs, ML pipelines, and token limits.
Ten KPIs correlated at 0.99 β low mutual information. One signal, noise elsewhere.
Sampling and rollups are lossy compression. Drop rare tails β drop the incident.
Context window = bandwidth. RAG routes signal; prompt injection injects noise.
Vectors compress meaning with loss. Similarity keeps signal; rare facts may vanish.
Cross-domain transfer
After the lab, map the model to your stack.
Memory bus BER.
Quantization and frontend noise.
Corrupted frame = lost symbol.
Aggregation = lossy compression.
Self-check
I can explain why a predictable source has low entropy.
I connect noise p, BER, and capacity C β 1 β H(p).
I see why redundancy/error coding beats Β«just send it againΒ» blindly.
I can name a lossy compression example in AI/observability and what gets lost.