A Reed-Solomon code decoding method and system based on deep neural network

By constructing a fixed-length Reed-Solomon code data set and adjusting hyperparameters, and combining expert knowledge to construct a decoding neural network, the problem of high dependence on training samples and poor interpretability of deep neural networks in communication systems is solved, and the cost of decoding is reduced. code complexity and improves decoding performance.

CN113872614BActive Publication Date: 2024-10-18XIDIAN UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111176506.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-09
Publication Date
2024-10-18
Estimated Expiration
2041-10-09

AI Technical Summary

Technical Problem

When deep neural networks are integrated with traditional communication systems, they require a large number of training samples and are highly dependent on data. They lack interpretability and are difficult to adjust and locally optimize, resulting in high decoding complexity.

Method used

By constructing a fixed-length Reed-Solomon code data set, the decoding network is trained, the hyperparameters are adjusted, and the decoding neural network is constructed based on expert knowledge to make it interpretable and reduce decoding complexity.

Benefits of technology

A data-driven approach is implemented to construct a decoding network suitable for fixed-length RS codewords, which reduces the decoding complexity and improves the decoding performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113872614B_ABST
    Figure CN113872614B_ABST
Patent Text Reader

Abstract

The present invention discloses a Reed-Solomon code decoding method and system based on a deep neural network, the method comprising: generating an RS codeword of a predetermined length to obtain a binary check matrix; constructing a decoding neural network; dividing the decoding neural network into N-times of confidence propagation iterations, sorting the confidence of the RS codeword bits output by the output layer of the M-times of confidence propagation iterations, reconstructing the check matrix, restoring and deleting the neurons of the check layer and the variable layer in the M+1-times of confidence propagation iterations, obtaining a preset training cycle, and if the preset training cycle is met, using the check matrix of the N-th confidence propagation iteration as the optimal check matrix. The method solves the technical problems in the prior art that a large number of training samples are required in the process of integrating the deep neural network with the traditional communication system, the deep neural network has a high dependence on data, lacks interpretability, and is difficult to adjust and locally optimize.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a Reed-Solomon code decoding method and system based on a deep neural network. Background Art

[0002] Modern communication systems mainly use the transmission mechanism of electromagnetic waves in free space to complete information transmission, but usually there is noise interference in the channel, so how to effectively and reliably transmit information under the interference of random noise has become a key issue in the research of communication systems. Error-correcting codes are codes that can automatically detect or correct errors in information during transmission. Its introduction has greatly improved the reliability of communication systems. Among them, Reed-Solomon Code (RSC) meets the Shannon boundary and is the maximum distance separable code. It has a strong ability to correct random errors and burst errors, which makes RS code widely used in deep space communication, mobile communication, military communication, network and optical disk systems, improving system performance.

[0003] However, the inventors of this application found that the above technology has at least the following technical problems in the process of implementing the technical solution of the invention in the embodiment of this application:

[0004] In the process of integrating deep neural networks with traditional communication systems, there are problems such as end-to-end network training, which is mainly data-driven and requires a large number of training samples and is highly dependent on data. Deep neural networks lack interpretability and are difficult to adjust and locally optimize. Summary of the invention

[0005] In view of the defects in the prior art, the purpose of the embodiments of the present application is to provide a Reed-Solomon code decoding method and system based on a deep neural network, which solves the technical problems that the prior art has in the process of integrating deep neural networks with traditional communication systems, mainly data-driven end-to-end network training, which requires a large number of training samples and has high dependence on data, and the deep neural network lacks interpretability and is difficult to adjust and locally optimize. The technical effect of constructing a fixed-length RS code data set, training the decoding network, and adjusting the hyperparameters to obtain the optimal parameters, constructing a decoding network suitable for fixed-length RS codewords, and constructing a decoding neural network in a data-driven manner combined with expert knowledge to make it interpretable and reduce the complexity of decoding is achieved.

[0006] In a first aspect, an embodiment of the present application provides a Reed-Solomon code decoding method based on a deep neural network, wherein the method includes: generating an RS codeword of a predetermined length and obtaining a binary check matrix of the RS codeword; constructing a decoding neural network using the check matrix of the RS codeword; dividing the decoding neural network into N belief propagation iterations, wherein N is a positive integer; sorting the confidence of the RS codeword bits output by the output layer of the M belief propagation iterations, reconstructing the check matrix, and restoring and deleting the neurons of the check layer and the variable layer in the M+1 belief propagation iterations, wherein M is a positive integer less than N; obtaining a preset training cycle; determining whether the training cycle of the decoding neural network meets the preset training cycle; if the training cycle of the decoding neural network meets the preset training cycle, taking the check matrix of the Nth belief propagation iteration as the optimal check matrix.

