Deep learning detection method suitable for OFDM-IM

By using the Transformer model and LSTM network for signal detection in the OFDM-IM system, the performance degradation and computational complexity problems of traditional methods in complex channel environments are solved, higher accuracy and stability are achieved, and the model is improved applicability and interpretability.

CN118780322AInactive Publication Date: 2024-10-15GUANGDONG POLYTECHNIC NORMAL UNIV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411000693.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing OFDM-IM systems face complex channel environments and high-speed data transmission, traditional signal detection methods suffer from performance degradation and high computational complexity. Although deep learning-based methods show good performance, they require a large amount of labeled data and computing resources, and applicability and performance are limited on certain variants.

Method used

Using the deep learning detection method based on the Transformer model, using the LSTM network as the encoding input layer, adding start and end identifiers, preprocessing and remapping the data, converting the classification problem into a prediction problem, using the encoding and decoding functions of the Transformer model Perform signal detection.

Benefits of technology

It improves the accuracy and stability of signal detection, reduces computational complexity, enhances the adaptability and versatility of the model, reduces dependence on annotated data, and makes the model structure more interpretable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780322A_ABST
    Figure CN118780322A_ABST
Patent Text Reader

Abstract

The invention discloses a deep learning detection method suitable for OFDM-IM, and the method comprises the steps: S1, employing an LSTM as a coding input layer based on a Transform model, so as to meet the demands of a word embedding layer with the input being a non-integer; s2, in order to adapt to the input requirements of a Transform model, performing one-to-one correspondence on information received by a receiving end and actual information to serve as sequences, and adding special start and end identifiers at the beginning and the end of each sequence; s3, in the training stage of the Transform model, the preprocessed data are input into the Transform model, and deep feature information of the data is obtained; s4, the model is used for predicting actual data, an original classification problem is converted into a prediction problem, through iterative output of the model, the characteristics of the Transform model can be utilized more efficiently, the prediction accuracy and efficiency are improved, through the innovative design and method, the recognition precision is improved, and the method has wide application prospects in various application scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technology, and in particular to a deep learning detection method suitable for OFDM-IM. Background Art

[0002] At present, with the rapid development and popularization of smart hardware devices such as smart phones, high-performance computers, and smart robots, artificial intelligence technology has been applied to all aspects of daily life, and deep learning has also achieved great success in computer vision, natural language processing, speech recognition, and trajectory prediction. In the OFDM (orthogonal frequency division multiplexing) system, index modulation (IM) is a novel modulation method that can carry additional information through the index number, and integrates the deep learning method to achieve more efficient data transmission and processing.

[0003] As an efficient wireless communication technology, OFDM technology has been widely used in today's communication systems. Compared with traditional modulation methods, OFDM technology has advantages such as resistance to multipath fading and high spectrum utilization, making it perform well in high-speed data transmission. In OFDM systems, IM, as a novel modulation method, has attracted widespread attention from academia and industry. IM carries information by adjusting the index of subcarriers, and has higher spectrum efficiency and lower power consumption than traditional modulation methods.

[0004] Among them, signal detection, as a crucial link in the OFDM-IM system, directly affects the communication quality and performance stability of the system. Existing work can be divided into traditional methods and deep learning-based methods. Signal detection based on traditional methods usually relies on empirical models and mathematical derivations, such as maximum likelihood detection (MLD), linear detection (LD), subcarrier index detection (SID), etc. These methods may perform well in specific scenarios, but when faced with complex channel environments and high-speed data transmission, they often have problems such as performance degradation and high computational complexity. In contrast, signal detection methods based on deep learning learn the characteristics and patterns of signals directly from data by training deep neural networks (Transformers), and have better adaptability and generalization capabilities. These methods can automatically learn the nonlinear relationship between signals, overcome the limitations of traditional methods, and have achieved significant performance improvements in practical applications.

[0005] Existing technology: In terms of tradition, since 2013, OFDM-IM technology has been proposed, which uses manual features such as maximum likelihood (ML) log-likelihood ratio (LLR) to work on the decoding end. With the emergence of OFDM-IM technology, it has become a research hotspot. On this basis, ZTM-OFDM-IM (ZTM is a zero-trust model) was proposed to achieve high spectrum and energy efficiency. Although its LLR detection has a slight performance loss compared to ML detection, it significantly reduces the complexity. At the same time, DM-OFDM-CPA was proposed, which improved the system performance of low-order modulation by allocating power with constellations. Simulation results show that it is better than the existing OFDM-IM scheme. In addition, a simplified LLR calculation algorithm has been proposed to approach the optimal coding bit error rate performance and has low computational complexity, which solves the challenge of reducing complexity while maintaining performance in OFDM-IM systems.

