Next Article in Journal
Gait Stride Length Estimation Using Embedded Machine Learning
Next Article in Special Issue
Joint Beamforming and Phase Shifts Design for RIS-Aided Multi-User Full-Duplex Systems in Smart Cities
Previous Article in Journal
Investigation of the Relationship between Body Parameters and mAs Using Non-Contact Two-Dimensional Thickness Measurement in Chest Digital Radiography
Previous Article in Special Issue
Learning-Based IRS-Assisted Secure Transmission for Mine IoTs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Passive Beamforming Design of IRS-Assisted MIMO Systems Based on Deep Learning

Tianjin Key Laboratory of Optoelectronic Sensor and Sensing Network Technology, Nankai University, Tianjin 300350, China
*
Authors to whom correspondence should be addressed.
Sensors 2023, 23(16), 7164; https://doi.org/10.3390/s23167164
Submission received: 23 July 2023 / Revised: 8 August 2023 / Accepted: 11 August 2023 / Published: 14 August 2023

Abstract

:
In the intelligent reflecting surface (IRS)-assisted MIMO systems, optimizing the passive beamforming of the IRS to maximize spectral efficiency is crucial. However, due to the unit-modulus constraint of the IRS, the design of an optimal passive beamforming solution becomes a challenging task. The feature input of existing schemes often neglects to exploit channel state information (CSI), and all input data are treated equally in the network, which cannot effectively pay attention to the key information and features in the input. Also, these schemes usually have high complexity and computational cost. To address these issues, an effective three-channel data input structure is utilized, and an attention mechanism-assisted unsupervised learning scheme is proposed on this basis, which can better exploit CSI. It can also better exploit CSI by increasing the weight of key information in the input data to enhance the expression and generalization ability of the network. The simulation results show that compared with the existing schemes, the proposed scheme can effectively improve the spectrum efficiency, reduce the computational complexity, and converge quickly.

1. Introduction

