Skip to content

Majority Logic Decoding

A decoder reconstructs a code bit or coefficient from redundant estimates when the code keeps correctable errors from overturning their majority.

Version
v1 · 2026-10-04 · History
Domain-specific #
13747
Domain group
Applied Sciences & Engineering
Origin domain
Computer Science & Software Engineering
Subdomain
Coding Theory → Computer Science & Software Engineering
Aliases
Majority-logic decoding

Core Idea

Majority-logic decoding recovers a bit or coefficient from several code-derived estimates of the same target. If fewer than half of those estimates are wrong, the majority is correct. A repetition code uses received copies directly; other codes construct estimates from parity checks. The decisive requirement is that the code keeps a correctable error pattern from corrupting too many estimates, not merely that a majority gate exists.[1]

How would you explain it like I'm…

Most Copies Win

If you ask several friends the same question and some might mishear, you can go with the answer most of them give. As long as fewer than half get it wrong, the most popular answer is the right one. Computers do this to fix mistakes in messages.

Fixing Errors by Voting

When computers send messages, some bits (0s and 1s) can get flipped by noise. Majority Logic Decoding fixes this by getting several separate guesses for the same bit and choosing the value that more than half of them agree on. The simplest way is to send each bit an odd number of times, like 5; if at most 2 copies get flipped, the other 3 still win the vote. Smarter codes make the guesses using clever checks instead of plain copies. The vote only works if the code is built so that a small number of errors can't spoil most of the guesses.

Majority Vote over Code Checks

Majority Logic Decoding is an error-correction method that builds several redundant estimates of the same bit (or code position or message coefficient) from a received codeword, then picks the value supported by a strict majority. Its guarantee is conditional: if fewer than half the estimates are wrong, the vote is correct. The simplest example is a repetition code: send a bit 2t+1 times; if at most t copies flip, at least t+1 stay correct and the majority wins, with no probability needed. If you additionally assume each copy flips independently with the same probability p, you can calculate the failure chance with a binomial formula—but that formula is wrong for correlated or uneven noise. In more advanced codes, estimates come from parity checks that are 'orthogonal' on the target bit, arranged so that a few errors can only spoil a few checks.

 

Majority-logic decoding forms redundant, code-derived estimates of the same target, a bit, code coordinate or message coefficient, and outputs the value supported by a strict majority. The guarantee is conditional: if fewer than half the estimates are wrong, the vote recovers the target. Crucially, it is the code and check construction, not the majority gate itself, that must ensure correctable error patterns cannot corrupt too many estimates. In the odd binary repetition code, a bit sent 2t+1 times survives up to t flips deterministically. Only under an additional i.i.d. flip model with probability p does the failure probability equal the binomial tail, the sum over k from t+1 to 2t+1 of C(2t+1,k) p^k (1-p)^(2t+1-k); correlated or unequal noise changes this. For general linear codes, estimates come from parity checks orthogonal on a target coordinate: each includes the target while their other supports are separated, so bounded errors corrupt boundedly many checks. Such constructions exist for Schubert codes, and the classical Reed-Muller decoder uses degree-ordered votes on message coefficients, distinct from repetition voting over received copies.

Scope of Application

For \(2t+1\) repeated binary copies, at most \(t\) flipped copies can be corrected. Under independent equal-probability flips, failure is a binomial tail beyond \(t\) flips; correlated errors require another model. Singh's original Schubert-code study builds coordinate-orthogonal checks from lines and, in Corollary 5.15, obtains up to \(\lfloor(d-1)/2\rfloor\) errors for binary \(C_\alpha(2,m)\) when \(\alpha_1=2\), but one fewer when \(\alpha_1=3\). This is a family- and parameter-specific bound.[1] Ly and Soljanin describe the classical Reed–Muller decoder as degree-ordered coefficient voting with subtraction between stages; that schedule is not universal to majority-logic decoding.[2]

Clarity

If \(1\) is sent five times and the receiver sees \(10101\), three of the five estimates still say \(1\), so majority corrects the two flips. By contrast, three parity-derived estimates that all depend on one vulnerable auxiliary bit could all flip together. Counting votes without examining their error supports would give a false guarantee.

Manages Complexity

When the code provides well-separated estimates, a decoder can use local parity computations and a majority decision rather than a global search. Redundancy costs code symbols or check circuitry, and constructing the votes may be much harder than the final Boolean decision.

Abstract Reasoning

Write down the common target and how every estimate is obtained. Verify that each returns the target with no errors. Then trace how each allowed channel error affects estimates and prove that a strict majority remains correct. Only after that bound should a channel probability model be used for a failure rate.[1]

Knowledge Transfer

The reusable pattern is redundant views of one unknown plus majority under bounded corruption. In coding theory, the estimates and bounds come from the code's algebra; ordinary voting does not inherit its correction guarantee.

Relationships to Other Abstractions

Local relationship map for Majority Logic DecodingParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.MajorityLogic DecodingDOMAINDomain-specific abstraction: Error-Correcting Code — presupposesError-CorrectingCodeDOMAIN

Current abstraction Majority Logic Decoding Domain-specific

Parents (1) — outgoing typed relations

  • Majority Logic Decoding presupposes Error-Correcting Code Domain-specific

    Majority-logic decoding presupposes a code supplying redundant estimates and correction structure.

Hierarchy path (1) — routes to 1 parentless root

Neighborhood in Abstraction Space

Majority Logic Decoding sits in a sparse region of the domain-specific corpus (62nd percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Codes, Matrices & Combinatorial Problems (33 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Singh, “Majority Logic Decoding for Certain Schubert Codes Using Lines in Schubert Varieties” (2020), original orthogonal-parity-check construction and bounded-error result. registry ↩a ↩b ↩c

[2] Ly and Soljanin, “Optimum 1-Step Majority-Logic Decoding of Binary Reed–Muller Codes” (2026), original one-step decoder research; Section III.C directly describes the classical Reed procedure. The procedural description cited here comes from Ly and Soljanin, not Reed's 1954 paper. registry ↩