The present invention relates to mechanisms for maximum a posteriori (MAP) decoding of signals encoded using error correction codes, and, more particularly, to MAP decoding of signals encoded using Reed-Muller codes.
Error correction codes are often employed in communication systems to provide increased resilience to channel noise. Generally, error correction encoding techniques typically employ convolutional, block or concatenated coding of the data before the signal is modulated so that errors introduced by noise and interference on the channel may be corrected. One popular family of linear low rate error correction codes having large minimum distances is first order Reed-Muller codes. Many other codes of higher rates can be considered as unions of cosets of first order Reed-Muller codes. These codes can also be used in concatenation with other codes. For a discussion of Reed-Muller codes see, for example, Y. Be'ery and J. Snyders, “Optimal Soft Decision Block Decoders Based On Fast Hadamard Transform,” IEEE Trans. on Inf. Theory, v. IT-32, 355-364 (1986); or R. R. Green, “A Serial Orthogonal Decoder,” JPL Space Programs Summary, v. 37-39-IV, 247-253 (1966), each incorporated by reference herein.
The received signal, which is typically corrupted by the noise and interference on the channel, must be decoded at the receiver. Typically, maximum a posteriori (MAP) decoding techniques are applied to decode signals encoded using error correction codes to make maximum probability decisions about each transmitted bit. For a detailed discussion of conventional decoding techniques for Reed-Muller codes see, for example, A. Ashikhmin and S. Litsyn, “Fast Decoding of First Order Reed-Muller and Related Codes,” Designs, Codes and Cryptography, vol. 7, pp. 187-215, 1996.
One particular implementation of the MAP decoding algorithm, commonly referred to as the BCJR algorithm, was proposed in L. R. Bahl, J. Cocke, F. Jelinek and J. Raviv, “Optimal Decoding of Linear Codes for Minimizing Symbol Error Rate”, IEEE Trans. Inform. Theory, V. IT-20, 284-287 (March, 1974), incorporated by reference herein. The BCJR algorithm is a symbol-by-symbol decoder based on a trellis representation of a code. The BCJR algorithm for binary first order Reed-Muller codes has a complexity that is proportional to n2, where n is the code length.
A need exists for a MAP decoding technique having reduced complexity. A further need exists for a MAP decoding technique that permits faster decoding by permitting a parallel implementation.
Generally, a method and apparatus are disclosed for MAP decoding of signals encoded using error correction codes to make maximum probability decisions about each transmitted bit. In one particular implementation, a MAP decoding algorithm is disclosed that exploits properties of Reed-Muller error correction codes to provide a decoding algorithm with significantly reduced complexity. While conventional decoding algorithms, such as the BCJR algorithm, for binary first order Reed-Muller codes have a complexity that is proportional to n2, where n is the code length, the disclosed decoding algorithm has a complexity that is proportional to n log n for Reed-Muller codes.
The disclosed MAP decoding algorithm determines the probability that a given symbol is each possible value and selects a value for each symbol based on the value having the maximum probability. The disclosed MAP decoding algorithm employs two matrices D and {overscore (D)} that are qk−1×n matrices to represent the code set, where q is the number of possible code values (e.g., q equals two in a binary implementation), n is the code length and k is the number of information symbols. The disclosed algorithm requires qk−1q(n−1) summations of real numbers and has an overall complexity that is exponential for a general code set.
When applied to Reed-Muller codes, however, the disclosed MAP decoding algorithm employs matrices Bi and {overscore (Bi)} that are sparse matrices (i.e., contain many zero entries). Thus, the number of required operations and the complexity are greatly reduced and has a complexity that is proportional to n log n. In addition, the disclosed MAP decoding algorithm permits faster decoding by permitting a parallel implementation. While conventional decoding algorithms, such as the BCJR algorithm, for binary first order Reed-Muller codes have a critical path length that is proportional to n, the disclosed decoding algorithm has a critical path length that is proportional to 2 log n for Reed-Muller codes.
A more complete understanding of the present invention, as well as further features and advantages of the present invention, will be obtained by reference to the following detailed description and drawings.
According to another aspect of the invention, a MAP decoding algorithm 300, discussed below in conjunction with
While the present invention is illustrated herein using exemplary Reed-Muller codes, the present invention may be applied to any error correction code. As discussed hereinafter, the present invention is particularly useful for Reed-Muller codes and other codes that may be represented as a product of sparse matrices.
Let Fq be the Galois field of size q (i.e., a finite field of q elements) and let C be an [n,k] linear code over Fq. It is assumed that codewords of C are transmitted through a memoryless channel 120. Let Q be an output sampling space, either finite or infinite, of the channel 120. In the case of finite Q, it is assumed that conditional probabilities Pr(y|a) of receiving symbol y∈Q under the condition that symbol α∈Fq has been transmitted are known. If Q is infinite, then y is a continuous random variable whose density function, say ƒα(y), is defined by a transmitted symbol α∈Fq. For instance, if a binary code with binary modulation is used in a channel 120 with white additive Gaussian noise then we have two density functions:
and θ is the signal to noise ratio. It is assumed that functions ƒα(y) are known for all α∈Fq. Since a memoryless channel is assumed, the conditional probability of receiving a vector y∈Qn under the condition that a vector c∈Fqn has been transmitted, can be written as the following product:
It is also assumed that all codewords have the same probability to be transmitted and therefore this probability equals
It is assumed that a vector c=(c0,c1, . . . ,cn−1)∈C is transmitted and a vector y∈Qn is received. The goal is to determine what was the j-th transmitted symbol. To do this, the conditional probabilities Pr(cj=α|y) are estimated for all α∈Fq and the maximum one is selected.
Let
is the set of all codewords whose j-th symbol is α. In the case of finite Q, using Bayes rule and equation (1), the conditional probabilities can be expressed as follows:
Using similar arguments, in the case of infinite Q, the conditional probabilities can be expressed as follows:
The denominator of equations (2) and (3) is the same for a α∈Fq. Therefore, for MAP decoding, it is enough to estimate only the sum of products of Pr(yi|bj) or ƒb
In one implementation of the present invention, Group algebra techniques are employed to more conveniently manipulate an array containing probabilities of each possible value of the received symbol in an appropriate manner. In the following discussion, the symbols ·, ⊕, and ⊖ are used to denote multiplication, addition, and subtraction in Fq, respectively. To simplify the notation, integer numbers and indexes, such as i, j, etc. are used either as natural numbers or as elements of Fq, whose meaning will be clear from the context in a given expression.
Let x be a formal variable. The set of monomials xα,α∈Fq, form a multiplicative group G. The group G and the additive group of Fq are isomorphic. Additions in Fq correspond to multiplications in G. All formal sums:
form the group algebra, say G[R]. Additions and multiplications in G[R] are defined as follows
A bold font is used to denote elements of G[R]. Thus, if v, w, z∈G[R] then:
(vw)z=v(wz) and v(w+z)=vw+vz. (4)
It is assumed that C contains all-one codeword and let Ĉ be an [n,k−1] subcode of C such that (1,1, . . . ,1)∉Ĉ. It is assumed that codewords of Ĉ are enumerated by integers 0,1,2, . . . and that the all-zero codeword has the index 0. The j-th symbol of the i-th codeword of Ĉ is denoted as ci,j.
Let D and {overscore (D)} be qk−1×n matrices associated with the code Ĉ and defined as follows:
D=[di,j]=[xc
For example, if Ĉ is a code over F3 consisting of the following three vectors: (0,0,0),(1,1,2),(2,2,1), then matrices D and {overscore (D)} are expressed as follows:
It is noted that entries of D and {overscore (D)} are from G[R]. As previously indicated, it is assumed that a codeword c∈C has been transmitted and a vector y∈Qn has been received from the channel. Consider the case of finite Q. The vector w=(w0,w1, . . . ,wn−1)∈G[R]n, is computed on the basis of the vector y, where:
It is noted that here all operations are fulfilled in G[R] and
Proposition 1:
The vector (v0,v1, . . . ,vn−1)∈G[R] is now formed, where:
Then the following proposition results:
Proposition 2:
Proof:
The proof is similar to the proof of the previous proposition.
Let Q be infinite. The vector w=(w0,w1, . . . ,wn−1)∈G[R]n is defined as follows:
Using the same arguments as discussed above in conjunction with Propositions 1 and 2, the following is obtained:
From definitions (2) and (3) of MAP decoding, Propositions 1 and 2, and equations (6) and (7), it follows that the following algorithm is the MAP decoding of the code C.
Thereafter, the sum of the logs of the probabilities of all symbols of each codeword is obtained during step 220 by multiplying the vector of symbols, wjα; by a matrix, {overscore (D)}, associated with the codeset, as follows:
tT={overscore (D)}wT.
The obtained expression is converted to a product of the probabilities for each code word,
during step 230 as follows:
The product of the probabilities for each possible value,
is multiplied by the matrix D, during step 240, as follows:
sT=DTv;
to obtain the vector sT, indicating the probabilities for a given symbol to be each possible value.
Finally, a value is selected for each symbol, cj, during step 250, by selecting the maximum value, as follows:
cj=β, 0≦j≦n−1, where β is such that
To estimate the complexity of the algorithm 200, let
an arbitrary element of G[R]. Let y=xβ, β∈Fq, i.e., y is an element of G[R] of a special form. Then the following multiplication:
is a permutation of terms in w. For this reason, the complexity of such kind of multiplication is zero. Let z=xγ and (w0,w1)∈G[R]2. The multiplication of the vectors:
requires q summations of real numbers. In general, multiplication of a vector (y0, . . . ,yn−1)∈G[R]n whose entries have the form yj=xβ
Matrices D and {overscore (D)} are qk−1×n matrices whose entries are of the form xβ, β∈Fq. Hence, steps 220 and 240 of the algorithm require qk−1q(n−1) summations of real numbers. Steps 210, 230, and 250 of the algorithm have linear complexity. Hence, the overall complexity of the algorithm is exponential.
As previously indicated, the present invention also includes a MAP decoding algorithm 300 for decoding Reed-Muller codes. The present invention recognizes that for first order Reed-Muller codes, the complexity of the general MAP decoding algorithm 200 can be significantly reduced.
The q-ary first order Reed-Muller code RM(q,m) is a q-ary linear code of length n=qm, dimension k=m+1, and minimum distance d=qm−qm−1. These codes are optimal, i.e., they have the maximum possible minimum distance for given length and dimension. The binary Reed-Muller codes were defined in D. E. Muller, “Application of Boolean Algebra to Switching Circuit Design and to Error Detection,” IEEE Trans. Computers, v. 3, 6-12 (1954) and I. S. Reed, “A Class of Multiple-Error-Correcting Codes and the Decoding Scheme,” IEEE Trans. Inf. Theory, v. IT-4, 38-49 (1954) and nonbinary Reed-Muller codes were defined in P. Delsarte et al., “On Generalized Reed-Muller Codes and Their Relatives,” Info. and Control, v. 16, 403-42 (1974); and T. Kasami et al., “New Generalizations of the Reed-Muller Codes, Part 1: Primitive Codes,” IEEE Trans. on Inf. Theory, v. IT-14, 189-99 (1968).
The following formal definition of RM(q,m) is convenient. The indexes 0≦j≦qm−1 and 0≦i≦qm+1−1 may be expressed in the form:
j=j0+j1q+ . . . +jm−1qm−1, 0≦j1≦q−1,
i=i0+i1q+ . . . +im−1qm−1+rqm, 0≦i1,r≦q−1.
Then, the j-th symbol of the i-th codeword of RM(q,m) is defined as follows:
ci,j=i0·j0⊕i1·j1⊕ . . . ⊕im−1·jm−1⊕r.
Similar to the previous section, we denote by (q,m) a [qm,m] the linear subcode of RM(q,m) that does not contain the vector (1,1, . . . ,1). Thus, in
(q,m) j-th symbol of i-th codeword is defined as follows:
ci,j=i0·j0⊕i1·j1⊕ . . . ⊕im−1·jm−1
For example, if q=3, m=2, and i=7 then
c
7=(0,1,2,2,0,1,1,2,0).
In the following discussion, the Kronecker product of matrices is needed.
Definition 1:
If A=[ai,j] and B=[bi,j] are t×t and s×s matrices, respectively, then the Kronecker product of A and B, denoted as A{circle around (×)}B, is the ts×ts matrix given by
In other words, A{circle around (×)}B is obtained by replacing every entry ai,j by ai,jB. The following properties of the Kronecker product are well known:
(A{circle around (×)}B)(C{circle around (×)}D)=AC{circle around (×)}BD, (8)
(A{circle around (×)}B){circle around (×)}C=A{circle around (×)}(B{circle around (×)}C). (9)
E=[ei,j]=A{circle around (×)}B. i and j are represented in the form:
i=i0s+i1, 0≦i0≦t−1, 0≦i1≦s−1,
j=j0s+j1, 0≦j0≦t−1, 0≦j1≦s−1. (10)
Thus, from the definition of the Kronecker product:
ei,j=ai
Let F=[ƒi,j] be a q×q matrix whose entries are defined as follows ƒi,j=xi·j, 0≦i, j≦q−1. It is noted that in this definition i and j are considered as elements of Fq and entries of F are from G[R]. If, for instance, q=3, then:
Similarly, {overscore (F)}=[{overscore (ƒ)}i,j], where {overscore (ƒ)}i,j=x⊖(i·j). Let D and {overscore (D)} be matrices defined by equation (5) for the code (q,m).
Lemma 3:
Proof:
Let
0≦i, j≦qm−1 . . . Similar to equation (11), we have
i=i0qm−1+i1qm−2+ . . . +im−1, 0≦i1≦q−1,
j=j0qm−1+j1qm−2+ . . . +jm−1, 0≦j1≦q−1.
Hence,
The proof of the second equation is similar.
The n×n diagonal matrix, denoted by In, has diagonal entries x0. Let us define the matrices Bi=I2
Lemma 4:
Proof:
Using the properties (8) and (9), and the obvious equality
the following is obtained:
The proof for the second equation is similar.
After taking into account equation (4), the MAP decoding algorithm 200, discussed above in conjunction with
As shown in
having group algebra elements during step 310, based on the received signal, as follows:
0≦j≦n−1,α∈Fq;
Thereafter, the sum of the logs of the probabilities of all symbols of each codeword is obtained during step 320 by multiplying the vector of symbols, wT, by a matrix, {overscore (B)}i, associated with the Reed-Muller codeset, as follows:
For i from 1 to m do
zT={overscore (Bi)}wT;
w=z;
The obtained expression is converted to a product of the probabilities for each code word, viα, during step 330 as follows:
0≦i≦qm−1;α∈Fq;
The product of the probabilities for each possible value, vT, is multiplied by the matrix Bi, during step 340, as follows:
For i from 1 to m do
zT=BivT;
v=z;
to obtain the vector zT, indicating the probabilities for a given symbol to be each possible value.
Finally, a value is selected for each symbol, cj, during step 350, by selecting the maximum value, as follows:
cj=β,0≦j≦n−1, where β is such that
To estimate the complexity of the algorithm 300, it is noted that matrices Bi and {overscore (Bi)} are sparse matrices. Any of them contains exactly q nonzero entries of the form xβ,β∈Fq, in each row and each column. For instance if q=3 and m=2 then B1 and B2 are
Hence, a multiplication of the form BiwT takes qm(q−1)q=(q−1)qn summations of real numbers. Thus, the total complexity of Algorithm 300 is proportional to q2n lognn .
In the binary case it is possible to reduce the complexity even further by about n log2n operations. Let
The following matrices are defined:
Bi=I2
having group algebra elements during step 410, based on the received signal, as follows:
0≦j≦n−1,α=0,1;
Thereafter, the sum of the logs of the probabilities of all symbols of each codeword is obtained during step 420 by multiplying the vector of symbols, wT, by a matrix, {overscore (B)}i, associated with the binary Reed-Muller codeset, as follows:
For i from 1 to m do
zT={overscore (Bi)}wT;
w=z;
The obtained expression is converted to a product of the probabilities for each possible value,
during step 430 as follows:
0≦i≦2m−1,α=0,1;
A vector s=(s0,s1, . . . ,sn−1)∈Rn is computed during step 435 as follows
0≦i≦2m−1;
The product of the probabilities for each possible value, sT, is multiplied by the matrix Bi, during step 440, as follows:
For i from 1 to m do
zT=BisT;
s=z;
to obtain the vector zT, indicating the probabilities for a given symbol to be each possible value.
Finally, a value is selected for each symbol, cj, during step 450, as follows:
0≦j≦n−1.
It is noted that on the step 450 of the algorithm 400 multiplication of real valued matrices Bi by real valued vectors s are performed. Such multiplications require only n summations compared to 2n on step 340 of the algorithm 300 (FIG. 3). Therefore, the complexity is reduced by about n log2n summations.
Using arguments similar to those described above in conjunction with the proof of Propositions 1 and 2, it is seen that after step 450 of the algorithm 400 entries of the vector s are
Therefore, to make a MAP decision on the value of the j-th transmitted symbol it is enough to estimate the sign of sj. Thus, the algorithm performs MAP decoding of binary first order Reed-Muller codes.
It is to be understood that the embodiments and variations shown and described herein are merely illustrative of the principles of this invention and that various modifications may be implemented by those skilled in the art without departing from the scope and spirit of the invention.
Number | Name | Date | Kind |
---|---|---|---|
5926488 | Khayrallah | Jul 1999 | A |
6145114 | Crozier et al. | Nov 2000 | A |
20020122510 | Yakhnich et al. | Sep 2002 | A1 |
20030026224 | Kim et al. | Feb 2003 | A1 |
20030074626 | Coker et al. | Apr 2003 | A1 |
20040071357 | Cook | Apr 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20030188250 A1 | Oct 2003 | US |