Beamforming Optimisation

Definition:

Joint Active-Passive Beamforming Problem

The central optimisation problem for RIS-assisted communication is the joint active-passive beamforming problem: simultaneously optimise the BS precoder w\mathbf{w} ("active" beamforming) and the RIS phase shifts Ο•\boldsymbol{\phi} ("passive" beamforming) to maximise the received signal quality. For a single-user MISO system:

max⁑w,Ο•βˆ£heffH(Ο•)w∣2Οƒ2\max_{\mathbf{w}, \boldsymbol{\phi}} \quad \frac{|\mathbf{h}_{\mathrm{eff}}^H(\boldsymbol{\phi}) \mathbf{w}|^2}{\sigma^2}

s.t.βˆ₯wβˆ₯2≀P,βˆ£Ο•n∣=1,β€…β€Šn=1,…,N\text{s.t.} \quad \|\mathbf{w}\|^2 \leq P, \quad |\phi_n| = 1, \; n = 1, \ldots, N

where heff(Ο•)=hd+GHΘhr\mathbf{h}_{\mathrm{eff}}(\boldsymbol{\phi}) = \mathbf{h}_d + \mathbf{G}^H \boldsymbol{\Theta} \mathbf{h}_r is the effective channel (with Θ=diag(Ο•)\boldsymbol{\Theta} = \mathrm{diag}(\boldsymbol{\phi})).

This problem is non-convex due to:

  1. The unit-modulus constraints βˆ£Ο•n∣=1|\phi_n| = 1, which define the complex circle manifold S1\mathcal{S}^1 β€” a non-convex set.
  2. The coupling between w\mathbf{w} and Ο•\boldsymbol{\phi} in the objective function.

For multi-user systems with KK single-antenna users, the problem generalises to:

max⁑{wk},Ο•βˆ‘k=1Klog⁑2 ⁣(1+∣heff,kH(Ο•)wk∣2βˆ‘jβ‰ k∣heff,kH(Ο•)wj∣2+Οƒ2)\max_{\{\mathbf{w}_k\}, \boldsymbol{\phi}} \quad \sum_{k=1}^K \log_2\!\left(1 + \frac{|\mathbf{h}_{\mathrm{eff},k}^H(\boldsymbol{\phi}) \mathbf{w}_k|^2}{\sum_{j \neq k} |\mathbf{h}_{\mathrm{eff},k}^H(\boldsymbol{\phi}) \mathbf{w}_j|^2 + \sigma^2}\right)

s.t.βˆ‘k=1Kβˆ₯wkβˆ₯2≀P,βˆ£Ο•n∣=1,β€…β€Šβˆ€n\text{s.t.} \quad \sum_{k=1}^K \|\mathbf{w}_k\|^2 \leq P, \quad |\phi_n| = 1, \; \forall n

The single-user problem admits a simple closed-form optimal active beamformer: given Ο•\boldsymbol{\phi}, the optimal w\mathbf{w} is maximum ratio transmission (MRT) along the effective channel, wβˆ—=P heff(Ο•)/βˆ₯heff(Ο•)βˆ₯\mathbf{w}^* = \sqrt{P}\, \mathbf{h}_{\mathrm{eff}}(\boldsymbol{\phi}) / \|\mathbf{h}_{\mathrm{eff}}(\boldsymbol{\phi})\|. The difficulty lies entirely in optimising Ο•\boldsymbol{\phi}.

Alternating Optimisation for Joint Active-Passive Beamforming