With the basic standardization and commercialization of the fifth-generation (5G) wireless communication technology, both academia and industry are now focusing on the sixth generation of wireless technology. According to the Cisco Annual Internet Report (2018–2023) [1], it is projected that, by 2023, the total number of mobile users will increase from 5.1 billion in 2018 to 5.7 billion in 2023. However, the proliferation of interconnected devices and limited bandwidth resources has brought numerous challenges to high-speed communication.
In order to manage the growing number of users and bandwidth demands, future sixth-generation wireless communication networks are increasingly demanding in terms of data transmission rates, spectrum efficiency, energy efficiency, and ubiquitous connectivity. Some novel technologies have been proposed, such as multi-connectivity [2], next-generation optical access networks [3], terahertz communication, intelligent reflecting surface (IRS), etc. [4]. Among them, the IRS technology is considered one of the promising and efficient solutions [5]. Specifically, the IRS is a planar metamaterial surface equipped with a large number of passive reflecting elements connected to an intelligent controller, which can generate independent phase shifts or amplitude attenuations for incoming signals at each reflecting element in real time [5]. By properly designing its reflection coefficients, the reflected signals from the IRS can add up or cancel out signals from other paths, which can increase the received signal strength or mitigate co-channel interference, thereby enhancing the quality of the communication link between transmitter and receiver. The theoretical analysis showed that an IRS with N reflecting elements can achieve a total beamforming gain of N 2 [6]. In addition, despite the fact that smart antennas are capable of seamlessly integrating beamforming signals with sidelobe signals and adaptively forming optimal array directional beams to enhance system performance, as the radio frequency increases, electromagnetic waves are more susceptible to obstruction by objects, such as buildings in urban areas. Deploying additional relays and base stations to provide better network coverage consumes more resources. From an energy consumption perspective, what makes IRS attractive is the possibility of amplifying and forwarding the incoming signal without employing any power amplifier but rather by suitably designing the phase shifts. Therefore, compared to using smart antennas or conventional Amplify-and-Forward (AF) relays, an IRS consumes less power. Furthermore, the structure of an IRS can be easily integrated into the communication environment. As a result, it is expected that an IRS will outperform other related technologies, such as relays, backscatter, and active ground-based systems based on massive multiple-input–multiple-output (MIMO) [7]. Currently, the IRS has been widely applied in communication, such as improving network coverage [8], enhancing wireless spectrum efficiency [9], reducing data transmission power consumption [10], enhancing air computing performance [11], and achieving secure wireless communication [12].
The IRS can provide an indirect reflection path between base stations and users to enhance link quality and avoid communication blockage, thus requiring careful design of the passive beamforming of the IRS. In other words, the IRS-assisted communication system benefits from the passive beamforming gain to maximize the received signal at the receiver [6]. In IRS-assisted communication, the design of the optimal IRS phase configuration is crucial for enhancing system performance. Due to the unit-modulus constraint of the IRS phase shift and the large number of elements to be optimized, the entire optimization problem is inherently non-convex, making it difficult to achieve the optimal solution for the IRS phase configuration. Currently, many works were involved in how to optimize the IRS reflection coefficients. For example, an optimization algorithm based on fractional programming, gradient descent, and alternating maximization was proposed to jointly optimize the IRS phase-shift matrix and the corresponding transmit power allocation [10]. The alternating optimization (AO) and semi-definite relaxation (SDR) methods were used to optimize the transmission beam and the IRS phase-shift matrix for maximizing the achievable rate for their proposed IRS architecture with non-diagonal phase shifts [13]. Similarly, the SDR technique was used to optimize the IRS configuration to solve the weighted sum-rate maximization problem [14]. In [15], a single-input–single-output (SISO) scenario was considered, and the successive convex approximation (SCA) and AO algorithms were used to improve the system’s spectral efficiency (SE). The achievable rate was maximized by combining alternating maximization with optimization minimization in a multi-user scenario [16]. Subsequently, a closed-form analytical solution was derived in [17] by imposing a rank-one constraint on the channel between the base station and the IRS. An AO method was proposed in [18] to solve the SE maximization problem in an IRS-assisted MIMO system. The fixed-point iteration and manifold methods were performed to optimize the active beamforming matrix at the base station and the phase of the IRS with the aim of maximizing the received signal in a multiple-input–single-output (MISO) system [19]. The iterative algorithm for maximizing the total received signal power through joint design of the transmit precoder and passive IRS phase shift was discussed [20]. The Lagrangian manifold and Riemannian manifold techniques were used to solve for the base station precoding transmit matrix and the IRS phase shift in a multi-IRS-assisted system [21]. The related work is summarized in Table 1. However, due to the iterative nature of these algorithms, their computational complexity was still high, which can lead to significant delays in real-time communication scenarios.
In recent years, deep learning has shown significant potential in handling non-convex optimization problems. In the context of IRS-assisted communication systems, deep learning methods have been employed to address non-convex optimization problems, including supervised learning [22], unsupervised learning [23,24], and deep reinforcement learning [25,26]. In the field of IRS-assisted wireless communication, deep learning demonstrated great advantages and potential in dealing with non-convex and high-dimensional optimization problems. For example, a novel two-stage neural network was proposed to solve the active and passive beamforming joint design problem in a multi-user MISO downlink system [24]. A multi-layer perceptron-based passive beamforming design was proposed [27], but it was only applied to single-antenna users. A novel active IRS architecture was proposed, and a deep neural network (DNN) model based on supervised learning was presented, which was trained offline by taking channel information from the active IRS as input to predict the IRS reflection beamforming [28]. Furthermore, a DNN model was trained by using received pilots as input instead of channel state information (CSI) to predict the optimal phase shifts of the IRS and beamforming vectors of the base station [29]. A DNN was designed for online configuration by mapping between user location data and optimal IRS phase shifts to maximize the received signal strength [30]. A deep reinforcement learning training model based on quantile regression was proposed to predict the reflection beamforming to optimize throughput in imperfect CSI scenarios [31]. The method in [32] focused on wireless secure communication systems assisted by an IRS, improving the system secrecy rate by jointly optimizing the beamforming of the base station and IRS under different users’ quality of service requirements and time-varying channels. A solution based on actor–critic deep reinforcement learning was proposed to optimize the base station beamforming transmit matrix and IRS phase-shift configuration in a MISO scenario [33]. Federated learning was used to increase the user data rate and protect the privacy data in IRS-assisted communication, which was applicable to a single antenna [34].
Through the analysis of existing optimization algorithms, it can be found that the practical applicability is usually limited due to their high computational complexity. In addition, in existing works using deep learning to solve non-convex optimization problems in an IRS, there is a general lack of exploration of input data and limited research on the structure of neural networks. The neural networks usually treat all input data equally, which leads to a lack of attention to key information in the data. Moreover, in supervised learning, the process of obtaining labels usually requires a significant cost, which is another challenge. Therefore, in this paper, we consider a more general downlink transmission system for IRS-assisted MIMO communication. We aim to optimize the IRS phase shifts to maximize SE. Specifically, the main contributions of this paper are given as follows:
  • We propose an effective real-valued data input structure in which the indirect cascaded channel assisted by an IRS and the direct channel between the base station and the user are used as inputs. Unlike the existing input data structure [35], we improve it by extracting the real part, imaginary part, and absolute-value part as the real-valued input of the neural network. We use a three-dimensional (3D) data input structure and add an additional absolute-value part according to the problem’s characteristics.
  • We propose an unsupervised learning scheme using a convolutional neural network (CNN) with an attention mechanism. The CNN has stronger feature extraction capability for data, while the attention mechanisms can help neural networks adaptively focus on key information and features in input data, increase the weight of important features, and better learn input data, thereby improving model computational efficiency. In addition, an additional penalty term is added to the loss function to ensure that the output satisfies the constraints, and unsupervised learning is used to save the cost of labels.
  • The simulation results show that the proposed algorithm has good convergence and robustness. Compared with traditional optimization algorithms, the proposed algorithm greatly reduces the computational complexity while providing similar SE, demonstrating its potential and advantages in solving such problems.
The rest of this paper is organized as follows: The system model and the optimization problem formulation are described in Section 2. The specific model of the unsupervised learning scheme with an attention mechanism is presented in Section 3, including the input data, network structure, and loss function. Then, the simulation results are provided in Section 4. Finally, the conclusion is made in Section 5.
Notation: In this paper, we use bold-faced letters to represent vectors or matrices. For any matrix X , X H and X 1 denote the conjugate transpose and inverse of the matrix, respectively. Log2(.) represents the logarithmic function, diag(x) represents the diagonal matrix composed of the vector x, the ( k × k ) identity matrix is denoted as I k , and the imaginary unit of complex numbers is denoted as j = 1 . The Landau symbol O ( . ) denotes the complexity order.

2. System Model

