encyclopegia.org

Generalized minimum-distance decoding

In coding theory, generalized minimum-distance (GMD) decoding provides an efficient algorithm for decoding concatenated codes, which is based on using an errors-and-erasures decoder for the outer code.[1] A naive decoding algorithm for concatenated codes can not be an optimal way of decoding because it does not take into account the information that maximum likelihood decoding (MLD) gives.[src] In other words, in the naive algorithm, inner received codewords are treated the same regardless of the difference between their hamming distances.[src] Intuitively, the outer decoder should place higher confidence in symbols whose inner encodings are close to the received word.[src] David Forney in 1966 devised a better algorithm called generalized minimum distance (GMD) decoding which makes use of those information better.[1] This method is achieved by measuring confidence of each received codeword, and erasing symbols whose confidence is below a desired value.[src] And GMD decoding algorithm was one of the first examples of soft-decision decoders.[src] We will present three versions of the GMD decoding algorithm.[src] The first two will be randomized algorithms while the last one will be a deterministic algorithm.[src]

In coding theory, generalized minimum-distance (GMD) decoding provides an efficient algorithm for decoding concatenated codes, which is based on using an errors-and-erasures decoder for the outer code.[1] A naive decoding algorithm for concatenated codes can not be an optimal way of decoding because it does not take into account the information that maximum likelihood decoding (MLD) gives.[src] In other words, in the naive algorithm, inner received codewords are treated the same regardless of the difference between their hamming distances.[src] Intuitively, the outer decoder should place higher confidence in symbols whose inner encodings are close to the received word.[src] David Forney in 1966 devised a better algorithm called generalized minimum distance (GMD) decoding which makes use of those information better.[1] This method is achieved by measuring confidence of each received codeword, and erasing symbols whose confidence is below a desired value.[src] And GMD decoding algorithm was one of the first examples of soft-decision decoders.[src] We will present three versions of the GMD decoding algorithm.[src] The first two will be randomized algorithms while the last one will be a deterministic algorithm.[src] ==Setup== Hamming distance : Given two vectors u, v\in\Sigma^n the Hamming distance between u and v , denoted by \Delta(u, v) , is defined to be the number of positions in which u and v differ.[src] Minimum distance: Let C\subseteq\Sigma^n be a code.[1] The minimum distance of code C is defined to be d= \min\Delta(c_1, c_2) where c_1 \ne c_2 \in C Code concatenation: Given m = (m_1, \cdots, m_K) \in [Q]^K , consider two codes which we call outer code and inner code C_\text{out} = [Q]^K \to [Q]^N, \qquad C_\text{in} : [q]^k \to [q]^n, and their distances are D and d .[1] A concatenated code can be achieved by C_\text{out} \circ C_\text{in} (m) = (C_\text{in} (C_\text{out} (m)_1), \ldots, C_\text{in} (C_\text{out} (m)_N)) where C_\text{out}(m) = ((C_\text{out} (m)_1, \ldots, (m)_N)).[src] Finally we will take C_\text{out} to be RS code, which has an errors and erasure decoder, and K = O(\log N) , which in turn implies that MLD on the inner code will be polynomial in N time.[src] Maximum likelihood decoding (MLD): MLD is a decoding method for error correcting codes, which outputs the codeword closest to the received word in Hamming distance.[1] The MLD function denoted by D_{MLD} : \Sigma^n \to C is defined as follows.[src] For every y\in\Sigma^n, D_{MLD}(y) = \arg \min_{c \in C}\Delta(c, y) .[src] Probability density function : A probability distribution \Pr on a sample space S is a mapping from events of S to real numbers such that \Pr[A] \ge 0 for any event A, \Pr[S] = 1 , and \Pr[A \cup B] = \Pr[A] + \Pr[B] for any two mutually exclusive events A and B Expected value: The expected value of a discrete random variable X is \mathbb{E}[X] = \sum_x \Pr[X = x].[src] ==Randomized algorithm== Consider the received word \mathbf{y} = (y_1,\ldots,y_N) \in [q^n]^N which was corrupted by a noisy channel.[src] The following is the algorithm description for the general case.[src] In this algorithm, we can decode y by just declaring an erasure at every bad position and running the errors and erasure decoding algorithm for C_\text{out} on the resulting vector.[src] Randomized_Decoder Given : \mathbf{y} = (y_1,\dots,y_N) \in [q^n]^N .[src] For every 1 \le i \le N , compute y_i' = MLD_{C_\text{in}}(y_i) .[src] Set \omega_i = \min(\Delta(C_\text{in}(y_i'), y_i), \tfrac{d}{2}) .[src] For every 1 \le i \le N , repeat : With probability 2\omega_i \over d , set y_i \leftarrow ?, otherwise set y_i = y_i' .[src] Run errors and erasure algorithm for C_\text{out} on \mathbf{y} = (y_1, \ldots, y_N) .[src] Theorem 1.[src] Let y be a received word such that there exists a codeword \mathbf{c} = (c_1,\cdots, c_N) \in C_\text{out}\circ{C_\text{in}} \subseteq [q^n]^N such that \Delta(\mathbf{c}, \mathbf{y}) .[src] Then the deterministic GMD algorithm outputs \mathbf{c} .[src] Note that a naive decoding algorithm for concatenated codes can correct up to \tfrac{Dd}{4} errors.[src] Lemma 1.[src] Let the assumption in Theorem 1 hold.[src] And if \mathbf{y} has e' errors and s' erasures (when compared with \mathbf{c} ) after Step 1, then \mathbb{E}[2e' + s'] Remark.[src] If 2e' + s' , then the algorithm in Step 2 will output \mathbf{c} .[src] The lemma above says that in expectation, this is indeed the case.[src] Note that this is not enough to prove Theorem 1, but can be crucial in developing future variations of the algorithm.[src] Proof of lemma 1.[src] For every 1 \le i \le N, define e_i = \Delta(y_i, c_i).[src] This implies that \sum_{i=1}^N e_i Next for every 1 \le i \le N , we define two indicator variables: \begin{align} X{_i^?} = 1 &\Leftrightarrow y_i = ?[src] \\ X{_i^e} = 1 &\Leftrightarrow C_\text{in}(y_i) \ne c_i \ \text{and} \ y_i \neq ?[src] \end{align} We claim that we are done if we can show that for every 1 \le i \le N : \mathbb{E} \left [2X{_i^e + X{_i^?}} \right ] \leqslant {2e_i \over d}\qquad\qquad (2) Clearly, by definition e' = \sum_i X_i^e \quad \text{and} \quad s' = \sum_i X_i^?.[src] Further, by the linearity of expectation, we get \mathbb{E}[2e' + s'] \leqslant \frac{2}{d}\sum_ie_i To prove (2) we consider two cases: i -th block is correctly decoded (Case 1), i -th block is incorrectly decoded (Case 2): Case 1: (c_i = C_\text{in}(y_i')) Note that if y_i = ?[src] then X_i^e = 0 , and \Pr[y_i = ?] = \tfrac{2\omega_i}{d} implies \mathbb{E}[X_i^?] = \Pr[X_i^?[src] = 1] = \tfrac{2\omega_i}{d}, and \mathbb{E}[X_i^e] = \Pr[X_i^e = 1] = 0 .[src] Further, by definition we have \omega_i = \min \left (\Delta(C_\text{in}(y_i'), y_i), \tfrac{d}{2} \right ) \leqslant \Delta(C_\text{in}(y_i'), y_i) = \Delta(c_i, y_i) = e_i Case 2: (c_i \ne C_\text{in}(y_i')) In this case, \mathbb{E}[X_i^?] = \tfrac{2\omega_i}{d} and \mathbb{E}[X_i^e] = \Pr[X_i^e = 1] = 1 - \tfrac{2\omega_i}{d}.[src] Since c_i \ne C_\text{in}(y_i'), e_i + \omega_i \geqslant d .[src] This follows another case analysis when (\omega_i = \Delta(C_\text{in}(y_i'), y_i) or not.[src] Finally, this implies \mathbb{E}[2X_i^e + X_i^?] = 2 - {2\omega_i \over d} \le {2e_i \over d}.[src] In the following sections, we will finally show that the deterministic version of the algorithm above can do unique decoding of C_\text{out} \circ C_\text{in} up to half its design distance.[1] ==Modified randomized algorithm== Note that, in the previous version of the GMD algorithm in step "3", we do not really need to use "fresh" randomness for each i .[src] Now we come up with another randomized version of the GMD algorithm that uses the same randomness for every i .[src] This idea follows the algorithm below.[src] Modified_Randomized_Decoder Given : \mathbf{y} = (y_1, \ldots,y_N) \in [q^n]^N , pick \theta \in [0, 1] at random.[src] Then every for every 1 \le i \le N : Set y_i' = MLD_{C_\text{in}}(y_i) .[src] Compute \omega_i = \min(\Delta(C_\text{in}(y_i'), y_i), {d\over2}) .[src] If \theta , set y_i \leftarrow ?, otherwise set y_i = y_i' .[src] Run errors and erasure algorithm for C_\text{out} on \mathbf{y} = (y_1,\ldots, y_N) .[src] For the proof of Lemma 1, we only use the randomness to show that \Pr[y_i = ?] = {2\omega_i \over d}.[src] In this version of the GMD algorithm, we note that \Pr[y_i = ?] = \Pr \left [\theta \in \left [0, \tfrac{2\omega_i}{d} \right ] \right ] = \tfrac{2\omega_i}{d}.[src] The second equality above follows from the choice of \theta .[src] The proof of Lemma 1 can be also used to show \mathbb{E}[2e' + s'] for version2 of GMD.[src] In the next section, we will see how to get a deterministic version of the GMD algorithm by choosing \theta from a polynomially sized set as opposed to the current infinite set [0, 1] .[src] ==Deterministic algorithm== Let Q = \{0,1\} \cup \{{2\omega_1 \over d}, \ldots,{2\omega_N \over d}\} .[src] Since for each i, \omega_i = \min(\Delta(\mathbf{y_i'}, \mathbf{y_i}), {d \over 2}) , we have Q = \{0, 1\} \cup \{q_1, \ldots,q_m\} where q_1 for some m \le \left \lfloor \frac{d}{2} \right \rfloor .[src] Note that for every \theta \in [q_i, q_{i+1}] , the step 1 of the second version of randomized algorithm outputs the same \mathbf{y}.[src] .[src] Thus, we need to consider all possible value of \theta \in Q .[src] This gives the deterministic algorithm below.[src] Deterministic_Decoder Given : \mathbf{y} = (y_1,\ldots,y_N) \in [q^n]^N , for every \theta \in Q , repeat the following.[src] Compute y_i' = MLD_{C_\text{in}}(y_i) for 1 \le i \le N .[src] Set \omega_i = \min(\Delta(C_\text{in}(y_i'), y_i), {d\over2}) for every 1 \le i \le N .[src] If \theta , set y_i \leftarrow ?, otherwise set y_i = y_i' .[src] Run errors-and-erasures algorithm for C_\text{out} on \mathbf{y} = (y_1, \ldots, y_N) .[src] Let c_\theta be the codeword in C_\text{out} \circ C_\text{in} corresponding to the output of the algorithm, if any.[src] Among all the c_\theta output in 4, output the one closest to \mathbf{y} Every loop of 1~4 can be run in polynomial time, the algorithm above can also be computed in polynomial time.[src] Specifically, each call to an errors and erasures decoder of errors takes O(d) time.[src] Finally, the runtime of the algorithm above is O(NQn^{O(1)} + NT_\text{out}) where T_\text{out} is the running time of the outer errors and erasures decoder.[src] ==See also== Concatenated codes Reed Solomon error correction Welch Berlekamp algorithm ==References== University at Buffalo Lecture Notes on Coding Theory – Atri Rudra MIT Lecture Notes on Essential Coding Theory – Madhu Sudan University of Washington – Venkatesan Guruswami G.[src] David Forney.[src] Generalized Minimum Distance decoding.[1] IEEE Transactions on Information Theory, 12:125–131, 1966[src]

90 sentences · 90 cited inline · 1 references stored

References

  1. Lecture 28: Generalized Minimum Distance Decoding . November 5, 2007. · retrieved 2026-09-17 · rev 1375542771
    Cite this reference

    MLA "Lecture 28: Generalized Minimum Distance Decoding . November 5, 2007." Lecture 28: Generalized Minimum Distance Decoding. 2026-09-17. https://en.wikipedia.org/w/index.php?oldid=1375542771. Accessed 25 November 2026.

    Chicago "Lecture 28: Generalized Minimum Distance Decoding . November 5, 2007." Lecture 28: Generalized Minimum Distance Decoding. 2026-09-17. https://en.wikipedia.org/w/index.php?oldid=1375542771.

    APA Lecture 28: Generalized Minimum Distance Decoding. (2026). Lecture 28: Generalized Minimum Distance Decoding . November 5, 2007. Retrieved November 25, 2026, from https://en.wikipedia.org/w/index.php?oldid=1375542771

Cite this article

MLA

"Generalized minimum-distance decoding." encyclopegia.org, 2026, https://encyclopegia.org/wiki/generalized-minimum-distance-decoding. Accessed 25 November 2026.

Chicago

"Generalized minimum-distance decoding." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/generalized-minimum-distance-decoding.

APA

encyclopegia.org. (2026). Generalized minimum-distance decoding. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/generalized-minimum-distance-decoding

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Administrative distance

stub · references available

generalized method of moments

stub · references available

Euclidean distance

stub · references available

generalized mean

stub · references available

long-distance running

stub · references available

Minimum holiday entitlement for employees

stub · references available

Final Distance

stub · references available

generalized coordinate

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1375542771 · 0.5 · snapshot enwiki-001375542771

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.