[0006] Recently, dual-mode OFDM-IM techniques with NOMA users have been introduced, highlighting the computational complexity of proposed and existing OFDM-IM NOMA techniques. Although these techniques have made some progress, they still have some shortcomings. Some techniques may cause performance loss while reducing complexity, while other techniques, although successfully reducing computational complexity, have limited applicability under specific modulation schemes. In addition, the performance and stability of these techniques in practical applications need to be further verified, so there is still much room for improvement in OFDM-IM methods.

[0007] In terms of deep learning, deep neural networks have good implementation effects in target detection and can significantly improve accuracy with less time. The prior art introduces a novel OFDM-IM system detector DeepIM based on deep learning, which uses deep neural networks to recover data bits. Based on the above, by introducing methods based on complex deep neural networks (C-DNN) and complex convolutional neural networks (C-CNN), signal detection in OFDM-IM systems is further enhanced to reduce complexity and improve performance. A variational autoencoder (VAE) signal detection method is proposed for MIMO-OFDM-IM systems, emphasizing the construction of a variational optimization framework. In addition, recent research focuses on specific OFDM-IM variants. Someone introduced a deep learning-based detector DeepDM for dual-mode OFDM-IM systems, combining convolutional neural networks (CNNs) and deep neural networks (DNNs) to obtain optimal error performance and low computational complexity.

[0008] As a powerful sequence modeling tool, Transformer has good adaptability and generalization capabilities, and has also shown great potential in the field of signal detection. Through the Transformer model, the timing relationship and dependency between signals can be effectively captured, and accurate detection and demodulation of signals in the OFDM-IM system can be achieved. In addition, the parallel computing capability and scalability of the Transformer model also provide technical support for large-scale data processing and real-time communication, and can significantly improve accuracy with less time. Obviously, solving OFDM-IM problems through deep learning methods has become a new trend.

[0009] In the existing technology, the traditional OFDM-IM method uses manual features such as maximum likelihood log-likelihood ratio in the decoding end, and has achieved certain results, but it often faces a trade-off between performance and computational complexity, and its applicability is limited by the modulation scheme, and further verification of its performance and stability in practical applications is needed; while the OFDM-IM system detection method based on deep learning has shown good potential, but it requires a large amount of labeled data and computing resources, lacks interpretability, and its applicability and performance under specific variants need further research. It is necessary to find a new method to solve the trade-off between performance and complexity, improve versatility and adaptability, and at the same time utilize the feature learning and pattern recognition capabilities of deep learning. Summary of the invention

[0010] The purpose of the present invention is to provide a deep learning detection method suitable for OFDM-IM to solve the problems raised in the above background technology.

[0011] To achieve the above object, the present invention provides the following technical solution: a deep learning detection method applicable to OFDM-IM, comprising the following steps:

[0012] S1. Based on the Transformer model, LSTM is used as the encoding input layer to meet the needs of the word embedding layer with non-integer input;

[0013] S2. In order to meet the input requirements of the Transformer model, the information received by the receiver and the actual information are matched one by one as a sequence, and special start and end identifiers are added at the beginning and end of each sequence;

[0014] S3. In the Transformer model training phase, the preprocessed data is input into the Transformer model to obtain the deep feature information of the data;

[0015] S4. Use the model to predict actual data, transform the original classification problem into a prediction problem, and give full play to the model characteristics of Transformer through iterative output of the model;

[0016] At the transmitting end, the information bit sequence u is modulated to generate the transmission symbol sequence x. Sequence u represents a block of sequence u, which is mapped into a vector of N coded frequency domain symbols, expressed as x = [x 0 , …, x N-1 ] T Assuming we have an ideal channel estimate (CSI), the other methods are consistent with existing wireless communication methods. So for each OFDM symbol, the received vector is: y = FH t F H x+Fw;

[0017] where y, x and w correspond to y, x and w of a single OFDM symbol subblock respectively. F represents the DFT matrix of size N. H t is the time domain channel matrix. The vector w represents the time domain additive white noise (AWGN) vector, and its mean is 0 and its variance is σ 2 The complex Gaussian distribution of .

[0018] In the index modulation of any group β, a two-dimensional signal constellation and an index constellation are involved. The index constellation is used to select the excited subcarrier. In the signal constellation have constellation point, where N s is the number of bits carried by a signal, and the signal vector sent is as follows:

[0019] S β =[S β , 0,…,S β ,n a -1],S β,γ ∈S, β=0,…,g-1,γ=0,…,n a -1;

[0020] Index constellation I consists of 2 Na Boolean Vector Composition I β =(i β ,0,··,i β ,M-1)∈0,1 M ;

[0021] The Hamming weight is n a , where i β,γ =1 indicates that the γth subcarrier of the βth group is excited, β=0, ..., g-1, γ=0, ..., M-1, For each group, a one-to-one mapping can be defined For an OFDM block, input (N a +n a N s )g possible coded bits, output a modulated signal

[0022] In the training phase of the Transformer model, the original data is input and, after preprocessing, three outputs are obtained, of which z directly enters the encoding layer to learn feature information, and b in Then it enters the decoder, knows the answer in the learning stage, and then passes through the linear layer to perform softmax and calculate the cross entropy loss;

[0023] When using the Transformer model, you only need to input (z, 0), where the input 0 represents the start symbol. Each time the model is used, a predicted result will be obtained. The result is concatenated after the start symbol and used as input again. It is input into the decoder to iterate and output the result. Finally, the data is restored through inverse processing to calculate the bit error rate.

[0024] Furthermore, before using the model, P is randomly generated 0 Various transmission sequences of bits 0 , sequence b 0 At the transmitter of the two-dimensional OFDM-IM system, after index selection and signal modulation, the transmitter vector x can be obtained. 0 , denoted by x 0 =f OFDM-IM( b 0 ), where f OFDM-IM Indicates the mapping mode of IM;

[0025] Vector x 0 is sent to the receiver to get the received signal y 0 , the collected received signal and channel vector are preprocessed to obtain the bit sequence b corresponding to the label 0 The training set data (z 0 , b 0 ), where z 0 is the input vector of the Transformer network, which is a preprocessed signal with a length of n;

[0026] Based on the Transformer network, the word embedding layer of the encoding input was changed, and the encoding and decoding layers were stacked with 4 layers, the word embedding dimension was 128, the feedforward fully connected layer was 512, and the feature dimension of the LSTM network input data was set to 1, the dimension of the hidden state was 128, and the number of LSTM layers was 2.

[0027] Furthermore, the transmitted channel H is obtained at the receiving end of the Transformer model, and the result after forcing zero is obtained by the zero-forcing algorithm and recorded as y 1 , and at the same time 1 Take the square of the modulus and record the result as y 2 , input data z to the model 0 =y 1 caty 2 , that is, z 0 The shape is (m+n)×p, where n, p, and m are all positive integers greater than 0. cat indicates that two matrices want to be concatenated at the same latitude.

[0028] Furthermore, using QPSK modulation, each of the four subcarriers is sent separately, that is, 6 bits are sent each time, of which the first two bits are used to select the activated subcarrier, and the last 4 bits are sent using the normal modulation method. At the receiving end, 4 symbol data are received, that is, y 1 is 4 complex numbers. After the above transformation z 0 The shape of is 1 row and 12 columns, and b 0 The shape is 1 row and 6 columns. Based on the existing N subcarriers, there are g groups of such one-to-one corresponding sequence data in one OFDM symbol.

[0029] Furthermore, in S2, sclr to sc4i represent the real and imaginary parts of the four subcarriers, respectively, and |sc1| 2 to |sc4| 2 Respectively represent the squares of the four subcarrier modes;

[0030] Based on real bit data, in order to enable the Transformer model to learn natural language processing, the data in the label is remapped, and finally special start and end identifiers are added to both the input data and the label data. The mapping of the label data in each of the 4 subcarriers is defined as follows: the input data is a=(a 1 ,a 2 ,a 3 , a 4 , a 5 ,a 6 ), where a i represents the bit (0 or 1) of the i-th position; define the mapping function f(a i )as follows:

[0031]

[0032] Wherein, i=1, 2, 3, 4, 5, 6 represents each position;

[0033] The entire mapping process can be expressed as converting each position a in the input data a i By mapping function f(a i ) is mapped to the new data;

[0034] q=(q 1 ,q 2 ,q 3, q 4 ,q 5 ,q 6 );

[0035] where q i =f(a i ), the formula of this process is as follows:

[0036] q i =f(a i )for i=1, 2, 3, 4, 5, 6.