Consider a MIMO downlink transmission system composed of a base station with M antennas and a user with K antennas, as shown in Figure 1. In order to further improve the system performance, an IRS with N reflecting elements is used to assist the communication between the base station and the user. Furthermore, due to high path loss, signals reflected twice or more by the IRS are negligible. In particular, it is assumed that the CSI is known, and in practice, the CSI can be estimated via the methods in [36], but the consideration of imperfect CSI is left for our future work. Let h d C K × M denote the direct channel from the base station to the UE, while G C N × M and h r C K × N are the indirect channels from the BS to the IRS, and from the IRS to the UE, respectively. The IRS adjusts the phase angles of its reflecting elements to maximize the user’s combined incident signal.
In addition, we define the IRS phase-shift vector as θ = θ 1 , , θ N , and then its diagonal reflection phase-shift matrix is expressed as Θ = diag β 1 e j θ 1 , , β N e j θ N C N × N , where 0 θ n 2 π , n = 1 , , N , θ n is the reflection phase shift of the IRS, and β n [ 0 , 1 ] is its amplitude. The design reflecting elements of the IRS is to maximize the reflection signal, so β is usually set to 1 to obtain the maximum reflection gain, that is, the modulus of each reflection element is 1. Furthermore, we define the transmit signal vector as x C M × 1 and satisfy the transmit power constraint E { x x H } = P B S I M , where P B S is the transmit power of the base station. The user receives the signal through an indirect channel assisted by the IRS and direct channel. Therefore, the received signal at the user can be expressed as
y = h r Θ G x + h d x + n = Hx + n
where H = Δ h r Θ G + h d is defined as the combining equivalent cascaded channels, n C N ( 0 , σ 2 I K ) represents the additive Gaussian white noise (AWGN) at the user, and σ 2 is the noise power. Based on Equation (1), the SE of the IRS-assisted MIMO system can be expressed as [18]
SE θ n = log 2 det I K + ρ H H H
where θ n = { θ 1 , θ 2 , θ N } is the IRS reflection phase-shift set that needs to be optimized, and ρ = P B S / σ 2 . Then, the passive beamforming design that maximizes the SE can be expressed as
( P 1 ) max Θ log 2 det I K + ρ H H H
s . t . 0 θ n 2 π , n = 1 , 2 , , N
where Equation (4) is the unit-modulus constraint of the IRS phase shift, the objective function SE θ n is non-convex relative to θ n , and the feasible set of (P1) is non-convex, so (P1) is hard to find the optimal solution. The traditional iterative methods for solving such non-convex optimization problems include the AO algorithm [18], but it typically has high computational complexity. To reduce the computational complexity, a deep learning method assisted with an attention mechanism based on a CNN to solve non-convex optimization problems with the objective of maximizing SE is proposed. Specifically, we make use of a CNN to learn the mapping relationship between inputs and outputs and use attention mechanisms to enhance the expressiveness and generalization ability of the network.

3. Algorithm Design

We exploit an efficient input structure to improve model efficiency and propose a deep learning method based on unsupervised learning to solve the problem (P1), which is designed as a 3D CNN structure and integrated into the attention mechanism from the visual domain. The input of the model is the preprocessed CSI, the output is the optimal IRS configuration, and the output satisfies the constraints by designing a loss function.

3.1. Feature Design

Assume that h ¯ is a vector containing CSI parameters, which includes the IRS reflection channel G and h r , as well as the direct channel h d , i.e., h ¯ = G , h r , h d , so the phase shift learned by the CNN can be modeled as
θ ^ n = f CNN ( h ¯ )
where f CNN ( · ) represents nonlinear mapping from h ¯ to θ ^ n learned by the CNN. θ ^ n represents the set of IRS phase shifts that need to be optimized. Considering that the efficiency and structure of the neural network depend largely on the input, designing h ¯ reasonably is the first and most important task of neural network modeling.
To design a more efficient input structure for f CNN ( · ) , we first extract each individual phase shift θ n from SE θ n . Because the relationship about the phase θ ^ n to be optimized in the objective function Equation (3) is implicit, we rewrite Equation (3) as an explicit function of θ n . We re-express the indirect channel G and h r as h r = [ r 1 , , r N ] , G = [ g 1 , , g N ] H , where r n k × 1 represents the n-th column of h r , and g n H 1 × M represents the n-th row of G . In addition, because Θ is a diagonal matrix, the combining equivalent cascaded channels can therefore be rewritten as
H = n = 1 N e j θ n r n g n H + H d = n = 0 N e j θ n H n
where H n = Δ r n t n H , H 0 = H d . Furthermore, the optimization problem about the IRS phase can be rewritten as an explicit function about the IRS phase shift. For each θ n , there is the following expression:
SE θ n = log 2 det A n + e j θ n B n + e j θ n B n H
where A n and B n satisfy the following relationships:
A n = Δ I K + ρ i = 1 , i n N e j θ i H i i = 1 , i n N e j θ i H i H + ρ H n H n H
B n = Δ ρ H n i = 1 , i n N e j θ i H i H
It can be observed that A n and B n are independent of θ n , and A n is full rank, so A n is an invertible matrix, and the objective function can be rewritten as:
SE θ n = log 2 det I K + e j θ n A n 1 B n + e j θ n A n 1 B n H + log 2 det A n
This shows that if all variables θ i i = 1 , i n N are fixed, then A n and B n are both fixed, and then the objective function can be equivalent to maximizing Equation (9):
log 2 det I K + e j θ n A n 1 B n + e j θ n A n 1 B n H
In particular, θ n can be determined by Equation (10) [18]:
θ n = e j arg λ n
where λ n represents the non-zero unique eigenvalue of A n 1 B n . This shows that the optimal θ n required by the optimization problem can be obtained by A n 1 B n , and also, it can be calculated by H n . Therefore, by using H n as the input of the neural network, the performance and efficiency of the model can be greatly improved, because the input can well reflect the role of each phase shift in the IRS reflection channel, allowing the neural network to more fully utilize the information provided by the data. Furthermore, obtaining H n only requires low-complexity matrix–vector multiplication. However, this input structure has a significant impact on the learning ability and structure of a CNN.

3.2. Data Preprocessing

