Skip to main content
KetQat

Appearance

Definition · introductory

Maximum-likelihood decoding

A maximum-likelihood decoder returns a codeword that makes the received word most probable. With equally likely codewords it minimises the block error probability. Minimum-distance, bounded-distance and syndrome decoding are related rules.

Established definitionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Let CC be a code of length nn used on a channel with transition probabilities Wn(y∣x)W^n(y \mid x). A decoder is a map from received words yy to codewords, possibly with an extra output "failure". Its block error probability for a transmitted codeword cc is the probability that the output differs from cc.

  • A maximum-likelihood (ML) decoder outputs, for each yy, a codeword c^\hat c maximising Wn(y∣c)W^n(y \mid c) over c∈Cc \in C, ties broken by a fixed rule.
  • A maximum a posteriori (MAP) decoder maximises Pr⁡[c] Wn(y∣c)\Pr[c]\, W^n(y \mid c) for a given prior on codewords. It minimises the average block error probability, and it coincides with the ML decoder when the codewords are equally likely.
  • A minimum-distance decoder outputs a codeword nearest to yy in Hamming distance.
  • A bounded-distance decoder of radius tt outputs the codeword within distance tt of yy if there is one and fails otherwise; for 2t≤d−12t \le d - 1 that codeword is unique.

For a linear code with parity-check matrix HH, a syndrome decoder fixes for every syndrome ss one error ese_s with HesT=sH e_s^{T} = s and outputs y−es(y)y - e_{s(y)}. When each ese_s has minimum weight in its coset it is called a coset leader, and the decoder is a minimum-distance decoder.

These rules are about which codeword to output; they say nothing about how to compute it. On the binary symmetric channel with crossover probability below one half, the ML, minimum-distance and coset-leader syndrome decoders coincide up to the breaking of ties; see the theorem on syndrome decoding.

Builds on
Part of
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Thomas M. Cover, Joy A. Thomas (2005). Elements of Information Theory. Wiley (2nd edition). doi:10.1002/047174882X
  2. W. Cary Huffman, Vera Pless (2003). Fundamentals of Error-Correcting Codes. Cambridge University Press. doi:10.1017/CBO9780511807077

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Definitions of ML, MAP, minimum-distance, bounded-distance (uniqueness for 2t <= d-1) and coset-leader syndrome decoding re-derived; ML = coset-leader decoding checked by brute force on the [7,4] Hamming code over BSC(0.07). Textbooks (Cover-Thomas, Huffman-Pless) not openly readable; DOIs checked on Crossref.

    The final sentence said the ML, minimum-distance and syndrome decoders coincide on every binary symmetric channel and referred to them by bullet position although the syndrome decoder is not a bullet. They coincide only for crossover probability below 1/2 and up to tie-breaking; the sentence now says so and names the decoders.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 47370b0dad176671. Source file knowledge/records/definition/maximum-likelihood-decoding.md in the content repository (readable there once it is public).