Channel code 2026-10-25
A deterministic fixed-length channel code consists of a channel encoder and a channel decoder . It represents possible messages by length- input codewords for a communication channel, and estimates the message from the resulting output word. Its code rate is bits per channel use. The maximal decoding error probability requires reliable recovery of every message, while an average error criterion depends on the chosen message probability distribution.
Channel decoder 2026-10-14
A deterministic channel decoder maps a received length- word over the output alphabet to an estimated message label. Given message , successful decoding means , where is the random received word after the communication channel acts on the channel encoder's word . The channel decoder can recover a message despite changed symbols because it uses the relationships among complete codewords. The Shannon second coding theorem concerns choosing both maps so that the decoding-error probability becomes small at a specified rate.
For a deterministic length- channel code with messages on a binary erasure channel of erasure probability , exclude the message decoded from the all-erased output. Under a uniform choice of the other messages, success probability is at least . Conditional on an erasure pattern with unerased positions, there are at most output words, so average success is at most . With no unerased positions it is zero.
Put . The scalar bound is immediate for . Otherwise set . Since for ,The inequality follows because equality holds at and the derivative of is for . Averaging the scalar bound over the number of unerased positions, with , proves the displayed claim. Thus implies code rate . The cases satisfy this rate bound directly.
Deterministic decoding is essential to this version: on an always-erased channel, a randomized uniform guess has maximal decoding error probability despite receiving no information. The usual deterministic channel decoder has maximal error one when on that channel.
Maximal decoding error probability 2026-10-25
The worst message's error probability under a specified channel encoder, communication channel, and channel decoder. It upper-bounds the average error probability under every message probability distribution. In particular, a uniform bound on maximal decoding error probability remains valid after restricting to any nonempty subset of messages. This distinguishes it from an average-only error guarantee in channel coding.
Use the standard deterministic channel encoder and channel decoder, with message labels and code rate . The Fano's inequality hint printed here replaces by , which is false in general: take uniform on and in the common alphabet . The error probability is one and its binary entropy is zero, so the proposed bound asserts . The correct Fano's inequality alone gives , which does not immediately give the requested additive . The following erasure-pattern counting bound for maximal decoding error proves the displayed claim directly.
The case is immediate because . Suppose , put , and let be the message that the channel decoder returns on the all-erased output. Choose uniformly among the other messages. Every one of these messages is decoded correctly with probability at least , by the assumed maximal decoding error probability bound.
Let be the random set of unerased coordinates and . For each fixed with , at most output words are possible. A deterministic channel decoder can correctly identify at most one message per output word, so its conditional success probability, averaged over these messages, is at most . When , success is zero because was excluded.
For every integer ,If , this is immediate. If , write . The elementary inequality for giveswhere the middle inequality is . This proves the needed scalar bound.
Taking the expectation over erasure patterns, and using , yieldsConsequently the requested bound is valid:The use of maximal decoding error probability matters: excluding one message preserves the lower bound on success. The deterministic channel decoder convention also matters; allowing independent randomized guessing would invalidate this particular finite-length claim at .
With channel feedback, resend each message bit through a binary erasure channel until a non-erased copy arrives, then move to the next bit. The channel decoder deletes erasure symbols, giving the message without error whenever transmission completes. For , the waiting times have an independent and identically distributed geometric distribution with expectation , so every finite message completes almost surely. The strong law of large numbers gives forward code rate , matching channel capacity. At , transmission never completes. Independent erasure indicators, rather than independent message bits, are the essential hypothesis.