[0007] On the other hand, the present application also provides a Reed-Solomon code decoding system based on a deep neural network, wherein the system includes: a first obtaining unit, the first obtaining unit is used to generate an RS codeword of a predetermined length and obtain a binary check matrix of the RS codeword; a first construction unit, the first construction unit is used to construct a decoding neural network using the check matrix of the RS codeword; a first execution unit, the first execution unit is used to divide the decoding neural network into N belief propagation iteration processes, wherein N is a positive integer; a second execution unit, the second execution unit is used to sort the RS codeword bit confidences output by the output layer of the M belief propagation iterations, reconstruct the check matrix, and restore and delete the neurons of the check layer and the variable layer in the M+1 belief propagation iterations, wherein M is a positive integer less than N; a second obtaining unit, the second obtaining unit is used to obtain a preset training cycle; a third execution unit, the third execution unit is used to determine whether the training cycle of the decoding neural network meets the preset training cycle; a fourth execution unit, the fourth execution unit is used to use the check matrix of the Nth belief propagation iteration as the optimal check matrix if the training cycle of the decoding neural network meets the preset training cycle.

[0008] On the other hand, the present invention provides a Reed-Solomon code decoding system based on a deep neural network, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the program.

[0009] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:

[0010] Due to the use of generating RS codewords of a predetermined length, a binary check matrix of the RS codeword is obtained; a decoding neural network is constructed using the check matrix of the RS codeword; the decoding neural network is divided into N times of belief propagation iteration process, wherein N is a positive integer; the confidence of the RS codeword bits output by the output layer of the M times of belief propagation iteration is sorted, the check matrix is ​​reconstructed, and the neurons of the check layer and the variable layer in the M+1 times of belief propagation iteration are restored and deleted, wherein M is a positive integer less than N; a preset training cycle is obtained; it is determined whether the training cycle of the decoding neural network meets the preset training cycle; if the training cycle of the decoding neural network meets the preset training cycle, the check matrix of the Nth belief propagation iteration is used as the technical solution of the optimal check matrix. Based on this, a Reed-Solomon code decoding method based on a deep neural network can be constructed, which achieves the technical effect of constructing a fixed-length RS code data set, training the decoding network, and adjusting the hyperparameters to obtain the optimal parameters, and constructing a decoding network suitable for fixed-length RS code words. The decoding neural network is constructed in a data-driven manner combined with expert knowledge to make it interpretable and reduce the decoding complexity.

[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0013] Figure 1 A flowchart of a Reed-Solomon code decoding method based on a deep neural network according to an embodiment of the present application;

[0014] Figure 2 A schematic diagram of a process for completing the construction of a decoding neural network in a Reed-Solomon code decoding method based on a deep neural network according to an embodiment of the present application;

[0015] Figure 3 This is a schematic diagram of a process of obtaining a first unit matrix in a Reed-Solomon code decoding method based on a deep neural network according to an embodiment of the present application;

[0016] Figure 4 A schematic diagram of a process of performing binary check matrix conversion in a Reed-Solomon code decoding method based on a deep neural network according to an embodiment of the present application;

[0017] Figure 5A schematic diagram of a process of restoring and deleting neurons in a Reed-Solomon code decoding method based on a deep neural network according to an embodiment of the present application;

[0018] Figure 6 This is a schematic diagram of the structure of a Reed-Solomon code decoding system based on a deep neural network according to an embodiment of the present application;

[0019] Figure 7 It is a schematic diagram of the structure of an exemplary electronic device according to an embodiment of the present application.

[0020] Explanation of the reference numerals: first obtaining unit 11 , first constructing unit 12 , first executing unit 13 , second executing unit 14 , second obtaining unit 15 , third executing unit 16 , fourth executing unit 17 , bus 300 , receiver 301 , processor 302 , transmitter 303 , memory 304 , bus interface 305 . DETAILED DESCRIPTION

[0021] The embodiment of the present application provides a method and system for decoding Reed-Solomon codes based on a deep neural network, which solves the technical problems in the prior art that, in the process of integrating deep neural networks with traditional communication systems, the end-to-end network training is mainly data-driven, requires a large number of training samples, and is highly dependent on data, the deep neural network lacks interpretability, and is difficult to adjust and locally optimize. The invention achieves the technical effect of constructing a fixed-length RS code data set, training the decoding network, and adjusting the hyperparameters to obtain the optimal parameters, constructing a decoding network suitable for fixed-length RS codewords, and constructing a decoding neural network in a data-driven manner in combination with expert knowledge, so that it has interpretability and can reduce the complexity of decoding.