Input: Channels hd\mathbf{h}_d, G\mathbf{G}, hr\mathbf{h}_r;
power budget PP; tolerance ϡ>0\epsilon > 0; max iterations Imax⁑I_{\max}
Output: Optimised wβˆ—\mathbf{w}^*, Ο•βˆ—\boldsymbol{\phi}^*
1. Initialise Ο•(0)\boldsymbol{\phi}^{(0)} (e.g., random unit-modulus or all-ones)
2. For i=0,1,2,…,Imaxβ‘βˆ’1i = 0, 1, 2, \ldots, I_{\max} - 1:
a. Active beamforming (fix Ο•(i)\boldsymbol{\phi}^{(i)}, optimise w\mathbf{w}):
Compute effective channel:
heff(i)=hd+GHdiag(Ο•(i))hr\mathbf{h}_{\mathrm{eff}}^{(i)} = \mathbf{h}_d + \mathbf{G}^H \mathrm{diag}(\boldsymbol{\phi}^{(i)}) \mathbf{h}_r
Set MRT beamformer:
w(i+1)=P heff(i)/βˆ₯heff(i)βˆ₯\mathbf{w}^{(i+1)} = \sqrt{P} \, \mathbf{h}_{\mathrm{eff}}^{(i)} / \|\mathbf{h}_{\mathrm{eff}}^{(i)}\|
b. Passive beamforming (fix w(i+1)\mathbf{w}^{(i+1)}, optimise Ο•\boldsymbol{\phi}):
Define an=hr,nβˆ—gnTw(i+1)a_n = h_{r,n}^* \mathbf{g}_n^T \mathbf{w}^{(i+1)} for n=1,…,Nn = 1, \ldots, N
and c=hdHw(i+1)c = \mathbf{h}_d^H \mathbf{w}^{(i+1)}.
The objective becomes ∣c+βˆ‘n=1NΟ•nan∣2|c + \sum_{n=1}^N \phi_n a_n|^2.
Element-wise closed-form:
Ο•n(i+1)=ej(∠cβˆ—βˆ’βˆ an)β‹…ej∠(βˆ‘mβ‰ nΟ•m(i)am+c)\phi_n^{(i+1)} = e^{j(\angle c^* - \angle a_n)} \cdot e^{j \angle(\sum_{m \neq n} \phi_m^{(i)} a_m + c)}
Simplified: align each Ο•nan\phi_n a_n with the sum of all other terms.
Or full closed-form (when cc is treated as fixed):
Ο•n(i+1)=eβˆ’j∠anβ‹…ej∠c\phi_n^{(i+1)} = e^{-j\angle a_n} \cdot e^{j\angle c} (align all terms to phase of cc).
c. Check convergence:
SNR(i+1)=Pβˆ₯heff(i+1)βˆ₯2/Οƒ2\text{SNR}^{(i+1)} = P\|\mathbf{h}_{\mathrm{eff}}^{(i+1)}\|^2 / \sigma^2.
If ∣SNR(i+1)βˆ’SNR(i)∣/SNR(i)<Ο΅|\text{SNR}^{(i+1)} - \text{SNR}^{(i)}| / \text{SNR}^{(i)} < \epsilon: break
3. Return wβˆ—=w(i+1)\mathbf{w}^* = \mathbf{w}^{(i+1)}, Ο•βˆ—=Ο•(i+1)\boldsymbol{\phi}^* = \boldsymbol{\phi}^{(i+1)}
Complexity per iteration: O(NM)O(NM) for active BF, O(N)O(N) for passive BF.
Typical convergence: 5--15 iterations.

Theorem: Convergence of Alternating Optimisation

Let {(w(i),Ο•(i))}i=0∞\{(\mathbf{w}^{(i)}, \boldsymbol{\phi}^{(i)})\}_{i=0}^{\infty} be the sequence generated by the alternating optimisation algorithm for the single-user joint active-passive beamforming problem. Then:

  1. Monotonicity: The objective value (received SNR) is non-decreasing: SNR(i+1)β‰₯SNR(i)\text{SNR}^{(i+1)} \geq \text{SNR}^{(i)} for all iβ‰₯0i \geq 0.

  2. Convergence: The sequence {SNR(i)}\{\text{SNR}^{(i)}\} converges to a finite limit SNRβˆ—\text{SNR}^*.

  3. Stationary point: Every limit point (wβˆ—,Ο•βˆ—)(\mathbf{w}^*, \boldsymbol{\phi}^*) of the sequence satisfies the first-order necessary optimality conditions (KKT conditions) for the joint problem, i.e., it is a stationary point on the product manifold CMΓ—(S1)N\mathbb{C}^M \times (\mathcal{S}^1)^N.

