Movable Antenna Enhanced AF Relaying: Two-Stage
Antenna Position Optimization
Abstract
The movable antenna (MA) technology has attracted increasing attention in wireless communications due to its capability for flexibly adjusting the positions of multiple antennas in a local region to reconfigure channel conditions. In this paper, we investigate its application in an amplify-and-forward (AF) relay system, where a multi-MA AF relay is deployed to assist in the wireless communications from a source to a destination. In particular, we aim to maximize the achievable rate at the destination, by jointly optimizing the AF weight matrix at the relay and its MAs’ positions in two stages for receiving the signal from the source and transmitting its amplified version to the destination, respectively. However, compared to the existing one-stage antenna position optimization, the two-stage position optimization is more challenging due to its intricate coupling in the achievable rate at the destination. To tackle this challenge, we decompose the considered problem into several subproblems by invoking the alternating optimization (AO) and solve them by using the semidefinite programming and the gradient ascent. Numerical results demonstrate the superiority of our proposed system over the conventional relaying system with fixed-position antennas (FPAs) and also drive essential insights.
I Introduction
With the evolution of wireless communication systems, multiple-input multiple-output (MIMO) and massive MIMO technologies have been widely promoted and investigated in both academia and industry to pursue higher data rate and larger capacity. However, by only relying on coventional fixed-position antennas (FPAs), the spatial variation of wireless channels cannot be fully exploited, which may result in suboptimal communication performance[1]. Furthermore, high energy consumption and hardware cost remain critical issues due to the increasing number of antennas and radio frequency (RF) chains, especially in a high frequency band. To overcome these limitations, the movable antenna (MA) technology was recently proposed as a promising solution, which allows for flexible antenna movement within a local region and thereby provides additional degrees of freedom (DoFs) to improve the communication performance without the need for increasing the number of antennas[1],[2],[3].
Motivated by the promising benefits of MAs, some recent works have investigated their position optimization problems under different scenarios. For example, the authors in [4] aimed to maximize the channel capacity of an MA-enhanced MIMO communication system by jointly optimizing the transmit covariance matrix and the positions of MAs in both transmit and receive regions. In [5], the authors investigated the uplink of an MA-aided multi-user communication system, aiming to minimize the total transmit power of multiple users by jointly optimizing the positions of their equipped MAs. The MA-enhanced non-orthogonal multiple access (NOMA) was studied in [6], where a low-complexity algorithm was proposed to maximize the system’s sum rate. Unlike the above works optimizing the positions of MAs in a continuous space, the authors in [7] discretized this space into a multitude of sampling points and proposed a novel graph-based algorithm to select an optimal subset of the sampling points for maximizing the achievable rate of a multiple-input single-output (MISO) system. In addition, MAs have also been applied in other system setups, such as physical-layer security[8], cognitive radio[9], and intelligent reflecting surface (IRS)-aided communication systems[10].