[0037] Furthermore, during the Transformer model training phase, the input of the Transformer model is (z, b in ) The model’s answer label is b out ;

[0038] In the recovery phase of the Transformer model, the identifier is removed, and the connected g group is the result of an OFDM transmission. At the same time, in the recovery phase, after a sequence is predicted, the added identifier is removed and the inverse operation is performed to restore the mapped data to the original data.

[0039] Based on the mapping rule, when q i <7 o'clock, a i is 0; when q i >6 o'clock, a i is 1, the inverse operation can be expressed as:

[0040]

[0041] Among them, =1,2,3,4,5,6 represents each position, and the whole inverse operation process is to map each position q in the data q i By inverse mapping function f -1 (q i ) is restored to the original data to calculate the bit error rate.

[0042] Furthermore, in the training phase of the Transformer model, the original data is input and, after preprocessing, three outputs are obtained, of which z directly enters the encoding layer to learn feature information, and b in Then it enters the decoder, knows the answer in the learning stage, and then passes through the linear layer to perform softmax and calculate the cross entropy loss

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

[0044] (1) The encoding layer in the Transformer model is encoded using an LSTM network. This approach allows the model to obtain a process similar to word embedding, which can better extract the feature information of the data. In the re-encoding part of the original data, the original data is cleaned, the changes are re-mapped according to the specified rules, and special start and end identifiers are added at the beginning and end of each sequence. This approach significantly improves the accuracy of the model.

[0045] (2) During the learning phase, the Transformer model uses data and labels to learn the deep feature information of the data through encoding when the answer is known. Then, during the decoding process, the Transformer model is iterated to make predictions and outputs. This approach is consistent with the sequence-to-sequence approach in natural language, turning the original classification task into a prediction process, which is more effective.

[0046] (3) By remapping the labels of the original data and making a one-to-one correspondence between the data, it is more in line with the training and actual application of the Transformer model. This step effectively enhances the Transformer model's ability to understand and model the data, allowing the original classification problem to be transformed into a sequence problem, thereby improving the accuracy and stability of the Transformer model in data processing tasks.

[0047] (4) The LSTM network-based encoding method effectively utilizes the advantages of the LSTM network in sequence data processing. It can capture the long-term dependencies in the sequence data and convert them into representations with semantic information, thereby meeting the requirements of instance segmentation technology for pixel accuracy. The adopted method also provides new ideas and methods for further research and application in the field of sequence data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a schematic diagram of the detection algorithm flow of the present invention;

[0049] Figure 2 It is a schematic diagram of the structure of the Transformer framework of the present invention;

[0050] Figure 3 This is a structural diagram of the internal structure of the Transformer of the present invention;

[0051] Figure 4 A schematic diagram of remapping preprocessing of data labels for every 4 subcarriers according to the present invention;

[0052] Figure 5 A schematic diagram of the training and use of the model of the present invention;

[0053] Figure 6 This is a schematic diagram of the LSTM encoding structure of the present invention;

[0054] Figure 7 This is a comparison diagram of the present invention with the maximum likelihood when the signal-to-noise ratio (SNR) is 10 to 45. DETAILED DESCRIPTION

[0055] 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.

[0056] Example:

[0057] See also Figure 1-6 The present invention provides a technical solution: a deep learning detection method suitable for OFDM-IM, comprising the following steps:

[0058] S1: The model uses LSTM as the encoding input layer to cope with the need of word embedding layer with non-integer input;

[0059] S2: In order to better adapt to the input requirements of the Transformer model, the information received by the receiver and the actual information are matched one by one as a sequence, and special start and end identifiers are added at the beginning and end of each sequence;

[0060] S3: In the model training phase, the preprocessed data is input into the Transformer model to obtain the deep feature information of the data;

[0061] S4: Finally, the model is used to predict actual data, transforming the original classification problem into a prediction problem. Through the iterative output of the model, the model characteristics of the transformer are used more efficiently.

[0062] This embodiment is a deep learning detection method applicable to OFDM-IM. The specific embodiment of the entire detection method is as follows:

[0063] The network framework of this embodiment is extended based on the Transformer basic model. The overall process is as follows: the data required by the model is finally obtained at the receiving end through the traditional algorithm. In the model learning stage, the encoding layer uses an LSTM network to encode the original data to achieve a process similar to word embedding, so as to better extract the feature information of the data.

[0064] Secondly, in the step of re-encoding the original data, we remap the data and add special start and end identifiers at the beginning and end of each sequence. Then, we use the Transformer model to learn the deep feature information of the data by learning from the data and labels, while mastering the answer.

