In general, the present application relates to data encoding and decoding in communication systems. In particular, the present application relates to apparatuses and methods for encoding data and decoding data using codes based on polar codes or subcodes.
Reliable transmission of data over noisy communication channels usually requires some kind of error correction coding to be used. Polar codes were shown to achieve the Shannon capacity of many channels see E. Arikan, “Channel Polarization: A Method for Constructing Capacity-Achieving Codes for Symmetric Binary-Input Memoryless Channels,” IEEE Trans. on Inf. Theory, vol. 55, no. 7, pp. 3051-3073, July 2009). However, the performance of polar codes with practical parameters is often unsatisfactory.
Polar subcodes (see P. Trifonov and V. Miloslayskaya, “Polar subcodes”, IEEE Journal on Selected Areas in Communications, 34(2):254-266, February 2016) were shown to have higher minimum distance than classical polar codes, and provide substantially better performance under list, sequential and block sequential decoding (see I. Tal and A. Vardy, “List decoding of polar codes,” in Proc. IEEE Int. Symp. Inf. Theory, July 2011, pp. 1-5 and V. Miloslayskaya and P. Trifonov, “Sequential decoding of polar codes,” IEEE Commun. Lett., vol. 18, no. 7, pp. 1127-1130, July 2014). However, the performance of polar subcodes can still be improved.
In general, a (n=2m, k) polar subcode C over GF (2) can be defined as a set of vectors c=xW Am, wherein W represents a k×n precoding matrix,
represent a polarizing transformation, and Q⊗m denotes the m-times Kronecker product of a matrix Q with itself. Classical polar codes can be obtained by taking the matrix W, such that each column of W has weight at most 1, and each row has weight 1. Polar subcodes can be obtained by taking W such that the vectors c are also codewords of some parent code which has sufficiently high minimum distance, i.e. HT=0, wherein H is a check matrix of the parent code. For example, it is shown that extended Bose-Chaudhuri-Hocquenghem (BCH) can be good parent codes.
Another equivalent way to define a polar subcode is to consider it as a set of vectors c=uA, wherein uVT=0, and wherein V is a (n−k)×n constraint matrix, such that WVT=0. By means of a Gaussian elimination, the matrix V can be constructed in such a way that at most one row ends in each column. Afterwards, the following set of constraints on the input symbols u, of the polarizing transformation Am can be obtained:
u
j
=Σs<j
wherein ji is the position of the last non-zero entry in the i-th row of V. The symbols ji are also denoted dynamic frozen symbols. These dynamic frozen symbols can be considered as a generalization of the concept of (static) frozen symbol used in the construction of classical polar codes. A standard way to construct a polar subcode is to construct a matrix V=HAT, where H is a check matrix of a parent code, and then introduce additional constraints uj
wherein W(y|c) is the transition probability function of the underlying binary input memoryless output-symmetric channel, and aij=(ai, . . . , aj).
Another approach to describe polar subcodes is to define a set F of frozen bit indices ji, such that uj
All the above described approaches provide codes of length 2m. However, for practical applications, the construction of codes having any code length is desirable.
In order to obtain codes having a length different from 2m, several techniques can be applied, for example the so-called shortening and puncturing techniques. According to the shortening technique, given a C(N, K, D) linear block code, a
(n=N−v,k=K−v,d≥D)
shortened code can be obtained from the code C as a set of vectors (ci
Another way to obtain codes of different lengths is to use concatenation techniques. An example of such techniques is given by the so-called X4 construction described in the work by N. J. A. Sloane et al., “New binary codes,” IEEE Trans. On Inform. Theory, vol. IT-18, pp. 503-510, July 1972. This construction is based on linear codes C0 (n0, k0, d0), C1 (n0, k1, d1), C2 (n2, k2, d2), C3 (n2, k3, d3), such that C0 ⊂C1, C2 ⊂C3, k1−k0=k3−k2, and it is assumed that C1 has a generator matrix Gi, wherein
In such a way, an (n0+n2, k0+k3, min(d0, d2, d1+d3)) code having a generator matrix G given by the following equation:
can be obtained. Another example of a concatenation technique is given by the so-called XX construction described in the work by W. Alltop, “A Method for Extending Binary Linear Codes”, IEEE Transactions on Information Theory, 30 (6), November 1984, which is based on Ci(ni, ki, di), i=1, . . . , 6, codes, wherein
By means of these codes, an (n1+n5+n6, k1, min(d4, d2+d5, d3+d6, d1+d5+d6)) code having a generator matrix G given by the following equation:
can be obtained. However, the performance of the codes obtained by means of concatenation techniques still can significantly be improved.
Thus, there is a need for improved apparatuses and methods for encoding data and decoding data using codes based on polar codes or subcodes.
It is an object of the application to provide improved apparatuses and methods for encoding data and decoding data using codes based on polar codes or subcodes as well as to specify these codes in an efficient way.
The foregoing and other objects are achieved by the subject matter of the independent claims. Further implementation forms are apparent from the dependent claims, the description and the figures.
According to a first aspect the application relates to an encoding apparatus for encoding data x of dimension k into a codeword c of length n. The encoding apparatus comprises a processor configured to encode the data x using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2m
c=uA,
wherein ui=xjϕ
is a constraint matrix given by a solution of the equation:
T=0,
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein
is a precoding matrix, and wherein A is defined as follows:
wherein
and wherein Q⊗m denotes the m-times Kronecker product of a matrix Q with itself.
In a first possible implementation form of the encoding apparatus according to the first aspect as such, the processor is further configured to construct the code C(n, k, d) on the basis of a plurality of nested linear block codes Cij(2m
wherein G(i,j) is a ki,j×2m
wherein a precoding matrix of {tilde over (G)}(i,g) is defined by
wherein an index li,p of a column, where a p-th row of the matrix {tilde over (W)}(i,τ
and to construct the precoding matrix as a block matrix, wherein the blocks of the precoding matrix
consist of selected rows of the matrices {tilde over (W)}(i,j).
In a second possible implementation form of the encoding apparatus according to the first implementation form of the first aspect, the plurality of nested linear block codes Cij(2m
In a third possible implementation form of the encoding apparatus according to the first aspect as such or any one of the first to second implementation form thereof, the processor is further configured to construct a precoding matrix of the code C(n, k, d) as follows:
wherein ri=maxj:d
In a fourth possible implementation form of the encoding apparatus according to any one of the first to third implementation form of the first aspect, the processor is further configured to construct the matrix Ŵ(i,j) by means of rows of the matrix {tilde over (W)}(i,τ
In a fifth possible implementation form of the encoding apparatus according to the first aspect as such or any one of the first to fourth implementation form thereof, the processor is further configured to construct a first plurality of t rows of the matrix in such a way that the last non-zero elements in the first plurality of t rows are located in distinct positions j, j≥j0 for some integer j0, wherein the number of non-zero bits in the binary expansion of the integer j is set equal to w0, to construct elements of the first plurality oft rows located in columns having an index z<j by means of a pseudorandom number generator, and to construct a second plurality of n−k−t rows of matrix
as distinct weight-one rows.
In a sixth possible implementation form of the encoding apparatus according to the fifth implementation form of the first aspect, the pseudorandom number generator is a linear feedback shift register.
In a seventh possible implementation form of the encoding apparatus according to any one of the first to sixth implementation form of the first aspect, the processor is further configured to arrange the rows of the matrix W(i,r
In an eighth possible implementation form of the encoding apparatus according to any one of the first to seventh implementation form of the first aspect, the processor is configured to construct the matrix based on k rows of the matrix
with the smallest values of li,p.
According to a second aspect the application relates to a method for encoding data x of dimension k into a codeword c of length n. The method comprises the step of encoding the data x using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2m
c=uA,
wherein ui=xjϕ
is a constraint matrix given by a solution of the equation:
T=0,
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein
is a precoding matrix, and wherein A is defined as follows:
wherein
and wherein Q⊗m denotes the m-times Kronecker product of a matrix Q with itself.
The method according to the second aspect of the application can be performed by the encoding apparatus according to the first aspect of the application. Further features of the method according to the second aspect of the application result directly from the functionality of the encoding apparatus according to the first aspect of the application and its different implementation forms.
According to a third aspect the application relates to a decoding apparatus for decoding a codeword c of length n. The decoding apparatus comprises a processor configured to decode the codeword c using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2m
c=uA,
wherein ui=xjϕ
is a constraint matrix given by a solution of the equation:
T=0,
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein
is a precoding matrix, and wherein A is defined as follows:
wherein
and wherein Q⊗m denotes the m-times Kronecker product of a matrix Q with itself.
In a first possible implementation form of the decoding apparatus according to the third aspect as such, the processor is further configured to decode the codeword c by means of a generalization of a successive cancellation algorithm.
In a second possible implementation form of the decoding apparatus according to the first implementation form of the third aspect, the processor is further configured to compute u by means of the following equations:
û
i=Σs=0i−1ϕ
and
û
i
=arg maxu
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein y0n-1=y0 . . . yn-1 denotes n noisy symbols of the codeword c after a transmission over a communication channel to the decoding apparatus, μi=└log2(2┌log
In a third possible implementation form of the decoding apparatus according to the second implementation form of the third aspect, the processor is further configured to compute ûiϕ
According to a fourth aspect, the application relates to a method for decoding a codeword c of length n, wherein the method comprises the step of decoding the codeword c using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2m
c=uA,
wherein ui=xj, 0≤j<k−1, wherein x is data of dimension k, if i∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d) and ui=Σs=0i−1ϕ
is a constraint matrix given by a solution of the equation:
T=0,
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein
is a precoding matrix, and wherein A is defined as follows:
wherein
and wherein Q⊗m denotes the m-times Kronecker product of a matrix Q with itself.
The method according to the fourth aspect of the application can be performed by the decoding apparatus according to the third aspect of the application. Further features of the method according to the fourth aspect of the application result directly from the functionality of the decoding apparatus according to the third aspect of the application and its different implementation forms.
According to a fifth aspect, the application relates to a computer program comprising a program code for performing the method according to the second aspect of the application and the method according to the fourth aspect of the application when executed on a computer.
The application can be implemented in hardware and/or software.
Further embodiments of the application will be described with respect to the following figures, wherein:
In the figures, identical reference signs will be used for identical or functionally equivalent features.
In the following description, reference is made to the accompanying drawings, which form part of the disclosure, and in which are shown, by way of illustration, specific aspects in which the present application may be placed. It will be appreciated that the application may be placed in other aspects and that structural or logical changes may be made without departing from the scope of the application. The following detailed description, therefore, is not to be taken in a limiting sense, as the scope of the application is defined by the appended claims.
For instance, it will be appreciated that a disclosure in connection with a described method will generally also hold true for a corresponding device or system configured to perform the method and vice versa. For example, if a specific method step is described, a corresponding device may include a unit to perform the described method step, even if such unit is not explicitly described or illustrated in the figures.
Moreover, in the following detailed description as well as in the claims, embodiments with functional blocks or processing units are described, which are connected with each other or exchange signals. It will be appreciated that the application also covers embodiments which include additional functional blocks or processing units that are arranged between the functional blocks or processing units of the embodiments described below.
Finally, it is understood that the features of the various exemplary aspects described herein may be combined with each other, unless specifically noted otherwise.
The encoding apparatus 102 comprises a processor iota and is configured to encode data. Likewise, the decoding apparatus 104 comprises a processor 104a and is configured to decode data, in particular data encoded by the encoding apparatus 102. The encoding apparatus 102 and/or the decoding apparatus 104 can be implemented as part of a communication device, such as a mobile phone or a base station of a cellular communication network.
In an embodiment, the processor iota is configured to encode data x of dimension k into a codeword c of length n using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2m
c=uA,
wherein ui=xjϕ
T=0,
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein
is a precoding matrix, and wherein A is defined as follows:
wherein
and wherein Q⊗m denotes the m-times Kronecker product of a matrix Q with itself.
In an embodiment, similarly to the processor iota, the processor 104a of the decoding apparatus 104 is configured to decode the codeword c using a C(n, k, d) code, wherein the code C(n, k, d) has a length n and a minimum distance d, wherein n=2m
c=uA,
wherein ui=xj, 0≤j<k−1, wherein x is data of dimension k, if i ∉F, wherein F is a set of n−k frozen bit indices of the code C(n, k, d) and ui=Σs=0i−1ϕ
is a constraint matrix given by a solution of the equation:
T=0,
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein
is a precoding matrix, and wherein A is defined as follows:
wherein
and wherein Q⊗m denotes the m-times Kronecker product of a matrix Q with itself.
The communication channel 110 can be a wired or a wireless communication channel.
In an embodiment, the processor iota can be configured to generate the constraint matrix on the basis of the following steps.
1st step: construct generator matrices
of nested extended primitive narrow-sense BCH codes Cij(2m
wherein an index of a column where the pth row of the matrix {tilde over (W)}(i,τ
In an embodiment, it can be assumed that for any i all li,p are distinct and, in general, the integer number τi is equal to the number of irreducible polynomials of degree M, wherein M represents the number of divisors of mi.
2nd step: apply elementary row operations to {tilde over (W)}(i,j) in order to ensure that all rows start in distinct columns, while preserving the nested structure of the matrices {tilde over (W)}(i,j).
3rd step: select rows of matrices {tilde over (W)}(i,j):di,j≥d, and put them into the i-th column of a precoding matrix , wherein the precoding matrix
is a block matrix.
4th step: select rows of matrices {tilde over (W)}(i,j):d>di,j≥d−∈ for some ∈>0, put them into the i-th column of the precoding matrix . For every such a row, select a row of a matrix {tilde over (W)}(i′,j′),i′>i,di′,j′≥∈, which has not been selected in the previous step, and put it into the same row of matrix
in column i′. Summarizing, the constructed precoding matrix
is given by:
wherein ri=maxj:d
5th step: keep k rows of matrix which start in column li,p of block i with the smallest where Pm
be the obtained matrix.
6th step: obtain :
T=0, use Gaussian elimination to ensure that rows of
end in distinct columns ji, 0≤i<n−k and define the set of (dynamic) frozen bit indices as F={ji, 0≤i<n−k}.
In order to illustrate the above described steps to generate the constraint matrix V, the construction of an exemplary (24,11,6) code on the basis of chained polar subcodes is considered. In this case, the code has dimension n=24, which can also be written as 24=24+23, so that m0=4, m1=3. In
and by applying elementary row operations, the corresponding precoding matrices W(i,j) can be obtained, as shown in of the parent code can be obtained as shown in
Since the 6th row of the matrix starts in column 3, which corresponds to a subchannel with the highest error probability 0.386, it can be eliminated. Therefore, a precoding matrix
for the (24,11,6) code based on chained polar subcodes can be obtained as shown in figure if. Finally, the corresponding constraint matrix
can be obtained as shown in
In another embodiment the processor 102a can be configured to construct the (n−k)×n matrix , according to the following steps:
1st step: set the rows of V to distinct vectors of weight 1, containing 1 in columns li,p of block i with the highest Pm
2nd step: put arbitrary binary values into columns j<li,p of at most two blocks i, for each of the last ρ rows of .
In an embodiment, the binary values can be obtained by a pseudo-random number generator (PRNG), such as a linear feedback shift register. This has the advantage that the code can be specified in a compact way by providing just the parameters and seed value of the PRNG. Furthermore, the matrix constructed according to the above mentioned steps has the advantage of providing chained polar subcodes which have a high performance.
Once the matrices and
are available, in another embodiment, the processor 102a can further be configured to encode the data x of dimension k into the codeword c according to the following equation:
Furthermore, once the codeword c is encoded, it can be sent to the decoding apparatus 104 via the communication channel 110. However, after the transmission over the communication channel 110, the n symbols of the codeword c are affected by noise and they result in noisy symbols y0n-1=y0 . . . yn-1, therefore a method is needed in order to recover the correct symbols of the codeword c.
In an embodiment, the processor 104a of the decoding apparatus 104 can be configured to recover the codeword c using a generalized successive cancellation algorithm and its list or sequential extensions on the basis of the following equations:
û
i=Σs=0i−1ϕ
wherein μi=└log2(2┌
This decoding method can also be extended to obtain list and sequential successive cancellation methods similar to the ones presented in the aforementioned works by Tal and Vardy and Miloslayskaya and Trifonov.
In an embodiment the order to obtain the symbol 11, can be rearranged on the basis of the following rules:
Rearranging the detection order of symbols ûi has the advantage that it can lead to an improved performance of list and sequential successive cancellation algorithms.
c=uA,
wherein ui=xjϕ
T=0,
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein
is a precoding matrix, and wherein A is defined as follows:
wherein
and wherein Q⊗m denotes the m-times Kronecker product of a matrix Q with itself.
c=uA,
wherein ui=xjϕ
is a constraint matrix given by a solution of the equation:
T=0,
wherein ϕi is an index of a row of the matrix , which has a last non-zero element in column i, wherein
is a precoding matrix, and wherein A is defined as follows:
wherein
and wherein Q⊗m denotes the m-times Kronecker product of a matrix Q with itself.
While a particular feature or aspect of the disclosure may have been disclosed with respect to only one of several implementations or embodiments, such feature or aspect may be combined with one or more other features or aspects of the other implementations or embodiments as may be desired and advantageous for any given or particular application. Furthermore, to the extent that the terms “include”, “have”, “with”, or other variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term “comprise”. Also, the terms “exemplary”, “for example” and “e.g.” are merely meant as an example, rather than the best or optimal. The terms “coupled” and “connected”, along with derivatives may have been used. It should be understood that these terms may have been used to indicate that two elements cooperate or interact with each other regardless whether they are in direct physical or electrical contact, or they are not in direct contact with each other.
Although specific aspects have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that a variety of alternate and/or equivalent implementations may be substituted for the specific aspects shown and described without departing from the scope of the present disclosure. This application is intended to cover any adaptations or variations of the specific aspects discussed herein.
Although the elements in the following claims are recited in a particular sequence with corresponding labeling, unless the claim recitations otherwise imply a particular sequence for implementing some or all of those elements, those elements are not necessarily intended to be limited to being implemented in that particular sequence.
Many alternatives, modifications, and variations will be apparent to those skilled in the aft in light of the above teachings. Of course, those skilled in the art will readily recognize that there are numerous applications of the application beyond those described herein. While the present application has been described with reference to one or more particular embodiments, those skilled in the art will recognize that many changes may be made thereto without departing from the scope of the present application. It is therefore to be understood that within the scope of the appended claims and their equivalents, the application may be practiced otherwise than as specifically described herein.
This application is a continuation of International Application No. PCT/RU2016/000539, filed on Aug. 12, 2016, the disclosure of which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/RU2016/000539 | Aug 2016 | US |
Child | 16272173 | US |