[0022] Below, the exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the exemplary embodiments described here.

[0023] Application Overview

[0024] Modern communication systems mainly use the transmission mechanism of electromagnetic waves in free space to complete information transmission, but usually there is noise interference in the channel, so how to effectively and reliably transmit information under the interference of random noise has become a key issue in the research of communication systems. Error correction code is a code that can detect or correct errors when information is transmitted. Its introduction has greatly improved the reliability of communication systems. Among them, Reed-Solomon Code (RSC) meets the Shannon boundary and is the maximum distance separable code. It has a strong ability to correct random errors and burst errors, making RS code widely used in deep space communication, mobile communication, military communication, network and optical disk systems, etc., improving system performance. In the existing technology, there are technical problems in the process of integrating deep neural networks with traditional communication systems, which is mainly end-to-end network training centered on data drive, requiring a large number of training samples, and highly dependent on data. Deep neural networks lack interpretability and are difficult to adjust and locally optimize.

[0025] In response to the above technical problems, the overall idea of ​​the technical solution provided by this application is as follows:

[0026] An embodiment of the present application provides a Reed-Solomon code decoding method based on a deep neural network, wherein the method includes: generating an RS codeword of a predetermined length and obtaining a binary check matrix of the RS codeword; constructing a decoding neural network using the check matrix of the RS codeword; dividing the decoding neural network into N belief propagation iterations, wherein N is a positive integer; sorting the confidence of the RS codeword bits output by the output layer of the M belief propagation iterations, reconstructing the check matrix, restoring and deleting the neurons of the check layer and the variable layer in the M+1 belief propagation iterations, wherein M is a positive integer less than N; obtaining a preset training cycle; determining whether the training cycle of the decoding neural network meets the preset training cycle; if the training cycle of the decoding neural network meets the preset training cycle, using the check matrix of the Nth belief propagation iteration as the optimal check matrix

[0027] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0028] Embodiment 1

[0029] like Figure 1 As shown, an embodiment of the present application provides a Reed-Solomon code decoding method based on a deep neural network, wherein the method includes:

[0030] Step S100: Generate a RS codeword of a predetermined length and obtain a binary check matrix of the RS codeword;

[0031] Step S200: constructing a decoding neural network using the check matrix of the RS codeword;

[0032] Specifically, the decoding methods of RS code are divided into hard decision decoding and soft decision decoding. Different from hard decision decoding, soft decision decoding makes full use of the soft information output by the channel to improve a certain decoding gain. The length of the RS code data set is pre-set, a set of RS code data sets of fixed length is constructed, and its own soft information is converted into codeword log-likelihood ratio information LLR, which is used for decoding neural network training and testing to obtain the binary check matrix of the RS codeword. Further, the decoding neural network is constructed using the check matrix of the RS codeword, and the check matrix of the RS codeword is mapped into a binary pattern to obtain a Tanner graph. The variable nodes in the Tanner graph correspond to the codeword bits, and the check nodes correspond to the check bits. According to the BP decoding algorithm, the message passing process during decoding is expanded into the form of a parameterized network, and a neural network layer is constructed. The network weights are initialized according to the connection relationship between the variable nodes and the check nodes in the check matrix. Thereby, a decoding neural network suitable for fixed-length RS codewords is constructed.

[0033] Step S300: dividing the decoding neural network into N belief propagation iteration processes, where N is a positive integer;

[0034] Step S400: sorting the RS codeword bit confidences output by the output layer of the M-times belief propagation iteration, reconstructing the check matrix, and restoring and deleting the neurons of the check layer and the variable layer in the M+1-times belief propagation iteration, where M is a positive integer less than N;

[0035] Specifically, the decoding neural network structure is divided into N times of belief propagation iteration process, the confidence of RS codeword bits output by the output layer of M iterations less than N is sorted, Gaussian elimination is performed on the corresponding columns of the check matrix, the check matrix is ​​reconstructed, and the idea of ​​Dropout is borrowed to adjust the network layer of the next iteration, and the neurons of the check layer and variable layer in the M+1 iteration are restored and deleted, that is, if the connection edge between the check node and the variable node becomes 0, the corresponding neuron is deleted, and if the connection edge becomes 1, the neuron is restored. The introduction of the idea of ​​hierarchical statistics, that is, Gaussian elimination of unreliable bit sub-blocks after confidence sorting, avoids the cycle phenomenon in the high-density parity check matrix, and improves the accuracy of the decoding method.