[0065] Finally, in the model usage stage, the data to be predicted is input into the encoding layer, and the model transmits the deep information it has learned to the decoding layer. By continuously iterating the model to predict and output the required information, the original classification task is converted into a prediction process.

[0066] Specifically, this embodiment improves the deficiencies existing in the OFDM-IM transmission task and designs a completely new method. Unlike general classification models that only use the encoding layer in the Transformer, we make full use of the entire Transformer network. By introducing the LSTM network as the encoding layer, the original data is processed and transformed in the encoding stage. Compared with using only the encoding layer of the Transformer, we can better extract the feature information of the data. In particular, we use all the functions of the Transformer model, including encoding and decoding, so that the output can be predicted more effectively in the decoding stage. This improvement enables our method to achieve significant performance improvements and improve accuracy performance when processing OFDM-IM transmission tasks.

[0067] The following introduces the overall OFDM-IM communication process system part, such as Figure 1 As shown, at the transmitting end, the information bit sequence u is modulated to generate the transmission symbol sequence x. The sequence u represents a block of the sequence u, which is mapped into a vector of N coded frequency domain symbols, represented as x = [x 0 , …, x N-1 ] T Assuming we have an ideal channel estimate (CSI), the other practices are consistent with existing wireless communication practices, so for each OFDM symbol, the received vector is:

[0068] y=FH t F H x+Fw;

[0069] where y, x and w correspond to y, x and w of a single OFDM symbol subblock respectively. F represents the DFT matrix of size N. H t is the time domain channel matrix. The vector w represents the time domain additive white noise (AWGN) vector, and its mean is 0 and its variance is σ 2 The complex Gaussian distribution. Since SNR can be expressed by SNR = 1 / σ 2 Definition. Let H f =FH t F H , then the receiving vector can be expressed as:

[0070] y=H f x+W f ;

[0071] Before using the Transformer model, randomly generate P 0 Various transmission sequences of bits 0 , sequence b 0 At the transmitter of the two-dimensional OFDM-IM system, after index selection and signal modulation, the transmitter vector x can be obtained. 0 , denoted by x 0 =f OFDM-IM (b 0 ), where f OFDM-IM represents the mapping method of IM. Then, affected by channel fading and Gaussian noise, the vector x 0 is sent to the receiver to get the received signal y 0 Here, the channel and noise vectors are randomly generated. The collected received signal and channel vector are preprocessed to obtain the corresponding bit sequence b 0 The training set data (z 0 , b 0 ), where z 0 is the input vector of the Transformer network, which is a preprocessed signal of length n. Figure 2 As shown in the figure, the classic Transformer network is used, only the word embedding layer of the encoding input is changed, and the encoding and decoding layers are stacked with 4 layers, the word embedding dimension is 128, the feedforward fully connected layer is 512, and the feature dimension of the LSTM network input data is set to 1, the dimension of the hidden state is 128, the number of LSTM layers is 2, and the specific Transformer network structure is as follows Figure 3 As shown, the LSTM network is Figure 6 shown.

[0072] Under ideal CSI, we can get the transmitted channel H at the receiving end. Through the zero-forcing algorithm, we can get the result after zero-forcing, which is recorded as y1 (the matrix is ​​of shape n×p), and we 1 Take the square of the modulus and record the result as y 2 (The matrix is ​​of shape m×p), and finally we input the data Z of the model 0 =y 1 cat y 2 . That is, the final z 0 The shape is (m+n)×p, where n, p, and m are all positive integers greater than 0, and cat indicates that two matrices want to be concatenated at the same latitude.

[0073] In the OFDM-IM system, not all non-virtual subcarriers are used to transmit signals. We first divide an OFDM block into g groups. For each group with M subcarriers, we choose n a subcarriers to transmit signals. Assuming that the number of effective subcarriers is fixed, since the number of subcarriers in an OFDM block is N, then M=N / g.

[0074] In the index modulation of any group β, two constellations are involved. One is the traditional two-dimensional signal constellation, and the other is what we call the index constellation, which is used to select the excited subcarrier. In the signal constellation have constellation point, where N s Is the number of bits carried by a signal.

[0075] Obviously, the signal vector sent is as follows:

[0076] S β =[S β ,0,…,S β ,n a -1]S β,γ ∈S, β=0,…,g-1,y=0,…,n a -1.

