Sparse code multiple access detection method and device, electronic equipment and storage medium
By using multiple sub-models in SCMA detection and using transfer learning technology, the model knowledge in low signal-to-noise ratio areas is transferred to high signal-to-noise ratio areas, which solves the problem of low accuracy of deep learning SCMA detection methods in high signal-to-noise ratio areas. , improving detection accuracy and efficiency.
Patent Information
- Application Number
- CN202410780728.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-10-11
AI Technical Summary
Existing deep learning-based Sparse Code Multiple Access (SCMA) detection methods have low accuracy in high signal-to-noise ratio areas, mainly due to the fact that the random distribution of noise in the training set has a negative impact on model training, resulting in optimal judgment boundaries Hard to find.
Multiple sub-models are used. Each sub-model corresponds to a different signal-to-noise ratio of the training data. The model knowledge in the low-signal-to-noise ratio area is transferred to the high-signal-to-noise ratio area through transfer learning. The sub-model with a lower signal-to-noise ratio is used as the signal-to-noise ratio. The source model of the sub-model with high noise ratio is trained to build the SCMA detection model.
It improves the detection accuracy in low signal-to-noise ratio and high signal-to-noise ratio areas, reduces the performance loss in the transfer learning process, and solves the problem of low accuracy of existing methods in high signal-to-noise ratio areas.
Smart Images

