Intelligent coding mapping method for underwater acoustic physical layer network coding
The intelligent coding mapping method designed through deep learning, combined with BP algorithm and two-way equalization network, solves the transmission problem under complex channels in underwater networks, achieving more efficient coding mapping and bit error rate performance, and is suitable for underwater PNC systems .
Patent Information
- Application Number
- CN202410716590.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-04
AI Technical Summary
In underwater networks, traditional physical layer network coding technology cannot effectively adapt to complex channels due to signal propagation delay and Doppler effect caused by time-frequency dual expansion channels. As a result, the traditional PNC coding scheme is not applicable, and it is necessary to design a system that can adapt to complex channels. encoding mapping method.
The intelligent coding mapping method designed by deep learning is used to extract channel information and correct carrier interference through feature extraction and two-way equalization network (FBENet), combined with the traditional BP algorithm, to achieve coding mapping with low coupling to channel information.
It achieves better end-to-end transmission rate and bit error rate performance in underwater networks, can rival or even surpass the performance of baseline methods under BPSK and QPSK modulation, and is suitable for underwater PNC systems.
Smart Images

Figure CN118740332A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of underwater acoustic communication, and in particular to an underwater acoustic physical layer network coding intelligent coding mapping method for receiving decoding mapping conditions of a physical layer network coding relay node in an underwater acoustic channel. Background Art
[0002] In 2006, relevant technicians combined channel coding and network coding in the paper "Hot topic: Physical-layer network coding" and proposed physical layer network coding (PNC). This study encodes the information of two sources into an XOR sequence and introduces the coding mapping scheme under BPSK and QPSK modulation in detail. It superimposes the information of different sources in space, and then uses coding mapping to calculate it as an XOR sequence and broadcast it. Each node can restore the data sent by other nodes through the network coding signal and the local source information. In recent years, PNC technology has been widely studied because of its ability to improve network throughput. PNC technology breaks the shackles of multi-hop communication that relies on point-to-point storage and forwarding. In the typical application scenario of two-way relay communication (Two-Way Relay Channel, TWRC), its end-to-end communication rate can reach the theoretical upper limit, which is approximately the point-to-point communication rate, and perfectly meets the application needs of underwater acoustic networks that urgently need to improve throughput. The implementation of PNC technology is extremely dependent on the coding mapping of superimposed signals by relay nodes, and the underwater time-frequency dual extension channel makes this process extremely complicated. Chinese patent CN108880629 A discloses a PNC coding mapping scheme designed for flat fading channels based on a two-way relay model. Chinese patent CN114257343 A discloses a linear coding method in the form of constellation points. Chinese patent CN102983947 B proposes a collaborative communication method that combines space-time coding and physical layer network coding.
[0003] The methods used in the above public documents are based on the PNC coding of terrestrial wireless network scenarios. In underwater networks, the signal speed of acoustic wave transmission is only 1500m / s, which is far less than the propagation speed of electromagnetic waves. Coupled with the influence of the dual-frequency extension channel, the information will show serious multipath effect and Doppler effect during transmission: the signal will inevitably have propagation delay during transmission, showing multipath effect; and the underwater nodes will be affected by possible ocean current movement, water surface fluctuations and other factors, and will move dynamically, and the signal reception will have Doppler effect. Under the influence of the dual-frequency extension channel, the signal will be severely interfered by ICI, and the traditional PNC coding scheme is no longer applicable. Therefore, it is urgent to design a coding mapping method that can adapt to complex channels and has strong generalization capabilities. Summary of the invention
[0004] The purpose of the present invention is to provide an intelligent coding mapping method for underwater acoustic physical layer network coding in view of the limitations of the coding mapping scheme of the traditional factor graph of the physical layer network coding relay node in the time-frequency dual extension channel, that is, an intelligent coding mapping method designed by the popular deep learning; the present invention improves the traditional algorithm into an intelligent coding mapping scheme, through the powerful nonlinear fitting ability of deep learning and combined with the traditional BP algorithm, the feature extraction and bidirectional equalization network (Feature Extraction and Bidirectional Equalization Network, FBENet) is designed to achieve low coupling with channel information, and the effect is good, which can better replace the traditional BP algorithm and can better meet the needs of underwater networking technology communication.
[0005] To achieve the above object, the present invention adopts the following technical solution:
[0006] An intelligent coding mapping method for underwater acoustic physical layer network coding comprises the following steps:
[0007] 1) The PNC system relay receives the superimposed signal and performs data preprocessing, splitting the superimposed signal vector and the estimated channel vector into real and imaginary parts, and then sends the data vector to the normalization layer and the concatenate layer for standard splicing into a two-dimensional matrix, and transmits the processed data to the feature extraction module;
[0008] 2) The feature extraction module uses the convolution kernel to perform convolution operation on the input two-dimensional matrix data, extracts the abstract features of the input information, splices the acquired specific features into a feature map, and inputs the feature information into the bidirectional equalization module through the residual block structure; the main path of the residual block structure includes three convolution layer networks and an activation function ReLU, and the shortcut of the residual block structure has only one convolution layer. The results of the two paths are added and output through the activation function ReLU;
[0009] 3) The bidirectional equalization module uses the Bi-LSTM network to obtain the forward and backward correlation of the input sequence, equalizes the inter-carrier interference (ICI) under the time-frequency dual extension channel, corrects the posterior probability distribution of the subcarrier by simulating the sum-product message transmission process of the BP algorithm, and obtains the comprehensive output state matrix as the output of the bidirectional equalization module and transfers it to the probability output module for full-connection network mapping;
[0010] 4) The probability output module uses a fully connected network as the probability output layer, and uses the Softmax activation function to convert the state matrix obtained after processing by the bidirectional equalization module into the joint probability distribution of the codeword combination on each subcarrier for subsequent network coding. Specifically: each row of the state matrix, that is, the state sequence of each subcarrier, is connected to the fully connected network, and the TimeDistributed layer is used to encapsulate the fully connected network to ensure that each subcarrier sequence in the matrix passes through the fully connected layer of the same structure to obtain an independent probability distribution of each subcarrier; the Softmax function ensures that the output probability distribution is valid. According to different modulation methods, the output layer estimates the probability distribution of the corresponding number of codeword combinations;
[0011] 5) Design a loss function and use a multi-classification cross entropy loss function; during the training phase, the network model calculates the derivatives with respect to the variable parameters and updates them through the back propagation algorithm. The difference between the sample and the output gradually decreases until the output of the loss function converges to a certain threshold, completing the deep learning training.
[0012] In step 1), the splitting into real and imaginary parts, since the data entering the PNC system is a complex sequence, the superimposed signal vector and the available channel estimation vector are split into real and imaginary parts, and the real and imaginary parts of the signal carry independent information respectively; the data vector is sent to the normalization layer for normalization processing to eliminate the influence of signal amplitude difference on subsequent processing; the normalized real and imaginary parts are spliced into a two-dimensional matrix using the Concatenate layer, and the features are effectively flattened and input into the feature extraction module; the row dimension of the converted two-dimensional matrix is the number of subcarriers of each OFDM symbol, and the column dimension contains the superimposed signal and the real and imaginary parts of the two channels.
[0013] In step 2), the feature extraction module structure is essentially a CNN network. The CNN network extracts the abstract information contained in the input data. The convolution operation between the convolution kernel and the input matrix can be expressed by the following formula:
[0014]
[0015] Among them, I j [i] is the i-th output of the j-th convolution kernel, j is the total number of convolution kernels, the maximum value of i is the width of the input matrix, X is the input data, W is the weight of the convolution kernel, b is the bias term of the convolution kernel, m and n represent the position information of the corresponding input data and convolution kernel matrix respectively, and kw and kh represent the height of the convolution operator;
[0016] In order to extract more information about features, the convolutional network uses a convolutional residual block architecture; the core design of the convolutional residual block structure is dual-path transmission: the main path contains three convolutional layer networks and an activation function ReLU, while the shortcut path has only one convolution layer. The results of the two paths are added and output through the activation function ReLU. The specific performance can be seen in the following formula:
[0017]
[0018] Among them, I represents the output feature map information, r represents the superposition signal, and The estimate of channel A, Represents the estimation of channel B, Residual CNN It is represented as a convolutional residual architecture, CNN is a convolutional neural network, and ReLU is the activation function in the entire feature extraction module;
[0019] After passing through the residual network, the system inputs the feature information into the bidirectional equalization module.
[0020] In step 3), the comprehensive output state matrix can be briefly described as follows: a bidirectional propagation Bi-LSTM network is set to capture the before-after correlation of the input sequence and output the state matrix; assuming that the current scene input is the feature map I and the output is the state matrix U, the Bi-LSTM layer can be expressed as follows:
[0021] [U[0],U[1],...,U[N-1]]=BiLSTM(I[0],I[1],...,I[N-1])
[0022] Among them, N represents the input moment, which means the total number of subcarriers in this LSTM scenario; I[N] represents the characteristic sequence data of the Nth subcarrier input at the Nth moment; U[N] is the output sequence data of the Nth subcarrier at the Nth moment, and its length is related to the number of neurons in the LSTM; the Bi-LSTM network consists of LSTM networks in two directions, which can be expressed as follows:
[0023]
[0024] in, represents forward feedback, represents backward feedback, U′[N] and U″[N] represent the outputs of forward and backward feedback respectively, and U[N]=[U′[N],U″[N]] represents the comprehensive output state matrix.
[0025] In step 4), assume that the Bi-LSTM network in the bidirectional balancing module has N unit neurons, the number of subcarriers is N, and its output size is N×2N unitThe state matrix U has row dimensions corresponding to each subcarrier and column dimensions corresponding to the state sequence on the subcarrier. A fully connected network is used as the probability output layer. In the fully connected network, each neuron is connected to all neurons in the previous layer to form a fully connected network structure, which can be expressed as follows:
[0026] y=f(wU[n]+b)
[0027] Among them, U[n] is the data information of the nth row of the state matrix, w is the weight vector, b is the bias vector, y is the final output vector, and f(×) is the activation function; Softmax is selected as the activation function to convert the real vector into a probability distribution, where each conversion result is between 0 and 1, and the sum of all results is 1, which is equivalent to a normalization; given a K-dimensional real vector y = (y1, y2, ..., y K ), the activation function Softmax can be defined as follows:
[0028]
[0029] Among them, Softmax(y) i Represents the probability of the i-th category in the output probability distribution, y i represents the i-th data in the real number vector y, e represents the base of the natural logarithm, and K represents the dimension of the vector.
[0030] In step 5), assume that there are M classes of targets to be predicted and there are only P samples in total. The label value of the i-th sample is set to The predicted value is Then the loss function is expressed as follows:
[0031]
[0032] In the formula, and Represent the j-th data value of the predicted value sequence and label value sequence respectively.
[0033] Compared with the prior art, the present invention has the following outstanding technical effects and advantages:
[0034] For the three-node PNC relay system, the present invention integrates traditional algorithms with deep learning and innovatively proposes the FBENet model, which can well extract the features of input data and converge quickly, and has a better end-to-end transmission rate. Especially under BPSK modulation, its performance is not only comparable to, but even exceeds the baseline method under ideal channel response conditions. The present invention has carried out research on the intelligent coding mapping method of the PNC end superimposed signal, which is of constructive significance for improving the underwater PNC system. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is a block diagram of the relay system of the intelligent coding mapping method described in the present invention.
[0036] Figure 2 This is the structural diagram of the FBENet model described in the present invention.
[0037] Figure 3 This is a flow chart of the real and imaginary division of the superimposed signal and the channel according to the present invention.
[0038] Figure 4 Schematic diagram of the convolution process of the convolution operator described in the present invention.
[0039] Figure 5 This is a typical residual network structure diagram described in the present invention.
[0040] Figure 6 This is a diagram of the internal structure of the LSTM network neurons described in the present invention.
[0041] Figure 7 This is a diagram of the Bi-LSTM network structure described in the present invention.
[0042] Figure 8 Schematic diagram of a fully connected network in the probability output module of the present invention.
[0043] Fig. 9 This is a fully connected network using Timedistributed encapsulation with BPSK as an example described in the present invention.
[0044] Fig.10 This is the Loss curve of the FBENet model using BPSK as an example in the present invention. In the figure, the horizontal axis is the number of iterations (epoch); the vertical axis is the value of the loss function (Loss).
[0045] Fig.11 This is the Loss curve of the FBENet model using QPSK as an example in the present invention. In the figure, the horizontal axis is the number of iterations (epoch); the vertical axis is the value of the loss function (Loss).
[0046] Fig.12 This is a performance comparison diagram of the coding mapping scheme based on FBENet and the coding mapping scheme based on BP algorithm, taking BPSK as an example. In the figure, the horizontal axis is the signal-to-noise ratio (SNR) and the vertical axis is the bit error rate (BER).
[0047] Fig.13 This is a performance comparison diagram of the coding mapping scheme based on FBENet and the coding mapping scheme based on BP algorithm, taking QPSK as an example. In the figure, the horizontal axis is the signal-to-noise ratio (SNR) and the vertical axis is the bit error rate (BER). DETAILED DESCRIPTION
[0048] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0049] The present invention improves the traditional algorithm into an intelligent coding mapping scheme: through the powerful nonlinear fitting ability of deep learning and combined with the traditional BP algorithm, a feature extraction and bidirectional equalization network FBENet is designed.
[0050] Overall part of the smart mapping encoding method:
[0051] like Figure 1 and Figure 2 As shown, the present invention is an improvement and adjustment based on the coding mapping scheme of the traditional PNC system, that is, an intelligent coding mapping scheme (FBENet) is introduced to solve the problem of strong coupling between the traditional factor graph scheme and the channel information. Figure 1 The problem location and specific deployment of the intelligent mapping coding scheme at the relay end of the PNC system are intuitively described. After the superimposed signal of the PNC relay receiver is synchronized, OFDM demodulation is performed. The superimposed signal and channel estimation matrix obtained after demodulation are sent to the FBENet model to output the joint posterior probability of the codeword combination; then the probability information is transferred to the CNC module decoding and encoding output XOR sequence, and finally the XOR information is broadcast to the terminal receiver after channel coding, constellation mapping, OFDM modulation, and insertion of synchronization signal at the transmitter. Figure 2 The design process framework of the entire FBENet network is briefly explained. Estimation of channel B (i.e. the channel estimation matrix obtained by the least squares LS algorithm), is spliced into a two-dimensional matrix through the normalization layer (Batch Normalization) and the Concatenate layer, and the processed data is transmitted to the feature extraction module. The feature extraction module uses a residual network to extract feature map information, in which a CNN network (Conv1D) and a ReLU function are used, and finally the feature map is sent to the bidirectional equalization module. The bidirectional equalization module is based on the Bi-LSTM network, which simulates the process of sum-product message passing of the BP algorithm to correct the posterior probability distribution of the subcarriers, and obtains the comprehensive output state matrix as the output to transfer to the probability output module. The probability output module uses the TimeDistributed layer to encapsulate the fully connected network (Dense), and uses the Softmax function to output the joint posterior probability of the codeword combination.
[0052] The combined part of the superimposed signal and the real and imaginary parts of the channel:
[0053] like Figure 3As shown in the figure, part of the figure shows how the PNC system relay inputs the superimposed signal and the estimated channel into the network. The superimposed signal received by the PNC system relay is a complex sequence when it enters the FEBNet network. Since the data input to the network is a complex sequence, the real and imaginary parts of the superimposed signal vector and the estimated channel vector need to be split before entering the feature extraction. Then, these data are standardized through the batch normalization layer, and then the Concatenate layer is used to perform standard splicing into a two-dimensional matrix before it is sent to the feature extraction module. The row dimension of the converted two-dimensional matrix is the number of subcarriers of each OFDM symbol, and the column dimension contains the superimposed signal and the real and imaginary parts of the two channels.
[0054] Feature extraction module:
[0055] The feature extraction module of the present invention is designed to effectively extract abstract features from input information. In the BP algorithm, the essence of calculating the initial confidence LLR is actually to extract the distance between each constellation point on the constellation diagram corresponding to the superimposed signal. However, the superimposed signal and the estimated channel transfer function carry abstract information, and the traditional factor graph scheme can only extract the linear features therein. The present invention uses CNN to extract abstract features and has better generalization ability. The CNN network can extract the abstract information contained in the input data, and the convolution operation of its convolution kernel and the input matrix can be expressed by the following formula:
[0056]
[0057] Among them, I j [i] is the ith output of the jth convolution kernel, j is the total number of convolution kernels, the maximum value of i is the width of the input matrix, X is the input data, W is the weight of the convolution kernel, b is the bias term of the convolution kernel, m and n represent the position information of the corresponding input data and convolution kernel matrix respectively, and kw and kh represent the height of the convolution operator. The convolution process is similar to filtering. Each convolution kernel can extract specific features of the matrix, and finally the acquired specific features are spliced into a feature map. In order to extract richer feature information, the residual network uses a convolution residual block architecture. The convolution residual block can fuse networks of different depths, which means that the network can not only retain shallow network information when extracting data information features, but also learn new features from deeper network structures.
[0058] The two-dimensional matrix obtained by concatenating the Concatenate layer will first pass through the convolution layer. Figure 4 Briefly demonstrate the process of extracting input sequence features by the convolution operator in FBENet. Considering that the information input is a digital signal matrix, for the sake of simplicity, Figure 4In the figure, the two-dimensional matrix is represented by a one-dimensional vector. Each element in the vector contains the superimposed signal and channel information on each subcarrier, and the convolution kernel is also represented by a vector. The convolution process is essentially similar to filtering, and each convolution kernel can extract specific features. The assumed convolution operator height kh=3 in the figure. When kh>1, the sliding convolution mechanism of CNN is similar to the interaction between subcarriers, and can well extract the correlation between adjacent subcarriers. The relationship between the size of kh and the interference depth d of ICI is:
[0059] kh=2*d+1
[0060] In the formula, * represents convolution; each convolution operator can obtain the features on the subcarrier after convolution with the input vector sequence, and a feature sequence can be obtained after the convolution of a single operator. When multiple convolution operators are completed, the multiple feature sequences obtained are spliced into a feature map I for the subsequent bidirectional equalization module to balance the information between subcarriers. In order to obtain better performance, the convolution network structure uses a convolution residual block for feature extraction. The convolution residual block fuses networks of different depths, which not only retains the original information of the shallow network, but also obtains deeper information through multiple convolutions.
[0061] The core design of a typical convolutional residual block is to transmit data through two paths: one main path contains multiple convolutional layers and activation functions, while the other shortcut directly superimposes the input with the output of the main path through skip connections. The two paths are merged at the end through addition operations and then activated by the ReLU function to form the output of the residual block. This layout superimposes the deep features learned on the main path with the shallow features in the shortcut, which can adjust the information distribution of the feature map input. It can perform convolution operations to adjust the dimension of the input to adapt it to the output of the main path. The skip path generally does not contain an activation function because the activation function introduces nonlinearity, which may cause information distortion and gradient disappearance. This strategy of skip connection can retain more input information or shallow features, reduce the loss of original information during the convolution process of the network while learning deep abstract features, reduce the impact of noise, and thus enhance the robustness of the model. Figure 5 The residual network designed by the present invention includes a main path and a shortcut. The main path includes three convolutional layers and an activation function, and the shortcut has only one convolutional layer. The results of the two paths are added and output through the activation function. The specific process is as follows:
[0062]
[0063] In the formula, I represents the output feature map information, r represents the superposition signal, and The estimate of channel A, Represents the estimation of channel B, Residual CNNIt is represented as a convolutional residual architecture, CNN is a convolutional neural network, and ReLU is the activation function in the entire feature extraction module. The feature map obtained by the convolutional residual module will be directly sent to the bidirectional equalization module later.
[0064] Bidirectional balancing module:
[0065] After preprocessing and feature extraction, the information in the FBENet network proposed in the present invention is transferred to the two-way equalization module for processing. This module imitates the two-way information iteration process of the original traditional algorithm. From an abstract level, the core mechanism of sum-product message transmission is to use adjacent subcarriers to equalize the output of the current subcarrier. The RNN model can optimize conditional probability and is particularly suitable for processing the front-end dependency problems existing in sequence data. Therefore, the present invention considers connecting the RNN network after the feature extraction module to equalize the mutual interference ICI between subcarriers. For the RNN model, the output at a certain moment is affected by the output at the previous moment and the input at the current moment. This process is expressed by the following formula:
[0066] h t =f(h t-1 ,x t )
[0067] Among them, h t represents the output of the current time step, h t-1 represents the output of the previous time step, x t represents the input of the current time step, and f(.) is a function representing the RNN model, which is a nonlinear function. Different nonlinear functions correspond to different RNN models. The above formula recursively updates the output at each moment. This recursive structure enables RNN to capture the dependencies in the sequence data. In particular, the introduction of the RNN model in the time-frequency dual extension channel helps to deal with the correlation between subcarriers and ICI interference, achieving better equalization effect.
[0068] There are many variant structures of RNN network, among which Long Short Term Memory (LSTM) has excellent performance in processing time series correlation scenarios within a limited range, so the present invention introduces LSTM network to replace traditional algorithms. Under the interference of ICI, a certain subcarrier may be interfered by all other subcarriers, but for the convenience of modeling, it is considered that a certain subcarrier is only interfered by other subcarriers within a certain range of itself, and the rest of the interference is regarded as part of the environmental noise. Different subcarriers are regarded as different time node inputs, and LSTM network is introduced for this time series correlation scenario within a limited range.
[0069] LSTM neurons introduce memory units and gating mechanisms to capture long-term dependencies in sequence data. Figure 6The internal structures of LSTM neurons are shown, and the calculation process is as follows:
[0070] f t =σ(W f ·[h t-1 ,x t ]+b f )(Forget Gate)
[0071] i t =σ(W i ·[h t-1 ,x t ]+b i )(Input gate)
[0072] (Candidate memory unit)
[0073] (Update memory unit)
[0074] o t =σ(W o ·[h t-1 ,x t ]+b o )(Output gate)
[0075] h t =o t Tanh (C t )(Update hidden state)
[0076] Among them, f t is the output of the forget gate at the current time step, W f is the weight of the forget gate, b f is the bias of the forget gate; i t is the output of the input gate at the current time step, W i is the weight of the input gate, b i is the bias of the input gate; is the candidate memory unit output at the current time step, W c is the weight of the memory unit, b c is the bias of the memory unit; C t is the memory unit output of the current time step, C t-1 is the output of the memory unit at the previous time step, o t is the output of the output gate, h t is the hidden state of the current time step; h t-1 Represents the hidden state of the previous time step; σ represents the activation function Sigmoid, and its mathematical expression is as follows:
[0077]
[0078] The activation function Sigmoid maps the input value between (0,1). Because it has a smooth derivative, it is easier to perform gradient descent optimization and accelerate convergence during the back propagation process. The Tanh function also serves as an activation function in the LSTM neuron structure. Its mathematical expression is as follows:
[0079]
[0080] The Tanh function maps the input values between (-1,1) and since its output is centered around zero, it helps alleviate the vanishing gradient problem.
[0081] The gating mechanism of LSTM can be used in combination with the BP algorithm, and the traditional algorithm can be successfully replicated in deep learning. The following specifically introduces the key points of combining the LSTM network with the traditional algorithm in the present invention.
[0082] Forget gate: determines which information to retain or remove from the memory cell of the previous moment, and can eliminate irrelevant information. When the BP algorithm is transmitting messages, the correlation between the subcarrier's self-information and the adjacent carrier decreases with the distance, indicating that the current subcarrier is less interfered by other distant subcarriers. In the original traditional BP algorithm, it is determined that the distant subcarrier will not interfere with the subcarrier and should be forgotten, while the information of the closer subcarrier should be retained. As time goes by, the information replacement of the subcarrier changes accordingly, which echoes the function of the LSTM forget gate.
[0083] Input gate: determines how much of the input information at the current moment will be recorded in the memory unit. In the BP algorithm, the observation factor needs to integrate the information of neighboring nodes during message passing. Different original information inputs have different weights on message passing, which corresponds to the input gate mode of LSTM neurons.
[0084] Memory cell: The core element in LSTM, whose state update depends on the combined action of the forget gate and the input gate. The forget gate is responsible for removing part of the information in the original memory cell, while the input gate determines how much new information to add. The update of memory cells not only integrates new and old information, but also achieves timely forgetting of irrelevant information for too long. The BP algorithm integrates its own confidence and the information transmitted by adjacent carriers, which corresponds to the deep information processing capabilities of memory cells in LSTM.
[0085] Output gate: controls the information transmission flow from the memory cell to the hidden state at the current moment.
[0086] Hidden state: The main result output by LSTM at each moment, which captures the model state at the current moment and can be used in subsequent tasks. The probability distribution calculated during the BP algorithm message passing process is actually an intermediate state quantity, which corresponds to the hidden state in the LSTM neuron. This intermediate state quantity needs to be further mapped with the help of a fully connected network to be suitable for the subsequent decoding end step.
[0087] In the above introduction to the key structure of LSTM, the information transmission of a complete LSTM network is unidirectional. Under the dual-frequency extension channel, the subcarrier will be interfered by the adjacent subcarriers at the same time. If the LSTM network only has unidirectional feedforward memory, it cannot completely replace the traditional BP algorithm. Figure 7 This is a model framework diagram of the Bi-LSTM network. The present invention uses the Bi-LSTM network to obtain the before-after relevance of the input sequence, that is, an LSTM network with bidirectional transmission capability. In the current scenario, assuming that the input is the feature map I and the output is the state matrix U, the Bi-LSTM layer can be expressed as follows:
[0088] [U[0],U[1],...,U[N-1]]=BiLSTM(I[0],I[1],...,I[N-1])
[0089] Among them, N represents the input moment, which means the total number of subcarriers in this LSTM scenario; I[N] represents the characteristic sequence data of the Nth subcarrier input at the Nth moment; U[N] is the output sequence data of the Nth subcarrier at the Nth moment, and its length is related to the number of neurons in the LSTM. The Bi-LSTM network consists of LSTM networks in the forward and backward directions, which can be expressed as follows:
[0090]
[0091] in, represents forward feedback, represents backward feedback, U′[N] and U″[N] represent the outputs of forward and backward feedback respectively, and U[N]=[U′[N],U″[N]] represents the comprehensive output state matrix. Each bidirectional propagation Bi-LSTM layer corresponds to one iteration of the traditional BP algorithm.
[0092] After obtaining the state matrix U[N]=[U′[N],U″[N]], it is transferred to the probability output module as the output of the bidirectional balancing module to map the fully connected network into a probability distribution.
[0093] Probability output module:
[0094] The purpose of the probability output module in the present invention is to transform the state matrix quantity that has been balanced into the real codeword combination joint probability distribution. Assume that the Bi-LSTM network in the above bidirectional equalization module has a total of N unit neurons, the number of subcarriers is N, then its output size is N×2N unit The state matrix U has row dimensions corresponding to each subcarrier and column dimensions corresponding to the state sequence on the subcarrier. The purpose of designing a deep learning model is to achieve joint probability distribution, so a fully connected network is used as the probability output layer. Figure 8 Show the fully connected network model. Each neuron is associated with all neurons in the previous layer, forming a fully connected network structure. This is also the origin of the fully connected network. The model can be expressed by the following formula:
[0095] y=f(wU[n]+b)
[0096] Among them, U[n] is the data information of the nth row of the state matrix, w is the weight vector, b is the bias vector, y is the final output vector, and f(×) is the activation function. Softmax is selected as the activation function, which can convert the real vector into a probability distribution, where each conversion result is between 0 and 1, and the sum of all results is 1, ensuring the normalization of the probability. Given a K-dimensional real vector y=(y1,y2,...,y K ), the activation function Softmax can be defined as follows:
[0097]
[0098] Among them, Softmax(y) i Represents the probability of the i-th category in the output probability distribution. i represents the i-th data in the real number vector y, e represents the base of the natural logarithm, and K represents the dimension of the vector.
[0099] Since the fully connected network only accepts vectors as input, and the output of the bidirectional feedback equalization module is a matrix, it is necessary to connect each row of the state matrix (that is, the state sequence of each subcarrier) to the fully connected network. The TimeDistributed layer is used to encapsulate the fully connected network to ensure that each subcarrier sequence in the matrix passes through the fully connected layer of the same structure. Depending on the modulation method, theoretically, the data on each frequency point at the transmitter will have a specific number of combinations. For the PNC relay end, if it is BPSK, theoretically the data transmitted from the terminal node has two state quantities, which will be superimposed at the relay end. There will be 4 situations, and QPSK will have 16 situations in the same way. Fig. 9 This is a fully connected network model diagram designed for BPSK modulation.
[0100] With the assistance of the probability output module, the state transition of the Bi-LSTM layer output is effectively and successfully output as the joint probability distribution of each subcarrier codeword combination, which completes the core output part of the entire FBENet network and replaces the original traditional BP algorithm.
[0101] Loss function design:
[0102] In the overall network construction, a loss function needs to be designed. In this invention, a multi-classification cross entropy function is selected. Assume that there are M classes of targets to be predicted, and there are only P samples in total. The label value of the i-th sample is set to The predicted value is Then the loss function of the FBENet network can be expressed as follows:
[0103]
[0104] In the formula, and Represent the j-th data value of the predicted value sequence and label value sequence respectively.
[0105] During the training phase, the network model calculates the derivatives of the variable parameters and updates them through the back-propagation algorithm. The update gradually reduces the difference between the sample and the output after learning until the output of the loss function converges to a certain threshold. Fig.10 and 11 Corresponding to the simulation curves of BPSK and QPSK, as the Epoch increases, the Loss curve will gradually converge, which means that the neural network training is successful. The loss values of the BPSK and QPSK modulation modes in the figure tend to be stable after 25 and 40 rounds of training respectively, indicating that after these rounds, the model's training loss (Train Loss) and validation loss (Validation Loss) have dropped to a lower level, and the model has converged and stabilized.
[0106] Fig.12 and 13 The bit error rate comparison curve of FEBNet's intelligent coding mapping method and the baseline method is shown. The least squares LS algorithm in the figure is a channel estimation algorithm. For the OFDM system, the LS channel estimation matrix can be expressed as follows:
[0107]
[0108] In the formula, H LS represents the LS channel estimation matrix, Y represents the signal received by the receiving end, X represents the signal sent by the transmitting end, the range of k is {0,1,2,...,N-1}, and N represents the number of subcarriers.
[0109] In addition, the channel transfer function with different estimation accuracy is obtained by adding noise to the channel matrix. Here, the channel error rate (CER) is used to quantify the channel estimation error:
[0110]
[0111] Among them, H μ is the actual frequency domain channel transmission matrix, Θ μ is the channel estimation error (which can be understood as H μ The average power of the additive noise on the 10 It is a logarithmic function with base 10, and μ∈{A,B} indicates that the source of the information is the terminal node A or B of the PNC system. For the above formula, the larger the value of CER, the more accurate the channel estimation.
[0112] Perfect H means that the real perfect channel situation is known, that is, channel estimation is no longer necessary and the BP algorithm can be directly used. As can be seen from the figure, although the LS algorithm has low computational complexity, the channel estimation is very limited, so the performance is the worst, while the CER curve improves as the CER value increases, gradually approaching the perfect channel situation.
[0113] Experiments show that the relay intelligent coding mapping method FBENet proposed in this invention can approach or even exceed the optimal performance of the baseline method in the bit error rate curve, whether under BPSK or QPSK modulation. This shows that the intelligent coding mapping method can match the performance level of the known perfect channel matrix Perfect H without precise channel information.
[0114] The PNC system of the present invention adopts Orthogonal Frequency Division Multiplexing (OFDM) modulation mode for underwater propagation. The present invention combines the Belief Propagation (BP) algorithm based on the Markov model with deep learning, and proposes a superposition signal intelligent coding mapping method with low coupling with channel information - Feature Extraction and Bidirectional Equalization Network (FBENet) to replace the channel estimation and signal detection modules in the traditional PNC relay receiver. FBENet can be divided into three modules: the feature extraction module can effectively extract the abstract features of the input information through the convolutional neural network (CNN); the bidirectional equalization module uses the bidirectional long short term memory network (Bi-LSTM) neurons to equalize the inter-carrier interference (ICI) under the dual-frequency extended channel. This module corrects the posterior probability distribution of the subcarrier by simulating the sum-product message passing process of the BP algorithm; the probability output module outputs the probability distribution of the transmitting codeword combination of each subcarrier through the fully connected network for subsequent network coding. The loss function of the network model uses the multi-classification cross entropy loss function. In the training stage, the model calculation parameters are updated, and the difference between the sample and the output will become less and less until the threshold, indicating that the training is successful.
[0115] The above embodiments are only preferred embodiments of the present invention and cannot be considered to limit the scope of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the present invention.
Claims
1. An intelligent coding mapping method for underwater acoustic physical layer network coding, characterized in that The following steps are involved: 1) The PNC system relay receives the superimposed signal and performs data preprocessing, splits the superimposed signal vector and the estimated channel vector into real and imaginary parts, then sends the data vector to the normalization layer and the concatenate layer to form a two-dimensional matrix, and transmits the processed data to the feature extraction module; 2) The feature extraction module uses the convolution kernel to perform convolution operation on the input two-dimensional matrix data, extracts the abstract features of the input information, splices the acquired specific features into a feature map, and inputs the feature information into the bidirectional equalization module through the convolution residual network; 3) The bidirectional equalization module uses the Bi-LSTM network to obtain the forward and backward correlation of the input sequence, equalizes the inter-carrier interference (ICI) under the time-frequency dual extension channel, corrects the posterior probability distribution of the subcarrier by simulating the sum-product message transmission process of the BP algorithm, and obtains the comprehensive output state matrix as the output of the bidirectional equalization module and transfers it to the probability output module for full-connection network mapping; 4) The probability output module uses a fully connected network as the probability output layer, and uses the Softmax activation function to convert the state matrix obtained after processing by the bidirectional equalization module into the joint probability distribution of the codeword combination on each subcarrier for subsequent network coding. Specifically: each row of the state matrix, that is, the state sequence of each subcarrier, is connected to the fully connected network, and the TimeDistributed layer is used to encapsulate the fully connected network to ensure that each subcarrier sequence in the matrix passes through the fully connected layer of the same structure to obtain an independent probability distribution of each subcarrier; the Softmax function ensures that the output probability distribution is valid. According to different modulation methods, the output layer estimates the probability distribution of the corresponding number of codeword combinations; 5) Design a loss function and use a multi-classification cross entropy loss function; during the training phase, the network model calculates the derivatives with respect to the variable parameters and updates them through the back propagation algorithm. The difference between the sample and the output gradually decreases until the output of the loss function converges to a certain threshold, completing the deep learning training.
2. The method for intelligent coding and mapping of underwater acoustic physical layer network coding according to claim 1, characterized in that In step 1), the data is split into real and imaginary parts. Since the data entering the PNC system is a complex sequence, the superimposed signal vector and the available channel estimation vector are split into real and imaginary parts. The real and imaginary parts of the signal carry independent information respectively. The data vector is sent to the normalization layer for normalization processing to eliminate the influence of signal amplitude differences on subsequent processing. The normalized real and imaginary parts are concatenated into a two-dimensional matrix using the Concatenate layer, and the features are effectively flattened and input into the feature extraction module; the row dimension of the converted two-dimensional matrix is the number of subcarriers per OFDM symbol, and the column dimension contains the superimposed signal and the real and imaginary parts of the two channels.
3. The method for intelligent coding and mapping of underwater acoustic physical layer network coding according to claim 1, characterized in that In step 2), the feature extraction module structure is essentially a CNN network. The CNN network extracts the abstract information contained in the input data. The convolution operation between the convolution kernel and the input matrix is expressed by the following formula: Among them, I j [i] is the i-th output of the j-th convolution kernel, j is the total number of convolution kernels, the maximum value of i is the width of the input matrix, X is the input data, W is the weight of the convolution kernel, b is the bias term of the convolution kernel, m and n represent the position information of the corresponding input data and convolution kernel matrix respectively, and kw and kh represent the height of the convolution operator.
4. The method for intelligent coding and mapping of underwater acoustic physical layer network coding according to claim 1, characterized in that In step 2), in order to extract richer feature information, the convolutional residual network uses a convolutional residual block structure; the core design of the convolutional residual block structure is dual-path transmission: the main path contains three convolutional layer networks and an activation function ReLU, while the shortcut path has only one convolutional layer. The results of the two paths are added and output through the activation function ReLU, which is specifically expressed as follows: Among them, I represents the output feature map information, r represents the superposition signal, represents the estimation of channel A, Represents the estimation of channel B, Residual CNN It is represented as a convolutional residual architecture, CNN is a convolutional neural network, and ReLU is the activation function in the entire feature extraction module.
5. The method for intelligent coding and mapping of underwater acoustic physical layer network coding according to claim 1, characterized in that In step 3), the comprehensive output state matrix is obtained. Specifically, a bidirectional propagation Bi-LSTM network is set to capture the before-after correlation of the input sequence and output the state matrix. Assuming that the current scene input is the feature map I and the output is the state matrix U, the Bi-LSTM layer is expressed as follows: [U[0],U[1],...,U[N-1]]=BiLSTM(I[0],I[1],...,I[N-1]) Among them, N represents the input moment, which means the total number of subcarriers in this LSTM scenario; I[N] represents the characteristic sequence data of the Nth subcarrier input at the Nth moment; U[N] is the output sequence data of the Nth subcarrier at the Nth moment, and its length is related to the number of neurons in the LSTM; the Bi-LSTM network consists of LSTM networks in two directions, which are expressed as follows: in, represents forward feedback, represents backward feedback, U′[N] and U″[N] represent the outputs of forward and backward feedback respectively, and U[N]=[U′[N],U″[N]] represents the comprehensive output state matrix.
6. The method for intelligent coding and mapping of underwater acoustic physical layer network coding according to claim 1, characterized in that In step 4), assume that the Bi-LSTM network in the bidirectional balancing module has N unit neurons, the number of subcarriers is N, and its output size is N×2N unit The state matrix U has row dimensions corresponding to each subcarrier and column dimensions corresponding to the state sequence on the subcarrier. A fully connected network is used as the probabilistic output layer. In the fully connected network, each neuron is connected to all neurons in the previous layer to form a fully connected network structure, as follows: y=f(wU[n]+b) Among them, U[n] is the data information of the nth row of the state matrix, w is the weight vector, b is the bias vector, y is the final output vector, and f(×) is the activation function; Softmax is selected as the activation function to convert the real vector into a probability distribution, where each conversion result is between 0 and 1, and the sum of all results is 1, which is equivalent to a normalization; given a K-dimensional real vector y = (y1, y2, ..., y K ), the activation function Softmax is defined as follows: Among them, Softmax(y) i Represents the probability of the i-th category in the output probability distribution, y i represents the i-th data in the real number vector y; e represents the base of the natural logarithm, and K represents the dimension of the vector.
7. The method for intelligent coding and mapping of underwater acoustic physical layer network coding according to claim 1, characterized in that In step 5), the loss function is designed, assuming that there are M classes of targets to be predicted, and there are only P samples in total, and the label value of the i-th sample is set to The predicted value is Then the loss function is expressed as follows: In the formula, and Represent the j-th data value of the predicted value sequence and label value sequence respectively.
Citation Information
Patent Citations
Underwater acoustic FBMC communication signal detection method based on deep learning
CN111740934A
Underwater sound physical layer network coding relay system based on general software radio platform
CN114938251A
Method for scheduling closed loop information in wireless networks
US20180302908A1