[0077] Index constellation I consists of 2 Na Boolean Vector Composition I β =(i β ,0,··,i β ,M-1)∈0,1 M , where the Hamming weight is n a , where i β,γ =1 indicates that the γth subcarrier of the βth group is excited, β=0, ..., g-1, γ=0, ..., M-1, Based on the above assumptions, a one-to-one mapping can be defined for each group That is, for one OFDM block, the input (N a +n a Ns )g possible coded bits, output a modulated signal

[0078] For example, an OFDM symbol contains N = 128 subcarriers, which can be divided into g = 32 groups, then a group has M = 4 subcarriers, and each time n is selected a = 2 excitations, then we have There are two possibilities, we can choose the index constellation I = {(1,1,0,0), (0,1,1,0), (0,0,1,1), (1,0,0,1)};

[0079] This experiment uses QPSK modulation. When looking at each of the 4 subcarriers separately, 6 bits are sent each time, of which the first two bits are used to select the activated subcarrier, and the last 4 bits are sent using the normal modulation method. At the receiving end, 4 symbol data are received, namely y 1 is 4 complex numbers. After the above transformation, the final z 0 The shape of is 1 row and 12 columns, and b 0 The shape is 1 row and 6 columns. Because we have N subcarriers, we have g groups of such one-to-one corresponding sequence data under one OFDM symbol.

[0080] Specifically, Figure 4 As shown, for data, the information received by the receiving end and the actual information are matched one by one as a sequence, and special start and end identifiers are added at the beginning and end of each sequence. sc1r to sc4i represent the real and imaginary parts of the four subcarriers, respectively, |sc1| 2 to |sc4| 2 Represents the square of the modulus of the four subcarriers. And because our labels are real bit data, in order to enable the model to learn natural language processing, the data in the label is remapped, and finally special start and end identifiers are added to both the input data and the label data. Similarly, the mapping of the label data in each of the four subcarriers is defined as follows:

[0081] The input data is a=(a 1 ,a 2 ,a 3 , a 4 , a 5 ,a 6 ), where a i represents the bit (0 or 1) at the i-th position. Define the mapping function f(a i )as follows:

[0082]

[0083] Among them, i=1, 2, 3, 4, 5, 6 represents each position.

[0084] The entire mapping process can be expressed as converting each position a in the input data a i By mapping function f(a i ) is mapped to the new data;

[0085] q=(q 1 ,q 2 ,q 3 ,q 4 ,q 5 ,q 6 );

[0086] where q i =f(a i ). The formula for this process is as follows:

[0087] qi = f(a i )for i=1,2,3,4,5,6;

[0088] If the input is (0 1 0 1 1 0), the output is (1 8 3 10 11 6). We set the start symbol of the statement to 0 and the end symbol to 13, so the output will become (01831011613), which is the original data b 0 The input that the model really needs is set to b, and the shape changes from 1 row and 6 columns to 1 row and 8 columns. Correspondingly, the data z we input into the model 0 After adding the start symbol 0 and the end symbol 13, the shape changes from 1 row and 12 columns to 1 row and 14 columns, and is set to z. Since Transformer has two inputs in the learning stage, the answer is known in the learning stage. According to the characteristics of the model, the encoder input is designed to be z (n rows and 14 columns), and the decoder input is b in (n rows and 7 columns have only start characters but no end characters), the decoder output is b out (n rows and 7 columns have no start symbol but an end symbol). So in the training phase, the input of the model is (z, b in ) The model’s answer label is b out In the recovery phase, we only need to remove the identifier, and the connected g group is the result of an OFDM transmission. At the same time, in the recovery phase, after we complete the prediction of a sequence, we remove the added identifier and perform the inverse operation to restore the mapped data to the original data. According to the mapping rule, when q i <7 o'clock, a i is 0; when q i >6 o'clock, a i is 1. Therefore, the inverse operation can be expressed as:

[0089]

[0090] Where i = 1, 2, 3, 4, 5, 6 represents each position. The entire inverse operation process is to map each position q in the data q i By inverse mapping function f -1 (q i ) is restored to the original data to calculate the bit error rate.

[0091] About the training and use of Transformer model Figure 5 As shown in the figure, in the model training stage, the original data is input and three outputs are obtained after preprocessing, among which z directly enters the encoding layer to learn feature information, and b in It enters the decoder, knows the answer in the learning phase, and then passes through the linear layer to perform softmax and calculate the cross entropy loss.

