A low-complexity confidence propagation decoding method based on deep learning
Through tensor decomposition and compression technology, the problem of high computational complexity and large storage resources of the deep learning-based confidence propagation decoding algorithm is solved, and low-complexity and high-performance implementation on communication hardware is achieved.
Patent Information
- Application Number
- CN202311229948.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-22
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2043-09-22
AI Technical Summary
The confidence propagation decoding algorithm based on deep learning has the problems of high computational complexity and large storage resources, and is difficult to implement on communication hardware with low power consumption requirements.
Compression methods using tensor decomposition, including compression of learning weights (TRw-NBP algorithm), compression of messages (TRm-NBP algorithm), and compression of learning weights and messages (TRwm-NBP algorithm), reduce the complexity of the NBP algorithm , and combined with the traditional approximation algorithm of tanh function to further reduce the complexity of hardware implementation.
It significantly reduces the storage space and computational complexity of the NBP algorithm while retaining high performance and is suitable for resource-constrained communication hardware.
Smart Images

Figure CN117220690B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of confidence propagation decoding technology in the field of wireless communications, and in particular to a low-complexity confidence propagation decoding method based on deep learning. Background Art
[0002] The belief propagation decoding algorithm based on deep learning outperforms the traditional belief propagation decoding method in terms of performance, but it currently faces challenges such as high computational complexity and large storage resource requirements.
[0003] Deep learning has been applied to belief propagation (BP) decoding of high-density parity-check (HDPC) codes, called weighted BP (WBP) decoding or neural BP (NBP) decoding, which outperforms traditional BP decoding by 0.9 dB for HDPC codes. However, compared with the classic BP decoding algorithm, the NBP WBP decoding algorithm increases the computational complexity and required storage space.
[0004] In the prior art, (i) a pruning algorithm is introduced, and combined with the professional knowledge of BP decoding, a pruning-based NBP algorithm is proposed to reduce the complexity of the BP decoding algorithm; (ii) a weight sharing method for learning a belief propagation decoding algorithm is used, and the method is divided into two types: time weight sharing and space weight sharing; (iii) weight sharing is applied to the long LDPC code decoding algorithm, and the parameters are optimized according to the degree of the node, and a neural two-dimensional normalized decoder is proposed; (iv) a parameter sharing mechanism of Protograph-LDPC is proposed to reduce training costs, computational complexity or storage resources. However, the above low-complexity methods are mainly aimed at increasing the learning weight, and the degree of reducing complexity is limited.
[0005] There are still a lot of multiplication operations and tanh functions in the deep learning-based belief propagation algorithm (NBP). -1 Function and cascade multiplication operations result in very high computational complexity and require a large amount of storage resources, which is difficult to implement on resource-constrained communication hardware with low power requirements.
[0006] Therefore, based on the NBP algorithm, a BP (CENBP) decoding algorithm for cyclic codes is proposed, which makes full use of the cyclic invariance of cyclic codes. The memory requirement of the CENBP algorithm is much smaller than that of the NBP algorithm, but the time complexity is greater than that of the NBP algorithm. The main factor affecting the time complexity is the number of multiplications and additions required by the decoding algorithm. Therefore, reducing the multiplication and addition in the decoding process of the CENBP algorithm is the main problem that needs to be solved at present. Although the storage resources of the existing CENBP algorithm are reduced compared to the NBP algorithm, the time complexity is too high and it is only applicable to cyclic codes. Therefore, it is still very urgent to find an NBP algorithm with low computational complexity, low memory requirement and good performance for industrial applications. Summary of the invention
[0007] The problem to be solved by the present invention is to propose a low-complexity confidence propagation decoding method based on deep learning, which is used to reduce the computational complexity of the NBP algorithm and the required storage resources while retaining the advantage of high performance.
[0008] The present invention adopts the following technical solution: a low-complexity confidence propagation decoding method based on deep learning, comprising the following steps:
[0009] S1. Based on deep learning, the neural belief propagation (NBP) decoding algorithm introduces a compression method based on tensor decomposition to compress the NBP algorithm and reduce the complexity of the NBP decoding algorithm.
[0010] The compression of the NBP algorithm includes: compression of learning weights, called TRw-NBP algorithm; compression of messages, called TRm-NBP algorithm; compression of learning weights and messages, called TRwm-NBP algorithm;
[0011] S2. Use the compression method of tensor decomposition to compress the mathematical operations in the NBP algorithm to reduce the complexity of the mathematical calculations related to the tanh function in the NBP algorithm;
[0012] S3. Use a joint compression method based on tensor decomposition to further reduce the complexity of the NBP decoding algorithm, including: using tensor decomposition combined with cyclic code characteristics to compress the NBP decoding algorithm, and using tensor decomposition combined with piecewise function approximation to compress the NBP decoding algorithm.
[0013] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:
[0014] 1. The TR-NBP algorithm is proposed, which uses compression based on TR decomposition to reduce the learning weights and the number of messages of the NBP algorithm. The TR-NBP algorithm can greatly reduce the storage space and computational complexity of the NBP algorithm without causing significant performance degradation.
[0015] 2. Use compression based on TR decomposition to reduce the complexity of mathematical calculations related to the tanh function in the NBP algorithm.
[0016] 3. Combining this compression method with the traditional approximation algorithm of the tanh function, called joint compression of NBP decoding, further reduces the complexity of the hardware implementation of the tanh function.
[0017] 4. In order to solve the problem of high time complexity of CENBP decoding, it is proposed to use compression based on TR decomposition to reduce the number of messages in the odd layers of the CENBP algorithm, called the TR-CENBP algorithm, which uses the characteristics of cyclic codes to share learning weights and reduces the number of messages through compression based on TR decomposition, thus reducing the time complexity and further reducing the required memory storage. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a flowchart of the steps of the low-complexity confidence propagation decoding method based on deep learning of the present invention. DETAILED DESCRIPTION
[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the application is further elaborated in detail below in conjunction with the accompanying drawings. The described embodiments are only part of the embodiments involved in the present invention. All non-innovative embodiments of other researchers in the field based on this embodiment belong to the protection scope of the present invention.
[0020] In recent years, TR decomposition has been widely used in the field of deep learning model compression because it can overcome the curse of dimensionality. The number of parameters of the compressed deep neural network is greatly reduced, and the number of multiplication and addition operations is also greatly reduced. TR decomposition has been initially studied in deep learning-based communication systems, but it is mainly used in deep learning-based MIMO detection, channel estimation and CSI feedback, and has not yet been applied to deep learning-based LDPC decoding algorithms.
[0021] Tensor train (TT) and tensor ring (TR) decompositions are widely used in model compression because they can overcome the curse of dimensionality. Currently, compression algorithms based on TT and TR decompositions are used to reduce the complexity of intelligent communication systems. Compared with other compression methods in intelligent communication, compression methods based on tensor decomposition have better interpretability and rigorous mathematical principles. The implementation steps of compression are to first tensorize the learning weight matrix and convert it into a high-order tensor, then perform tensor decomposition on the obtained high-order tensor, and use the low-order factor tensors obtained after decomposition as new learning weights, thereby reducing computational complexity and memory storage.
[0022] However, to the best of our knowledge, TT and TR decompositions have not been applied to NBP decoding and CENBP decoding.
[0023] The present invention proposes a compression framework based on tensor decomposition to solve the problem of high computational complexity of NBP and CENBP decoding. First, in order to reduce the memory storage and time complexity of the NBP algorithm, a compression algorithm based on TR is proposed to compress the parameters and mathematical calculations in the NBP decoding algorithm, wherein the compression of the parameters not only compresses the learning weights, but also compresses the messages transmitted between the variable nodes and the check nodes, so as to make up for the shortcoming that only the learning weights can be compressed in the prior art.
[0024] Unlike the NNMS+ algorithm which only requires compression of weights and message matrices, the NBP algorithm has highly complex mathematical functions that need to be calculated, making it difficult to implement in resource-constrained communication hardware.
[0025] Tanh function in NBP algorithm, cascade multiplication of tanh function and tanh -1 The functions require particularly high computational complexity and memory storage resources when implemented in hardware. The present invention performs TR-based compression on these mathematical operations to reduce their computational complexity and required storage resources.
[0026] In addition, a joint compression of tanh-related mathematical calculations in the NBP algorithm is proposed, which combines TR-based compression with the traditional compression method of the tanh function. In order to address the high time complexity of the CENBP algorithm, compression based on TR decomposition is applied to the odd layers of the CENBP decoding algorithm. The TR-based compression of the CENBP algorithm is essentially a joint compression of the NBP algorithm, which first compresses the learned weights using the shift-invariant property of cyclic codes, and then compresses the messages in the odd layers based on TR decomposition.
[0027] The compressed CENBP algorithm retains the advantages of high performance, reduces time complexity, and further reduces the required memory storage resources.
[0028] In one embodiment of the present invention, Figure 1 As shown, a low-complexity confidence propagation decoding method based on deep learning includes the following steps:
[0029] Step S1: Based on the neural belief propagation (NBP) decoding algorithm, a tensor decomposition compression method is introduced to compress the NBP algorithm and reduce the complexity of the NBP decoding algorithm.
[0030] Specifically, TR decomposition is selected as the algorithm for tensor decomposition, learning weights and messages are added to participate in the calculation of the check node update process, the matrix to be compressed is converted into a high-order tensor, and the high-order tensor is subjected to TR decomposition to obtain several factor tensors in TR format. The method includes:
[0031] The learning weights Transpose to a fourth-order tensor For the obtained high-order tensor The TR decomposition is as follows:
[0032]
[0033] in, for The three factor tensors after TR decomposition, c is the check node symbol, v is the variable node symbol, and t is the number of iterations; The element sizes of the three tensors after TR decomposition are much smaller than The sum of the elements of the three tensors is also much smaller than the original message matrix
[0034] Let M(c) represent the set of variable nodes connected to the check node c, and v′ is the element in the set M(c) except the variable node v.
[0035] Send the message Transpose to a fourth-order tensor For the obtained high-order tensor The TR decomposition is as follows:
[0036]
[0037] in, for The three factor tensors after TR decomposition; The size of the three factor tensors after TR decomposition is much smaller than The sum of the elements of the three factor tensors is also much smaller than the number of elements in the original message matrix.
[0038] The compression of the NBP algorithm based on TR decomposition is divided into three cases:
[0039] The compression of learning weights is called the TRw-NBP algorithm, the compression of messages is called the TRm-NBP algorithm, and the compression of learning weights and messages is called the TRwm-NBP algorithm;
[0040] 1.1. Use TR decomposition to compress the learning weight coefficients in the NBP decoding algorithm:
[0041] The NBP algorithm adds trainable learning weights to the BP algorithm, resulting in a large number of multiplication operations. This is also the focus of the current NBP decoding compression method, which reduces the complexity by reducing the number of learning weights.
[0042] In this embodiment, TR decomposition is used to reduce the number of learning weights, thereby reducing the time complexity and the required memory storage resources.
[0043] The NBP algorithm is obtained by expanding the BP algorithm into a neural network and parameterizing it. The formula is as follows:
[0044]
[0045] Where M(c) is the set of check node symbols c, is the message sent from the check node c to the variable node v in the tth iteration;
[0046] For the learning weights in the above formula The TR decomposition is as follows:
[0047]
[0048] Among them, TR ( ) represents the TR decomposition operation, which is used to reduce the complexity of NBP decoding by reducing the learning weights. Like the weight sharing method, it reduces the complexity of NBP decoding by reducing the learning weights, but compared with the weight sharing method, the TR decomposition method has a higher compression rate. In addition, TR decomposition has a rigorous mathematical principle, which makes the TR-based compression method explainable and predictable.
[0049] 1.2. Use TR decomposition to compress messages in the NBP decoding algorithm:
[0050] Performing TR decomposition on a tensor is essentially to obtain its low-rank approximate representation, which may introduce approximation errors.
[0051] The TRm-NBP algorithm for compressing messages in this embodiment is as follows: using TR to decompose the message transmitted in the NBP decoding Perform compression based on TR decomposition, the formula is as follows:
[0052]
[0053] After TR decomposition, the original message tensor is replaced by its low-rank approximate representation, and the number of messages transmitted during decoding is reduced, thereby reducing the computational complexity of decoding and the required storage resources.
[0054] However, due to the addition of trainable learning weights in channel neural decoding, this does not lead to a significant performance degradation. The ability to compress the transmitted message during the decoding process is the difference between the compression based on TR decomposition and other compression methods. This is because the compression method based on TR decomposition has a strict mathematical principle.
[0055] 1.3. Use TR decomposition to compress the learning weight coefficients and messages in the NBP decoding algorithm:
[0056] The TRwm-NBP algorithm for compression of learning weights and messages is as follows: TR decomposition is used to compress the learning weights and messages in the NBP decoding algorithm to obtain a greater compression gain to reduce the number of parameters and multiplications, thereby reducing the required storage resources and computational complexity. The formula is as follows:
[0057]
[0058] After TR decomposition, the independent variable and The number of elements is reduced, and the tanh function, multiplication and tanh are indirectly reduced. -1 The number of evaluations of the function.
[0059] Step S2: Use a tensor decomposition compression method to compress mathematical operations in the NBP algorithm, so as to reduce the complexity of mathematical calculations related to the tanh function in the NBP algorithm.
[0060] In the check node update equation of NBP decoding, there are tanh functions, multiplication and tanh -1 This results in a very high computational complexity for checking node updates due to the three mathematical operations involved in the function.
[0061] In this embodiment, a compression method based on TR decomposition is used to compress these mathematical operations to reduce the computational complexity of NBP decoding.
[0062] S2.1. Use the compressed tanh function based on TR decomposition, the formula is:
[0063]
[0064] Perform TR decomposition on the tanh function, let:
[0065]
[0066] Then the above formula becomes
[0067]
[0068] Assume that y is decomposed into y1, y2 and y3 by TR. The required computational complexity is much smaller than
[0069] S2.2. Use compression based on TR decomposition to compress cascaded multiplications, the formula is:
[0070]
[0071] To perform the TR decomposition on the cascaded multiplication, let:
[0072]
[0073] Then formula (10) becomes:
[0074]
[0075] p is decomposed into p1, p2 and p3, reducing the number of elements and thus reducing the number of tanh solutions. -1 The degree of the function;
[0076] S2.3. Compressing tanh using TR-based decomposition -1 Function, the formula is:
[0077]
[0078] For tanh -1 The mathematical operation performs TR decomposition, which reduces the number of elements in the tensor and also reduces the computational complexity of the NBP decoding algorithm.
[0079] Step S3, using a joint compression method based on tensor decomposition to further reduce the complexity of the NBP decoding algorithm, including: using tensor decomposition combined with cyclic code characteristics to compress the NBP decoding algorithm, and using tensor decomposition combined with piecewise function approximation to compress the NBP decoding algorithm.
[0080] 3.1. Use TR decomposition and cyclic code characteristics to compress the NBP decoding algorithm:
[0081] A cyclic equivariant NBP (CENBP) decoder for cyclic codes improves the performance of NBP decoding with smaller memory requirements. Therefore, CENBP decoding can be seen as an advanced version of NBP decoding, but it is only applicable to cyclic codes. However, CENBP has more multiplications and additions than NBP, resulting in a higher time complexity than NBP.
[0082] Compression based on TR decomposition can reduce the addition and multiplication in neural decoding, thereby reducing the time complexity of neural decoding. Unlike NBP decoding, the learning weights of CENBP decoding are reused in odd layers according to the shift-invariant structure.
[0083] Therefore, in this embodiment, the learned weights can no longer be subjected to TR decomposition to reduce memory requirements, which would destroy the reuse structure of the learned weights of CENBP decoding.
[0084] In view of the limitation of learning weights in odd layers, in this embodiment, the messages in odd layers are compressed based on TR decomposition while retaining the reuse of learning weights. After compression, the number of messages is greatly reduced, thereby reducing the number of additions and multiplications in odd layers, thereby reducing the time complexity of CENBP decoding.
[0085] Specifically, the TR decomposition is combined with the cyclic code characteristics to compress the NBP decoding algorithm, and the low-rank representation of the message is used to approximate the original message to reduce the number of additions and multiplications during decoding, including the following sub-steps:
[0086] S3.1.1. Tensorize the matrix to be decomposed and convert the two-dimensional matrix L j Transpose to a higher-order tensor
[0087] Will Transpose to a higher-order tensor
[0088] Among them, s is the odd layer of matrix n, and u represents the connection to v j is the number of edges with endpoints, b and b' represent the number of steps of cyclic shift, i' b represents the order of the edges, π j (i′ b ) represents the value for i′ b Circular shift of; j∈[n]; b,b′∈[u], and b≠b′; Is connected to the verification node and variable node v j When 1≤i≤n-j+1,π j (i)=i+j-1, when n-j+2≤i≤nπ j (i) = i + j - 1 - n;
[0089] S3.1.2. Perform TR decomposition on the above two high-order tensors as follows:
[0090]
[0091]
[0092] in, for The three factor tensors after TR decomposition;
[0093] and The three factor tensors after TR decomposition;
[0094] S3.1.3, based on the following CENBP decoding formula
[0095]
[0096] in, and is the learning weight of b and b' in the odd layer S, x [s] Messages for odd-numbered layers s;
[0097] Substituting into the formula in the above CENBP decoding, we get:
[0098]
[0099] Compared with the above formula, the odd-numbered layer learning weights and Nothing has changed, but the message and Replaced by the factor tensor obtained after TR decomposition.
[0100] It is replaced by the factor tensor obtained after TR decomposition. This compression method uses the low-rank representation of the message to approximate the original message to reduce the number of additions and multiplications during decoding, which is the root cause of the high decoding time complexity of CENBP. TR-CENBP is a compressed version of CENBP based on TR. In addition, it can also be seen as the result of joint compression of NBP: first, the learned weights are reused according to the cyclic invariance of the cyclic code, and then the message is decomposed by the TR algorithm.
[0101] 3.2. TR decomposition combined with piecewise function approximation to compress the NBP decoding algorithm:
[0102] If the BP algorithm is implemented in hardware using a piecewise approximation method, in this embodiment, high-order terms (quadratic terms and above) are decomposed by using TR-based compression, thereby reducing computational complexity and storage space.
[0103] Specifically, the following sub-steps are included:
[0104] S3.2.1. Assume that the tanh function is approximated by the following piecewise function f(x) when implemented in hardware:
[0105]
[0106] Assume that the independent variable matrix x is tensorized as Then the tensor The TR breakdown is as follows:
[0107]
[0108] in, The number of elements of is less than the number of elements of x, which reduces the required memory storage resources;
[0109] S3.2.2. Substitute the quadratic term x in formula (18) 2 The tensor is quantized into Tensor The TR breakdown is as follows:
[0110]
[0111] in, The number of elements and multiplications is much smaller than x 2 , substitute into the piecewise function of formula (18), and we get
[0112]
[0113] S3.2.3 Substitute formula (19) and (20) into formula (18) to obtain:
[0114]
[0115] Therefore, after compression based on TR decomposition, the hardware implementation complexity of the piecewise function f(x) is reduced.
[0116] It should be particularly noted that the tensor decomposition described in step S1 of this embodiment is not limited to tensor ring (TR) decomposition, but also includes tensor train (TT) decomposition.
[0117] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A low-complexity confidence propagation decoding method based on deep learning, characterized in that: The steps include: S1. Based on deep learning, the neural belief propagation (NBP) decoding algorithm introduces a compression method based on tensor decomposition to compress the NBP algorithm and reduce the complexity of the NBP decoding algorithm. The compression of the NBP algorithm includes: compression of learning weights, compression of messages, and compression of learning weights and messages; Select TR decomposition as the algorithm for tensor decomposition, add learning weights and messages to participate in the calculation of the check node update process, convert the matrix to be compressed into a high-order tensor, and perform TR decomposition on the high-order tensor to obtain several factor tensors in TR format. The TR decomposition is a tensor ring decomposition, and the method is as follows: The learning weights Transpose to a fourth-order tensor For the obtained high-order tensor The TR decomposition is as follows: in, for The three factor tensors after TR decomposition, c is the check node symbol, v is the variable node symbol, and t is the number of iterations; Send the message Transpose to a fourth-order tensor For the obtained high-order tensor The TR decomposition is as follows: in, for The three factor tensors after TR decomposition; Let M(c) represent the set of variable nodes connected to the check node c, and v′ is the element in the set M(c) except the variable node v; The compression of the learning weights uses the TRw-NBP algorithm, specifically: using TR decomposition to reduce the number of learning weights, thereby reducing time complexity and required memory storage resources; The NBP algorithm is obtained by expanding the BP algorithm into a neural network and parameterizing it. The formula is as follows: in, is the message sent from the check node c to the variable node v in the tth iteration; For the learning weights in the above formula The TR decomposition is as follows: Where TR(·) represents the TR decomposition operation, which is used to reduce the complexity of NBP decoding by reducing the learning weights; S2. Use the compression method of tensor decomposition to compress the mathematical operations in the NBP algorithm to reduce the complexity of the mathematical calculations related to the tanh function in the NBP algorithm; S3. Use a joint compression method based on tensor decomposition to further reduce the complexity of the NBP decoding algorithm, including: using tensor decomposition combined with cyclic code characteristics to compress the NBP decoding algorithm, and using tensor decomposition combined with piecewise function approximation to compress the NBP decoding algorithm.
2. The low-complexity confidence propagation decoding method based on deep learning according to claim 1, characterized in that: The message compression in step S1 uses the TRm-NBP algorithm, specifically: Use TR decomposition to decode the message transmitted in NBP Perform compression based on TR decomposition, the formula is as follows: After TR decomposition, the original message tensor is replaced by its low-rank approximate representation, and the number of messages transmitted during decoding is reduced, which reduces the computational complexity of decoding and the required storage resources.
3. The low-complexity confidence propagation decoding method based on deep learning according to claim 2, characterized in that: The compression of the learning weights and messages in step S1 uses the TRwm-NBP algorithm, specifically: using TR decomposition to compress the learning weights and messages in the NBP decoding algorithm to obtain a greater compression gain to reduce the number of parameters and multiplications, thereby reducing the required storage resources and computational complexity. The formula is as follows: After TR decomposition, the independent variable and The number of elements is reduced, and the tanh function, multiplication and tanh are indirectly reduced. -1 The number of evaluations of the function.
4. The low-complexity confidence propagation decoding method based on deep learning according to claim 3, characterized in that: The compression of mathematical operations in the NBP algorithm in step S2, wherein the mathematical operations include the tanh function, the multiplication function and the tanh -1 Function, as follows: S2.
1. Use compression based on TR decomposition to compress the tanh function. The formula is: Perform TR decomposition on the tanh function, let: Then the above formula (7) becomes Assume that y is decomposed into y1, y2 and y3 by TR. The required computational complexity is much smaller than S2.
2. Use compression based on TR decomposition to compress cascaded multiplications, the formula is: To perform the TR decomposition on the cascaded multiplication, let: Then formula (10) becomes: p is decomposed into p1, p2 and p3, reducing the number of elements and thus reducing the number of tanh solutions. -1 The degree of the function; S2.
3. Compressing tanh using TR-based decomposition -1 Function, the formula is: For tanh -1 The mathematical operation performs TR decomposition, which reduces the number of elements in the tensor and also reduces the computational complexity of the NBP decoding algorithm.
5. The low-complexity confidence propagation decoding method based on deep learning according to claim 1 or 4, characterized in that: The step S3 uses tensor decomposition combined with cyclic code characteristics to compress the NBP decoding algorithm, and uses the low-rank representation of the message to approximate the original message to reduce the number of additions and multiplications during decoding, including the following sub-steps: S3.1.
1. Tensorize the matrix to be decomposed and convert the two-dimensional matrix L j Transpose to a higher-order tensor Send the message Transpose to a higher-order tensor Among them, s is the odd layer of matrix n, and u represents the connection to v j is the number of edges with endpoints, b and b' represent the number of steps of cyclic shift, i' b represents the order of the edges, π j (i′ b ) represents the value for i′ b Circular shift of; j∈[n]; b,b′∈[u], and b≠b′; Is connected to the verification node and variable node v j The edge of When 1≤i≤n-j+1π j (i)=i+j-1, when n-j+2≤i≤nπ j (i) = i + j - 1 - n; S3.1.
2. Perform TR decomposition on the above two high-order tensors as follows: in, for The three factor tensors after TR decomposition; and for The three factor tensors after TR decomposition; S3.1.3, based on the following CENBP decoding formula in, and is the learning weight of b and b' in the odd layer S, x [s] Messages for odd-numbered layers s; Substituting formula (14) and (15) into formula (16) in CENBP decoding, we get: Comparing formula (16) with formula (17), the odd-numbered layer learning weights and Nothing has changed, but the message and Replaced by the factor tensor obtained after TR decomposition.
6. The low-complexity confidence propagation decoding method based on deep learning according to claim 5, characterized in that: The method of compressing the NBP decoding algorithm by using tensor decomposition combined with piecewise function approximation in step S3, which reduces computational complexity and storage space by using TR-based compression to decompose high-order terms, includes the following sub-steps: S3.2.
1. Assume that the tanh function is approximated by the following piecewise function f(x) when implemented in hardware: Assume that the independent variable matrix x is tensorized as Then the tensor The TR breakdown is as follows: in, The number of elements of is less than the number of elements of x, which reduces the required memory storage resources; S3.2.
2. Substitute the quadratic term x in formula (18) 2 The tensor is quantized into Tensor The TR breakdown is as follows: in, The number of elements and multiplications is much smaller than x 2 , substitute into the piecewise function of formula (18), and we get S3.2.3 Substitute formula (19) and (20) into formula (18) to obtain: Therefore, after compression based on TR decomposition, the hardware implementation complexity of the piecewise function f(x) is reduced.
7. The low-complexity confidence propagation decoding method based on deep learning according to claim 1, characterized in that: The tensor decomposition in step S1 also includes using a tensor train, namely TT decomposition.
