Manuscript Offprint
arXiv:2611.05796Optimization of Joint Beamforming in RIS-aided Multi-carrier and Multi-user MIMO Systems
Nuwan Balasuriya, Atefeh Termehchi, and Ekram Hossain, Fellow, IEEE
Abstract—Reconfigurable intelligent surface (RIS)-aided multiple-input multiple-output (MIMO) communication is a promising enabler for beyond-fifth-generation wireless networks. However, RIS phase shifters typically rely on a tuning element (for example a variable-length stub), which can be optimally configured for only one carrier frequency at a time. This constraint complicates RIS deployment in multi-carrier systems and often necessitates additional measures, such as using multiple RIS panels or partitioning RIS elements across carriers. In this work, we propose a novel scheme in which all RIS elements simultaneously serve multiple carriers, delivering improved performance over existing approaches. Our method leverages the multiple reflections captured by physically consistent RIS models to realize the desired phase shifts for all carriers using a single stub length setting. We further develop a joint active and passive beamforming optimization framework tailored to multi-carrier, physically consistent RIS-aided systems. Simulation results confirm the effectiveness of the proposed model and demonstrate clear gains over conventional models.
Index Terms—Reconfigurable Intelligent surface (RIS), multiple input- multiple output (MIMO), multi-carrier communication, joint beamforming optimization, physically-consistent model.
I. INTRODUCTION
RECONFIGURABLE intelligent surfaces (RIS) have recently attracted considerable attention as a promising means to mitigate shadowing and fading in wireless communication systems. As largely passive devices, RIS impose controllable phase shifts on the multipath channel, shaping signal propagation so that receivers can obtain stronger and more reliable links. This capability can improve coverage and increase system capacity. In particular, RIS-aided multiple-input multiple-output (MIMO) systems have emerged as a key enabler for beyond-fifth-generation (5G) wireless networks, motivating extensive work on optimizing RIS-assisted MIMO transmissions [1, 2]. More recently, RIS optimization has also been studied under physically consistent models. For instance, [3] considers multiple-reflection effects induced by inter-element mutual coupling, [4] investigates the influence of the angle of incidence, and [5] examines practical RIS phase-shifter limitations arising from constrained phase tunability.
Multi-carrier communication adds another degree of freedom by enabling diversity and/or multiplexing gains across carriers. RIS-aided multi-carrier MIMO systems therefore have the potential to combine the benefits of RIS with those of multi-carrier techniques. A key challenge, however, is that
RIS phase shifts are commonly controlled by a mechanism such as a varactor diode capacitance or a phase shifter stub length. Because the resulting phase shift depends jointly on the above parameter value and the carrier frequency, a fixed RIS configuration generally produces different phase responses across different carriers. On the other hand the optimum phase shift requirement at different carriers are different and cannot be simultaneously satisfied by selecting the possible single parameter value arrangement.
A simple workaround is to deploy a dedicated RIS panel for each carrier, but this is clearly impractical. Another option is to choose parameter values that compromise across carriers. However, this yields suboptimal phase shifts at each frequency and prevents full exploitation of the RIS. A different approach explored in [6, 7], partitions the RIS so that only a subset of elements serves each carrier. While this enables accurate per-carrier phase control, it reduces the number of active elements per carrier, effectively lowering the channel rank and degrading capacity. Active RIS designs, such as those studied in [8], can offer stronger beamforming flexibility but incur substantial power consumption, limiting their practicality.
Physically-consistent RIS models explicitly capture the multiple-reflection phenomena that arise in densely packed arrays, opening new avenues for multi-carrier MIMO optimization using a single RIS configuration. In this work, we leverage such models and propose a joint beamforming optimization framework for RIS-aided multi-carrier MIMO systems. We benchmark our approach against existing strategies, including element-partitioning methods and active RIS architectures as in [8], and demonstrate the advantages of the proposed framework.
The authors are with the Department of Electrical and Computer Engineering, University of Manitoba, Winnipeg, MB, Canada (emails: umbalasd@myumanitoba.ca, {Atefeh.Termehchi, Ekram.Hossain}@umanitoba.ca).
A. Scattering Matrix
The scattering matrix captures inter-element mutual coupling and multiple reflections, following the physically consistent model in [9]. Although individual RIS phase-shift coefficients have unit magnitude, the effective response is not restricted to element-wise unit magnitudes due to multiple reflections. When , the model reduces to the conventional RIS phase-shift matrix . With , multiple reflections add path delays across elements, so the phases at different carriers are no longer locked by the same . The scattering matrix is related to embedded pattern coupling matrix given by:
where and are the spacing between the RIS elements and wavelength of operation respectively [9]. stands for the first order Bessel function of the first kind and is the embedded pattern coupling between the RIS elements located at indices and . Note that is a real symmetric matrix. Hence, let be the eigen value decomposition of with being a unitary matrix and is a diagonal matrix having eigen values of . Then, . Note that is a function of carrier frequency and element spacing, hence we denote .
B. Phase Shifter Arrangement
We consider stub-based phase shifters, capable of providing a full phase range, with one phase shifter per RIS element. A stub is a transmission-line segment connected in series or parallel with the main line. Two arrangements are considered: (1) a mechanically adjustable stub length using a sliding arm, connected across the RIS antenna element, and (2) switch-selected discrete stub lengths, resulting in quantized phase shifts. Typically implemented as microstrip lines, stubs exhibit frequency-periodic phase responses, enabling phase variation over a wide bandwidth. The input impedance of an open-circuited stub is given by:
where and are the characteristic impedance of the line, speed of radio frequency (RF) propagation and the p-th stub length respectively. Thus we can calculate the phase shift at the p-th element as:
Note that the resulting phase shift is a periodic function of frequency.
We first consider a continuous stub length and later, we will consider an available discrete stub length set arrangement.
C. Signal Model
We consider a transmit signal vector precoded using an active precoder matrix to produce a signal vector . This signal vector is then transmitted using BS antennas. From the BS to receiver mobiles, the signal takes two paths: one direct path and the other the reflected path via the RIS. The received signal vector at user is given by
(4)
where is the additive white Gaussian noise (AWGN) at the receiver k in carrier m and is a common scaling factor applied at each of the receivers. Hence the overall receive signal vector is
where , and . BS has a total power budget of Watts.
III. JOINT BEAMFORMING OPTIMIZATION
Our objective is to enhance the overall sum-rate of the multi-carrier RIS-aided MIMO system while promoting fairness among users. Since direct sum-rate maximization can favor users with stronger channel conditions, potentially leading to unfair resource allocation, we adopt the sum-minimum mean square error criterion [3, 10]. As shown in [3], this results in the following optimization problem:
This problem can then be converted to an alternating optimization between two sub-optimization problems:
-
Optimization for and under the constraint (5a) and known , named as active beamforming optimization
-
Optimization for under the constraints (5b)-(5e) and known and , named as passive beamforming optimization.
A. Active Beamforming Optimization
The sub-problem of jointly optimizing and ,
can be equivalently reformulated as a convex quadratic optimization problem, which admits a closed-form solution.
Result 1: The optimum solutions of (6) are given by:
and
for .
Proof: Let us take . Hence,
Applying (12) in (6) we obtain the modified sub-optimization problem:
Equating the first derivative of the objective function in (13) to zero we obtain,
yielding
Thus, for , as in (8).
Using result (15) in (12),
(16)
which yields result (7).
B. Passive Beamforming Optimization
Recall that the phase shifter matrix is a function of the stub length vector, thus the sub-optimization problem for the stub length vector can be stated as:
s.t.
The sub-optimization problem is clearly non-convex. We use gradient descent (GD) algorithm to optimize for . Let us denote the objective function by where . In the following section, we omit the carrier index for simplicity. Thus,
(18)
Thus using complex derivatives and chain rule,
We can find
Then,
Moreover, we calculate the update for the stub length based on the rule,
Furthermore, to reduce the likelihood of converging to a local minimum, we adopt two measures. First, we run independent passive beamforming optimizations in parallel from multiple starting points and keep the solution with the highest sum-rate. Second, since the non-convex term makes large updates of cause oscillations in the sum-rate, we limit the magnitude of each element's update to a maximum threshold .
The overall alternating optimization algorithm is shown in Algorithm 1. For clarity of presentation, we here illustrate the optimization procedure for a single selected initialization. Note that allocating all power to one carrier and setting to its single-carrier optimum is a feasible point of (5), so the proposed formulation contains the single-carrier design of [3] as a worst case.
Algorithm 1 Joint optimization algorithm.
1: Inputs: , stopping rule threshold ,
2: Initialize
3: Calculate and
4: Calculate and
5: repeat
6: Calculate
7: for do
8:
9:
10: end for
11: Calculate and
12: Calculate and
13: Calculate sum square error
14: until .
C. Discrete Stub Lengths
For discrete stub lengths, the elements of are mapped to their nearest valid stub lengths, after determining the continuous optimum stub length values. Here also we make two interesting observations.
-
For q discrete stub lengths, uniformly spaced or Lloyd-Max-optimized non-uniform sets [11] yield nearly identical results, as the optimized continuous stub lengths are approximately uniformly distributed over the feasible range.
-
Optimizing over continuous stub lengths and quantizing only after the full convergence can yield a lower sum-rate than projecting onto the discrete set at each iteration.
Therefore, we adopt uniformly spaced discrete stub lengths, owing to the simplicity of this approach and its comparable sum-rate performance and perform the projection from the continuous to the discrete set after each iteration.
D. Low-complexity Implementation
The aforementioned GD-based optimization requires many iterations due to its constant step size, while multi-start further increases complexity. As joint optimization must be repeated with each channel state information update, often occurring within tens of milliseconds, conventional GD becomes unsuitable for online implementation.
To address this, we propose a deep unfolding framework with a fixed number of iterations and offline-learned GD step sizes. Each iteration forms a network layer with a trainable step size , optimized using Adam and backpropagation across all layers over diverse channel realizations and initializations (details omitted for brevity). During online operation, the learned step sizes eliminate line searches and multiple initializations, significantly reducing complexity compared with multi-start GD in Section III and enabling real-time implementation.
IV. SIMULATION RESULTS AND DISCUSSION
We evaluate the performance of the proposed multi-carrier RIS-aided MIMO communication system together with the joint beamforming optimization framework. We consider a communication system with the following parameters: dBm. We also assume the channels to be complex Gaussian with zero mean and 0.5 variance per dimension, together with a path loss. Path loss exponents for BS to RIS, BS to users and RIS to users are 2.5, 4.5, 4.5 respectively. BS to RIS distance is 500 m and the mean distance from BS to users and RIS to users are 500 m and 100 m respectively. Moreover, we consider carriers centered around 5 GHz so that mm and . Carrier spacing is 100 MHz. For the optimization algorithm we select , number of multi-start points = 50 and mm. All simulations were performed in MATLAB R2024 on a computer equipped with a 2.4 GHz Intel Core i5 processor and 8 GB of RAM.S
Optimization employs either the physically consistent or conventional (S = 0) model, depending on the scenario, while sum-rate is always evaluated using the former to reflect practical conditions. Fig. 1 compares the proposed dual-carrier model and joint optimization with prior works, showing nearly 20% improvement over partitioned RIS at dBm. Although dual carrier partitioning enables carrier-specific phase optimization, fewer effective RIS elements per carrier outweigh this benefit compared with simultaneous proposed dual-carrier operation. The proposed system also outperforms the physically consistent single-carrier approach [3] and conventionally optimized dual-carrier system, which lack multiplexing and physically consistent optimization gains, respectively. While the active RIS approach [8] with 2 carriers achieves higher sum-rates, it incurs greater power consumption and circuit complexity. Thus, the proposed system offers a favorable performance-complexity trade-off.
Fig. 2 compares sum-rate variations with the number of carriers, M. The proposed approach achieves increasing sum-rates with M, whereas partitioned RIS performance eventually declines due to fewer RIS elements per carrier. Although conventional multi-carrier optimization also improves with M, it remains inferior to the proposed approach due to the absence of physically consistent optimization benefits.
Fig. 3 illustrates the trade-off between stub-length resolution and sum-rate, with approximately 250 levels approaching the continuous-stub benchmark. In practical implementations, PIN-diode-switched stubs offer lower power consumption but a larger form factor, whereas adjustable stubs provide a more compact alternative with higher power consumption and slower response time. Thus, the choice of implementation depends on the required trade-off among sum-rate performance, power consumption, size, and response speed.
Fig. 4 compares the convergence of multi-start GD with constant and unfolded GD for M = 2 and dBm. After