[0092] When using the Transformer model, we only need to input (z, 0). The input 0 represents the start symbol. Each time the model is used, a predicted result will be obtained. The result is concatenated after the start symbol and used as input again. It is input into the decoder to iteratively output the result, and finally the data is restored through inverse processing to calculate the bit error rate. This approach makes the bit error rate lower.

[0093] like Figure 7 The figure shows the comparison result of the present invention with the maximum likelihood under the signal-to-noise ratio (SNR) of 10 to 45. This model is denoted as TransDecoder, indicating that the decoder in Transformer is used, wherein the deep learning model for comparison is Trans, which only uses the encoder and DNN model.

[0094] Disadvantages of traditional manual feature methods:

[0095] 1. Traditional methods require manually designed feature extractors, which may not be able to capture complex patterns and information in the data, resulting in limited performance;

[0096] 2. Designing and adjusting feature extractors usually requires a lot of manpower and time, making it difficult to adapt to changes and complexity of data, and lacking flexibility and versatility;

[0097] Disadvantages of existing deep learning methods:

[0098] 1. Large amounts of labeled data are required. Existing methods usually require a large amount of labeled data for training, and the model structure is complex, and the training and tuning process is time-consuming and labor-intensive.

[0099] 2. The model structure of deep learning methods is complex. The model structure and hyperparameter selection have a great impact on the results. It requires experienced professionals to adjust and lacks versatility and ease of use.

[0100] 3. The method lacks interpretability, making it difficult to understand the internal working principles and decision-making process of the model, which leads to doubts about its credibility and reliability in certain application scenarios;

[0101] This example uses:

[0102] 1. This embodiment introduces the Transformer model, making full use of its encoding and decoding functions. It does not require manual design of feature extractors, and can automatically learn feature information in data, thereby improving feature richness and representation capabilities.

[0103] 2. Compared with existing deep learning methods, this embodiment uses the end-to-end learning capability of the Transformer model to simplify the model design and tuning process, reduce the dependence on a large amount of labeled data, and improve the versatility and ease of use of the model;

[0104] 3. This embodiment has good interpretability, which enables understanding of the internal working principle and decision-making process of the model, and enhances the credibility and reliability of the model;

[0105] In summary, compared with the existing technology: this embodiment overcomes the shortcomings of traditional manual feature methods and existing deep learning methods by introducing the Transformer model, and introduces a method of re-encoding labels, so that the original classification problem is transformed into a prediction problem, which improves the performance and applicability of the model and brings new possibilities for research and application in related fields.

[0106] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A deep learning detection method suitable for OFDM-IM, characterized in that: The steps include: S1. Based on the Transformer model, LSTM is used as the encoding input layer to meet the needs of the word embedding layer with non-integer input; S2, the information received by the receiving end and the actual information are matched one by one as a sequence, and the start and end identifiers are added at the beginning and end of each sequence; S3. In the Transformer model training phase, the preprocessed data is input into the Transformer model to obtain the deep feature information of the data; S4. Use the model to predict actual data and transform the original classification problem into a prediction problem; At the transmitting end, the information bit sequence u is modulated to generate the transmission symbol sequence x. Sequence u represents a block of sequence u, which is mapped into a vector of N coded frequency domain symbols, represented as x = [x0, ..., x N-1 ] T , based on the ideal channel estimation (CSI), then for each OFDM symbol, the received vector is: y = FH t F H x+Fw; where y, x and w correspond to the y , x and w , F represents the DFT matrix of size N, H t is the time domain channel matrix, and the vector w represents the time domain additive white noise (AWGN) vector, which has a mean of 0 and a variance of σ 2 The complex Gaussian distribution of In the index modulation of any group β, a two-dimensional signal constellation and an index constellation are involved. The index constellation is used to select the excited subcarrier. In the signal constellation have constellation point, where N s is the number of bits carried by a signal, and the signal vector sent is as follows: S β =[S β , 0,…,S β , n a -1],S β,γ ∈S, β=0,…,g-1,γ=0,…,n a -1; index constellation I is 2 Na Boolean Vector Composition I β =[i β , 0,…,i β ,M-1]∈0,1 M ; The Hamming weight is n a , where i β,γ =1 indicates that the γth subcarrier of the βth group is excited, β=0,…,g-1,γ=0,·…,M-1, For each group, a one-to-one mapping can be defined For an OFDM block, input (N a +n a N s )g possible coded bits, output a modulated signal In the training phase of the Transformer model, the original data is input and, after preprocessing, three outputs are obtained, of which z directly enters the encoding layer to learn feature information, and b in Then it enters the decoder, knows the answer in the learning stage, and then passes through the linear layer to perform softmax and calculate the cross entropy loss; During the model Transformer usage phase, the input is (z, 0), and the input 0 is represented as the start symbol. Each time the model is used, a predicted result is obtained. The result is concatenated after the start symbol and used as input again. It is input into the decoder to iterate and output the result. Finally, the data is restored through inverse processing to calculate the bit error rate.