However, MAs have not been applied to a relay system so far in the literature, while they can be exploited to assist in both the information reception and transmission of a relay. To fill in this gap, we investigate in this paper an MA-enhanced amplify-and-forward (AF) relaying system, where a single-antenna source aims to communicate with a single-antenna destination with the aid of a multi-MA relay, as shown in Fig 1. In particular, we aim to maximize the achievable rate at the destination by jointly optimizing the AF weight matrix at the relay and its MAs’ positions in two stages, for receiving the signal from the source and transmitting its amplified version to the destination, respectively. However, compared to the one-stage antenna position optimization as studied in the existing works, the two-stage antenna position optimization appears to be more challenging to tackle due to its intricate coupling in the achievable rate at the destination. To resolve this issue, we decouple the joint optimization problem into several subproblems by invoking an alternating optimization (AO) framework and solve them separately by combining the semidefinite programming and the gradient ascent (GA). Simulation results show that our proposed scheme can significantly outperform the conventional FPA-based relaying scheme and drive essential insights into the MA position optimization.
Notations: Boldface lowercase and uppercase letters denote vectors and matrices, respectively. , , and denote transpose, conjugate, and conjugate transpose, respectively. denotes the circularly symmetric complex Gaussian distribution with zero mean and covariance matrix . , , and denote the Frobenius norm, rank, and trace of the matrix , respectively. denotes the vectorization of the matrix . denotes the Kronecker product.
II System Model
As shown in Fig. 1, we consider an AF relay system, which consists of a source node, a multi-antenna relay, and a destination node. The relay is equipped with MAs, while each of the other nodes is equipped with a single FPA111This can practically occur in device-to device communications, where remote sensors aim to communicate with each other via multi-hop transmission.. We assume that the positions of the MAs can be flexibly adjusted within a two-dimensional (2D) region of size , where denotes the length of the region per dimension. We consider a challenging case where the direct link between the source and the destination is severely blocked due to the dense obstacles in the environment. Thus, an AF relay with MAs is deployed to assist in their direct communications. We assume that the relay operates in the half-duplex mode, which divides the source-destination communication into two stages. In the first stage, the source transmits its signal to the relay, and its received signal is given by
(1) |
where is the channel vector from the source to the relay, is the transmitted signal from the source with , is the transmit power, and is the additive white Gaussian noise (AWGN) at the relay. In the second stage, the relay processes the received signal by an AF weight matrix , and then forwards it to the destination. Therefore, the received signal at the destination is given by
(2) |
where is the channel vector from the relay to the destination, and is the AWGN at the destination.
To facilitate the information reception/transmission from/to the source/destination, the positions of the MAs at the relay need to be adjusted twice at the beginning of the two stages. Accordingly, let and denote the collections of the MAs’ positions in the first and second stages, respectively, where and . By applying a similar field-response channel model as in[2], the channel from the source to the relay in the first stage can be represented as
(3) |
where
(4) |
is the receive field-response vector (FRV) at the relay with , and is the path-response vector (PRV) from the source to the relay. Here, is the carrier wavelength, and are the elevation and azimuth angles of arrival (AoAs) of the -th receive path from the source to the relay, respectively. Similarly, in the second stage, the channel from the relay to the destination is given by
(5) |
where
(6) |
denotes the transmit FRV at the relay with . Here, , and denote the PRV, elevation and azimuth angles of departure (AoDs) of the -th transmit path from the relay to the destination, respectively.
Based on the above, the end-to-end signal-to-noise ratio (SNR) at the destination can be expressed as
(7) |
which is a function of and . Our goal is to maximize (7) by jontly optimizing and . Accordingly, the optimization problem is formulated as
(8a) | ||||
(8b) | ||||
(8c) | ||||
(8d) | ||||
(8e) |
where is the minimum inter-MA distance at the relay to avoid mutual coupling, and is the total power budget of the relay. Note that to investigate the fundamental limit of an MA-assisted relay system, we assume that all involved channel state information (CSI), i.e., ’s and ’s, is available. In practice, this can be achieved by applying some existing channel estimation techniques designed for MAs [11]. However, (P1) is non-convex due to its non-concave objective function and the intricate coupling of and therein. In the next section, we will apply an AO algorithm to deal with this difficulty and solve (P1) efficiently.
(18a) | ||||
(18b) |
III Proposed Solution for (P1)
In this section, we decompose (P1) into several subproblems with respect to , and , respectively, and solve them alternately until convergence.
III-A Optimizing with Given and
For any given and , we apply the property of Kronecker product[12], i.e.,
(9) | |||
(10) |
to re-express (P1) as
(11a) | ||||
(11b) |
where and . Although problem (11) is still non-convex, we reveal its hidden convexity by introducing the semidefinite relaxation (SDR). Specifically, let , problem (11) can be recast as
(12a) | ||||
(12b) |
By dropping the rank-one constraint in problem (12), it becomes a fractional semidefinite programming (SDP) problem, where the objective function is a quasi-affine function of . As a result, it can be optimally solved by combining the interior-point algorithm and bisection search. However, we show that it can be further recast into a linear programming problem and solved in a more efficient manner. To this end, we introduce an auxiliary variable and let with . By invoking the Charnes-Cooper transformation[13], problem (12) can be equivalently recast as
(13a) | ||||
(13b) | ||||
(13c) |
which is a semidefinite programming (SDP) problem and thus can be optimally solved via the interior-point algorithm. Let denote the optimal solution to problem . Then, the optimal solution to problem (12) can be retrieved as . Next, we present the following proposition to show that , such that we can always reconstruct a rank-one optimal solution to problem (11), i.e., the SDR is always tight.
Proposition 1: If problem (12) is feasible, then its optimal solution must satisfies .
Proof: See Appendix A.
Based on Proposition 1, we can obtain an optimal solution from through eigenvalue decomposition. Specifically, denote by and the maximum eigenvalue of and the corresponding eigenvector, respectively. Then, the optimal solution to problem (11) can be constructed as .
III-B Optimizing with Given and
First, we define , and . Then, for any given and , (P1) can be simplified as
(14a) | ||||
(14b) | ||||
where , and . Note that is independent of . Thus, maximizing (14a) is equivalent to maximizing
(15) |
where and . However, (III-B) is still a non-concave function with respect to (w.r.t.) . To tackle this problem, we use the GA method to obtain a locally optimal solution. To this end, we first derive the gradient vector of (III-B), i.e., . By denoting the -th entry of as , with and representing its amplitude and phase, respectively, we can expand as
(16) |
with . Let denote the -th entry of with and being its amplitude and phase, respectively. Similarly to (III-B), we can expand as
(17) |
with . It follows from the above that the gradient of (III-B) can be derived as , as shown in (18). Then, based on the principle of the GA, we can update in the GA iterations as
(19) |
where denotes the iteration number and denotes the step size of the GA in the -th iteration. To ensure that each satisfies the constraints in problem (14), we need to adjust the step size in each iteration. Define as the feasible set of . Then, in the -th iteration, if is not within the fesible set, i.e., , the step size is reset as . This process is repeated until . The procedures of our proposed GA-based algorithm for optimizing are summarized in Algorithm 1.
III-C Optimizing with Given and
Due to the monotonically increasing property of the logarithmic function, for any given and , (P1) can be simplified as
(20a) | ||||
Similarly to Section III-B, we ultilize the GA method to solve problem . Define , , and . Then, we can rewrite the objective of problem (20) as
(21) |
where and . Note that and are independent of , based on which we can expand as
(22) |
with
(23) | ||||
(24) |
where and . Following the derivation of (18), we can also derive the gradient of and w.r.t. , i.e., and , which result in
(25) |
Similarly, we can expand as
(26) |
with
(27) | ||||
(28) |
where and . Then, the gradient of and w.r.t. , i.e., and , can be derived similarly, which result in
(29) |
Finally, by combining (25) and (29), the gradient of the obejctive function of problem (20) can be calculated as
(30) |
Therefore, the update rule for is given by
(31) |
Define as the feasible set of . To ensure that each satisfies the constraints in problem (20), we dynamically adjust the step size in each iteration, similarly to the optimization of . The procedures of our proposed GA-based algorithm for optimizing resemble Algorithm 1, by simply replacing therein with .
III-D Overall Algorithm
The overall AO algorithm for solving (P1) is summarized in Algorithm 2. Notably, the convergence of this algorithm is always guaranteed since the objective is non-decreasing over iterations and has an upper bound.
Complexity Analysis: The complexity for optimizing is mainly from solving the SDP problem, i.e., problem (13), whose complexity is [14]. The complexity for optimizing and is given by and , respectively, where and denote the maximum GA iteration numbers. Hence, the overall complexity of our proposed algorithm is , where denotes the maximum AO iteration number.
IV Simulation Results