Caveat: The algorithm is not guaranteed to converge to the global optimum due to the non-convexity of the unit-modulus constraints. Multiple random initialisations are recommended to improve the solution quality.

Each subproblem optimisation can only improve (or maintain) the objective, since it finds the optimal solution within its variable while holding the other fixed. Since the SNR is bounded above (by the power constraint and finite channel gains), a non-decreasing bounded sequence must converge.

SDR and Manifold Optimisation for Phase Optimisation

Semidefinite relaxation (SDR). The passive beamforming subproblem can be reformulated as:

maxβ‘Ο•β€…β€Šβˆ£cHΟ•Λ‰βˆ£2s.t.β€…β€Šβˆ£Ο•Λ‰n∣=1,β€…β€Šn=0,1,…,N\max_{\boldsymbol{\phi}} \; |\mathbf{c}^H \bar{\boldsymbol{\phi}}|^2 \quad \text{s.t.} \; |\bar{\phi}_n| = 1, \; n = 0, 1, \ldots, N

where Ο•Λ‰=[1;Ο•]\bar{\boldsymbol{\phi}} = [1; \boldsymbol{\phi}] and c\mathbf{c} absorbs the channel and active beamformer. Lifting Ξ¦Λ‰=Ο•Λ‰Ο•Λ‰H\bar{\boldsymbol{\Phi}} = \bar{\boldsymbol{\phi}} \bar{\boldsymbol{\phi}}^H (a rank-one PSD matrix with unit diagonal), this becomes:

max⁑Φˉβͺ°0β€…β€Štr(CΞ¦Λ‰)s.t.β€…β€ŠΞ¦Λ‰nn=1,β€…β€Šrank(Ξ¦Λ‰)=1\max_{\bar{\boldsymbol{\Phi}} \succeq \mathbf{0}} \; \mathrm{tr}(\mathbf{C} \bar{\boldsymbol{\Phi}}) \quad \text{s.t.} \; \bar{\Phi}_{nn} = 1, \; \mathrm{rank}(\bar{\boldsymbol{\Phi}}) = 1

Dropping the rank-one constraint yields a convex SDP, solvable in polynomial time. If the SDP solution Ξ¦Λ‰βˆ—\bar{\boldsymbol{\Phi}}^* has rank one, it is globally optimal. Otherwise, Gaussian randomisation extracts a feasible rank-one solution: generate Ο•Λ‰βˆΌCN(0,Ξ¦Λ‰βˆ—)\bar{\boldsymbol{\phi}} \sim \mathcal{CN}(\mathbf{0}, \bar{\boldsymbol{\Phi}}^*), project onto the unit circle (Ο•n←ejβˆ Ο•Λ‰n\phi_n \leftarrow e^{j\angle \bar{\phi}_n}), and keep the best among LL random draws. Wu and Zhang (2019) showed that the SDR achieves an approximation ratio of Ο€/4β‰ˆ0.785\pi/4 \approx 0.785 for the single-user case.

Manifold optimisation. The constraint βˆ£Ο•n∣=1|\phi_n| = 1 defines the complex circle S1={z∈C:∣z∣=1}\mathcal{S}^1 = \{z \in \mathbb{C} : |z| = 1\}. The product manifold (S1)N(\mathcal{S}^1)^N is a smooth Riemannian manifold. Riemannian gradient descent and Riemannian conjugate gradient methods optimise directly on this manifold, respecting the geometry of the constraint set.

The Riemannian gradient at Ο•\boldsymbol{\phi} is the projection of the Euclidean gradient onto the tangent space:

gradMf(Ο•)=βˆ‡f(Ο•)βˆ’Re(βˆ‡f(Ο•)βŠ™Ο•βˆ—)βŠ™Ο•\mathrm{grad}_{\mathcal{M}} f(\boldsymbol{\phi}) = \nabla f(\boldsymbol{\phi}) - \mathrm{Re}(\nabla f(\boldsymbol{\phi}) \odot \boldsymbol{\phi}^*) \odot \boldsymbol{\phi}

followed by a retraction step (projection back onto S1\mathcal{S}^1): Ο•n←ej∠(Ο•n+α gn)\phi_n \leftarrow e^{j\angle(\phi_n + \alpha \, g_n)} where Ξ±\alpha is the step size and gng_n is the nn-th Riemannian gradient component.

Complexity comparison:

  • Alternating opt with element-wise update: O(NI)O(NI) per outer iteration
  • SDR: O(N3.5)O(N^{3.5}) (interior-point SDP solver) β€” prohibitive for large NN
  • Manifold optimisation: O(N)O(N) per iteration, typically 20--50 iterations

For practical systems with N>100N > 100, manifold optimisation provides the best trade-off between solution quality and computational cost.

Rate Gain with Joint Active-Passive Beamforming

Compare the achievable rate (bits/s/Hz) as a function of the number of RIS elements NN for three schemes: (1) no RIS (direct link only), (2) RIS with random phases, and (3) RIS with jointly optimised active-passive beamforming. The channels are generated with Rayleigh fading for all links. Observe that optimised RIS phases provide a significant rate gain over random phases, and that the gain increases with NN due to the coherent combining effect. The BS uses MM antennas with MRT beamforming in all cases.

Parameters
4
128
10

Alternating Optimisation Convergence

Watch the alternating optimisation algorithm converge for joint active-passive beamforming. Blue steps optimise the BS beamformer (active); red steps optimise the RIS phases (passive). The SNR increases monotonically and typically converges within 5--10 iterations, confirming the theoretical monotone convergence guarantee.
Alternating optimisation converges monotonically in 5--10 iterations.

Alternating Optimisation Convergence

Animate the convergence of the alternating optimisation algorithm for joint active-passive beamforming. At each iteration, the algorithm alternates between optimising the BS beamformer w\mathbf{w} (active step, shown in blue) and the RIS phases Ο•\boldsymbol{\phi} (passive step, shown in red). The plot shows the achieved SNR versus iteration number, with both the active and passive step improvements visible. Observe the rapid convergence: typically 5--10 iterations suffice for near-optimal performance. Random channel realisations are generated for each parameter setting.

Parameters
4
32
15

Unit-Modulus Constraint

The constraint βˆ£Ο•n∣=1|\phi_n| = 1 on each RIS phase-shift coefficient, reflecting that passive elements can only change the phase (not amplitude) of the reflected signal. This constraint defines the complex circle manifold S1\mathcal{S}^1 and makes the beamforming optimisation non-convex.

Related: Reconfigurable Intelligent Surface (RIS), Phase-Shift Matrix

Semidefinite Relaxation (SDR)

A convex relaxation technique that lifts the rank-one, unit-modulus constrained problem into a semidefinite program (SDP) by dropping the rank constraint. For RIS phase optimisation, SDR achieves an approximation ratio of Ο€/4β‰ˆ0.785\pi/4 \approx 0.785 in the single-user case.

Related: Unit-Modulus Constraint

Quick Check

In the alternating optimisation algorithm for joint active-passive beamforming, why is the active beamforming subproblem (optimising w\mathbf{w} for fixed Ο•\boldsymbol{\phi}) easy to solve?

Because the unit-modulus constraint on Ο•\boldsymbol{\phi} is relaxed during this step

Because with Ο•\boldsymbol{\phi} fixed, the effective channel heff\mathbf{h}_{\mathrm{eff}} is a known vector, and the optimal w\mathbf{w} is simply MRT along heff\mathbf{h}_{\mathrm{eff}}

Because the problem is always feasible when P>0P > 0

Because the BS has more antennas than users in the single-user case