Fig. 1: Sum-rate variation with BS power.
Fig. 2: Sum-rate variation with number of carriers, dBm.
Fig. 3: Sum-rate variation with number of discrete stub length levels, M = 2.
2000 iterations, the best multi-start run achieves 64 bps/Hz versus 40 bps/Hz on average, at a substantial runtime cost. Unfolded GD, with step sizes learned via offline training and T = 700, surpasses the multi-start average, from a single start. On the same computing platform, multi-start GD with 50 initializations takes 114.2 s, whereas unfolded GD takes only 0.96 s online, corresponding to a 119-fold reduction in execution time. Therefore, unfolding offers a computationally-efficient alternative to optimize system performance.

Fig. 4: Convergence of the optimization algorithm, dBm.
V. CONCLUSION
We have proposed a physically-consistent joint beamforming framework for RIS-aided multi-carrier MIMO systems, enabling simultaneous multi-carrier operation using all RIS elements. By exploiting multiple reflections, the proposed approach outperforms conventional and partitioned RIS schemes, achieving nearly 20% sum-rate improvement over partitioning. We further investigated practical stub-length implementations and developed a deep unfolding approach that reduces online optimization complexity.
REFERENCES
[1] S. Hasan, et al., “A Comprehensive Review on Reconfigurable Intelligent Surface for 6G Communications: Overview, Deployment, Control Mechanism, Application, Challenges, and Opportunities,” Wireless Pers. Commun., vol. 139, pp. 375–429, Oct 2024.
[2] M. Dajer et al., “Reconfigurable intelligent surface: Design the channel-A new opportunity for future wireless networks,” Digit. Commun. Netw., vol. 8, no. 2, pp. 87–104, Apr. 2022.
[3] D. Wijkoon, A. Mezghani, and E. Hossain, “Phase Shifter Optimization in RIS-Aided MIMO Systems Under Multiple Reflections,” IEEE Trans. Wireless Commun., vol. 23, no. 8, pp. 8969-8983, Aug. 2024.
[4] W. Chen et al., “Angle-Dependent Phase Shifter Model for Reconfigurable Intelligent Surfaces: Does the Angle-Reciprocity Hold?,” IEEE Commun. Lett., vol. 24, no. 9, pp. 2060-2064, Sept. 2020.
[5] L. Cao, H. Yin, L. Tan, and X. Pei, “RIS With Insufficient Phase Shifting Capability: Modeling, Beamforming, and Experimental Validations,” IEEE Trans. Commun., vol. 72, no. 9, pp. 5911-5923, Sept. 2024.
[6] W. Cai, et al., “IRS-Assisted Multicell Multiband Systems: Practical Reflection Model and Joint Beamforming Design,” IEEE Trans. Commun., vol. 70, no. 6, pp. 3897-3911, June 2022.
[7] M. Soleymani, I. Santamaria, A. Sezgin, and E. Jorswieck, “Maximization of Minimum Rate in MIMO OFDM RIS-Assisted Broadcast Channels,” in Proc. IEEE 9th Int. Workshop Comput. Adv. Multi-Sensor Adapt. Process. (CAMSAP), Herradura, Costa Rica, 2023, pp. 11-15.
[8] H. D. Tuan, A. A. Nasir, E. Dutkiewicz, H. V. Poor, and L. Hanzo, “Active-RIS Enhances the Multi-User Rate of Multi-Carrier Communications,” IEEE Trans. Veh. Technol., vol. 73, no. 11, pp. 16948-16963, Nov. 2024.
[9] A. Mezghani, F. Bellili, and E. Hossain, “Reconfigurable Intelligent Surfaces for Quasi-Passive mmWave and THz Networks: Should They be Reflective or Redirective?,” in Proc. 56th Asilomar Conf. Signals, Syst., Comput., Pacific Grove, CA, USA, 2022, pp. 1076-1080.
[10] H. Ur Rehman, F. Bellili, A. Mezghani and E. Hossain, "Joint Active and Passive Beamforming Design for IRS-Assisted Multi-User MIMO Systems: A VAMP-Based Approach," in IEEE Trans. Commun., vol. 69, no. 10, pp. 6734-6749, Oct. 2021.
[11] J. Max, “Quantizing for minimum distortion,” IRE Trans. Inf. Theory, vol. 6, no. 1, pp. 7-12, March 1960.