SCMA auto-encoder based on GRU network and construction and decoding methods and devices thereof
By introducing the GRU network into SCMA technology, it is transformed into a multi-task learning problem, solving the problems of low coding efficiency and high decoding computational complexity, achieving higher bit error rate performance and lower computational complexity, and improving Overall performance of the SCMA system.
Patent Information
- Application Number
- CN202410656844.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-27
AI Technical Summary
In practical applications, existing SCMA technology has problems such as low coding efficiency, high decoding computational complexity, and high time consumption. In particular, SCMA autoencoders based on deep learning still have room for improvement in complexity and bit error rate performance.
Using the SCMA autoencoder based on the GRU network, by introducing the GRU network on the encoding side, a neural network unit is established as a codebook generator, and the traditional single-task learning problem is transformed into a multi-task learning problem, and end-to-end training is performed to improve encoding efficiency and reduced computational complexity.
It effectively reduces the redundant parameters of the encoder, improves the coding efficiency of the system, uses the gating mechanism to better capture long-term dependencies, simplifies the network structure and can effectively restore and separate each user's information, significantly improving the bit error rate. performance and reduced computational complexity.
Smart Images

Figure CN118555033A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of SCMA encoding and decoding technology, and in particular relates to a SCMA autoencoder based on a GRU network and a construction, decoding method and device thereof. Background Art
[0002] Sparse Code Multiple Access (SCMA) technology is a new non-orthogonal multiplexing technology that can provide high spectrum utilization and large-scale physical connections for mobile devices. This technology draws on the idea of sparse matrix coding in Low Density Signatures (LDS), superimposes multiple user information on one resource, and replaces traditional modulation and spread spectrum technology with sparse multi-dimensional complex domain codeword mapping, which not only reduces the interference between different users on the same resource, but also improves the detection accuracy, which helps to meet the needs of large-scale connections and low latency in future communications. However, the following problems still exist in the application of SCMA technology in actual engineering:
[0003] First, the signal received by the receiver is the superposition information sent by multiple users, which is decoded by using traditional algorithms such as Message Passing Algorithm (MPA) or Maximum Likelihood (ML). However, the iterative structure of these algorithms will bring problems of high computational complexity and time consumption.
[0004] Second, although the SCMA autoencoder based on deep learning combines the encoder and decoder parts and can adaptively learn better codewords, the network model used is relatively large and its complexity is still relatively high in practical applications.
[0005] Third, although some existing deep learning-based SCMA encoding and decoding research schemes can improve the bit error rate (BER) performance and reduce the computational complexity to a certain extent, there is still much room for improvement in these performances. Summary of the invention
[0006] The purpose of the present invention is to provide a SCMA autoencoder based on a GRU network and a construction, decoding method and device thereof. By improving the encoding end and introducing the GRU network, the problems of low encoding efficiency and high decoding calculation complexity and time consumption in the prior art are solved.
[0007] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:
[0008] The present invention provides a method for constructing a SCMA autoencoder based on a GRU network, which comprises: using a neural network unit as a codebook generator between users and resources according to the connection relationship between users and resources in the SCMA factor matrix, and establishing a SCMA encoder according to the codebook generator;
[0009] Establishing a SCMA decoder based on the GRU network, wherein the SCMA decoder converts a traditional single-task learning problem into a multi-task learning problem during decoding;
[0010] The SCMA encoder and the SCMA decoder are trained end-to-end to obtain a SCMA autoencoder based on a GRU network.
[0011] In one embodiment of the present invention, the neural network unit is used as a codebook generator between the user and the resource according to the connection relationship between the user and the resource in the SCMA factor matrix, and the SCMA encoder is established according to the codebook generator, including:
[0012] According to the connection relationship between users and resources in the SCMA factor matrix, the neural network unit is used as a codebook generator between users and resources, and the SCMA encoder is established according to the codebook generator, including:
[0013] Establishing a pre-coding module, the pre-coding module pre-encodes user input data through a one-hot encoder function;
[0014] Use J neural network units as codeword generators for J users respectively, convert user input data into multi-dimensional complex codewords and map them on resource blocks;
[0015] Set the network parameters of each neural network unit to obtain the SCMA encoder.
[0016] In one embodiment of the present invention, establishing a SCMA decoder at the receiving end according to a GRU (Gated Recurrent Unit) network includes:
[0017] The SCMA decoder is constructed by using the linear fully connected layer, GRU network and multi-user classifier as the first, second and third layers of the decoder respectively.
[0018] In one embodiment of the present invention, the method for obtaining the multi-user classifier includes:
[0019] Use J fully connected layers as a multi-user classifier;
[0020] The network parameters of each of the multi-user classifiers are set to obtain the multi-user classifier; wherein the multi-user classifier is used for multi-task learning.
[0021] In one embodiment of the present invention, end-to-end training of the encoder and decoder of the SCMA system so that the system can accurately reconstruct the original data includes:
[0022] Establish an end-to-end cross entropy loss function:
[0023]
[0024]
[0025] The preset optimizer is used to update the weights and biases of the neural network, and its calculation expression can be expressed as:
[0026]
[0027] Where H is the channel coefficient matrix, s is the one-hot vector form of the input data, is the reconstructed data, f(·) and g(·) represent the mapping functions of the encoder and decoder respectively, θ f and θ g Represent the neural network parameters of the encoder and decoder respectively, α is the learning rate; i is the momentum time step; is the deviation correction of the gradient mean; is the bias correction for the squared gradient.
[0028] In one embodiment of the present invention, the step of establishing the GRU network includes:
[0029] According to the state h at the previous moment t-1 and candidate status Calculate the state h of the hidden node at time t t , the calculation formula is:
[0030] Calculate the update gate z t The value of z is calculated as follows: t =σ(W z ·[h t-1 ,x t ]);
[0031] The state h at the previous moment t-1 With reset gate r t Multiply it by the input x t Combined, the candidate state is obtained after matrix operation and tanh activation function The calculation formula is as follows: Among them, the reset gate r t The calculation formula is: t =σ(W r ·[h t-1 ,x t]);
[0032] The output of the model is further calculated based on the state value obtained by the GRU network at time t. The calculation formula is: GRU =σ(W o ·h t );
[0033] Set the network parameters of the GRU network;
[0034] Among them, σ represents the sigmoid activation function, x t is the input signal y at time t d , W z , W r , W h and W o is the weight coefficient.
[0035] In order to achieve the purpose of this application and other related purposes, the present application also provides a construction device of a SCMA autoencoder based on a GRU network, including:
[0036] An encoder building module, used to use the neural network unit as a codebook generator between users and resources according to the connection relationship between users and resources in the SCMA factor matrix, and establish an SCMA encoder through the codebook generator;
[0037] A decoder building module, which builds a SCMA decoder based on the GRU network. The SCMA decoder converts the traditional single-task learning problem into a multi-task learning problem during decoding;
[0038] A training module is used to perform end-to-end training on the SCMA encoder and the SCMA decoder to obtain a SCMA autoencoder based on a GRU network.
[0039] In order to achieve the purpose of this application and other related purposes, the present application also provides a decoding method of a SCMA autoencoder based on a GRU network, characterized in that it includes:
[0040] Receiving the coded data after propagation, wherein the coded data is generated by using J neural network units as codeword generators for J users, converting user input data into multidimensional complex codewords and mapping them on resource blocks, and superimposing the output codewords of all neural network units on each resource block according to the SCMA factor graph mapping matrix;
[0041] Sending the second intermediate data to a GRU network, where the GRU network processes the second intermediate data to generate third intermediate data;
[0042] Sending the third intermediate data to a multi-user classifier for multi-task learning;
[0043] Data reconstruction is performed according to the result of the multi-task learning.
[0044] In one embodiment of the present invention, reconstructing data according to the result of the multi-task learning includes:
[0045] After decoding the user data loaded on K resource blocks, the decoded signals p of all J SCMA layers are output. The output related to the jth SCMA layer is denoted as p j ;
[0046] Use softmax as the activation function for p j , normalize it to predict the probability distribution of M categories, and output the decoded signal Among them, the softmax activation function is defined as: express The mth term of θ j are the neural network parameters of the j-th multi-user classifier.
[0047] In order to achieve the purpose of this application and other related purposes, the present application also provides an SCMA autoencoder based on a GRU network, including:
[0048] The encoding module is used to receive data input by the user, use J neural network units as codeword generators for J users, convert the user input data into multi-dimensional complex codewords and map them on resource blocks; superimpose the output codewords of all neural network units on each resource block according to the SCMA factor graph mapping matrix to generate encoded data, and send the encoded data;
[0049] A decoding module is used to receive the encoded data after propagation as the first intermediate data, send the first intermediate data to a linear fully connected layer, integrate the first intermediate data to generate second intermediate data; send the second intermediate data to a GRU network, and the GRU network processes the second intermediate data to generate third intermediate data; send the third intermediate data to a multi-user classifier for multi-task learning; and reconstruct data according to the results of the multi-task learning.
[0050] The present invention not only significantly reduces the number of codebook generators used for user coding by improving the coding end, thereby effectively reducing the redundant parameters of the encoder and improving the coding efficiency of the system. It also introduces the GRU network based on the SCMA system based on deep learning, and uses the gating mechanism to better capture long-term dependencies. While simplifying the overall network structure, it can still effectively restore and separate the information of each user. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0052] Figure 1 This is a flowchart of a method for constructing a SCMA autoencoder based on a GRU network in an exemplary embodiment of the present application.
[0053] Figure 2 4 is a system block diagram of a SCMA codec in an exemplary embodiment of the present application.
[0054] Figure 3 Schematic diagram of the codeword mapping process of the SCMA encoder in an exemplary embodiment of the present application
[0055] Figure 4 Schematic diagram of the SCMA decoder structure in an exemplary embodiment of the present application.
[0056] Figure 5 This is a schematic diagram of the connection between GRU neurons according to the time dimension in an exemplary embodiment of the present application.
[0057] Figure 6 Schematic diagram of bit error rate performance comparison between an exemplary embodiment of the present application and an existing SCMA coding and decoding scheme under a Gaussian channel.
[0058] Figure 7 Schematic diagram of bit error rate performance comparison between an exemplary embodiment of the present application and an existing SCMA coding and decoding scheme under a Rayleigh fading channel.
[0059] Figure 8 Schematic diagram comparing the complexity of the exemplary embodiment of the present application and the SCMA algorithm based on the deep learning solution. DETAILED DESCRIPTION
[0060] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0061] In order to solve the problems of low coding efficiency, high decoding calculation complexity and high time consumption in the prior art, the present invention provides a method for constructing a SCMA autoencoder based on a GRU network, and these embodiments will be discussed in detail below.
[0062] See also Figure 1 As shown, in an exemplary embodiment of the present application, a method for constructing a SCMA autoencoder based on a GRU network includes:
[0063] Step S100, using the neural network unit as a codebook generator between the user and the resource according to the connection relationship between the user and the resource in the SCMA factor matrix, and establishing the SCMA encoder through the codebook generator;
[0064] Step S200, establishing a SCMA decoder according to the GRU network at the receiving end, wherein the SCMA decoder converts the traditional single-task learning problem into a multi-task learning problem during decoding;
[0065] Step S300, performing end-to-end training on the SCMA encoder and the SCMA decoder.
[0066] Now combine Figure 2 Let's introduce the implementation process of each step in detail:
[0067] First, execute step S100, use the neural network unit as a codebook generator between users and resources according to the connection relationship between users and resources in the SCMA factor matrix, and establish a SCMA encoder through the codebook generator.
[0068] In a specific embodiment of the present application, step S100 specifically includes:
[0069] Step S110, establishing a pre-coding module, wherein the pre-coding module is used to pre-code user input data through a one-hot encoder function;
[0070] The precoding module is used to convert log2(M) bit data b j Through the one-hot encoder function Encoded as a one-hot vector s of M dimensions j , Represents each input vector s j A one-hot vector of in, is defined as the identity matrix I M The i-th column of can be expressed as:
[0071]
[0072] So that {s i} can be used to uniquely represent all symbols of J users.
[0073] Step S120, use J neural network units as codeword generators for J users respectively, convert the user input data into multi-dimensional complex codewords and map them on resource blocks.
[0074] It should be understood that a neural network is mainly composed of a connection weight matrix, where the weight matrix represents the connection strength between neurons. Therefore, the weight matrix in the neural network can be used as the codeword generator matrix G in this application. j , which is used to map the user bit stream vector into a multi-dimensional complex codeword vector. Since the network operates in the real domain, the output of the codeword generator can be divided into the real part and the imaginary part. User multi-dimensional complex codeword x j The generation process can be expressed as:
[0075] x j =G j s j
[0076]
[0077] in, and Represent the generating matrices of the real and imaginary parts respectively.
[0078] Step S130, setting the network parameters of each neural network unit in the encoder.
[0079] After setting the network parameters of each neural network unit in the encoder, the neural network unit can convert the user input data into multi-dimensional complex codewords and map them on the resource blocks, and superimpose the output codewords of all neural network units on each resource block according to the SCMA factor graph mapping matrix to generate encoded data.
[0080] See also Figure 3 As shown in FIG, taking the kth resource block as an example, the output codewords of all neural network units on the kth resource block are superimposed according to the SCMA factor graph mapping matrix. Specifically, if the element in the kth row and jth column in the SCMA factor graph mapping matrix is 0, it means that the jth user does not occupy the kth resource block when transmitting data. At this time, let the codeword x corresponding to the subscript be k,j =0; if the element in the kth row and jth column of the SCMA factor graph mapping matrix is 1, on the contrary, it means that the jth user occupies the kth resource block when transmitting data, and the corresponding subscript codeword is x k,j The normal output is codeword superimposed to generate coded data.
[0081] Taking the SCMA system with 6 users and 4 resource blocks as an example, the SCMA factor graph mapping matrix F K×J for:
[0082]
[0083] Next, step S200 is executed to establish a SCMA decoder according to the GRU network.
[0084] The SCMA decoder is constructed by using the linear fully connected layer, GRU network and multi-user classifier as the first, second and third layers of the decoder respectively.
[0085] In an exemplary embodiment of the present application, step S200 specifically includes:
[0086] Step S210: Using a linear fully connected layer as the first layer of the SCMA decoder, wherein the activation function of the linear fully connected layer is a linear function.
[0087] The receiving end receives the encoded data after propagation as the first intermediate data y, and sends the first intermediate data y to the linear fully connected layer, and the linear fully connected layer integrates the first intermediate data y, for example, performs feature extraction, feature conversion or dimension conversion on the first intermediate data y to generate the second intermediate data y d Next, the second intermediate data is sent to the second layer of the SCMA decoder.
[0088] Step S220, using the GRU network as the second layer of the SCMA decoder.
[0089] Specifically, see Figure 4 , the GRU network includes L GRU hidden network layers, each with N GRU The GRU recurrent network module contains two key gate controllers, namely the update gate z t and reset gate r t By updating the gate z t Controls how much state information at time t-1 should be retained, and how much candidate information at time t needs to be added to the long-term state, and resets gate r t The control network needs to forget the long-term state at time t-1 to a certain extent at time t. The connections between GRU neurons are expanded according to the time dimension.
[0090] In the GRU network, the state h of the hidden node at time t is t is the state h at the previous moment t-1 and candidate status The linear interpolation between is as follows:
[0091]
[0092] In the calculation process, forgetting and memorizing are performed simultaneously. Here, the update gate z is used. t to control this process. t If the value of is close to 1, it means that the proportion of memorized data information is large; on the contrary, if zt If the value of is close to 0, it means that a large proportion of data information is forgotten. t The calculation formula is as follows:
[0093] z t =σ(W z ·[h t-1 ,x t ])
[0094] The state value h at the previous moment t-1 With reset gate r t Multiply it by the input x t Combined, the candidate value is obtained after matrix operation and tanh activation function. The calculation formula is as follows:
[0095]
[0096] In the above formula, reset gate r t The calculation formula is as follows:
[0097] r t =σ(W r ·[h t-1 ,x t ])
[0098] According to the state value obtained by the GRU network at time, the output of the model can be further calculated as:
[0099] y GRU =σ(W o ·h t )
[0100] Among them, σ represents the sigmoid activation function, x t is the input signal at time t, that is, the second intermediate data y d .W z , W r , W h and W o is the weight coefficient, that is, the parameter variable that the GRU model needs to learn.
[0101] In addition, it is also necessary to set the network parameters of the GRU network, such as the number of hidden layers, the number of hidden layer nodes, weights and biases.
[0102] It should be noted that the gating mechanism of the GRU network can better adapt to complex channel environments and effectively handle interference between multiple users, thereby improving the robustness of the system.
[0103] The second intermediate data y d After being processed by the GRU network, the third intermediate data y is generated GRUNext, the third intermediate data is sent to the third layer of the SCMA decoder.
[0104] Step S230, using a multi-user classifier as the third layer of the SCMA decoder, and using J fully connected layers as the multi-user classifier u j (·) For the received third intermediate data y GRU Perform multi-task learning, decode the user data loaded in K resource blocks and output the decoded signals p of all J SCMA layers. The output related to the jth SCMA layer is denoted as p j , using softmax as the activation function applied to p j , normalize it to predict the probability distribution of M categories, and output the decoded signal Then, to obtain the decoded bit information, we can choose for each The m-dimensional symbol with the maximum probability. The softmax activation function is defined as:
[0105]
[0106] in, express The mth item of θ j is the neural network parameter of the j-th user classifier;
[0107] Set the network parameters of each user classifier, including the number of hidden layers, number of hidden layer nodes, initial values of weights and bias parameters.
[0108] After the third intermediate data is subjected to multi-task learning by the multi-user classifier, the user input data is reconstructed according to the result of the multi-task learning to obtain the reconstructed user input data To restore the original user input data.
[0109] Finally, step S300 is executed to perform end-to-end training on the SCMA encoder and the SCMA decoder.
[0110] In a specific embodiment of the present application, the following cross entropy loss function is established during end-to-end training:
[0111]
[0112] Where H is the channel coefficient matrix, s is the one-hot vector form of the input data, is the reconstructed data, f(·) and g(·) represent the mapping functions of the encoder and decoder respectively, θ f and θ g denote the neural network parameters of the encoder and decoder respectively.
[0113] The Adam (Adaptive Moment Estimation) optimizer with a learning rate of 0.001 is used to update the weights and biases of the neural network. Its calculation expression can be expressed as:
[0114]
[0115] Among them, α is the learning rate; i is the momentum time step; is the deviation correction of the gradient mean; is the deviation correction of the squared gradient, ε = 10 -8 .
[0116] It can be seen from the expression that the algorithm adaptively adjusts the update step size from two perspectives: the gradient mean and the gradient square, rather than being determined solely by the current gradient value. This speeds up the learning speed of the neural network and enables it to converge to the minimum value faster.
[0117] Of course, in other embodiments, other optimizers may be used to update the weights and biases of the neural network, for example, SGD (stochastic gradient descent) and RMS prop (root mean square propagation).
[0118] Finally, the SCMA encoder and the SCMA decoder are trained end-to-end so that the output y generated by the GRU network GRU Input to the multi-user classifier u j After multi-task learning, user input data can be reconstructed
[0119] In order to verify the performance of this embodiment, the BER performance of the solution proposed in this invention is compared with the traditional MPA decoding algorithm, D-SCMA (SCMA assisted by deep learning), DLD-SCMA (SCMA decoding implemented by deep learning), and E2E-SCMA (end-to-end SCMA system) solutions under different channel environments. Figure 5 and Figure 6 As shown, GRU-SCMA represents the system of this embodiment. When Eb / N0=0~14dB, the BER of the system in AWGN (Gaussian white noise) channel and Rayleigh fading channel are calculated respectively. The D-SCMA scheme is an SCMA system built by an autoencoder composed of a fully connected neural network; DLD-SCMA is an SCMA scheme that optimizes the decoder based on D-SCMA; the E2E-SCMA scheme designs the SCMA encoder by considering the mapping process, and then uses multi-task learning to effectively derive the codebook and decoding strategy of the sparse multi-dimensional superposition signal.
[0120] Figure 5The BER performance comparison chart of each scheme in AWGN channel is shown in the figure. It can be seen from the figure that the SCMA encoding and decoding scheme based on deep learning has good performance in E b When / N0>10, its decoding performance is significantly better than the traditional MPA decoding scheme. The decoding performance of the GRU-SCMA autoencoder scheme proposed in the present invention is also significantly better than other SCMA encoding and decoding schemes based on deep learning.
[0121] Figure 6 The BER performance comparison chart of each scheme under Rayleigh fading channel. It can be seen that the GRU-SCMA scheme proposed in this application is significantly better than the traditional SCMA decoding and other autoencoder schemes.
[0122] In addition to the bit error rate performance, special attention is paid to its computational complexity when designing the GRU-SCMA autoencoder model to improve its application value in the mMTC scenario. Compared with other SCMA autoencoder models that mainly focus on improving the bit error rate performance, the GRU-SCMA model of this application aims to achieve a balance between bit error rate and computational complexity performance. Experimental results confirm that it effectively improves the computational complexity of the SCMA system while improving the bit error rate. Table 1 shows the calculation results of the number of MACs for different SCMA schemes. From the table, we can see that the number of MACs of the GRU-SCMA autoencoder is much lower than that of SCMA autoencoder schemes such as D-SCMA, DLD-SCMA, and E2E-SCMA. Therefore, the GRU-SCMA scheme has achieved significant performance improvements in computational complexity. The calculation method of the number of MACs for the GRU-SCMA scheme is similar to other SCMA schemes. Other network layers other than the GRU network part can still be calculated using the following formula:
[0123]
[0124] Where J is the number of users; K is the number of resources; L e and L d N is the number of layers of the encoder and decoder respectively; e,n and N d,n . are the number of nodes in the nth layer of the encoder and decoder respectively.
[0125] The GRU network needs to be calculated separately due to its gating mechanism. The MAC number calculation process of the GRU network is as follows:
[0126] MAC GRU =G×N i+1 (N i+1 +N i )
[0127] Among them, N irepresents the number of nodes in the i-th GRU hidden layer, and G=3 represents the number of GRU network gates.
[0128] Table 1 Number of MAC operations for the SCMA autoencoder scheme
[0129]
[0130] See also Figure 7 and Figure 8 As shown, in order to further illustrate the effectiveness of the present application, the present application also provides a computer simulation comparison result, simulating the above SCMA scheme under the same experimental platform conditions, comparing the time required for each SCMA scheme to decode user information, and using the simulation consumption time to represent the computational complexity. It can be seen that the calculation time of the present application is lower than that of the D-SCMA, DLD-SCMA, and MPA schemes. Therefore, the proposed GRU-SCMA scheme has a lower computational complexity.
[0131] In summary, the present invention greatly reduces the number of codebook generators used for user coding by improving the encoding end, thereby effectively reducing the redundant parameters of the encoder and improving the coding efficiency of the system. By introducing the GRU network based on the SCMA system based on deep learning, the gating mechanism is used to better capture long-term dependencies, and the information of each user can still be effectively restored and separated while simplifying the overall network structure. Compared with the traditional SCMA system and the existing SCMA system based on deep learning, the present invention can obtain higher computational complexity performance while maintaining the system's better BER performance.
[0132] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope involved in the present application is not limited to the technical solution formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the inventive concept, such as a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this application.
[0133] Except for the technical features described in the specification, the remaining technical features are known technologies to those skilled in the art. In order to highlight the innovative features of the present invention, the remaining technical features will not be described here in detail.
Claims
1. A method for constructing a SCMA autoencoder based on a GRU network, characterized in that: include: According to the connection relationship between users and resources in the SCMA factor matrix, the neural network unit is used as a codebook generator between users and resources, and the SCMA encoder is established according to the codebook generator; Establishing a SCMA decoder based on the GRU network, wherein the SCMA decoder converts a traditional single-task learning problem into a multi-task learning problem during decoding; The SCMA encoder and the SCMA decoder are trained end-to-end to obtain a SCMA autoencoder based on a GRU network.
2. The method for constructing a SCMA autoencoder based on a GRU network according to claim 1, characterized in that: According to the connection relationship between users and resources in the SCMA factor matrix, the neural network unit is used as a codebook generator between users and resources, and the SCMA encoder is established according to the codebook generator, including: Establishing a pre-coding module, the pre-coding module pre-encodes user input data through a one-hot encoder function; Use J neural network units as codeword generators for J users respectively, convert user input data into multi-dimensional complex codewords and map them on resource blocks; Set the network parameters of each neural network unit to obtain the SCMA encoder.
3. The method for constructing a SCMA autoencoder based on a GRU network according to claim 2, characterized in that: Building a SCMA decoder based on the GRU network includes: The SCMA decoder is constructed by using the linear fully connected layer, GRU network and multi-user classifier as the first, second and third layers of the decoder respectively.
4. The method for constructing a SCMA autoencoder based on a GRU network according to claim 3, characterized in that: The method for obtaining the multi-user classifier comprises: Use J fully connected layers as a multi-user classifier; The network parameters of each of the multi-user classifiers are set to obtain the multi-user classifier; wherein the multi-user classifier is used for multi-task learning.
5. The method for constructing a SCMA autoencoder based on a GRU network according to claim 1, characterized in that: The encoder and decoder of the SCMA system are trained end-to-end so that the system can accurately reconstruct the original data including: Establish an end-to-end cross entropy loss function: The preset optimizer is used to update the weights and biases of the neural network, and its calculation expression can be expressed as: Where H is the channel coefficient matrix, s is the one-hot vector form of the input data, is the reconstructed data, f(·) and g(·) represent the mapping functions of the encoder and decoder respectively, θ f and θ g Represent the neural network parameters of the encoder and decoder respectively, α is the learning rate; i is the momentum time step; is the deviation correction of the gradient mean; is the bias correction for the squared gradient.
6. The method for constructing a SCMA autoencoder based on a GRU network according to claim 1, characterized in that: The steps of establishing the GRU network include: According to the state h at the previous moment t-1 and candidate status Calculate the state h of the hidden node at time t t , the calculation formula is: Calculate the update gate z t The value of z is calculated as: t =σ(W z ·[h t-1 ,x t ]); The state h at the previous moment t-1 With reset gate r t Multiply it by the input x t Combined, the candidate state is obtained after matrix operation and tanh activation function The calculation formula is as follows: Among them, the reset gate r t The calculation formula is: t =σ(W r ·[h t-1 ,x t ]); The output of the model is calculated based on the state value obtained by the GRU network at time. The calculation formula is: GRU =σ(W o ·h t ); Set the network parameters of the GRU network; Among them, σ represents the sigmoid activation function, x t is the input signal y at time t d , W z , W r , W h and W o is the weight coefficient.
7. A device for constructing a SCMA autoencoder based on a GRU network, characterized in that: include: An encoder building module, used to use the neural network unit as a codebook generator between users and resources according to the connection relationship between users and resources in the SCMA factor matrix, and establish an SCMA encoder through the codebook generator; A decoder building module, which builds a SCMA decoder based on the GRU network. The SCMA decoder converts the traditional single-task learning problem into a multi-task learning problem during decoding; A training module is used to perform end-to-end training on the SCMA encoder and the SCMA decoder to obtain a SCMA autoencoder based on a GRU network.
8. A decoding method of a SCMA autoencoder based on a GRU network, characterized in that: include: Receiving the coded data after propagation as the first intermediate data, wherein the coded data is generated by using J neural network units as codeword generators for J users, converting user input data into multidimensional complex codewords and mapping them on resource blocks, and superimposing the output codewords of all neural network units on each resource block according to the SCMA factor graph mapping matrix; Sending the first intermediate data to a linear fully connected layer, integrating the first intermediate data to generate second intermediate data; Sending the second intermediate data to a GRU network, where the GRU network processes the second intermediate data to generate third intermediate data; Sending the third intermediate data to a multi-user classifier for multi-task learning; Data reconstruction is performed according to the result of the multi-task learning.
9. The decoding method of the SCMA autoencoder based on the GRU network according to claim 8, characterized in that: The reconstructing the data according to the result of the multi-task learning includes: After decoding the user data loaded on K resource blocks, the decoded signals p of all J SCMA layers are output. The output related to the jth SCMA layer is denoted as p j ; Use softmax as the activation function for p j , normalize it to predict the probability distribution of M categories, and output the decoded signal Among them, the softmax activation function is defined as: express The mth item of θ j are the neural network parameters of the j-th multi-user classifier.
10. A SCMA autoencoder based on a GRU network, characterized in that: include: The encoding module is used to receive data input by the user, use J neural network units as codeword generators for J users, convert the user input data into multi-dimensional complex codewords and map them on resource blocks; superimpose the output codewords of all neural network units on each resource block according to the SCMA factor graph mapping matrix to generate encoded data, and send the encoded data; A decoding module, configured to receive the propagated encoded data as first intermediate data, send the first intermediate data to a linear fully connected layer, and integrate the first intermediate data to generate second intermediate data; Sending the second intermediate data to a GRU network, and the GRU network processes the second intermediate data to generate third intermediate data; sending the third intermediate data to a multi-user classifier for multi-task learning; Data reconstruction is performed according to the result of the multi-task learning.