In this section, we present simulation results to show the effectiveness of our proposed MA-assisted relay system. In the simulation, the PRV from the source to the relay and that from the relay to the detination are both modeled as circularly symmetric complex Gaussian random vectors with independent and identically distributed (i.i.d.) elements, i.e., ,. The elevation and azimuth AoDs/AoAs are modeled as i.i.d. uniformly distributed variables over . Besides, the number of the receive paths from the source to the relay is set the same as that from the relay to the destination, i.e., , the noise power at the relay/destination is set to , and the minimum inter-MA distance is set to . All the results are averaged over 1000 independent channel realizations.


For performance comparison, we consider the following benchmark schemes: 1) FPA: The relay is equipped with an FPA-based uniform planar array with antennas and the spacing between any two adjacent antennas is set to ; 2) One-time position adjustment (OTPA): The positions of the MAs at the relay are adjusted only once to cater to both the reception/transmission from/to the source/destination. The associated antenna position optimization problem can also be solved by applying the GA algorithm, for which the details are omitted for brevity.
In Fig. 2, we show the convergence behavior of the achievable rate at the destination (i.e., in bps/Hz, where “1/2” is due to the half-duplex processing of the relay) by our proposed AO algorithm, with and . It is observed that our proposed AO algorithm converges after 10 iterations for all values of considered, which is consistent with our theoretical analysis in Section III-D.
Fig. 3 shows the optimized MA positions by our proposed AO algorithm and the OTPA scheme with . First, it is observed that the positions of the MAs in both schemes are not arranged in a regular manner as the conventional FPAs, in order to achieve a better channel condition. Besides, there exists significant differences between the MA positions by these two schemes, as the OTPA scheme needs to accommodate both the signal reception and transmission of the relay.
Fig. 4 shows the achievable rate versus the total power budget of the relay, with and . It is observed that our proposed scheme achieves the highest rate among all considered schemes for both and . Nonetheless, the OTPA scheme can achieve a small performance gap with our proposed scheme, implying that the performance loss by only adjusting the MA positions once may not be significant under certain conditions. Moreover, it can be found that the achievable rate increases faster with the relay power budget when the transmit power at the source is large. This is expected, as a low transmit power budget limits the amplification gain by the relay and thus the achievable rate performance.