[0036] Step S500: obtaining a preset training cycle;

[0037] Step S600: determining whether the training period of the decoding neural network satisfies the preset training period;

[0038] Step S700: If the training period of the decoding neural network meets the preset training period, the check matrix of the Nth belief propagation iteration is used as the optimal check matrix.

[0039] Specifically, the training cycle and learning rate of the preset network are determined to determine whether the training cycle meets the preset training cycle. After the training cycle is reached, the check matrix corresponding to each belief propagation can be obtained, and the last (Nth) belief propagation corresponds to the optimal check matrix. Randomly construct a fixed-length 0, 1 sequence. The 0, 1 distribution in the check matrix contains the transmission law of the confidence between the variable node and the check node, which is used to construct the neural network layer. After bipolar mapping and AWGN channel, a qualified test set is obtained, and the test codeword is input into the decoding neural network, and the neural network outputs the estimated value of the codeword. Compare the frame error rate and bit error rate with the true value, adjust the network's learning rate, training cycle, network depth and other hyperparameters according to the structure, retrain and test to achieve the best decoding performance.

[0040] Furthermore, after determining whether the training period of the decoding neural network meets the preset training period, step S600 further includes:

[0041] Step S610: If the training period of the decoding neural network does not meet the preset training period, cross entropy loss is used as the network loss function, a cross entropy loss term is added to each output layer, and a small batch stochastic gradient descent algorithm is used to optimize the network weights.

[0042] Specifically, the cross entropy loss function is often used in classification problems, especially when neural networks are used for classification problems. Since cross entropy involves calculating the probability of each category, cross entropy is likely to appear together with the sigmoid function. If the preset training cycle is not met, a sigmoid activation function is added to each output layer to convert the confidence of the variable node itself into probability information, that is, v =σ(s v ),σ≡(l+e -x ) -1 , the estimated value of the codeword bit is obtained through hard decision, and the cross entropy loss term is used as the loss function of each output layer. After superposition, multiple loss terms of the entire network are formed, that is, The network weights are updated using the RMSProp optimization algorithm to continue training the neural network. The introduction of multiple losses can make the gradient of the neural network propagate further during training.

[0043] Further, such as Figure 2 As shown, the decoding neural network is constructed by using the check matrix of the RS codeword, and step S200 includes:

[0044] Step S210: outputting the updated confidence of the RS codeword bit according to the output layer of the first decoding neural network;

[0045] Step S220: obtaining a preset number of signal propagation iterations L;

[0046] Step S230: Determine whether the confidence level of the RS codeword bit after update satisfies the preset number of confidence propagation iterations L;

[0047] Step S240: If the updated confidence of the RS codeword bit satisfies the preset number of signal propagation iterations L, the initial construction of the decoding neural network is completed.