2. A deep learning detection method applicable to OFDM-IM according to claim 1, characterized in that: Before using the model, various transmission sequences b0 of P0 bits are randomly generated. After index selection and signal modulation, the sequence b0 is used to obtain the transmitter vector x0 at the transmitter of the two-dimensional OFDM-IM system, which is expressed as x0 = f OFDM-IM (b0), where f OFDM-IM Indicates the mapping mode of IM; The vector x0 is sent to the receiver to obtain the received signal y0. The collected received signal and channel vector are preprocessed to obtain the training set data (z0, h0) with the label corresponding to the bit sequence b0, where z0 is the input vector of the Transformer network, and the signal is a preprocessed signal with a length of n. Based on the Transformer network, the encoding and decoding layers are stacked with 4 layers, the word embedding dimension is 128, the feedforward fully connected layer is 512, and the feature dimension of the LSTM network input data is set to 1, the dimension of the hidden state is 128, and the number of LSTM layers is 2.

3. A deep learning detection method applicable to OFDM-IM according to claim 1, characterized in that: At the receiving end of the Transformer model, the transmitted channel H is obtained, and the result after forcing zero is obtained by the zero-forcing algorithm and recorded as y1. At the same time, y1 is squared modulo and the result is recorded as y2. The data z0 of the input model is z1 = y1 cat y2, where cat indicates that the two matrices want to be concatenated at the same latitude.

4. The deep learning detection method applicable to OFDM-IM according to claim 1, characterized in that: Using QPSK modulation, when looking at every 4 subcarriers individually, 6 bits are sent each time, of which the first two bits are used to select the activated subcarrier, and the last 4 bits are sent using normal modulation. At the receiving end, 4 symbol data are received, that is, y1 is 4 complex numbers. After the above transformation, the shape of z0 is 1 row and 12 columns, and the shape of b0 is 1 row and 6 columns. Based on N subcarriers, there are g groups of such one-to-one corresponding sequence data in one OFDM symbol.

5. The deep learning detection method applicable to OFDM-IM according to claim 1, characterized in that: In S2, sc1r to sc4i represent the real and imaginary parts of the four subcarriers, respectively, |sc1| 2 to |sc4| 2 Respectively represent the squares of the four subcarrier modes; Based on the real bit data, the mapping of label data in every 4 subcarriers is defined: the input data is a={a1,a2,a3,a4,a5,a6), where a i Represents the bit at the i-th position; define the mapping function f(a i )as follows: Among them, i = 1, 2, 3, 4, 5, 6 represents each position; The entire mapping process is represented as each position a in the input data a i By mapping function f(a i ) is mapped to the new data; q=(q1, q2, q3, q4, q5, q6); where q i =f(a i ), the formula of this process is as follows: q i =f(a i )for i=1,2,3,4,5,6。 6. A deep learning detection method applicable to OFDM-IM according to claim 5, characterized in that: In the Transformer model training phase, the input of the Transformer model is (z, b in ) The model’s answer label is b out ; In the recovery phase of the Transformer model, the identifier is removed, and the connection g group is the result of an OFDM transmission. At the same time, in the recovery phase, after a sequence is predicted, the added identifier is removed and the inverse operation is performed to restore the mapped data to the original data; Based on the mapping rule, when q i <7 o'clock, a i is 0; when q i >6 o'clock, a i is 1, and the inverse operation is expressed as: Among them, i = 1, 2, 3, 4, 5, 6 represents each position, and the entire inverse operation process is to map each position q in the data q i By inverse mapping function r -1 (q i ) is restored to the original data to calculate the bit error rate.

7. The deep learning detection method applicable to OFDM-IM according to claim 1, characterized in that: In the training phase of the Transformer model, the original data is input and, after preprocessing, three outputs are obtained, of which z directly enters the encoding layer to learn feature information, and b in It enters the decoder, knows the answer in the learning phase, and then passes through the linear layer to perform softmax and calculate the cross entropy loss.

Citation Information

Cited By

  • DNA sequencing read clustering method and system based on representation learning

    CN121122431A