For a two-dimensional (2D) CNN, its input data must be the value of the 2D real-number field; using complex numbers as inputs to neural networks may make it difficult to extract features [37], so H n needs to be preprocessed to obtain the 2D real-number matrix form required by the neural network. The existing splitting method commonly used for complex values is to split them into real and imaginary parts as two real-valued channels of the input data of the neural network. In contrast to directly serializing the CSI into a one-dimensional vector as the network input in [35], we adopt the approach in [38] of using three-channel data and processing it to construct three-channel two-dimensional input data. Compared with two-channel data, three-channel data contain more information than two-channel data, enabling the model to better learn the features of the input data. It also helps the model learn more generalized feature representations, facilitating the model’s application in diverse scenarios and thereby improving its performance and generalization capabilities [38]. Specifically, the data are first constructed as a 2D complex matrix, and then the real part and the imaginary part are split, and the absolute-value part is additionally added to form three-channel data as the input of the neural network.
It can be seen from the derivation that H n comprises ( N + 1 ) two-dimensional matrices of size M × K , so we first flatten it into a one-dimensional vector of length M × K × ( N + 1 ) , and then convert it into a 2D complex square matrix of order M × K × ( N + 1 ) . If M × K × ( N + 1 ) is not an integer, it is converted into a two-dimensional matrix of M × K × ( N + 1 ) dimensions. After that, we take the real part, imaginary part, and absolute value of the 2D complex matrix, respectively, and transform it into three-channel real-valued data, as shown in Figure 2.
After performing the above data preprocessing process on H n , we finally obtain the input data X i n , and its size is M × K × ( N + 1 ) × M × K × ( N + 1 ) × 3 , where 3 represents the number of input channels of data.

3.3. Network Structure

In the single-antenna scenario, a DNN can be used to solve the optimal value [17]. However, when the number of antennas at the receiving end is greater than 1, it is more suitable to use a 2D CNN based on the feature dimension. Therefore, we propose a multi-layer CNN-based attention mechanism-assisted model to solve the phase-shift optimization problem of the IRS, which has excellent feature learning ability and robustness.
As shown in Figure 3, the proposed network structure is denoted as attention-aided convolution net (ACNet). As shown in the diagram, the three-channel input data are obtained after data preprocessing. Before feeding it into the network, the input data are first normalized and then undergo feature extraction through two convolution–attention blocks. We design each convolutional layer with 64 filters of size 2 × 2. Specifically, the convolution operation slides the filters over the input feature matrix with a certain stride, resulting in an output feature matrix that serves as the input for the next layer. As indicated by the dashed boxes in Figure 3, a batch normalization (BN) layer is inserted after each convolutional layer to prevent overfitting and improve the model’s generalization ability [39]. Next, the leaky rectified linear unit (Leaky ReLU) activation function is applied to obtain nonlinear outputs, followed by a connection to the attention block, referred to as SENet [40], whose structure is depicted in Figure 4. After passing through two convolution–attention blocks, a flatten layer is connected to input the data into fully connected (FC) layers. Then, two FC layers are employed, with the sizes set as 4 N and N, respectively. A rectified linear unit (ReLU) activation function is applied after the first FC layer, and a linear activation function is applied after the second FC layer. According to the approach in [41], each output of the network is processed according to Euler’s formula e j θ = cos θ + j sin θ to better calculate the loss. The model’s weights are updated by computing the loss.
In order to effectively utilize the distribution characteristics between data channels, an attention mechanism is applied in the network structure design. In a traditional CNN, all features are given with the same importance for all data samples. However, for some data samples in practical applications, some features are more informative or important than others. Therefore, network performance can be improved by giving more weight to more informative features, i.e., feature importance reweighting. The attention mechanism can help the network focus on important features and ignore irrelevant or disturbing features.
We adopt the attention mechanism of SENet, and its structure is shown in Figure 4. In the SENet structure, it consists of an average pooling layer and two fully connected layers, and the sizes of the two fully connected layers are C / r and C, where C is the number of channels and r is the hyperparameter dimensionality reduction coefficient. In the SENet module, the features of each channel are averagely pooled through the average pooling layer first, and then the results are sent to two fully connected layers for feature importance weighting. The activation function after the fully connected layer uses ReLU and Sigmoid, where ReLU is used to extract the nonlinear part of the feature and Sigmoid is used to calculate the feature weight. Through the attention module, the expressive ability and generalization ability of the network can be improved by learning the feature importance of each channel, so as to obtain better performance and effect.

3.4. Loss Function

Unlike existing supervised learning methods that require labels, the proposed model uses unsupervised learning methods that do not require labels, which can help reduce costs. Because our optimization goal is to maximize the SE, the SE can be calculated by Equation (2) after obtaining N phase-shift values of the reflecting elements at the output layer. Therefore, the loss function can be defined as a negative value of the SE. Considering that the output of the network needs to be limited to [ 0 , 2 π ] , a penalty term is added to the loss function to limit the output to avoid overfitting, thereby enhancing the model’s generalization ability. When the output falls within the range of 0 to 2 π , the penalty term is set to 0, indicating that no adjustment is applied to the output. However, when the output exceeds 2 π , the penalty term functions by subtracting the excess portion from the output, ensuring that the output satisfies the constraint. The same adjustment applies when the output is below 0. Hence, we define the loss function as
L o s s = 1 B i = 1 B [ SE θ ^ + λ R ( θ ^ ) ]
where B is the batch size, λ is the hyperparameter tuning factor and its optimal value can be obtained through experiments, θ ^ is the output value from the neural network, and R ( θ ^ ) is the penalty function (tf.clip_by_value is a function in TensorFlow that limits the values in a tensor to a certain range), as follows:
R ( θ ^ ) = j = 1 N n o r m [ c l i p _ b y _ v a l u e ( θ ^ , 0 , 2 π ) θ ^ ] 2

4. Simulation Results

4.1. Simulation Settings

