Precoding and phase shifting method for RIS-assisted communication system based on unsupervised learning
Through unsupervised learning, the RIS-assisted precoding and phase shifting method of the millimeter wave communication system is designed, and the convolutional neural network is used to solve the nonlinear optimization problem, achieving high system spectral efficiency and low computational complexity, and solving the computational problems in the existing technology. Problems with high complexity and sensitivity to channel changes.
Patent Information
- Application Number
- CN202211063854.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-08-31
AI Technical Summary
In the existing technology, traditional algorithms based on alternating optimization and deep supervised learning methods have problems such as high computational complexity, sensitivity to channel changes, and difficulty in practical applications when designing RIS-assisted precoding and phase shifting for millimeter wave communication systems.
An unsupervised learning method is used to design the millimeter-wave base station hybrid beamforming matrix and RIS reflection coefficient matrix. By constructing a two-level convolutional neural network model, using Xavier normal to initialize parameters, segmented training is performed to generate training samples, and the MMSE criterion is used to calculate numbers. Merge matrices to implement the calculation of RIS reflection coefficients and precoding matrices.
Effectively suppresses interference, reduces computational complexity, improves system spectrum efficiency, can reduce delay while ensuring performance, and is suitable for large-scale MIMO systems.
Smart Images

Figure CN115426013B
Abstract
Description
Technical Field
[0001] The invention relates to a RIS-assisted communication system precoding and RIS phase shift method based on unsupervised learning, and belongs to the technical field of adaptive transmission of a point-to-point MIMO downlink system in which a base station is configured with a uniform linear antenna array. Background Art
[0002] Millimeter wave communication is regarded as one of the key technologies of the new generation of wireless communication networks as an effective way to improve network transmission rate and alleviate the shortage of spectrum resources.
[0003] However, in practical applications, the millimeter wave signal path loss is large and the coverage is limited. Therefore, millimeter wave technology is usually combined with massive multiple-input multiple-output (MIMO) technology to provide high beam gain through beamforming technology to alleviate the problem of large millimeter wave signal path loss. On the other hand, in millimeter wave massive MIMO systems, due to the high directional beam provided by large antenna arrays and the poor diffraction ability of millimeter waves, millimeter wave communication is easily blocked by obstacles, which greatly limits its coverage in indoor and dense urban environments. In recent years, reconfigurable intelligent surface (RIS) technology has attracted widespread attention as a promising physical layer transmission technology in future communication systems. RIS is a plane composed of a large number of low-cost passive reflective elements, each of which can independently change the phase or amplitude of the incident signal to achieve high-precision reflection beamforming. By reasonably deploying RIS in the environment, an additional communication link through RIS can be established between the transmitter and the receiver, thereby better solving the millimeter wave shielding effect and improving the coverage of the millimeter wave communication system.
[0004] Existing research on RIS-assisted millimeter wave communication system precoding and RIS phase shift design mainly includes traditional algorithms based on alternating optimization and deep supervised learning methods. Traditional algorithms mostly use numerical iterative optimization methods, which have the problems of high complexity and large computational delay. Deep supervised learning methods have high requirements on the amount of training data and are very sensitive to channel fading changes. In addition, most of the above two methods only consider ideal RIS phase shifts, so both methods are difficult to apply in practice. Summary of the invention
[0005] Technical problem: In order to overcome the shortcomings of the prior art, the present invention uses unsupervised learning to design the millimeter wave base station hybrid beamforming matrix and the RIS reflection coefficient matrix, and provides a RIS-assisted communication system precoding and phase shifting method based on unsupervised learning. Based on the characteristics of unsupervised learning that does not require sample annotation and the ability of deep neural networks to solve nonlinear optimization problems, it can effectively suppress interference and obtain higher system spectrum efficiency with lower computational complexity.
[0006] Technical solution: The RIS-assisted communication system precoding and phase shifting method based on unsupervised learning proposed in the present invention includes the following steps:
[0007] Step 1: The base station is configured as N t The number of RF links of a uniform linear antenna array with antenna elements is Send N s RIS is a uniform plane reflection surface with M reflection units, and the user side is equipped with N r A uniform linear antenna array of antenna elements with RF links and The base station and RIS both know the channel matrices from the base station to the RIS and from the RIS to the user, which are denoted as G and R respectively, where the i-th row and j-th column element of G represents the channel coefficient from the j-th antenna of the base station to the i-th RIS reflection unit, and the i-th row and j-th column element of R represents the channel coefficient from the j-th RIS reflection unit to the i-th antenna of the user;
[0008] G and R are preprocessed to obtain a three-dimensional matrix sample as input, specifically using the i-th column r of R i With G T The i-th column g i Perform calculations Get the channel information related only to the i-th reflection unit, with the superscript (·) T Represents the matrix transpose, and then the two-dimensional matrix T i , i=1,…,M is stacked in the third dimension (N r ,N t ,M), and finally decompose the complex three-dimensional matrix T into two real matrices of amplitude and phase Get an input training sample, where It means taking the amplitude of each element of the matrix in brackets. Indicates taking the phase of each element of the matrix in the brackets; using the above method, generate N training samples;
[0009] Step 2: Construct a two-stage convolutional neural network model and use Xavier normal to initialize the model parameters. The input of the first-stage convolutional neural network is the training sample preprocessed in step 1, and the output is the discrete phase shift vector [φ1,…,φ i ,…,φ M ], the RIS reflection coefficient matrix of discrete phase shift is calculated according to the discrete phase shift vector where φ i represents the phase shift of the i-th reflection unit, i = 1, ..., M; the input of the second-level convolutional neural network is the equivalent cascade channel H = RΦG from the base station to the user via RIS, which is decomposed into two real number matrices of amplitude and phase The output is used as the simulated precoding matrix F RF and the digital precoding matrix F BB ;
[0010] Step 3: Use the segmented training method to train the two-stage convolutional neural network using the training samples generated in step 1 until the system neural network parameters converge;
[0011] Step 4: During online prediction, the instantaneous channel matrices G and R from the base station to the RIS and from the RIS to the user are preprocessed using the method described in step 1, that is, using the i-th column r of R i With G T The i-th column g i Perform calculations Get the channel information related only to the i-th reflection unit, with the superscript (·) T Represents the matrix transpose, and then the two-dimensional matrix T i , i=1,…,M is stacked in the third dimension (N r ,N t ,M), and finally decompose the complex three-dimensional matrix T into two real matrices of amplitude and phase The input required for this prediction is obtained, and then the trained model is input, which is composed of the output of the first-level convolutional neural network [φ1,…,φ i ,…,φ M ] Construct the RIS reflection coefficient matrix The second-level convolutional neural network outputs the simulated precoding matrix F RF and the digital precoding matrix F BB , and then use the already obtained RIS reflection coefficient matrix, analog precoding matrix and digital precoding matrix to calculate the digital merging matrix W according to the MMSE criterion BB .
[0012] The two-stage convolutional neural network, the first stage convolutional neural network includes a convolutional block, a compressed excitation-residual SE-Res block and a fully connected block, wherein the convolutional block consists of a convolutional layer, a BN layer and a LeakyReLu activation layer, and the fully connected block consists of a fully connected layer, a BN layer and a Dropout layer. The output of the fully connected block is subjected to a Sigmoid activation function and then to a quantization layer f(φ) to obtain a discrete RIS phase shift; the second stage convolutional neural network also includes a convolutional block, a SE-Res block and a fully connected block, the output of the fully connected block is used as the input of the digital precoding part and the analog precoding part respectively, and for the analog precoding part, Gumbel SoftMax is used as the activation function to output the analog precoding codeword selection matrix C, and finally the analog precoding codeword selection matrix C is compared with the preset DFT codebook The final analog precoding matrix F can be obtained by multiplying RF For the digital precoding part, a linear activation function and a normalization layer are used to output the digital precoding matrix F that meets the power constraint. BB , the specific expression of the normalization layer is as follows
[0013]
[0014] where F RF is the analog precoding matrix, is the digital precoding matrix after the linear activation function but not normalized, and P is the maximum transmit power of the base station;
[0015] The quantization layer f(φ) uses different functions during offline training and online prediction, as follows
[0016]
[0017] Where b is the corresponding quantization bit and k is the quantization hyperparameter.
[0018] The segmented training method firstly fixes the parameters of the first-level neural network and only trains and updates the parameters of the second-level neural network until it converges; then fixes the parameters of the second-level neural network that has already converged and only trains and updates the parameters of the first-level neural network until it converges; finally, the two-level neural network is jointly trained until the parameters of the entire system converge; during the entire training process, the following loss function is used
[0019]
[0020] Where B represents the size of a batch of training samples, R i It represents the spectral efficiency of the i-th sample in the batch of training samples and is calculated by the following formula:
[0021]
[0022] The superscript Denotes the generalized inverse of a matrix. The superscript (·) H represents the conjugate transpose of a matrix, represents the identity matrix, H i =R i Φ i G i is the equivalent cascade channel corresponding to the i-th sample in the batch of training samples, R i and G i is the channel matrix from the base station to the RIS and from the RIS to the user corresponding to the i-th sample in the batch of training samples, Φ i is the RIS reflection coefficient matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, σ 2 is the noise power, is the simulated precoding matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, is the digital precoding matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, is the digital merging matrix corresponding to the i-th sample in the batch of training samples obtained by the MMSE method. The specific calculation method is as follows
[0023]
[0024] And in step 4, the digital merging matrix W is calculated according to the MMSE criterion during online prediction BB The method is also the method described by the above expression.
[0025] The parameters of the two-stage convolutional neural network model include weight parameters, bias parameters, the number of neurons in each layer, the learning rate, and the size of each sample batch.
[0026] Beneficial effects: The present invention uses an unsupervised learning method to obtain a base station hybrid beamforming matrix and a RIS reflection coefficient matrix, which can take into account both performance and algorithm complexity. After offline training is completed, online use can reduce latency while ensuring performance, allowing the MIMO system to provide real-time services.
[0027] (1) This design method has fast convergence speed, is easy to implement, and requires few computing resources, especially when the number of RIS reflector units and antennas is large;
[0028] (2) This method simultaneously considers the impact of millimeter-wave channel sparsity and the large correlation of massive MIMO antennas, making the channel more general.
[0029] (3) This method can achieve higher system spectrum efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is the structural diagram of SE-Res block.
[0031] Figure 2 It is a structural diagram of a convolutional neural network involved in the method of the present invention.
[0032] Figure 3 is the quantization layer function f(φ). DETAILED DESCRIPTION
[0033] The present invention will be further described below in conjunction with the accompanying drawings.
[0034] Consider a RIS-assisted mmWave MIMO point-to-point downlink. The base station performs beamforming design as follows:
[0035] Step 1: The base station is configured as N t = Uniform linear antenna array with 64 antenna elements, the number of RF links is Send N s = 4 independent data streams, RIS is a uniform plane reflection surface with M = 100 reflection units, and the user side is equipped with N r = a uniform linear antenna array of 4 antenna elements, which has RF links; the base station and RIS both know the channel matrices from the base station to RIS and from RIS to the user, which are denoted as G and R respectively, where the i-th row and j-th column element of G represents the channel coefficient from the j-th antenna of the base station to the i-th RIS reflection unit, and the i-th row and j-th column element of R represents the channel coefficient from the j-th RIS reflection unit to the i-th antenna of the user.
[0036] G and R are preprocessed to obtain a three-dimensional matrix sample as input, specifically using the i-th column r of R i With G T The i-th column g i Perform calculations Get the channel information related only to the i-th reflection unit, with the superscript (·) T Represents the matrix transpose, and then the two-dimensional matrix T i , i=1,…,M is stacked in the third dimension (N r ,N t ,M), and finally decompose the complex matrix T into two real matrices of amplitude and phase Get an input training sample, where It means taking the amplitude of each element of the matrix in brackets. Indicates taking the phase of each element of the matrix in brackets. Using the above method, N = 100,000 training samples are generated.
[0037] Step 2: Construct a two-level convolutional neural network model and use Xavier normal to initialize the model parameters. The specific neural network model is that the first-level convolutional neural network contains a convolution block, a compressed excitation-residual SE-Res block and a fully connected block, where the convolution block consists of a convolution layer (64 convolution kernels, each convolution kernel is 3×3 in size), a BN layer and a LeakyReLu activation layer, and the fully connected block consists of a fully connected layer (512 neurons), a BN layer and a Dropout layer. The output of the fully connected block passes through a Sigmoid activation function and then a quantization layer f(φ), and the output is a discrete RIS phase shift vector [φ1,…,φ i ,…,φ M ], and then calculate the RIS reflection coefficient matrix based on the obtained discrete phase shift vector The second-level convolutional neural network also contains a convolution block, a SE-Res block and a fully connected block. The output of the fully connected block is used as the input of the digital precoding part and the analog precoding part respectively. For the analog precoding part, Gumbel SoftMax is used as the activation function to output the analog precoding codeword selection matrix C. Finally, the analog precoding codeword selection matrix C is combined with the preset DFT codebook The result is used as the final simulated precoding matrix F RF For the digital precoding part, a linear activation function and a normalization layer are used for processing, and the output is used as the digital precoding matrix F BB , the specific expression of the normalization layer is as follows
[0038]
[0039] where F RF is the analog precoding matrix, It is the digital precoding matrix after the linear activation function but not normalized, and P is the maximum transmit power of the base station.
[0040] The quantization layer f(φ) uses different functions during offline training and online prediction, as follows
[0041]
[0042] Wherein b=2 is the corresponding quantization bit, and k=10 is the quantization hyperparameter.
[0043] Step 3: Use the segmented training method to train the two-level convolutional neural network using the training samples generated in step 1. The loss function used is
[0044]
[0045] Where B represents the size of a batch of training samples, R i It represents the spectral efficiency of the i-th sample in the batch of training samples and is calculated by the following formula:
[0046]
[0047] The superscript Denotes the generalized inverse of a matrix. The superscript (·) H represents the conjugate transpose of a matrix, represents the identity matrix, H i =R i Φ i G i is the equivalent cascade channel corresponding to the i-th sample in the batch of training samples, R i and G i is the channel matrix from the base station to the RIS and from the RIS to the user corresponding to the i-th sample in the batch of training samples, Φ i is the RIS reflection coefficient matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, σ 2 is the noise power, is the simulated precoding matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, is the digital precoding matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, is the digital merge matrix corresponding to the i-th sample in the batch of training samples obtained by the MMSE method. The calculation method is as follows
[0048]
[0049] And in step 4, the digital merging matrix W is calculated according to the MMSE criterion during online prediction BB The method is also the method described by the above expression.
[0050] The specific training method is as follows: first, the parameters of the first-level convolutional neural network are fixed and unchanged, and the parameters of the second-level convolutional neural network are updated only with the Adam algorithm at a learning rate of 0.001 during the training process until they converge; after the parameters of the second-level convolutional neural network converge, the parameter values are fixed and unchanged, and in the following training process, the parameters of the first-level convolutional neural network are updated only with the Adam algorithm at a learning rate of 0.001 until they converge; finally, the two-level neural network is trained and updated simultaneously, and a smaller learning rate of 0.003 is used to fine-tune the training parameters until they converge. In addition, the size of each sample batch is set to B = 500.
[0051] Step 4: During online prediction, the instantaneous channel matrices G and R from the base station to the RIS and from the RIS to the user are preprocessed using the method described in step 1, that is, using the i-th column r of R i With G T The i-th column g i Perform calculations Get the channel information related only to the i-th reflection unit, with the superscript (·) T Represents the matrix transpose, and then the two-dimensional matrix T i , i=1,…,M is stacked in the third dimension (N r ,N t ,M), and finally decompose the complex three-dimensional matrix T into two real matrices of amplitude and phase The input required for this prediction is obtained, and then the trained model is input. The RIS reflection coefficient matrix is constructed by the output of the first-level convolutional neural network, that is, the discrete phase shift vector of RIS. The analog precoding and digital precoding matrices are output by the second-level convolutional neural network. The RIS reflection coefficient matrix, analog precoding and digital precoding matrix that have been obtained are then used to calculate the digital merging matrix W according to the MMSE criterion. BB .
[0052] Most traditional algorithms rely on iterative optimization methods. Although they can achieve good performance, the algorithm complexity is too high and the computing latency is large, so they cannot meet the needs of real-time business. Deep learning, as a way to implement artificial intelligence, transfers the complexity of online computing to offline. Under the premise of ensuring performance, it can greatly reduce the latency caused by computing. However, since deep supervised learning methods require a large number of labeled training samples, and the acquisition of these samples depends on complex traditional algorithms, the cost of obtaining training samples is extremely high. Under the condition that samples cannot be obtained or are difficult to obtain, unsupervised learning is a better choice.
[0053] In summary, the present invention surpasses the traditional RIS-assisted communication system precoding and RIS phase shift design methods in terms of time complexity and system performance. It uses the ability of convolutional neural networks to solve nonlinear optimization problems, quickly learns the optimal hybrid precoding and RIS reflection coefficient matrix, and effectively improves the system's spectrum efficiency under limited resource overhead.
[0054] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A precoding and phase shifting method for a RIS-assisted communication system based on unsupervised learning, characterized in that: The following steps are involved: Step 1: The base station is configured as N t The number of RF links of a uniform linear antenna array with antenna elements is Send N s RIS is a uniform plane reflection surface with M reflection units, and the user side is equipped with N r A uniform linear antenna array of antenna elements with RF links and The base station and RIS both know the channel matrices from the base station to the RIS and from the RIS to the user, which are denoted as G and R respectively, where the i-th row and j-th column element of G represents the channel coefficient from the j-th antenna of the base station to the i-th RIS reflection unit, and the i-th row and j-th column element of R represents the channel coefficient from the j-th RIS reflection unit to the i-th antenna of the user; G and R are preprocessed to obtain a three-dimensional matrix sample as input, specifically using the i-th column r of R i With G T The i-th column g i Perform calculations Get the channel information related only to the i-th reflection unit, with the superscript (·) T Represents the matrix transpose, and then the two-dimensional matrix T i , i=1,…,M is stacked in the third dimension (N r ,N t ,M), and finally decompose the complex three-dimensional matrix T into two real matrices of amplitude and phase [A(T), P(T)] to obtain an input training sample, where A(·) means taking the amplitude of each element of the matrix in the brackets, and P(·) means taking the phase of each element of the matrix in the brackets; using the above method, generate N training samples; Step 2: Construct a two-stage convolutional neural network model and use Xaviernormal to initialize the model parameters. The input of the first-stage convolutional neural network is the training sample preprocessed in step 1, and the output is the discrete phase shift vector [φ1,…,φ i ,…,φ M ], the RIS reflection coefficient matrix of discrete phase shift is calculated according to the discrete phase shift vector where φ i represents the phase shift of the i-th reflection unit, i = 1, ..., M; the input of the second-level convolutional neural network is the equivalent cascade channel H = RΦG from the base station to the user via RIS, which is decomposed into two real number matrices of amplitude and phase [A(H), P(H)], and the output is used as the analog precoding matrix F RF and the digital precoding matrix F BB ; Step 3: Use the segmented training method to train the two-stage convolutional neural network using the training samples generated in step 1 until the system neural network parameters converge; Step 4: During online prediction, the instantaneous channel matrices G and R from the base station to the RIS and from the RIS to the user are preprocessed using the method described in step 1, that is, using the i-th column r of R i With G T The i-th column g i Perform calculations Get the channel information related only to the i-th reflection unit, with the superscript (·) T Represents the matrix transpose, and then the two-dimensional matrix T i , i=1,…,M is stacked in the third dimension (N r ,N t ,M), and finally decompose the complex three-dimensional matrix T into two real matrices of amplitude and phase [A(T), P(T)] to get the input required for this prediction. After that, the trained model is input, and the output of the first-level convolutional neural network [φ1,…,φ i ,…,φ M ] Construct the RIS reflection coefficient matrix The second-level convolutional neural network outputs the simulated precoding matrix F RF and the digital precoding matrix F BB , and then use the already obtained RIS reflection coefficient matrix, analog precoding matrix and digital precoding matrix to calculate the digital merging matrix W according to the MMSE criterion BB ; The segmented training method firstly fixes the parameters of the first-level neural network and only trains and updates the parameters of the second-level neural network until it converges; then fixes the parameters of the second-level neural network that has already converged and only trains and updates the parameters of the first-level neural network until it converges; finally, the two-level neural network is jointly trained until the parameters of the entire system converge; during the entire training process, the following loss function is used Where B represents the size of a batch of training samples, R i It represents the spectral efficiency of the i-th sample in the batch of training samples and is calculated by the following formula: The superscript Denotes the generalized inverse of a matrix. The superscript (·) H represents the conjugate transpose of a matrix, represents the identity matrix, H i =R i Φ i G i is the equivalent cascade channel corresponding to the i-th sample in the batch of training samples, R i and G i is the channel matrix from the base station to the RIS and from the RIS to the user corresponding to the i-th sample in the batch of training samples, Φ i is the RIS reflection coefficient matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, σ 2 is the noise power, is the simulated precoding matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, is the digital precoding matrix output by the aforementioned neural network corresponding to the i-th sample in the batch of training samples, is the digital merging matrix corresponding to the i-th sample in the batch of training samples obtained by the MMSE method. The specific calculation method is as follows And in step 4, the digital merging matrix W is calculated according to the MMSE criterion during online prediction BB The method is also the method described by the above expression.
2. The RIS-assisted communication system precoding and phase shifting method based on unsupervised learning according to claim 1 is characterized in that: The two-stage convolutional neural network, the first stage convolutional neural network includes a convolutional block, a compressed excitation-residual SE-Res block and a fully connected block, wherein the convolutional block consists of a convolutional layer, a BN layer and a LeakyReLu activation layer, and the fully connected block consists of a fully connected layer, a BN layer and a Dropout layer. The output of the fully connected block passes through a Sigmoid activation function and then a quantization layer f(φ) to obtain a discrete RIS phase shift; The second-level convolutional neural network also contains a convolution block, a SE-Res block and a fully connected block. The output of the fully connected block is used as the input of the digital precoding part and the analog precoding part respectively. For the analog precoding part, Gumbel SoftMax is used as the activation function to output the analog precoding codeword selection matrix C. Finally, the analog precoding codeword selection matrix C is multiplied by the preset DFT codebook F to obtain the final analog precoding matrix F. RF For the digital precoding part, a linear activation function and a normalization layer are used to output the digital precoding matrix F that meets the power constraint. BB , the specific expression of the normalization layer is as follows where F RF is the analog precoding matrix, is the digital precoding matrix after the linear activation function but not normalized, and P is the maximum transmit power of the base station; The quantization layer f(φ) uses different functions during offline training and online prediction, as follows Where b is the corresponding quantization bit and k is the quantization hyperparameter.
3. The RIS-assisted communication system precoding and phase shifting method based on unsupervised learning according to claim 1, characterized in that: The parameters of the two-stage convolutional neural network model include weight parameters, bias parameters, the number of neurons in each layer, the learning rate, and the size of each sample batch.