Fig. 5 shows the achievable rate versus the number of antennas with and . It is observed that our proposed scheme outperforms other benchmark schemes under different value of . Besides, with increasing the antenna numbers, all considered schemes can achieve a higher date rate thanks to the enhanced spatial diversity gain and beamforming gain. The OTPA scheme is observed to achieve a close performance to the proposed scheme (less than 0.2 bps/Hz). Finally, in Fig. 6, we plot the achievable rate versus the normalized region size, i.e., , with and . It is observed that the achievable rate increases with the region size in the proposed scheme and the OTPA scheme, as it enables MAs to enjoy more available spatial diversity gain. However, when the region is sufficiently large, the spatial diversity gain will saturate. Accordingly, the achievable rates by these two schemes finally converge. It is also observed that the achievable rate by the proposed scheme increases faster than that by the OTPA scheme, since more spatial diversity gain is exploited in the former scheme with two-stage (versus one-stage) antenna position optimization.
V Conclusion
This paper studied a joint beamforming and two-stage antenna position optimization problem for an MA-enhanced AF relaying system, aiming to maximize the achievable rate at the destination. To deal with the non-convexity due to the two-stage antenna position optimization, we proposed an AO algorithm to decompose the primal problem into several subproblems and solve them separately by combining the SDP and the GA algorithms. Simulation results showed that our proposed system can significantly enhance the AF relaying performance compared with the conventional FPA system. It was also shown that the OTPA scheme may achieve a close performance to the two-stage antenna position optimization.
Appendix A Proof of Proposition 1
Since problem (13) is convex and satisfies Slater’s condition, the duality gap is zero, and the optimal primal/dual solutions must satisfy the Karush-Kuhn-Tucker (KKT) conditions[15]. Let and denote the optimal dual variables associated with the constraints in problem (13). According to the KKT conditions, we have:
(32a) | |||
(32b) | |||
(32c) |
Define . It is easy to verify that is a positive definite matrix, which implies that it must be of full rank, i.e., . Substituting (32c) into (32b), we can obtain the following equality:
(33) |
Moreover, since is of full rank, we have
(34) |
Note that results in , which is infeasible to problem (13). As a result, we must have , and the optimal solution to problem (12), i.e., , must satisfy . The proof is thus complete.
References
- [1] L. Zhu, W. Ma, and R. Zhang, “Movable antennas for wireless communication: Opportunities and challenges,” IEEE Commun. Mag., vol. 62, no. 6, pp. 114–120, 2024.
- [2] ——, “Modeling and performance analysis for movable antenna enabled wireless communications,” IEEE Trans. Wireless Commun., vol. 23, no. 6, pp. 6234–6250, 2024.
- [3] B. Ning et al., “Movable antenna-enhanced wireless communications: General architectures and implementation methods,” arXiv:2407.15448, 2024.
- [4] W. Ma, L. Zhu, and R. Zhang, “MIMO capacity characterization for movable antenna systems,” IEEE Trans. Wireless Commun., vol. 23, no. 4, pp. 3392–3407, 2024.
- [5] L. Zhu et al., “Movable-antenna enhanced multiuser communication via antenna position optimization,” IEEE Trans. Wireless Commun., vol. 23, no. 7, pp. 7214–7229, 2024.
- [6] N. Li, P. Wu, B. Ning, and L. Zhu, “Sum rate maximization for movable antenna enabled uplink NOMA,” IEEE Wireless Commun. Lett., 2024, early access.
- [7] W. Mei, X. Wei, B. Ning, Z. Chen, and R. Zhang, “Movable-antenna position optimization: A graph-based approach,” IEEE Wireless Commun. Lett., vol. 13, no. 7, pp. 1853–1857, 2024.
- [8] G. Hu et al., “Secure wireless communication via movable-antenna array,” IEEE Signal Process. Lett., vol. 31, pp. 516–520, 2024.
- [9] X. Wei, W. Mei, D. Wang, B. Ning, and Z. Chen, “Joint beamforming and antenna position optimization for movable antenna-assisted spectrum sharing,” IEEE Wireless Commun. Lett., 2024, early access.
- [10] J. Xiao et al., “Throughput maximization for movable antenna and IRS enhanced wireless powered IoT networks,” in 2024 IEEE Wireless Communications and Networking Conference (WCNC), 2024, pp. 1–6.
- [11] W. Ma, L. Zhu, and R. Zhang, “Compressed sensing based channel estimation for movable antenna communications,” IEEE Commun. Lett., vol. 27, no. 10, pp. 2747–2751, 2023.
- [12] R. A. Horn and C. R. Johnson, Matrix analysis. Cambridge university press, 2012.
- [13] A. Charnes and W. W. Cooper, “Programming with linear fractional functionals,” Naval Res. Logist. Quart., vol. 9, pp. 181–186, 1962.
- [14] Z.-Q. Luo et al., “Semidefinite relaxation of quadratic optimization problems,” IEEE Signal Process. Mag., vol. 27, no. 3, pp. 20–34, 2010.
-
[15]
S. Boyd and L. Vandenberghe, Convex optimization. Cambridge unive-
rsity press, 2004.