The simulation results are provided in this section to evaluate the performance of the proposed model. The considered system is assumed to consist of a multi-antenna base station, an IRS, and a multi-antenna user. This article considers a two-dimensional coordinate system where the distance between the base station and the IRS is fixed at 80 m, and the user is placed near the IRS within a region of a 2 m radius with the IRS as the center. Furthermore, it is assumed that all channels experience both large-scale and small-scale fading. The path loss model is adopted for large-scale fading, as follows:
β ( d ) = β 0 ( d / d 0 ) α
where β 0 is the path loss at the reference distance d 0 and d 0 is equal to 1 m, d is the actual link distance, and the fading coefficient α ranges from 2 to 4. The fading coefficients between the base station and the user, between the base station and the IRS, and between the IRS and the user are set to 3.5, 2.2, and 2.8, respectively [18]. Taking into account small-scale fading, we assume that all relevant channels adopt the Rician fading channel model. Therefore, the channel G between the base station and the IRS is given by the following equation:
G = κ t κ t + 1 G L O S + 1 κ t + 1 G N L O S
where κ t represents the Rician factor. Let κ t , κ r , and κ d denote the Rician factors of the channels G , h r , and h d , respectively. G L O S and G N L O S represent the line-of-sight and non-line-of-sight components, respectively, where the non-line-of-sight component is modeled using Rayleigh fading. The channels between the base station and the user, and between the IRS and the user, are also generated through a similar process. As extensively set in [6,18], the user is randomly placed near the IRS. Therefore, both κ t and κ r are randomly generated. Moreover, due to the large distance and presence of random scattering between the base station and the user, κ d is set to 0. In this article, the number of IRSs is set to 40, the bandwidth is set to 10 MHz, and the noise power is set to −80 dBm [18]. The above settings can be used to generate training and testing data.
Our simulation platform is developed by using Python 3 and utilizes the deep learning framework TensorFlow for the construction and training of the ACNet model. In order to fully train and correctly evaluate the model, 8 × 10 4 and 2 × 10 4 data samples are generated as the training set and validation set, respectively. The number of filters in the CNN layer, the size of the convolution kernel, and the number of neurons in the FC layer are shown in Figure 3 and Figure 4. We use the adaptive moment optimizer (ADAM) [42] as the optimizer to update the weights, and the initial learning rate is set to 0.001 and the batch size is set to 2000. To speed up at the beginning of training and reduce oscillations at the end of training, the learning rate decays to 91 % of its original value when there is no decrease for 10 consecutive epochs on the validation set. Also, an early stopping mechanism of 50 epochs is set to prevent overfitting to obtain the model with the best validation performance.

4.2. Performance Analysis

To verify the performance and generalization of the proposed method, we consider two MIMO systems, 16 × 4 and 8 × 4 , and compare them with the following benchmark schemes:
  • AO: The optimal transmit covariance matrix is obtained for the direct channel, and then (P1) is solved by the conventional AO method proposed in [18] with a convergence threshold set to ϵ = 10 4 .
  • ACNet without attention: The proposed algorithm without the attention module SENet.
  • LPSNet: A fully connected neural network-based algorithm, i.e., the solution proposed in [35]. The number of hidden layers is set to 2, and the input data are a one-dimensional vector of length 2 M K ( N + 1 ) .
  • Genetic algorithm: Iteratively mutates to find the optimal value, and the number of iterations is set to 50.
  • Random phase: The value of θ n is randomly selected from the interval [0, 2 π ].
  • Without IRS: There is only the direct channel between the base station and the user.
The training error of the proposed ACNet model varies with the number of training times as shown in Figure 5. It can be seen that the training error decreases with the increase in the number of training times. When the number of training times reaches about 150, the training error area is stable and converges.
As shown in Figure 6, it illustrates the relationship between the SE and the number of IRS-reflecting elements N in the 16 × 4 and 8 × 4 MIMO systems when P B S = 40 dBm. From both systems, we can observe that all schemes with an IRS outperform the scheme without an IRS, and the SE of the system increases with the increase in the number of reflecting elements. The reason is that more reflecting elements can enhance the effective gain brought by the reflection path, provide additional spatial degrees of freedom for the system, make passive beamforming more flexible, improve the channel quality of the BS-IRS-UE link, and thus improve the overall SE of the system. It can be found that the proposed algorithm can significantly improve the SE of the system under various numbers of IRS-reflecting elements. In addition, it can be seen from Figure 6a that the proposed algorithm can almost achieve the performance of the baseline algorithm in [18] when N = 20, and it can achieve 98.1% of its performance in other cases. Furthermore, the proposed algorithm outperforms the fully connected neural network in [35], and even without the attention module, it still outperforms the algorithm in [35]. This is because the proposed algorithm uses three-channel input data, which have better performance, and the convolutional layer can better extract features from the input data. In addition, the performance of the genetic algorithm is inferior to that of neural network methods and the AO algorithm. This phenomenon arises due to the inherent complexity of finding the optimal value for the non-convex optimization objective presented in this paper. Genetic algorithms, which heavily rely on significant time and computational resources to search for the optimal solution, often struggle to obtain the optimal solution. Furthermore, a genetic algorithm is a mutation-based algorithm and may get trapped in local optima during the search process, failing to find the global optimum.
As shown in Figure 7, it depicts the relationship between the SE and the BS transmission power P B S in the 16 × 4 and 8 × 4 MIMO systems when N = 40. Similar to the results in Figure 6, all schemes with an IRS outperform the scheme without an IRS, and the SE of the system increases with the increase in the BS transmission power. Compared with LPSNet, the genetic algorithm, and the scheme with a random phase shift in [35], the proposed algorithm shows better performance in system performance and can achieve almost the same algorithmic performance as [18]. This is because the proposed scheme is optimized from the input structure to the network model. Firstly, a more effective three-channel input structure is designed for the model rather than simply vectorizing the CSI. It is beneficial for the model to better exploit the features of the data. Secondly, the attention mechanism is added to the neural network, which can make the network pay more attention to important features and information and learn the input data more effectively, thereby improving the performance of the model.
It can be observed from Figure 8 that when the training set size increases, the network performance continues to improve and can fully learn the optimal IRS phase-shift configuration. At the same time, when the size of the training set reaches 60% or more, the difference in SE is small, which indicates that the proposed algorithm can effectively estimate the optimal IRS phase shift with a small training set size, thereby maximizing SE and reducing training costs. This result shows that the proposed algorithm is robust and scalable, making it more valuable in practical applications. Because the size of the training set has a small effect on the performance of the algorithm, the training cost can be reduced by reducing the size of the training set.