Figure CN118764130A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and in particular, relates to a detection method, device, electronic device and storage medium for sparse code multiple access. Background Art
[0002] Sparse Code Multiple Access (SCMA) is an advanced code domain non-orthogonal multiple access technology. At present, the common SCMA detection method is to use the message passing algorithm (MPA) for detection and use deep learning (DL) to train the SCMA detection model, so as to detect through the trained SCMA detection model.
[0003] In practical applications, we found that the method of using deep learning to train the SCMA detection model can achieve a bit error rate close to that of the message passing algorithm in areas with low signal-to-noise ratios. However, in areas with high signal-to-noise ratios, the sample density near the optimal judgment boundary is low and the sample distribution is more random. This causes a certain error between the judgment boundary of the training set and the optimal judgment boundary. Therefore, the random distribution of noise in the training set is likely to have a negative impact on the training, which makes it difficult for the trained SCMA detection model to find the optimal judgment boundary.
[0004] Based on the above analysis, when a high signal-to-noise ratio dataset is used for training, the trained SCMA detection model is prone to overfitting, which ultimately leads to the low accuracy of the existing deep learning-based SCMA detection method in high signal-to-noise ratio areas. Summary of the invention
[0005] In view of this, the embodiments of the present application provide a sparse code multiple access detection method, device, electronic device and storage medium to solve the technical problem that the existing deep learning-based SCMA detection method has low accuracy in high signal-to-noise ratio areas.
[0006] In a first aspect, an embodiment of the present application provides a sparse code multiple access detection method, including:
[0007] Acquire sparse code multiple access (SCMA) data to be detected and a target signal-to-noise ratio (SNR) of the SCMA data;
[0008] Inputting the SCMA data and the target signal-to-noise ratio into a trained SCMA detection model for processing to obtain a detection result of the SCMA data;
[0009] Among them, the SCMA detection model includes multiple sub-models, and the signal-to-noise ratios of the training data corresponding to each of the sub-models are different. The sub-models with lower signal-to-noise ratios of the training data corresponding to each of the sub-models are used as source models for training the sub-models with higher signal-to-noise ratios of the training data corresponding to each of the sub-models through transfer learning.
[0010] Optionally, the SCMA detection model is trained in the following manner:
[0011] For each of the sub-models, determining target model parameters of the sub-model based on the training data and initial model parameters corresponding to the sub-model;
[0012] The SCMA detection model is constructed according to the target model parameters of each sub-model.
[0013] Optionally, for each of the sub-models, determining a model parameter of the sub-model based on training data corresponding to the sub-model includes:
[0014] For a first sub-model whose corresponding training data has the lowest signal-to-noise ratio among the sub-models, generating initial model parameters of the first sub-model by random initialization;
[0015] Based on the training data corresponding to the first sub-model, the initial model parameters of the first sub-model are optimized and updated to obtain the target model parameters of the first sub-model.
[0016] Optionally, for each of the sub-models, determining a target model parameter of the sub-model based on training data corresponding to the sub-model includes:
[0017] For the second sub-model whose corresponding training data has a non-lowest signal-to-noise ratio in each of the sub-models, target model parameters of a third sub-model whose corresponding training data has a lower signal-to-noise ratio than the second sub-model are used as initial model parameters of the second sub-model;
[0018] Based on the training data corresponding to the second sub-model, the initial model parameters of the second sub-model are optimized and updated to obtain the target model parameters of the second sub-model.
[0019] Optionally, the optimizing and updating the initial model parameters of the second sub-model based on the training data corresponding to the second sub-model to obtain the target model parameters of the second sub-model includes:
[0020] Determine, according to the training data corresponding to the second sub-model, a cross entropy loss function for each user in the training data corresponding to the second sub-model;
[0021] Determine an overall loss function according to the cross entropy loss functions of each user;
[0022] The overall loss function is minimized to optimize and update the initial model parameters of the second sub-model to obtain the target model parameters of the second sub-model.
[0023] Optionally, each of the sub-models is arranged in order from low to high according to the signal-to-noise ratio of the corresponding training data, and the fourth sub-model is any sub-model except the highest-ranked sub-model among the sub-models. The fourth sub-model is used as the source model for training a fifth sub-model with a higher ranking adjacent to the fourth sub-model among the sub-models through transfer learning.
[0024] Optionally, the inputting the SCMA data and the target signal-to-noise ratio into a trained SCMA detection model for processing to obtain a detection result of the SCMA data includes:
[0025] Determine, from each of the sub-models, a sixth sub-model whose corresponding training data signal-to-noise ratio is closest to the target signal-to-noise ratio;
[0026] The SCMA data is input into the sixth sub-model for SCMA detection processing to obtain a detection result of the SCMA data.
[0027] In a second aspect, the present application provides a sparse code multiple access detection device, comprising:
[0028] A data acquisition unit, used to acquire sparse code multiple access (SCMA) data to be detected and a target signal-to-noise ratio of the SCMA data;
[0029] A detection unit, configured to input the SCMA data and the target signal-to-noise ratio into a trained SCMA detection model for processing to obtain a detection result of the SCMA data;
[0030] Among them, the SCMA detection model includes multiple sub-models, and the signal-to-noise ratios of the training data corresponding to each of the sub-models are different. The sub-models with lower signal-to-noise ratios of the training data corresponding to each of the sub-models are used as source models for training the sub-models with higher signal-to-noise ratios of the training data corresponding to each of the sub-models through transfer learning.
[0031] In a third aspect, an embodiment of the present application provides a control device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, each step in the sparse code multiple access detection method as described in any one of the first aspects above is implemented.
[0032] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, each step in the sparse code multiple access detection method as described in any one of the first aspects above is implemented.
[0033] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, it enables the control device to execute each step in the sparse code multiple access detection method as described in any one of the first aspects above.
[0034] The sparse code multiple access detection method, device, electronic device and storage medium provided by the embodiments of the present application have the following beneficial effects:
[0035] In the sparse code multiple access detection method provided in an embodiment of the present application, the sparse code multiple access SCMA data to be detected and the target signal-to-noise ratio of the SCMA data are first obtained, and then the SCMA data and the target signal-to-noise ratio are input into the trained SCMA detection model for processing to obtain the detection result of the SCMA data, wherein the SCMA detection model includes multiple sub-models, and the signal-to-noise ratio of the training data corresponding to each sub-model is different. The sub-model with a lower signal-to-noise ratio of the corresponding training data in each sub-model is used as the source model for training the sub-model with a higher signal-to-noise ratio of the corresponding training data in each sub-model through transfer learning. When training the sub-model with a higher signal-to-noise ratio of the training data, the detection method provided in the present application uses the sub-model with a lower signal-to-noise ratio of the training data as the source model. Since the difference between the training data set of the sub-model with a lower signal-to-noise ratio of the training data and the training data set of the sub-model with a higher signal-to-noise ratio of the training data is small, transfer learning can be used for training, and the performance loss in the process of training using transfer learning is small, so that the detection method provided in the present application has a higher accuracy in both low signal-to-noise ratio areas and high signal-to-noise ratio areas, solving the technical problem of low accuracy of existing SCMA detection methods based on deep learning in high signal-to-noise ratio areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 A flowchart of a detection method for sparse code multiple access provided in an embodiment of the present application;
[0038] Figure 2 A flowchart of a method for determining model parameters of a sub-model provided in an embodiment of the present application;
[0039] Figure 3 A flowchart of a method for determining model parameters of a sub-model provided in another embodiment of the present application;
[0040] Figure 4 A schematic diagram showing the relationship between the bit error rate and the signal-to-noise ratio of different SCMA detection methods provided in the embodiments of the present application;
[0041] Figure 5 A schematic diagram of the structure of a sparse code multiple access detection device provided in an embodiment of the present application is shown;
[0042] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] It should be noted that the terms used in the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application. In the description of the embodiments of the present application, unless otherwise specified, "multiple" refers to two or more than two, and "at least one", "one or more" refers to one, two or more. The terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, it is defined that the "first" and "second" features can explicitly or implicitly include one or more of the features.
[0044] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0045] The executor of the sparse code multiple access detection method provided in the embodiment of the present application may be an electronic device, and the electronic device may be a sparse code multiple access detection device and a terminal device, wherein the terminal device may include electronic devices such as mobile phones, tablet computers, laptop computers, and desktop computers.
[0046] The sparse code multiple access detection method provided in the embodiment of the present application can be applied to various scenarios for detecting SCMA data. Specifically, when the user needs to detect SCMA data, the various steps of the sparse code multiple access detection method provided in the embodiment of the present application can be performed by an electronic device, thereby enabling detection of SCMA data.
[0047] See also Figure 1 , Figure 1 A flow chart for implementing a sparse code multiple access detection method provided in an embodiment of the present application, the sparse code multiple access detection method may include S101 to S102, which are described in detail as follows:
[0048] In S101, sparse code multiple access (SCMA) data to be detected and a target signal-to-noise ratio of the SCMA data are obtained.
[0049] In an embodiment of the present application, when the SCMA data needs to be detected, the user can input the SCMA data to be detected into the electronic device so that the electronic device can obtain the SCMA data to be detected.
[0050] After acquiring the SCMA data to be detected, the electronic device can calculate the signal-to-noise ratio of the SCMA data to be detected, thereby obtaining a target signal-to-noise ratio of the SCMA data.
[0051] In S102, the SCMA data and the target signal-to-noise ratio are input into the trained SCMA detection model for processing to obtain the detection result of the SCMA data.
[0052] In an embodiment of the present application, after the electronic device obtains the sparse code multiple access SCMA data to be detected and the target signal-to-noise ratio of the SCMA data, the electronic device can input the obtained SCMA data and the target signal-to-noise ratio into a trained SCMA detection model for processing, and obtain the detection result of the SCMA data from the trained SCMA detection model.
[0053] Among them, the SCMA detection model includes multiple sub-models, and the signal-to-noise ratios of the training data corresponding to each sub-model are different. The sub-models with lower signal-to-noise ratios of the training data corresponding to each sub-model are used as the source models for training the sub-models with higher signal-to-noise ratios of the training data corresponding to each sub-model through transfer learning.
[0054] In the prior art, when deep learning is used to train the SCMA detection model, the initial SCMA detection model is usually trained separately using training data with different signal-to-noise ratios. That is, the training process of the initial SCMA detection model using training data with different signal-to-noise ratios can be regarded as an independent task.
[0055] From practical application experience, we know that the difference in the signal-to-noise ratio of training data only affects the data distribution and does not lead to essential differences between tasks. Therefore, training SCMA detection models with different signal-to-noise ratios meets the conditions for transfer learning. Given that deep learning detection methods perform well in low signal-to-noise ratio areas, we can use transfer learning methods to transfer part of the knowledge in the SCMA detection model trained in low signal-to-noise ratio areas to the training of the SCMA detection model in high signal-to-noise ratio areas. This method of training the SCMA detection model through transfer learning can not only improve the accuracy of SCMA detection, but also improve the efficiency of SCMA detection.
[0056] Based on this, the following provides an implementation method for training the SCMA detection model through a transfer learning method. Specifically, the SCMA detection model can be trained through steps a to b. The details are as follows:
[0057] In step a, for each sub-model, the target model parameters of the sub-model are determined based on the training data and initial model parameters corresponding to the sub-model.
[0058] In this implementation, the electronic device can make the training data of each signal-to-noise ratio correspond to a sub-model, and the electronic device can determine the target model parameters of any sub-model based on the training data corresponding to any sub-model and the initial model parameters corresponding to any sub-model. After the target model parameters of the sub-model are determined, the sub-model can be considered to have been trained.
[0059] In the embodiment of the present application, each sub-model can be divided into a first sub-model with the lowest signal-to-noise ratio of the corresponding training data and a second sub-model with a non-lowest signal-to-noise ratio of the corresponding training data, and the model parameters of the first sub-model and the model parameters of the second sub-model are respectively determined according to the following methods, which are described in detail as follows:
[0060] See also Figure 2 , Figure 2 The present invention provides a flowchart of a method for determining a model parameter of a sub-model according to an embodiment of the present invention. The method for determining a model parameter of the sub-model may include S201 to S202, which are described in detail as follows:
[0061] In S201, for the first sub-model whose corresponding training data has the lowest signal-to-noise ratio among the sub-models, initial model parameters of the first sub-model are generated by random initialization.
[0062] In an embodiment of the present application, when training the first sub-model whose corresponding training data has the lowest signal-to-noise ratio among each sub-model, the electronic device can first obtain an untrained SCMA model as the initial first sub-model, and then the electronic device can generate the initial model parameters of the first sub-model by random initialization.
[0063] In S202, based on the training data corresponding to the first sub-model, the initial model parameters of the first sub-model are optimized and updated to obtain the target model parameters of the first sub-model.
[0064] In an embodiment of the present application, after generating the initial model parameters of the first sub-model, the electronic device can optimize and update the initial model parameters of the first sub-model based on the training data corresponding to the first sub-model to obtain the target model parameters of the first sub-model.
[0065] In a possible implementation, the electronic device can optimize and update the initial model parameters of the first sub-model based on the training data corresponding to the first sub-model through steps c to e. The details are as follows:
[0066] In step c, based on the training data corresponding to the first sub-model, the cross entropy loss function of each user in the training data corresponding to the first sub-model is determined.
[0067] In a possible implementation, the cross entropy loss function of each user in the training data corresponding to the first sub-model may be:
[0068]
[0069] in, yes The mth component of P. j is an M-dimensional vector representing the predicted probability distribution of the jth user input data. jm Represents the predicted probability of the mth category, satisfying
[0070] In step d, the overall loss function is determined based on the cross entropy loss function of each user.
[0071] In a possible implementation, the overall loss function determined according to the cross entropy loss function of each user may be:
[0072]
[0073] Among them, (θ s ) * is represented as the optimal parameter.
[0074] In step e, the initial model parameters of the first sub-model are optimized and updated by minimizing the overall loss function to obtain the target model parameters of the first sub-model.
[0075] In this implementation, after determining the overall loss function, the electronic device can minimize the overall loss function, thereby optimizing and updating the initial model parameters of the first sub-model to obtain the target model parameters of the first sub-model.
[0076] See also Figure 3 , Figure 3 This is a flowchart of a method for determining model parameters of a sub-model provided in another embodiment of the present application. The method for determining model parameters of the sub-model may include S301 to S302, which are described in detail as follows:
[0077] In S301, for the second sub-model whose corresponding training data has a non-lowest signal-to-noise ratio among the sub-models, the target model parameters of the third sub-model whose corresponding training data has a lower signal-to-noise ratio than the second sub-model are used as the initial model parameters of the second sub-model.
[0078] In an embodiment of the present application, when training any second sub-model whose corresponding training data has a non-lowest signal-to-noise ratio among each sub-model, the electronic device may first obtain target model parameters of any third sub-model whose corresponding training data has a lower signal-to-noise ratio than that of any second sub-model, and use the target model parameters of the any third sub-model as the initial model parameters of the any second sub-model.
[0079] Exemplarily, when training the second sub-model whose signal-to-noise ratio of the corresponding training data ranks 5th (ranked from low to high) in each sub-model, the electronic device can first obtain the target model parameters of the third sub-model whose signal-to-noise ratio of the corresponding training data ranks lower than 5th (such as the third sub-model ranked 4th / 3rd / 2nd / 1st), and use the target model parameters of the third sub-model whose signal-to-noise ratio of the corresponding training data ranks lower than 5th as the initial model parameters of the second sub-model whose signal-to-noise ratio of the corresponding training data ranks 5th.
[0080] In S302, based on the training data corresponding to the second sub-model, the initial model parameters of the second sub-model are optimized and updated to obtain the target model parameters of the second sub-model.
[0081] In an embodiment of the present application, after obtaining the initial model parameters of the second sub-model, the electronic device can optimize and update the initial model parameters of the second sub-model based on the training data corresponding to the second sub-model to obtain the target model parameters of the second sub-model.
[0082] In a possible implementation, the electronic device can optimize and update the initial model parameters of the second sub-model based on the training data corresponding to the second sub-model through steps f to h. The details are as follows:
[0083] In step f, based on the training data corresponding to the second sub-model, a cross entropy loss function of each user in the training data corresponding to the second sub-model is determined.
[0084] In a possible implementation, the cross entropy loss function of each user in the training data corresponding to the second sub-model may be:
[0085]
[0086] in, yes The mth component of P. j is an M-dimensional vector representing the predicted probability distribution of the jth user input data. jm Represents the predicted probability of the mth category, satisfying
[0087] In step g, the overall loss function is determined based on the cross entropy loss function of each user.
[0088] In a possible implementation, the overall loss function determined according to the cross entropy loss function of each user may be:
[0089]
[0090] Among them, (θ s ) * is represented as the optimal parameter.
[0091] In step h, the initial model parameters of the second sub-model are optimized and updated by minimizing the overall loss function to obtain the target model parameters of the second sub-model.
[0092] In this implementation, after determining the overall loss function, the electronic device can minimize the overall loss function, thereby optimizing and updating the initial model parameters of the second sub-model to obtain the target model parameters of the second sub-model.
[0093] In step b, the SCMA detection model is constructed according to the target model parameters of each sub-model.
[0094] In this implementation, after determining the target model parameters of each sub-model, the electronic device can map the target model parameters of each sub-model with the signal-to-noise ratio of the training data corresponding to each sub-model, and construct an SCMA detection model based on the mapping relationship between the target model parameters of each sub-model and the signal-to-noise ratio of the training data corresponding to each sub-model.
[0095] In an optional implementation, the SCMA detection model can be trained by continuous transfer learning. The continuous transfer learning method can make the migration process smoother, that is, the difference between the training data set of the source model and the training data set of the trained sub-model can be smaller, so that the performance loss in the process of training using transfer learning is smaller.
[0096] Specifically, the sub-models of the SCMA detection model are arranged in order from low to high according to the signal-to-noise ratio of the corresponding training data, and the fourth sub-model is any sub-model except the highest-ranked sub-model among the sub-models. The fourth sub-model is used as the source model for training the fifth sub-model with a higher ranking adjacent to the fourth sub-model among the sub-models through transfer learning.
[0097] Based on this, S301 (for the second sub-model whose corresponding training data has a non-lowest signal-to-noise ratio among the sub-models, using the target model parameters of the third sub-model whose corresponding training data has a lower signal-to-noise ratio than the second sub-model as the initial model parameters of the second sub-model) can be implemented in the following manner:
[0098] The electronic device can first arrange the sub-models of the SCMA detection model in order from low to high according to the signal-to-noise ratio of the corresponding training data. When training any second sub-model whose corresponding training data has a signal-to-noise ratio other than the lowest among the sub-models, the electronic device can first obtain the target model parameters of a third sub-model whose corresponding training data has a signal-to-noise ratio lower than that of the arbitrary second sub-model and is adjacent to the arbitrary second sub-model, and use the target model parameters of the third sub-model as the initial model parameters of the arbitrary second sub-model.
[0099] Exemplarily, when training the second sub-model whose corresponding training data has a signal-to-noise ratio ranked fifth (ranked from low to high) in each sub-model, the electronic device may first obtain the target model parameters whose signal-to-noise ratio ranks fourth for the corresponding training data, and use the target model parameters whose signal-to-noise ratio ranks fourth for the corresponding training data as the initial model parameters of the second sub-model whose signal-to-noise ratio ranks fifth for the corresponding training data.
[0100] After the electronic device has trained the SCMA detection model, it can process the SCMA data and the target signal-to-noise ratio input into the trained SCMA detection model through the trained SCMA detection model to obtain the detection result of the SCMA data.
[0101] In a possible implementation, the electronic device may determine, from among the sub-models, a sixth sub-model whose corresponding training data's signal-to-noise ratio is closest to the target signal-to-noise ratio.
[0102] After determining the sixth sub-model whose corresponding training data's signal-to-noise ratio is closest to the target signal-to-noise ratio, the electronic device can input the SCMA data into the sixth sub-model for SCMA detection processing to obtain a detection result of the SCMA data.
[0103] From the above, it can be seen that in the sparse code multiple access detection method provided in the embodiment of the present application, the sparse code multiple access SCMA data to be detected and the target signal-to-noise ratio of the SCMA data are first obtained, and then the SCMA data and the target signal-to-noise ratio are input into the trained SCMA detection model for processing to obtain the detection result of the SCMA data, wherein the SCMA detection model includes multiple sub-models, and the signal-to-noise ratio of the training data corresponding to each sub-model is different. The sub-model with a lower signal-to-noise ratio of the corresponding training data in each sub-model is used as the source model for training the sub-model with a higher signal-to-noise ratio of the corresponding training data in each sub-model through transfer learning. When training the sub-model with a higher signal-to-noise ratio of the training data, the detection method provided in the present application uses the sub-model with a lower signal-to-noise ratio of the training data as the source model. Since the difference between the training data set of the sub-model with a lower signal-to-noise ratio of the training data and the training data set of the sub-model with a higher signal-to-noise ratio of the training data is small, transfer learning can be used for training, and the performance loss in the process of training using transfer learning is small, so that the detection method provided in the present application has a higher accuracy in both low signal-to-noise ratio areas and high signal-to-noise ratio areas, solving the technical problem of low accuracy of existing SCMA detection methods based on deep learning in high signal-to-noise ratio areas.
[0104] Through experiments, the SCMA detection method provided in the embodiment of the present application can be compared with the message passing algorithm and the deep learning method. The results obtained are as follows: Figure 4 See Figure 4 , Figure 4 A schematic diagram of the relationship between bit error rate and signal-to-noise ratio for different SCMA detection methods provided in embodiments of the present application.
[0105] Among them, SCMA-MPA represents the result of SCMA detection through the message passing algorithm, SCMA-DL represents the result of SCMA detection through deep learning, SCMA-STL represents the result of SCMA detection through the continuous passing algorithm (i.e., the SCMA detection method provided in the embodiment of the present application), the variable on the x-axis is the signal-to-noise ratio, and the variable on the y-axis is the bit error rate.
[0106] It can be seen that the SCMA detection method provided in the embodiment of the present application has a lower bit error rate than the method for performing SCMA detection through deep learning, whether it is detecting data with a low signal-to-noise ratio or detecting data with a high signal-to-noise ratio, and the bit error rate is already close to that of the method for performing SCMA detection through a message passing algorithm. Therefore, it can be determined that the SCMA detection method provided in the embodiment of the present application has improved detection accuracy compared to the method for performing SCMA detection through deep learning.
[0107] In addition, when training the sub-model with a higher signal-to-noise ratio of the training data, the detection method provided by the present application uses the sub-model with a lower signal-to-noise ratio of the training data as the source model through transfer learning. However, in the prior art, when training the SCMA detection model corresponding to the training data with different signal-to-noise ratios, it is necessary to start the initial SCMA detection model again and perform separate training. Therefore, compared with the methods of the prior art, the detection method provided by the present application can improve the efficiency of training the SCMA detection model, and ultimately improve the detection efficiency of SCMA.
[0108] It can be seen that the SCMA detection method provided in the embodiment of the present application not only improves the detection accuracy but also improves the detection efficiency compared with the method of performing SCMA detection through deep learning.
[0109] Based on the sparse code multiple access detection method provided in the above embodiment, the present application further provides a sparse code multiple access detection device that implements the above method embodiment. Figure 5 , Figure 5 FIG. 1 is a schematic diagram showing the structure of a sparse code multiple access detection device provided in an embodiment of the present application. Figure 5 As shown, the sparse code multiple access detection device may include: a data acquisition unit 51 and a detection unit 52.
[0110] in:
[0111] The data acquisition unit 51 is used to acquire the sparse code multiple access SCMA data to be detected and the target signal-to-noise ratio of the SCMA data.
[0112] The detection unit 52 is used to input the SCMA data and the target signal-to-noise ratio into the trained SCMA detection model for processing to obtain the detection result of the SCMA data. The SCMA detection model includes multiple sub-models, and the signal-to-noise ratios of the training data corresponding to each sub-model are different. The sub-models with lower signal-to-noise ratios of the training data corresponding to each sub-model are used as the source models for training the sub-models with higher signal-to-noise ratios of the training data corresponding to each sub-model through transfer learning.
[0113] Optionally, the sparse code multiple access detection device may further include a model training unit.
[0114] The model training unit is specifically used for:
[0115] For each sub-model, based on the training data and initial model parameters corresponding to the sub-model, determine the target model parameters of the sub-model;
[0116] According to the target model parameters of each sub-model, the SCMA detection model is constructed.
[0117] The model training unit is specifically used for:
[0118] For the first sub-model with the lowest signal-to-noise ratio of the corresponding training data in each sub-model, generate initial model parameters of the first sub-model by random initialization;
[0119] Based on the training data corresponding to the first sub-model, the initial model parameters of the first sub-model are optimized and updated to obtain the target model parameters of the first sub-model.
[0120] The model training unit is specifically used for:
[0121] For the second sub-model whose corresponding training data has a non-lowest signal-to-noise ratio in each sub-model, the target model parameters of the third sub-model whose corresponding training data has a lower signal-to-noise ratio than the second sub-model are used as the initial model parameters of the second sub-model;
[0122] Based on the training data corresponding to the second sub-model, the initial model parameters of the second sub-model are optimized and updated to obtain the target model parameters of the second sub-model.
[0123] The model training unit is specifically used for:
[0124] Determine, according to the training data corresponding to the second sub-model, a cross entropy loss function for each user in the training data corresponding to the second sub-model;
[0125] Determine the overall loss function based on the cross entropy loss function of each user;
[0126] By minimizing the overall loss function, the initial model parameters of the second sub-model are optimized and updated to obtain the target model parameters of the second sub-model.
[0127] The model training unit is specifically used for:
[0128] The sub-models are arranged in order from low to high according to the signal-to-noise ratio of the corresponding training data. The fourth sub-model is any sub-model except the highest-ranked sub-model among the sub-models. The fourth sub-model is used as the source model for training the fifth sub-model with a higher ranking adjacent to the fourth sub-model among the sub-models through transfer learning.
[0129] The detection unit 52 is specifically used for:
[0130] Determine, from among the sub-models, a sixth sub-model whose corresponding signal-to-noise ratio of the training data is closest to the target signal-to-noise ratio;
[0131] The SCMA data is input into the sixth sub-model for SCMA detection processing to obtain the detection result of the SCMA data.
[0132] See also Figure 6 , Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 6 provided in this embodiment may include: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, for example, a program corresponding to the sparse code multiple access detection method. When the processor 60 executes the computer program 62, the steps in the above-mentioned embodiment of the sparse code multiple access detection method are implemented, for example Figure 1 S101~S102 shown, Figure 2 S201 to S202 shown in FIG. Figure 3 Alternatively, when the processor 60 executes the computer program 62, the functions of each module / unit in the above-mentioned sparse code multiple access detection device embodiment are realized, for example, Figure 5 The functions of the units 51-52 are shown.
[0133] Exemplarily, the computer program 62 may be divided into one or more modules / units, one or more modules / units are stored in the memory 61 and executed by the processor 60 to complete the present application. One or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the electronic device 6. For example, the computer program 62 may be divided into a data acquisition unit and a detection unit. The specific functions of each unit can be referred to in Figure 5The relevant descriptions in the corresponding embodiments are not repeated here.
[0134] Those skilled in the art will understand that Figure 6 This is only an example of the electronic device 6 and does not constitute a limitation on the electronic device 6 , which may include more or less components than those shown in the figure, or may combine certain components, or may include different components.
[0135] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0136] The memory 61 may be an internal storage unit of the electronic device 6, such as a hard disk or memory of the electronic device 6. The memory 61 may also be an external storage device of the electronic device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash card, etc., equipped on the electronic device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the electronic device 6. The memory 61 is used to store computer programs and other programs and data required by the electronic device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0137] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units as needed, that is, the internal structure of the detection device for sparse code multiple access can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0138] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0139] An embodiment of the present application provides a computer program product. When the computer program product is executed on a terminal device, the terminal device implements the steps in the above-mentioned various method embodiments.
[0140] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0141] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0142] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A detection method for sparse code multiple access, characterized in that: include: Acquire sparse code multiple access (SCMA) data to be detected and a target signal-to-noise ratio (SNR) of the SCMA data; Inputting the SCMA data and the target signal-to-noise ratio into a trained SCMA detection model for processing to obtain a detection result of the SCMA data; Among them, the SCMA detection model includes multiple sub-models, and the signal-to-noise ratios of the training data corresponding to each of the sub-models are different. The sub-models with lower signal-to-noise ratios of the training data corresponding to each of the sub-models are used as source models for training the sub-models with higher signal-to-noise ratios of the training data corresponding to each of the sub-models through transfer learning.
2. The method according to claim 1, characterized in that The SCMA detection model is trained in the following way: For each of the sub-models, determining target model parameters of the sub-model based on the training data and initial model parameters corresponding to the sub-model; The SCMA detection model is constructed according to the target model parameters of each sub-model.
3. The method according to claim 2, characterized in that The step of determining, for each of the sub-models, target model parameters of the sub-model based on the training data corresponding to the sub-model comprises: For a first sub-model whose corresponding training data has the lowest signal-to-noise ratio among the sub-models, generating initial model parameters of the first sub-model by random initialization; Based on the training data corresponding to the first sub-model, the initial model parameters of the first sub-model are optimized and updated to obtain the target model parameters of the first sub-model.
4. The method according to claim 3, characterized in that The step of determining, for each of the sub-models, model parameters of the sub-model based on the training data corresponding to the sub-model comprises: For the second sub-model whose corresponding training data has a non-lowest signal-to-noise ratio in each of the sub-models, target model parameters of a third sub-model whose corresponding training data has a lower signal-to-noise ratio than the second sub-model are used as initial model parameters of the second sub-model; Based on the training data corresponding to the second sub-model, the initial model parameters of the second sub-model are optimized and updated to obtain the target model parameters of the second sub-model.
5. The method according to claim 4, characterized in that The optimizing and updating the initial model parameters of the second sub-model based on the training data corresponding to the second sub-model to obtain the target model parameters of the second sub-model includes: Determine, according to the training data corresponding to the second sub-model, a cross entropy loss function for each user in the training data corresponding to the second sub-model; Determine an overall loss function according to the cross entropy loss functions of each user; The overall loss function is minimized to optimize and update the initial model parameters of the second sub-model to obtain the target model parameters of the second sub-model.
6. The method according to claim 1, characterized in that The sub-models are arranged in order from low to high according to the signal-to-noise ratio of the corresponding training data. The fourth sub-model is any sub-model except the highest-ranked sub-model among the sub-models. The fourth sub-model is used as the source model for training the fifth sub-model with a higher ranking adjacent to the fourth sub-model among the sub-models through transfer learning.
7. The method according to any one of claims 1 to 6, characterized in that: The step of inputting the SCMA data and the target signal-to-noise ratio into a trained SCMA detection model for processing to obtain a detection result of the SCMA data includes: Determine, from each of the sub-models, a sixth sub-model whose corresponding training data signal-to-noise ratio is closest to the target signal-to-noise ratio; The SCMA data is input into the sixth sub-model for SCMA detection processing to obtain a detection result of the SCMA data.
8. A sparse code multiple access detection device, characterized in that: include: A data acquisition unit, used to acquire sparse code multiple access (SCMA) data to be detected and a target signal-to-noise ratio of the SCMA data; A detection unit, configured to input the SCMA data and the target signal-to-noise ratio into a trained SCMA detection model for processing to obtain a detection result of the SCMA data; Among them, the SCMA detection model includes multiple sub-models, and the signal-to-noise ratios of the training data corresponding to each of the sub-models are different. The sub-models with lower signal-to-noise ratios of the training data corresponding to each of the sub-models are used as source models for training the sub-models with higher signal-to-noise ratios of the training data corresponding to each of the sub-models through transfer learning.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, each step in the sparse code multiple access detection method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, each step in the sparse code multiple access detection method according to any one of claims 1 to 7 is implemented.