[0048] Specifically, the neurons in the input layer correspond to variable nodes and receive log-likelihood ratio information I v , the neurons of the verification layer and the variable layer are the connection edges e=(v, c) in the Tanner graph, and the received information corresponds to the information carried on the connection edges between nodes during the belief propagation process. The verification layer neuron e=(v, c) is connected to the associated variable node and receives the update information of the associated variable node. The output of the verification layer is Indicates receiving the external confidence transmitted by the check nodes connected to the variable node v except the check node c, summing up the received confidence and updating the variable node information itself. Where i represents the network layer index, q 0,e′ =0, indicating that in the first confidence iteration, the check node output information is 0. The variable layer neuron e = (v, c) is connected to the associated check node and receives the update information of the associated check node. The output of the variable layer is q i,e =(v,c)=2tanh -1 (П e′=(v′,c),v ' ≠v r i-1,e′ ), which means receiving the external confidence transmitted by the variable nodes connected to the check node c except the variable node v, and updating the check node's own information after multiplying the received confidence.

[0049] The output layer neurons correspond to variable nodes and receive external likelihood ratio information q i,e′ , used to update the variable node's own confidence, the output layer outputs s v =w i+1,v I V +Σ e′=(v,c′) w i+1,v,e′ q i,e′, corresponding to the updated confidence of the variable node. The output layer receives the external information transmitted by the check node and outputs the updated confidence of the variable node itself. At the same time, a sigmoid activation function is added to each output layer to convert the confidence of the variable node into a posterior probability, and sent to the decision device to obtain the estimated value of the codeword. Furthermore, the number of belief propagation iterations L is preset to determine whether the confidence of the RS codeword bit after the update meets the preset number of belief propagation iterations L. If it meets the number of belief propagation iterations, the initial construction of the decoding neural network can be completed.

[0050] Further, such as Figure 3 As shown, after determining whether the confidence of the RS codeword bit after updating satisfies the preset number of confidence propagation iterations L, step S230 includes:

[0051] Step S231: if the confidence of the RS codeword bits after the update does not satisfy the preset number of signal propagation iterations L, sort the confidence of the RS codeword bits after the update, perform Gaussian elimination on the submatrix of the bits with the lowest confidence in the parity check matrix, and obtain a first unit matrix;

[0052] Step S232: construct the decoding neural network according to the first unit matrix.

[0053] Specifically, if the confidence of the RS codeword bit after updating does not meet the preset number of iterations L of belief propagation, then based on the idea of ​​hierarchical statistics, the confidence of the updated codeword bit is firstly v | sort to obtain the variable node index sorted by confidence level, map it back to the check matrix, and perform Gaussian elimination from the least reliable column with the lowest confidence level to obtain [1 0 ... 0] T , try to eliminate the second to last column as [0 1 ... 0] T , if the column cannot be converted into a unit vector, keep the column and try to eliminate the next column. The (nk) columns of the n columns are simplified to unit submatrices, because the check matrix is ​​a full-rank matrix. According to the reconstructed check matrix, the check layer, variable layer and output layer are further constructed, corresponding to one belief propagation iteration process, and finally the updated variable node information is obtained to construct the decoding neural network.

[0054] Further, such as Figure 4 As shown, wherein the generating of the RS codeword of a predetermined length and obtaining the binary check matrix of the RS codeword, step S100 comprises:

[0055] Step S110: obtaining a non-binary check matrix of the RS codeword;

[0056] Step S120: converting the non-binary check matrix into a binary check matrix through binary pattern mapping.

[0057] Specifically, k information bits are randomly constructed and encoded by the generator matrix to obtain an n-bit RS codeword bit sequence X = [x1, x2, ..., x n ], according to v i =1-2x i , i∈[1,n] performs BPSK modulation, and obtains the sequence V=[v1,v2,...,v n Then the sequence v is sent through the AWGN channel and the sequence Y is defined as [y1, y2, ..., y n ] is the input of the demodulator at the receiving end, and y i =v i +z i , i∈[1,n],z m is zero mean and has a variance of σ 2 The i-th codeword bit v is an independent and identically distributed Gaussian random variable. i The LLR is initialized to The number of signal propagation iterations is preset to L. The elements in the check matrix H of the RS codeword are finite fields GF(2 m ) is a non-binary element, and GF(2 m ) is replaced by the corresponding m×m binary matrix to obtain a binary check matrix There is a mapping relationship between the check matrix and the Tanner graph. The non-binary check matrix is ​​converted into a binary matrix through binary pattern mapping, and the RS code decoding is converted into a common linear block code decoding.

[0058] Further, if the confidence of the RS codeword bit after updating satisfies the preset number of signal propagation iterations L, the initial construction of the decoding neural network is completed, and step S240 further includes:

[0059] Step S241: If the confidence of the RS codeword bit after update meets the preset number of signal propagation iterations L, the cross entropy loss is used as the network loss function, a cross entropy loss term is added to each output layer, and a small batch stochastic gradient descent algorithm is used to optimize the network weights.

[0060] Specifically, each confidence propagation iteration includes a verification layer, a variable layer, and an output layer. The variable layer receives messages from the associated verification node to the variable node, indicating the confidence that the corresponding codeword bit is 1 or 0. The verification layer receives messages from the associated variable node to the verification node, indicating the confidence that the corresponding verification equation is established or failed. The output layer receives external information from the verification node and outputs the updated confidence of the variable node itself. A sigmoid activation function is attached to each output layer to convert the confidence of the variable node itself into probability information, that is, v =σ(s v ),σ≡(1+e -x ) -1 .

[0061] After hard decision, the estimated value of the codeword bit is obtained, and the cross entropy loss term is used as the loss function of each output layer. After superposition, multiple loss terms of the entire network are formed, that is, The introduction of multiple losses allows the gradient of the neural network to propagate farther during training, and the RMSProp optimization algorithm is used to update the network weights. The expansion of the weight change range also improves the generalization ability and decoding performance of the new method.

[0062] Further, such as Figure 5 As shown, the RS codeword bit confidences output by the output layer of the M-times belief propagation iteration are sorted, the check matrix is ​​reconstructed, and the neurons of the check layer and the variable layer in the M+1-times belief propagation iteration are restored and deleted. Step S400 also includes:

[0063] Step S410: performing Gaussian elimination on the corresponding columns of the check matrix, and adjusting the network layer of the M+1 belief propagation iterations according to the reconstructed check matrix;

[0064] Step S420: If the connection edge between the check node and the variable node becomes 0, the corresponding neuron is deleted;

[0065] Step S430: If the connection edge becomes 1, the neuron is restored.

[0066] Specifically, during the neural network training process, the idea of ​​random neuron inactivation by Dropout is used to restore and delete neurons regularly using the check matrix reconstructed after each belief propagation iteration. The confidence of the RS codeword bits output by the output layer of the previous iteration is sorted, and Gaussian elimination is performed on the corresponding columns of the check matrix. According to the reconstructed check matrix, the network layer of the next iteration is adjusted. If the connection edge between the check node and the variable node becomes 0, the corresponding neuron is deleted, and if the connection edge becomes 1, the neuron is restored.

[0067] Compared with the prior art, the present invention has the following beneficial effects:

[0068] 1. Due to the use of generating RS codewords of a predetermined length, a binary check matrix of the RS codeword is obtained; a decoding neural network is constructed using the check matrix of the RS codeword; the decoding neural network is divided into N times of belief propagation iteration process, wherein N is a positive integer; the confidence of the RS codeword bits output by the output layer of the Mth belief propagation iteration is sorted, the check matrix is ​​reconstructed, and the neurons of the check layer and the variable layer in the M+1th belief propagation iteration are restored and deleted, wherein M is a positive integer less than N; a preset training cycle is obtained; it is determined whether the training cycle of the decoding neural network meets the preset training cycle; if the training cycle of the decoding neural network meets the preset training cycle, the check matrix of the Nth belief propagation iteration is used as the technical solution of the optimal check matrix. Based on this, a Reed-Solomon code decoding method based on a deep neural network can be constructed, which achieves the technical effect of constructing a fixed-length RS code data set, training the decoding network, and adjusting the hyperparameters to obtain the optimal parameters, and constructing a decoding network suitable for fixed-length RS code words. The decoding neural network is constructed in a data-driven manner combined with expert knowledge to make it interpretable and reduce the decoding complexity.

[0069] 2. Due to the method of introducing multiple losses, the gradient of the neural network is propagated farther during training, and the update of the network weights expands the range of weight changes, achieving the technical effect of improving the generalization ability and decoding performance of the method.

[0070] Embodiment 2

[0071] Based on the same inventive concept as the Reed-Solomon code decoding method based on a deep neural network in the aforementioned embodiment, the present invention also provides a Reed-Solomon code decoding system based on a deep neural network, such as Figure 6 As shown, the system comprises:

[0072] A first obtaining unit 11, wherein the first obtaining unit 11 is used to generate a RS codeword of a predetermined length and obtain a binary check matrix of the RS codeword;

[0073] A first construction unit 12, the first construction unit 12 is used to construct a decoding neural network using the check matrix of the RS codeword;

[0074] A first execution unit 13, the first execution unit 13 is used to divide the decoding neural network into N belief propagation iteration processes, where N is a positive integer;

[0075] A second execution unit 14, the second execution unit 14 is used to sort the confidences of the RS codeword bits output by the output layer of the M-times belief propagation iteration, reconstruct the check matrix, and restore and delete the neurons of the check layer and the variable layer in the M+1-times belief propagation iteration, wherein M is a positive integer less than N;

[0076] A second obtaining unit 15, the second obtaining unit 15 is used to obtain a preset training cycle;

[0077] A third execution unit 16, the third execution unit 16 is used to determine whether the training period of the decoding neural network meets the preset training period;

[0078] The fourth execution unit 17 is used to use the check matrix of the Nth belief propagation iteration as the optimal check matrix if the training period of the decoding neural network meets the preset training period.

[0079] Furthermore, the system also includes:

[0080] a fifth execution unit, configured to output the updated confidence of the RS codeword bit according to the output layer of the first decoding neural network;

[0081] A third obtaining unit, the third obtaining unit is used to obtain a preset number of signal propagation iterations L;

[0082] A sixth execution unit, the sixth execution unit is used to determine whether the confidence of the RS codeword bit after the update meets the preset number of signal propagation iterations L;

[0083] The seventh execution unit is used to complete the initial construction of the decoding neural network if the confidence of the RS codeword bit after update meets the preset number of signal propagation iterations L.

[0084] Furthermore, the system also includes:

[0085] an eighth execution unit, the eighth execution unit being configured to output the updated confidence of the RS codeword bit according to the output layer of the first decoding neural network;

[0086] A fourth obtaining unit, the fourth obtaining unit is used to obtain a preset number of signal propagation iterations L;

[0087] A ninth execution unit, the ninth execution unit is used to determine whether the confidence of the RS codeword bit after the update meets the preset number of signal propagation iterations L;

[0088] The tenth execution unit is used to complete the initial construction of the decoding neural network if the confidence of the RS codeword bit after update meets the preset number of signal propagation iterations L.

[0089] Furthermore, the system also includes:

[0090] A fifth obtaining unit, wherein if the confidence of the RS codeword bit after the update does not satisfy the preset number of signal propagation iterations L, the confidence of the RS codeword bit after the update is sorted, and a submatrix of the bit with the lowest confidence in the parity check matrix is ​​subjected to Gaussian elimination processing to obtain a first unit matrix;

[0091] An eleventh execution unit, the eleventh execution unit is used to construct the decoding neural network according to the first unit matrix.

[0092] Furthermore, the system also includes:

[0093] A sixth obtaining unit, the sixth obtaining unit being used to obtain a non-binary check matrix of the RS codeword;

[0094] A twelfth execution unit, the twelfth execution unit is used to convert the non-binary check matrix into a binary check matrix through binary pattern mapping.

[0095] Furthermore, the system also includes:

[0096] A thirteenth execution unit is used to use cross entropy loss as the network loss function if the confidence of the RS codeword bit after update meets the preset number of signal propagation iterations L, add a cross entropy loss term to each output layer, and use a small batch stochastic gradient descent algorithm to optimize the network weights.

[0097] Furthermore, the system also includes:

[0098] A fourteenth execution unit, the fourteenth execution unit is used to perform Gaussian elimination on the corresponding columns of the check matrix, and adjust the network layer of the M+1 belief propagation iteration according to the reconstructed check matrix;

[0099] A fifteenth execution unit, the fifteenth execution unit is used to delete the corresponding neuron if the connection edge between the check node and the variable node becomes 0;

[0100] A sixteenth execution unit is used to restore the neuron if the connection edge becomes 1.

[0101] The foregoing Figure 1The various variations and specific examples of a Reed-Solomon code decoding method based on a deep neural network in Embodiment 1 are also applicable to a Reed-Solomon code decoding system based on a deep neural network in this embodiment. Through the above detailed description of a Reed-Solomon code decoding method based on a deep neural network, those skilled in the art can clearly understand the implementation method of a Reed-Solomon code decoding system based on a deep neural network in this embodiment, so for the sake of brevity of the specification, it will not be described in detail again.

[0102] Embodiment 3

[0103] Reference below Figure 7 To describe the electronic device of the embodiment of the present application.

[0104] Figure 7 The figure shows a schematic structural diagram of an electronic device according to an embodiment of the present application.

[0105] Based on the inventive concept of a Reed-Solomon code decoding method based on a deep neural network in the aforementioned example, the present invention also provides a Reed-Solomon code decoding system based on a deep neural network, on which a computer program is stored, and when the program is executed by a processor, the steps of any method of a Reed-Solomon code decoding system based on a deep neural network described above are implemented.

[0106] Among them, Figure 7 In the embodiment of the present invention, a bus architecture (represented by bus 300) is shown, which may include any number of interconnected buses and bridges, and bus 300 links various circuits including one or more processors represented by processor 302 and memory represented by memory 304. Bus 300 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are not further described herein. Bus interface 305 provides an interface between bus 300 and receiver 301 and transmitter 303. Receiver 301 and transmitter 303 may be the same element, namely a transceiver, providing a unit for communicating with various other systems over a transmission medium. Processor 302 is responsible for managing bus 300 and general processing, while memory 304 may be used to store data used by processor 302 when performing operations.

[0107] An embodiment of the present application provides a Reed-Solomon code decoding method based on a deep neural network, wherein the method includes: generating an RS codeword of a predetermined length and obtaining a binary check matrix of the RS codeword; constructing a decoding neural network using the check matrix of the RS codeword; dividing the decoding neural network into N belief propagation iterations, wherein N is a positive integer; sorting the confidence of the RS codeword bits output by the output layer of the M belief propagation iterations, reconstructing the check matrix, restoring and deleting neurons in the check layer and the variable layer in the M+1 belief propagation iterations, wherein M is a positive integer less than N; obtaining a preset training cycle; determining whether the training cycle of the decoding neural network meets the preset training cycle; if the training cycle of the decoding neural network meets the preset training cycle, taking the check matrix of the Nth belief propagation iteration as the optimal check matrix.

[0108] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0109] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A system that specifies the functions of a box or multiple boxes.

[0110] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction system, which is implemented in the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0112] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0113] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A Reed-Solomon code decoding method based on deep neural network, wherein: The method comprises: Generate a RS codeword of a predetermined length, and obtain a binary check matrix of the RS codeword; Constructing a decoding neural network using the check matrix of the RS codeword; Dividing the decoding neural network into N belief propagation iterations, where N is a positive integer; Sort the confidences of the RS codeword bits output by the output layer of the M-times belief propagation iteration, reconstruct the check matrix, and restore and delete the neurons of the check layer and the variable layer in the M+1-times belief propagation iteration, where M is a positive integer less than N; Get the preset training cycle; Determining whether the training period of the decoding neural network satisfies the preset training period; If the training period of the decoding neural network meets the preset training period, the check matrix of the Nth belief propagation iteration is used as the optimal check matrix.

2. The method of claim 1, wherein: After determining whether the training period of the decoding neural network meets the preset training period, the method further includes: If the training period of the decoding neural network does not meet the preset training period, the cross entropy loss is used as the network loss function, a cross entropy loss term is added to each output layer, and a small batch stochastic gradient descent algorithm is used to optimize the network weights.

3. The method of claim 1, wherein: The method of constructing a decoding neural network using the check matrix of the RS codeword includes: Outputting the updated confidence of the RS codeword bit according to the output layer of the decoding neural network; Get the preset number of information propagation iterations L; Determine whether the confidence level of the RS codeword bit after update satisfies the preset number of confidence propagation iterations L; If the updated confidence of the RS codeword bit satisfies the preset number of signal propagation iterations L, the initial construction of the decoding neural network is completed.

4. The method of claim 3, wherein: After determining whether the confidence level of the RS codeword bit after the update meets the preset number of confidence propagation iterations L, the method further includes: If the confidence of the RS codeword bits after the update does not satisfy the preset number of signal propagation iterations L, sort the confidence of the RS codeword bits after the update, perform Gaussian elimination on the submatrix of the bits with the lowest confidence in the parity check matrix, and obtain a first unit matrix; The decoding neural network is constructed according to the first unit matrix.

5. The method of claim 1, wherein: The step of generating a RS codeword of a predetermined length and obtaining a binary check matrix of the RS codeword comprises: Obtaining a non-binary check matrix of the RS codeword; The non-binary check matrix is ​​converted into a binary check matrix through binary pattern mapping.