4.3. Computational Complexity

According to [18], the complexity of the traditional AO algorithm is O ( K M ( N + min ( K , M ) ) L + ( ( 3 K 3 + 2 K 2 M + M 2 ) N + K M min ( K , M ) ) I ) , where L is the number of initialization phase shifts and I is the number of iterations. Furthermore, according to [35], the computational complexity of LPSNet is O ( max ( K M N 2 , L N 2 ) ) , where L represents the number of hidden layers in LPSNet. After the training of the neural network is completed, the parameters are fixed, which transforms the optimization problem (P1) into a matrix calculation. Therefore, the complexity of the algorithm proposed in this paper is O ( M N K + N 2 + C 2 / r ) , which is similar to LPSNet and significantly lower than that of the traditional optimization method.

5. Conclusions

In this paper, we proposed an attention-assisted unsupervised learning method to optimize the phase shift of the IRS for improving the SE of IRS-assisted MIMO systems. Specifically, an effective input structure was constructed for the optimization problem, which was used as multi-channel input data for the network. An attention module was inserted into the network to improve the model’s accuracy, and a penalty term was added to the loss function according to constraints to ensure that the output meets the requirements. The simulation results show that the proposed algorithm had great convergence and robustness and can achieve similar performance with lower complexity compared to existing solutions in different conditions. Furthermore, due to the strong learning ability and adaptability of the proposed algorithm, it can be effectively adjusted and optimized in different application scenarios, providing a more comprehensive and flexible solution for IRS system design and optimization. In future work, we can extend the scenario to multi-user settings. In addition, the imperfect CSI, hardware impairment, and advanced IRS technologies such as STAR-IRS can also be considered.

Author Contributions

Conceptualization, H.Z.; Methodology, H.Z.; Formal analysis, J.W.; Investigation, M.L.; Writing – original draft, Q.J.; Writing – review and editing, Y.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Nature Science Foundation of China under Grant 61871239, and 61671254.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cisco Annual Internet Report (2018–2023) White Paper. Available online: https://www.cisco.com/c/en/us/solutions/collateral/executive-perspectives/annual-internet-report/white-paper-c11-741490.html?dtid=osscdc000283 (accessed on 3 August 2023).
  2. Sylla, T.; Mendiboure, L.; Maaloul, S.; Aniss, H.; Chalouf, M.A.; Delbruel, S. Multi-connectivity for 5G networks and beyond: A survey. Sensors 2022, 22, 7591. [Google Scholar] [CrossRef]
  3. Mirza, J.; Imtiaz, W.A.; Aljohani, A.J.; Atieh, A.; Ghafoor, S. Design and analysis of a 32 × 5 Gbps passive optical network employing FSO based protection at the distribution level. Alex. Eng. J. 2020, 59, 4621–4631. [Google Scholar] [CrossRef]
  4. Saad, W.; Bennis, M.; Chen, M. A vision of 6G wireless systems: Applications, trends, technologies, and open research problems. IEEE Netw. 2019, 34, 134–142. [Google Scholar] [CrossRef] [Green Version]
  5. Wu, Q.; Zhang, R. Towards smart and reconfigurable environment: Intelligent reflecting surface aided wireless network. IEEE Commun. Mag. 2019, 58, 106–112. [Google Scholar] [CrossRef] [Green Version]
  6. Wu, Q.; Zhang, R. Intelligent reflecting surface enhanced wireless network via joint active and passive beamforming. IEEE Trans. Wirel. Commun. 2019, 18, 5394–5409. [Google Scholar] [CrossRef] [Green Version]
  7. Hu, S.; Rusek, F.; Edfors, O. Beyond massive MIMO: The potential of data transmission with large intelligent surfaces. IEEE Trans. Signal Process. 2018, 66, 2746–2758. [Google Scholar] [CrossRef] [Green Version]
  8. Subrt, L.; Pechac, P. Intelligent walls as autonomous parts of smart indoor environments. IET Commun. 2012, 6, 1004–1010. [Google Scholar] [CrossRef]
  9. Yang, X.; Wen, C.-K.; Jin, S. MIMO detection for reconfigurable intelligent surface-assisted millimeter wave systems. IEEE J. Sel. Areas Commun. 2020, 38, 1777–1792. [Google Scholar] [CrossRef]
  10. Huang, C.; Zappone, A.; Alexandropoulos, G.C.; Debbah, M.; Yuen, C. Reconfigurable intelligent surfaces for energy efficiency in wireless communication. IEEE Trans. Wirel. Commun. 2019, 18, 4157–4170. [Google Scholar] [CrossRef] [Green Version]
  11. Jiang, T.; Shi, Y. Over-the-air computation via intelligent reflecting surfaces. In Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA, 9–13 December 2019; IEEE: New York, NY, USA, 2019. [Google Scholar]
  12. Yu, X.; Xu, D.; Sun, Y.; Ng, D.W.K.; Schober, R. Robust and secure wireless communications via intelligent reflecting surfaces. IEEE J. Sel. Areas Commun. 2020, 38, 2637–2652. [Google Scholar] [CrossRef]
  13. Li, Q.; El-Hajjar, M.; Hemadeh, I.; Shojaeifard, A.; Mourad, A.A.; Clerckx, B.; Hanzo, L. Reconfigurable intelligent surfaces relying on non-diagonal phase shift matrices. IEEE Trans. Veh. Technol. 2022, 71, 6367–6383. [Google Scholar] [CrossRef]
  14. Guo, H.; Liang, Y.C.; Chen, J.; Larsson, E.G. Weighted sum-rate maximization for reconfigurable intelligent surface aided wireless networks. IEEE Trans. Wirel. Commun. 2020, 19, 3064–3076. [Google Scholar] [CrossRef] [Green Version]
  15. Yang, Y.; Zheng, B.; Zhang, S.; Zhang, R. Intelligent reflecting surface meets OFDM: Protocol design and rate maximization. IEEE Trans. Commun. 2020, 68, 4522–4535. [Google Scholar] [CrossRef] [Green Version]
  16. Huang, C.; Zappone, A.; Debbah, M.; Yuen, C. Achievable rate maximization by passive intelligent mirrors. In Proceedings of the 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Calgary, AB, Canada, 15–20 April 2018; IEEE: New York, NY, USA, 2018. [Google Scholar]
  17. Wang, P.; Fang, J.; Yuan, X.; Chen, Z.; Li, H. Intelligent reflecting surface-assisted millimeter wave communications: Joint active and passive precoding design. IEEE Trans. Veh. Technol. 2020, 69, 14960–14973. [Google Scholar] [CrossRef]
  18. Zhang, S.; Zhang, R. Capacity characterization for intelligent reflecting surface aided MIMO communication. IEEE J. Sel. Areas Commun. 2020, 38, 1823–1838. [Google Scholar] [CrossRef]
  19. Yu, X.; Xu, D.; Schober, R. MISO wireless communication systems via intelligent reflecting surfaces. In Proceedings of the 2019 IEEE/CIC International Conference on Communications in China (ICCC), Changchun, China, 11–13 August 2019; IEEE: New York, NY, USA, 2019. [Google Scholar]
  20. Wu, Q.; Zhang, R. Intelligent reflecting surface enhanced wireless network: Joint active and passive beamforming design. In Proceedings of the 2018 IEEE Global Communications Conference (GLOBECOM), Abu Dhabi, United Arab Emirates, 9–13 December 2018; IEEE: New York, NY, USA, 2018. [Google Scholar]
  21. Li, Z.; Hua, M.; Wang, Q.; Song, Q. Weighted sum-rate maximization for multi-IRS aided cooperative transmission. IEEE Wirel. Commun. Lett. 2020, 9, 1620–1624. [Google Scholar] [CrossRef]
  22. Jiang, T.; Cheng, H.V.; Yu, W. Learning to reflect and to beamform for intelligent reflecting surface with implicit channel estimation. IEEE J. Sel. Areas Commun. 2021, 39, 1931–1945. [Google Scholar] [CrossRef]
  23. Xu, W.; Gan, L.; Huang, C. A robust deep learning-based beamforming design for RIS-assisted multiuser MISO communications with practical constraints. IEEE Trans. Cogn. Commun. Netw. 2021, 8, 694–706. [Google Scholar] [CrossRef]
  24. Song, H.; Zhang, M.; Gao, J.; Zhong, C. Unsupervised learning-based joint active and passive beamforming design for reconfigurable intelligent surfaces aided wireless networks. IEEE Commun. Lett. 2020, 25, 892–896. [Google Scholar] [CrossRef]
  25. Feng, K.; Wang, Q.; Li, X.; Wen, C.K. Deep reinforcement learning based intelligent reflecting surface optimization for MISO communication systems. IEEE Wirel. Commun. Lett. 2020, 9, 745–749. [Google Scholar] [CrossRef]
  26. Lee, G.; Jung, M.; Kasgari, A.T.Z.; Saad, W.; Bennis, M. Deep reinforcement learning for energy-efficient networking with reconfigurable intelligent surfaces. In Proceedings of the ICC 2020—2020 IEEE International Conference on Communications (ICC), Dublin, Ireland, 7–11 June 2020; IEEE: New York, NY, USA, 2020. [Google Scholar]
  27. Gao, J.; Zhong, C.; Chen, X.; Lin, H.; Zhang, Z. Unsupervised learning for passive beamforming. IEEE Commun. Lett. 2020, 24, 1052–1056. [Google Scholar] [CrossRef] [Green Version]
  28. Taha, A.; Alrabeiah, M.; Alkhateeb, A. Deep learning for large intelligent surfaces in millimeter wave and massive MIMO systems. In Proceedings of the 2019 IEEE Global Communications Conference (GLOBECOM), Waikoloa, HI, USA, 9–13 December 2019; IEEE: New York, NY, USA, 2019. [Google Scholar]
  29. Özdoğan, Ö.; Björnson, E. Deep learning-based phase reconfiguration for intelligent reflecting surfaces. In Proceedings of the 2020 54th Asilomar Conference on Signals, Systems, and Computers, Virtual, 1–4 November 2020; IEEE: New York, NY, USA, 2020. [Google Scholar]
  30. Huang, C.; Alexandropoulos, G.C.; Yuen, C.; Debbah, M. Indoor signal focusing with deep learning designed reconfigurable intelligent surfaces. In Proceedings of the 2019 IEEE 20th International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), Cannes, France, 2–5 July 2019; IEEE: New York, NY, USA, 2019. [Google Scholar]
  31. Zhang, Q.; Saad, W.; Bennis, M. Millimeter wave communications with an intelligent reflector: Performance optimization and distributional reinforcement learning. IEEE Trans. Wirel. Commun. 2021, 21, 836–1850. [Google Scholar] [CrossRef]
  32. Yang, H.; Xiong, Z.; Zhao, J.; Niyato, D.; Xiao, L.; Wu, Q. Deep reinforcement learning-based intelligent reflecting surface for secure wireless communications. IEEE Trans. Wirel. Commun. 2020, 20, 375–388. [Google Scholar] [CrossRef]
  33. Huang, C.; Mo, R.; Yuen, C. Reconfigurable intelligent surface assisted multiuser MISO systems exploiting deep reinforcement learning. IEEE J. Sel. Areas Commun. 2020, 38, 1839–1850. [Google Scholar] [CrossRef]
  34. Ma, D.; Li, L.; Ren, H.; Wang, D.; Li, X.; Han, Z. Distributed Rate Optimization for Intelligent Reflecting Surface with Federated Learning. In Proceedings of the 2020 IEEE International Conference on Communications Workshops (ICC Workshops), Dublin, Ireland, 7–11 June 2020. [Google Scholar]
  35. Nguyen, N.T.; Nguyen, L.V.; Huynh-The, T.; Nguyen, D.H.; Swindlehurst, A.L.; Juntti, M. Machine learning-based reconfigurable intelligent surface-aided MIMO systems. In Proceedings of the 2021 IEEE 22nd International Workshop on Signal Processing Advances in Wireless Communications (SPAWC), Lucca, Italy, 27–30 September 2021; IEEE: New York, NY, USA, 2021. [Google Scholar]
  36. Guan, X.; Wu, Q.; Zhang, R. Anchor-assisted intelligent reflecting surface channel estimation for multiuser communications. In Proceedings of the GLOBECOM 2020—2020 IEEE Global Communications Conference, Taipei, Taiwan, 7–11 December 2020; IEEE: New York, NY, USA, 2020. [Google Scholar]
  37. Lin, B.; Wang, X.; Yuan, W.; Wu, N. A novel OFDM autoencoder featuring CNN-based channel estimation for internet of vessels. IEEE Internet Things J. 2020, 7, 7601–7611. [Google Scholar] [CrossRef]
  38. Elbir, A.M.; Mishra, K.V.; Eldar, Y.C. Cognitive radar antenna selection via deep learning. IET Radar Sonar Navig. 2019, 13, 871–880. [Google Scholar] [CrossRef] [Green Version]
  39. Ioffe, S.; Szegedy, C. Batch normalization: Accelerating deep network training by reducing internal covariate shift. In Proceedings of the International Conference on Machine Learning, Lille, France, 6–11 July 2015. [Google Scholar]
  40. Hu, J.; Shen, L.; Sun, G. Squeeze-and-excitation networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–22 June 2018. [Google Scholar]
  41. Lin, T.; Zhu, Y. Beamforming design for large-scale antenna arrays using deep learning. IEEE Wirel. Commun. Lett. 2019, 9, 103–107. [Google Scholar] [CrossRef] [Green Version]
  42. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:14126980. [Google Scholar]