6. The method of claim 3, wherein: If the confidence of the RS codeword bit after updating satisfies the preset number of signal propagation iterations L, the initial construction of the decoding neural network is completed, including: If the confidence of the RS codeword bit after update meets the preset number of belief propagation iterations L, the cross entropy loss is used as the network loss function, a cross entropy loss term is added to each output layer, and a small batch stochastic gradient descent algorithm is used to optimize the network weights.

7. The method of claim 1, wherein: The method of sorting the RS codeword bit confidences output by the output layer of the M-times belief propagation iteration, reconstructing the check matrix, and restoring and deleting neurons of the check layer and the variable layer in the M+1-times belief propagation iteration includes: Performing Gaussian elimination on corresponding columns of the check matrix, and adjusting the network layer of the M+1 belief propagation iterations according to the reconstructed check matrix; If the connection edge between the check node and the variable node becomes 0, delete the corresponding neuron; If the connecting edge becomes 1 then the neuron is restored.

8. A Reed-Solomon code decoding system based on a deep neural network, wherein: The system comprises: A first obtaining unit, the first obtaining unit is used to generate a RS codeword of a predetermined length and obtain a binary check matrix of the RS codeword; A first construction unit, the first construction unit is used to construct a decoding neural network using the check matrix of the RS codeword; A first execution unit, the first execution unit is used to divide the decoding neural network into N belief propagation iteration processes, where N is a positive integer; A second execution unit, the second execution unit is used to sort the confidences of the RS codeword bits output by the output layer of the M-times belief propagation iteration, reconstruct the check matrix, and restore and delete the neurons of the check layer and the variable layer in the M+1-times belief propagation iteration, wherein M is a positive integer less than N; A second obtaining unit, the second obtaining unit is used to obtain a preset training cycle; A third execution unit, the third execution unit is used to determine whether the training period of the decoding neural network meets the preset training period; A fourth execution unit, wherein the fourth execution unit is used to use the check matrix of the Nth belief propagation iteration as the optimal check matrix if the training period of the decoding neural network meets the preset training period.

9. A Reed-Solomon code decoding system based on a deep neural network, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Storing deep neural network weights in non-volatile storage systems using vertical error correction codes

    US20200117539A1

  • Learning device

    US20210295153A1