Figure 1. System model.
Figure 1. System model.
Sensors 23 07164 g001
Figure 2. Three-channel data processing process.
Figure 2. Three-channel data processing process.
Sensors 23 07164 g002
Figure 3. Data preprocessing and ACNet network structure.
Figure 3. Data preprocessing and ACNet network structure.
Sensors 23 07164 g003
Figure 4. SENet structure.
Figure 4. SENet structure.
Sensors 23 07164 g004
Figure 5. Changes in training error with training times.
Figure 5. Changes in training error with training times.
Sensors 23 07164 g005
Figure 6. Impact of N ( P B S = 40 dBm).
Figure 6. Impact of N ( P B S = 40 dBm).
Sensors 23 07164 g006
Figure 7. Impact of transmit power ( N = 40 ).
Figure 7. Impact of transmit power ( N = 40 ).
Sensors 23 07164 g007
Figure 8. Impact of the number of training set percentage.
Figure 8. Impact of the number of training set percentage.
Sensors 23 07164 g008
Table 1. Summary of related conventional method literature.
Table 1. Summary of related conventional method literature.
Ref.System ModelGoalApproach
[10]Multi-user MISOEnergy efficiency maximizationFractional programming, gradient descent, and alternating maximization
[13]MISOAchievable rate maximizationAO, SDR
[14]Multi-user MISOWeighted sum-rate maximizationSDR
[15]SISOAchievable rate maximizationSCA, SDR
[16]Multi-user MISOSum-rate maximizationCombining alternating maximization with majorization–minimization
[18]MIMOChannel capacity maximizationAO
[19]MISOSE maximizationFixed-point iteration and manifold methods
[20]MISOTotal received signal power maximizationSDR, AO
[21]Multi-user MISOWeighted sum-rate maximizationLagrangian manifold and Riemannian manifold techniques
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, H.; Jia, Q.; Li, M.; Wang, J.; Song, Y. Passive Beamforming Design of IRS-Assisted MIMO Systems Based on Deep Learning. Sensors 2023, 23, 7164. https://doi.org/10.3390/s23167164

AMA Style

Zhang H, Jia Q, Li M, Wang J, Song Y. Passive Beamforming Design of IRS-Assisted MIMO Systems Based on Deep Learning. Sensors. 2023; 23(16):7164. https://doi.org/10.3390/s23167164

Chicago/Turabian Style

Zhang, Hui, Qiming Jia, Meikun Li, Jingjing Wang, and Yuxin Song. 2023. "Passive Beamforming Design of IRS-Assisted MIMO Systems Based on Deep Learning" Sensors 23, no. 16: 7164. https://doi.org/10.3390/s23167164

APA Style

Zhang, H., Jia, Q., Li, M., Wang, J., & Song, Y. (2023). Passive Beamforming Design of IRS-Assisted MIMO Systems Based on Deep Learning. Sensors, 23(16), 7164. https://doi.org/10.3390/s23167164

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop