Abstract
In this paper, the trajectory optimization problem for a multi-aerial basestation (ABS) communication network is investigated. The objective is to findthe trajectory of the ABSs so that the sum-rate of the users served by each ABSis maximized. To reach this goal, along with the optimal trajectory design,optimal power and sub-channel allocation is also of great importance to supportthe users with the highest possible data rates. To solve this complicatedproblem, we divide it into two sub-problems: ABS trajectory optimizationsub-problem, and joint power and sub-channel assignment sub-problem. Then,based on the Q-learning method, we develop a distributed algorithm which solvesthese sub-problems efficiently, and does not need significant amount ofinformation exchange between the ABSs and the core network. Simulation resultsshow that although Q-learning is a model-free reinforcement learning technique,it has a remarkable capability to train the ABSs to optimize their trajectoriesbased on the received reward signals, which carry decent information from thetopology of the network.
Quick Read (beta)
Reinforcement Learning-Based Trajectory Design for the Aerial Base Stations
Abstract
In this paper, the trajectory optimization problem for a multi-aerial base station (ABS) communication network is investigated. The objective is to find the trajectory of the ABSs so that the sum-rate of the users served by each ABS is maximized. To reach this goal, along with the optimal trajectory design, optimal power and sub-channel allocation is also of great importance to support the users with the highest possible data rates. To solve this complicated problem, we divide it into two sub-problems: ABS trajectory optimization sub-problem, and joint power and sub-channel assignment sub-problem. Then, based on the Q-learning method, we develop a distributed algorithm which solves these sub-problems efficiently, and does not need significant amount of information exchange between the ABSs and the core network. Simulation results show that although Q-learning is a model-free reinforcement learning technique, it has a remarkable capability to train the ABSs to optimize their trajectories based on the received reward signals, which carry decent information from the topology of the network.
I Introduction
Supporting ceaselessly increasing number of mobile devices and their high data rate demands are among the most critical concerns of the wireless networks. Unfortunately, the currently utilized base stations (BSs) are not able to completely satisfy these requirements due to their static nature [1]. In particular, a long distance between mobile users and these static BSs causes a low quality for the communication link, and leads to poor coverage. To resolve this issue, finding technologies allowing the BSs to adaptively decrease their distances to the users is essential for the future communication networks. Motivated by this, aerial base stations (ABSs) have recently attracted significant attention due to their applications in wireless networks [2]. Considering advantages such as high mobility, low cost, and flexible deployement offered by the ABSs [3], they can be considered as a promising technology to improve the coverage of mobile users in the wireless networks.
The conducted research for the ABSs can be categorized into two lines: static ABSs and dynamic ABSs. For the statice ABSs, the objective is to find the optimal placement of the ABS(s) in a way that some criteria such as coverage or sum-rate of the users is maximized [4, 5, 6]. For instance, in [4] the optimal placement of the ABSs is determined to minimize the number of ABSs required to cover ground users, ensuring that each mobile user is in the coverage area of at least one of the ABSs. In [5] an algorithm is developed to optimize the 3-D deployment of an ABS with the objective of maximizing the number of covered users using the minimum transmit power. However, in all of these work, the location of the ABS is assumed to be fixed. For the dynamic ABSs, however, the main goal is to leverage the mobility of the ABSs. Thus, the trajectory of the ABS(s) is optimized to improve the performance of the mobile users [7, 8, 9]. This performance gain is resulted from the fact that when the distance between an ABS and user decreases, the probability of having a line-of-sight (LoS) link increases, and hence, higher data rates are achievable in comparison to the static case. In [7] based on the block coordinate descent and successive convex approximation techniques, the authors optimize the user association, ABS trajectories, and transmit power of a multi-ABS system with the objective of maximizing the minimum data rate of the users. In [8], data offloading problem for an ABS-enabled wireless network has been investigated and the trajectory of the ABS obtained with the objective of maximizing the sum-rate of the users served by the ABS, while minimum data requirement has been considered for all users. In [9] the authors proposed an algorithm to maximize the minimum data rate of ground users by jointly optimizing the ABS trajectory and its power and bandwidth. It is worth mentioning that in all of these work, it is assumed that perfect knowledge of the environment is available. This assumption is not practical since the topology of the network can change continuously, and to have perfect knowledge of the environment, a significant amount of information has to be exchanged between the ABSs and the core network, which is not possible.
Motivated by this, we propose a distributed algorithm based on Q-learning to optimize the trajectory of the ABSs. In contrast to the existing algorithms, our algorithm does not need perfect knowledge of the environment, and the amount of information exchanged between ABSs and the core network is negligible. The objective of our trajectory design algorithm is to maximize the sum-rate of users served by each ABS. Therefore, it is of great importance to allocate optimal power and sub-channels to the users to support them with the highest data rates. To solve this complicated problem, we divide it into two sub-problems: trajectory optimization sub-problem (higher level) and joint power and sub-channel allocation sub-problem (lower level). In the higher level, based on the reinforcement learning techniques, a Q-learning problem is formulated to train and update the trajectory of the ABSs using the feedback signal received from the environment. On the other hand, in the lower level, a joint power and sub-channel allocation problem is solved to form the reward function emerging from taking actions by the ABSs in the higher level.
The rest of the paper is organized as follows: Section II describes the system model. The channel model is also discussed in this section. Principals of reinforcement learning is presented in section III. Section IV formulates the trajectory design problem as a Q-learning problem. Our algorithm is also presented in section IV. Simulation results and conclusion are presented in section V and VI, respectively.
II System Model
In this paper, we consider the downlink of a wireless network integrated with multiple ABSs. The set of all ABSs is presented by $\mathcal{J}=\{1,2,\mathrm{\dots},J\}$, and the set of users associated with the $j$-th ABS is denoted by ${\mathcal{K}}_{j}$. Moreover, the ABSs share $\mathcal{N}=\{1,2,\mathrm{\dots},N\}$ orthogonal sub-channels. We use indices $j$, $k$, and $n$ to represent ABSs, mobile users, and sub-channels. The position of the $j$-th ABS at time $t$ is denoted by ${\mathbf{\Omega}}_{j}(t)=({x}_{j}(t),{y}_{j}(t),H)$, where $H$ is the altitude of the ABSs which is assumed to be constant throughout their flight time. The initial and final position of the $j$-th ABS are indicated by ${\mathbf{\Omega}}_{j}^{0}=({x}_{j}^{0},{y}_{j}^{0},H)$ and ${\mathbf{\Omega}}_{j}^{F}=({x}_{j}^{F},{y}_{j}^{F},H)$, respectively. According to this notation, the trajectory of the $j$-th ABS starts from ${\mathbf{\Omega}}_{j}^{0}$ and ends to ${\mathbf{\Omega}}_{j}^{F}$. We assume that the speed of the ABSs is constant during their flights, i.e., $\parallel {V}_{j}(t)\parallel =V$, $\forall t,j$, where $V$ is the constant velocity. The distance between ABS $j$ and its final position ${\mathbf{\Omega}}_{j}^{F}$ at time $t$ is expressed as
$${D}_{j}(t)\triangleq \parallel {\mathbf{\Omega}}_{j}(t)-{\mathbf{\Omega}}_{j}^{F}\parallel {}^{2},\forall j,t,$$ | (1) |
and the distance between ABS ${j}_{1}$ and ABS ${j}_{2}$ at time $t$ is
$${D}_{{j}_{1},{j}_{2}}(t)\triangleq \parallel {\mathbf{\Omega}}_{{j}_{1}}(t)-{\mathbf{\Omega}}_{{j}_{2}}(t)\parallel {}^{2},\forall j{}_{1}\ne j{}_{2},\forall t.$$ | (2) |
To avoid any collision between the ABSs, their trajectories are subject to collision avoidance constraint as follows
$${D}_{{j}_{1},{j}_{2}}(t)>{D}_{\text{min}},\forall {j}_{1}\ne {j}_{2},\forall t,$$ | (3) |
where ${D}_{\text{min}}$ is the minimum distance between any pair of ABSs that ensures collision avoidance.
For the air-to-ground links between ABSs and mobile users, we assume that the channel gains are composed of path loss and frequency selective Rayleigh fading. If ${h}_{jk}^{n}(t)$ denotes the channel between the $j$-th ABS and user $k$ over the $n$-th sub-channel at time $t$, we have
$${h}_{jk}^{n}(t)=\frac{{\rho}_{jk}^{n}(t)}{\sqrt{{\text{PL}}_{jk}(t)}},$$ | (4) |
where ${\rho}_{jk}^{n}(t)$ accounts for the small scale fading, and ${\text{PL}}_{jk}^{n}(t)$ is the average path loss of the link at time $t$. For the path loss, we adopt the model proposed in [10]. According to this model, both LoS and Non-LoS propagation groups are involved in the average path loss expression. To consider the effects of LoS and Non-LoS links on the average path loss, we need to know their probabilities which depend on the elevation angle between the ABS and the mobile users. Based on [10], the probability of having a LoS link between the $j$-th ABS and user $k$ at time $t$ is given by
$${\text{pr}}_{jk}^{\text{LoS}}(t)=\frac{1}{1+a\text{exp}\left(-b({\theta}_{jk}(t)-a)\right)},$$ | (5) |
where ${\theta}_{ik}(t)$ is the elevation angle between ABS $j$ and user $k$ at time $t$, and $a$ and $b$ are constants depending on the environment. The elevation angle is given as ${\theta}_{ik}(t)=\mathrm{arctan}(\frac{H}{L(t)})$, where $H$ and $L(t)$ are the altitude and the horizontal distance between the $j$-th ABS and user $k$ at time $t$, respectively. Based on the probability given in (5), the average path loss between ABS $j$ and user $k$, ${\text{PL}}_{jk}(t)$ can be formulated as
$${\text{PL}}_{jk}(t)={\text{pr}}_{jk}^{\text{LoS}}(t){\text{PL}}^{\text{LoS}}(t)+(1-{\text{pr}}_{jk}^{\text{LoS}}(t)){\text{PL}}^{\text{N-LoS}}(t),$$ | (6) |
where ${\text{PL}}^{\text{LoS}}(t)$ and ${\text{PL}}^{\text{N-LoS}}(t)$ are the free space path losses corresponding to the LoS and Non-LoS links, respectively. The free space path loss corresponding to the LoS is expressed as ${\text{PL}}^{\text{LoS}}(t)={\left(\frac{4\pi {f}_{c}{d}_{jk}(t)}{c}\right)}^{2}\times {\eta}^{\text{LoS}}$, where ${d}_{jk}(t)$ represents the distance between the $j$-th ABS and user $k$ at time $t$, ${f}_{c}$ is the carrier frequency, $c$ is the speed of light, and ${\eta}^{\text{LoS}}$ is the environment-dependant additional loss due to LoS link. In a similar way, the free space path loss corresponding to the Non-LoS is described as ${\text{PL}}^{\text{N-LoS}}(t)={\left(\frac{4\pi {f}_{c}{d}_{jk}(t)}{c}\right)}^{2}\times {\eta}^{\text{N-LoS}}$, where ${\eta}^{\text{N-LoS}}$ is the additional loss due to the Non-LoS link. For the small scale fading, without loss of generality we assume that for $\forall j,k,n$, ${\rho}_{jk}^{n}(t)$ are independent and identically distributed (i.i.d) random variables with $\mathbb{E}\{{|{\rho}_{jk}^{n}|}^{2}\}=1$. Using the described model, the channel gain between the $j$-th ABS and user $k$ at time $t$ is given by
$${g}_{jk}^{n}(t)\triangleq {\left|{h}_{jk}^{n}(t)\right|}^{2}.$$ | (7) |
As discussed earlier, in this paper, we are to find trajectories of the ABSs with the objective of maximizing sum-rate of the users associated with each ABS. As a result, in addition to the optimal trajectory design, optimal power and sub-channel allocation is also necessary to support the users with the highest data rates. If the transmit power of the $j$-th ABS on the $n$-th sub-channel and time $t$ is denoted by ${P}_{j}^{n}(t)$, according to Shannon formula, the instanteneous rate of user $k$ served by the $j$-th ABS at time $t$ on sub-channel $n$ is given by
$${r}_{jk}^{n}(t)=\mathrm{log}\left(1+\frac{{P}_{j}^{n}(t){g}_{jk}^{n}(t)}{{I}_{jk}^{n}(t)+{\sigma}^{2}}\right),$$ | (8) |
where ${\sigma}^{2}$ is the thermal noise at the receiver of the $k$-th mobile user and ${I}_{jk}^{n}(t)$ is the total interference on the $n$-th sub-channel and time $t$ arising from other ABSs and ground base station (GBS) to the receiver of the $k$-th user. The interference ${I}_{jk}^{n}(t)$ is expressed as
$${I}_{jk}^{n}(t)=\sum _{{j}^{\prime}=1,{j}^{\prime}\ne j}^{J}{P}_{{j}^{\prime}}^{n}(t){g}_{{j}^{\prime}k}^{n}(t)+{P}_{0}^{n}(t){g}_{0k}^{n}(t),$$ | (9) |
where the first summation is the total interference from the other ABSs and the last term accounts for the interference arising from the GBS. Accordingly, ${P}_{0}^{n}(t)$ is the transmit power of GBS at time $t$ over the $n$-th sub-channel, and ${g}_{0k}^{n}(t)$ is the channel gain from the GBS to user $k$ over sub-channel $n$ and time $t$. Moreover, we define the sub-channel assignment indicator as
$${a}_{jk}^{n}(t)\in \{0,1\},\forall j,k,n,t,$$ | (10) |
where ${a}_{jk}^{n}(t)=1$ indicates that at time $t$, sub-channel $n$ is assigned to the user $k$ by its associating ABS $j$. Otherwise the value of ${a}_{jk}^{n}(t)$ is zero.
III Reinforcement Learning Fundamentals
In this section, we briefly explain the reinforcement learning principals. Then, we formulate our trajectory design problem as a Q-learning problem which can be solved efficiently.
In reinforcement learning, the agent interacts with the environment at each of a sequence of discrete time steps denoted by $t=0,1,2,\mathrm{\dots}$. If ${s}_{t}$ and $\mathcal{S}$ denote the state occupied by the agent at time $t$ and the set of all possible states, respectively, based on the current state ${s}_{t}$, the agent takes an action ${a}_{t}\in \mathcal{A}({s}_{t})$, where $\mathcal{A}({s}_{t})$ is the set of actions available at state ${s}_{t}$. One time step later, agent receives reward ${r}_{t+1}$ and goes to a new state ${s}_{t+1}$. Fig. 1 presents the interaction between agent and environment.
The agent at each time step implements a policy $\pi (a|s)$ which is the probability that ${a}_{t}=a$ if ${s}_{t}=s$, i.e.,
$$\pi (a|s)=\text{Pr}({a}_{t}=a|{s}_{t}=s).$$ | (11) |
The implemented policy is modified over time based on the previous experience. Reinforcement learning describes how this policy change is made as a result of agent’s experience [11]. The goal of an agent is not maximizing its immediate reward, but the expected sum of discounted reward it receives over the long run is maximized. For this purpose, we define a return function ${R}_{t}$ as
$${R}_{t}\triangleq \sum _{k=0}^{T-1}{\gamma}^{k}{r}_{t+k+1},$$ | (12) |
where $T$ and $\gamma $ are the final time step and the discount rate $$, respectively. Based on (11) and (12), we can define a function which represents the value of taking action $a$ in state $s$ under policy $\pi $, denoted by ${Q}_{\pi}(s,a)$ as
$${Q}_{\pi}(s,a)={\mathbb{E}}_{\pi}\left\{{R}_{t}\right|{s}_{t}=s,{a}_{t}=a\}.$$ | (13) |
In other words, ${Q}_{\pi}(s,a)$ is the expected return starting from $s$, taking action $a$, and following policy $\pi $. This function is called action-value function or simply Q-function. Using the definition of return in (12), the action-value function can be decomposed into immediate reward plus discounted Q-function of successor state as
$${Q}_{\pi}(s,a)={\mathbb{E}}_{\pi}\left\{{r}_{t+1}+\gamma {Q}_{\pi}({s}_{t+1},{a}_{t+1})\right|{s}_{t}=s,{a}_{t}=a\}.$$ | (14) |
The optimal Q-function is expressed as
$${Q}^{\star}(s,a)=\underset{\pi}{\mathrm{max}}{Q}_{\pi}(s,a),$$ | (15) |
and the optimal policy can be obtained by maximizing over ${Q}^{\star}(s,a)$ according to
$${\pi}^{\star}(a|s)=\{\begin{array}{cc}1\hfill & \text{if}a=\mathrm{arg}{\mathrm{max}}_{a}{Q}^{\star}(s,a)\hfill \\ 0\hfill & \text{Otherwise}\hfill \end{array}.$$ | (16) |
Moreover, the optimal Q-function has to satisfy the Bellman optimality equation [11] for the Q-function as
$${Q}^{\star}(s,a)={\mathbb{E}}_{\pi}\left\{{r}_{t+1}+\gamma \underset{{a}^{\prime}}{\mathrm{max}}{Q}^{\star}({s}_{t+1},{a}^{\prime})\right|{s}_{t}=s,{a}_{t}=a\}.$$ | (17) |
It is worth mentioning here that the Bellman optimality equation is non-linear and in general does not have any closed form solution. Alternatively, to solve (17) we have to use an iterative method. Q-learning is a well-known method for finding ${Q}^{\star}(s,a)$ in a recursive manner [12]. According to this method, the learned action-value function is updated as
$$\begin{array}{c}Q({s}_{t},{a}_{t})\u27f5Q({s}_{t},{a}_{t})+\alpha [{r}_{t+1}+\gamma \underset{a}{\mathrm{max}}Q({s}_{t+1},a)\hfill \\ \hfill -Q({s}_{t},{a}_{t})],\end{array}$$ | (18) |
where $\alpha \in [0,1]$ is the learning rate. The most important advantage of this method is that the learned Q-function derived by (18) directly approximates the optimal action-value function, ${Q}^{\star}(s,a)$, independent of the policy followed by the agent [11].
IV Trajectory optimization as a Q-learning problem
In this section, the trajectory optimization is formulated as a Q-learning problem. To find the trajectories of the ABSs with the objective of maximizing sum-rate of the users associated with each ABS, we divide the problem into two sub-problems: trajectory optimization sub-problem and joint power and sub-channel allocation sub-problem. In other words, a two stage decision making procedure is considered to deal with the original complicated problem. In the first stage, using the Q-learning technique, ABSs take one of the available actions to obtain their trajectories. Upon any change in the position of the ABSs, in the second stage, a new optimization problem is solved to allocate optimal power and sub-channels to the mobile users. The corresponding sum-rate contributes to the reward received from taking the action in the first stage. In what follows, we define the agents, states, actions, and reward associated to the Q-learning framework:
Agent $j$: ABS $j$, $1\le j\le J$.
State ${s}_{t}^{(j)}$: Position of ABS $j$ at time $t$. In other words, ${s}_{t}^{(j)}=\{{x}_{j}(t),{y}_{j}(t),H\}$. It is worth mentioning that in general, the position of each ABS can be a continuous function. To restrict the number of possible states, we place a grid with limited number of squares on it to discretize the area. The center of each square represents that state. For instance, if the area of interest is rectangular and is presented by ${\text{x}}_{\text{min}}\le x\le {\text{x}}_{\text{max}}$ and ${\text{y}}_{\text{min}}\le y\le {\text{y}}_{\text{max}}$, we convert this continuous area into ${M}^{2}$ states by spliting both $[{\text{x}}_{\text{min}},{\text{x}}_{\text{max}}]$ and $[{\text{y}}_{\text{min}},{\text{y}}_{\text{max}}]$ intervals into $M$ slots. In the resulting grid, the coordinates of the center of the square located at the ${k}_{1}$-th slot in the x axis and the ${k}_{2}$-th slot in the y slot are
${\text{x}}_{{k}_{1}}={\text{x}}_{\text{min}}+\frac{({\text{x}}_{\text{max}}-{\text{x}}_{\text{min}})}{M}({k}_{1}-1)$ and ${\text{y}}_{{k}_{2}}={\text{y}}_{\text{min}}+\frac{({\text{y}}_{\text{max}}-{\text{y}}_{\text{min}})}{M}({k}_{2}-1)$, respectively. As a result, the number of available states in our problem is limited to ${M}^{2}$.
Action ${a}_{t}^{(j)}$: Available actions at each state are the movement in four directions: left, right, forward, and backward.
Reward ${r}_{t}^{(j)}$: The reward function for the $j$-th agent is defined as follows
$${r}_{t}^{(j)}={\beta}_{1}{F}_{1}^{(j)}(t)-{\beta}_{2}{F}_{2}^{(j)}(t)-{\beta}_{3}{F}_{3}^{(j)}(t),$$ | (19) |
where ${F}_{1}^{(j)}$ reflects the sum-rate of the users served by ABS $j$, ${F}_{2}^{(j)}$ motivates the ABS to complete its flight in a reasonably short time, and ${F}_{3}^{(j)}$ is an activation function required for the safety of the ABSs. In (19), ${\beta}_{1}$, ${\beta}_{2}$, and ${\beta}_{3}$ are parameters of the reward function. In what follows we introduce functions ${F}_{1}^{(j)}$, ${F}_{2}^{(j)}$, and ${F}_{3}^{(j)}$ in more details and explain the rationale behind this selection.
As discussed earlier, Q-learning aims to maximize the sum-rate of the users while the time to complete the flight is reasonably short. Moreover, for safety purposes, the distance between any pair of ABSs must be greater than some predefined threshold. Based on these concerns, we design the reward function. Function ${F}_{1}^{j}(t)$ is defined to be the sum-rate of mobile users currently served by the ABS $j$. This function is expressed as
$${F}_{1}^{(j)}(t)=\sum _{k=1}^{K}\sum _{n=1}^{N}{a}_{jk}^{\star n}(t)\mathrm{log}\left(1+\frac{{P}_{j}^{\star n}(t){g}_{jk}^{n}(t)}{{I}_{jk}^{n}(t)+{\sigma}^{2}}\right),$$ | (20) |
where ${P}_{j}^{\star n}(t)$ and ${a}_{jk}^{\star n}(t)$ are the optimal power and sub-channel allocation at time $t$, respectively. To find these values, the $j$-th ABS solves the following optimization problem at time $t$
$\underset{P,a}{\mathrm{max}}$ | $\sum _{k=1}^{K}}{\displaystyle \sum _{n=1}^{N}}{a}_{jk}^{n}(t)\mathrm{log}\left(1+{\displaystyle \frac{{P}_{j}^{n}(t){g}_{jk}^{n}(t)}{{I}_{jk}^{n}(t)+{\sigma}^{2}}}\right)$ | (21a) | ||
s.t. | $\begin{array}{c}\hfill {\displaystyle \sum _{k=1}^{K}}{\displaystyle \sum _{n=1}^{N}}{a}_{jk}^{n}(t){P}_{j}^{n}(t)\le {P}_{\text{max}},\hfill \end{array}$ | (21b) | ||
$\begin{array}{c}\hfill {\displaystyle \sum _{k=1}^{K}}{a}_{jk}^{n}(t)\le 1,\forall n,\hfill \end{array}$ | (21c) | |||
$\begin{array}{c}\hfill {a}_{jk}^{n}(t)\in \{0,1\},\forall k,n,\hfill \end{array}$ | (21d) |
where constraint (21b) ensures that the transmit power of each ABS is limited to ${P}_{\text{max}}$ and (21c) guarantees that at each time $t$, each sub-channel is assigned to at most one mobile user. The optimization problem of (21a) is a non-convex mixed integer problem due to constraint (21d). To make it tractable, we first relax the binary variables ${a}_{jk}^{n}(t)$ to be continuous in the interval of $[0,1]$. Moreover, we denote the actual power allocated to the $k$-th mobile user served by the $j$-th ABS on the $n$-th sub-channel and time $t$ with ${\stackrel{~}{P}}_{jk}^{n}(t)\triangleq {a}_{jk}^{n}(t){P}_{j}^{n}(t)$. As a result, the new optimization problem is given by
$\underset{\stackrel{~}{P},a}{\mathrm{max}}$ | $\sum _{k=1}^{K}}{\displaystyle \sum _{n=1}^{N}}{a}_{jk}^{n}(t)\mathrm{log}\left(1+{\displaystyle \frac{{\stackrel{~}{P}}_{j}^{n}(t){g}_{jk}^{n}(t)}{{a}_{jk}^{n}(t)\left({I}_{jk}^{n}(t)+{\sigma}^{2}\right)}}\right)$ | (22a) | ||
s.t. | $\begin{array}{c}\hfill {\displaystyle \sum _{k=1}^{K}}{\displaystyle \sum _{n=1}^{N}}{\stackrel{~}{P}}_{jk}^{n}(t)\le {P}_{\text{max}},\hfill \end{array}$ | (22b) | ||
$\begin{array}{c}\hfill 0\le {a}_{jk}^{n}(t)\le 1,\forall k,n,\hfill \end{array}$ | (22c) | |||
$(\mathit{\text{21c}}).$ |
It can be shown that the function $f(x,y)=x\mathrm{log}(1+\frac{y}{x}h)$, for a constant $h$, is concave over $x\ge 0$ and $y\ge 0$ since its Hessian matrix is negative semi-definite. Therefore, problem of (22a) is a convex problem. To solve (22a), we form its Lagrangian function as follows
$$\begin{array}{c}\mathcal{L}\{\mathbf{P},\mathbf{a},\lambda ,\mu \}=\sum _{k=1}^{K}\sum _{n=1}^{N}{a}_{jk}^{n}(t)\mathrm{log}\left(1+\frac{{P}_{j}^{n}(t){g}_{jk}^{n}(t)}{{I}_{jk}^{n}(t)+{\sigma}^{2}}\right)\hfill \\ \hfill +\lambda \left({P}_{\text{max}}-\sum _{k=1}^{K}\sum _{n=1}^{N}{a}_{jk}^{n}(t){P}_{j}^{n}(t)\right)+\sum _{n=1}^{N}{\mu}_{n}\left(1-\sum _{k=1}^{K}{a}_{jk}^{n}(t)\right),\end{array}$$ | (23) |
where $\lambda $ and ${\mu}_{n}$ are the dual multipliers associated with constraints (21b) and (21c), respectively. The Lagrangian dual function is defined as
$$g(\lambda ,\mu )=\underset{\stackrel{~}{\mathbf{p}},\mathbf{a}}{\mathrm{max}}\mathcal{L}\{\mathbf{P},\mathbf{a},\lambda ,\mu \},$$ |
and the dual problem is
$\underset{\lambda ,\mu}{\mathrm{min}}g(\lambda ,\mu )\mathit{\hspace{1em}\hspace{1em}}\text{s.t.}\begin{array}{c}\hfill \lambda ,\mu \ge 0.\hfill \end{array}$ | (24) |
According to the KKT conditions [13], the optimal solution of (22a) must sastisfy $\frac{\partial \mathcal{L}}{\partial {\stackrel{~}{P}}_{jk}^{n}}=0$ and $\frac{\partial \mathcal{L}}{\partial {a}_{jk}^{n}}=0$, As a result, we obtain
$${P}_{j}^{\star n}(t)=\frac{{\stackrel{~}{P}}_{jk}^{\star n}(t)}{{a}_{jk}^{n}(t)}={\left[\frac{1}{\mathrm{ln}2\lambda}-\frac{{I}_{jk}^{n}(t)+{\sigma}^{2}}{{h}_{jk}^{n}(t)}\right]}^{+},$$ | (25) |
and
$${a}_{j{k}^{\star}}^{n}(t)={1|}_{{k}^{\star}=\mathrm{arg}{\mathrm{max}}_{k}{\mathrm{\Psi}}_{jk}^{n}(t)},$$ | (26) |
where
$$\begin{array}{c}{\mathrm{\Psi}}_{jk}^{n}(t)=\mathrm{log}\left(1+\frac{{P}_{j}^{\star n}(t){h}_{jk}^{n}(t)}{{I}_{jk}^{n}(t)+{\sigma}^{2}}\right)-\hfill \\ \hfill \frac{1}{\mathrm{ln}2}\frac{{P}_{j}^{\star n}(t){h}_{jk}^{n}(t)}{{P}_{j}^{\star n}(t){h}_{jk}^{n}(t)+{I}_{jk}^{n}(t)+{\sigma}^{2}}.\end{array}$$ |
In other words, sub-channel $n$ is assigned to user $k$ with the largest value of ${\mathrm{\Psi}}_{jk}^{n}(t)$. The dual variable $\lambda $ can be updated with the sub-gradient method according to
$$\lambda (l+1)={\left[\lambda (l)-\alpha (l)\left({P}_{\text{max}}-\sum _{k=1}^{K}\sum _{n=1}^{N}{\stackrel{~}{P}}_{jk}^{n}(t)\right)\right]}^{+},$$ | (27) |
where $\alpha (l)$ is the step size in the $l$-th iteration which has to satisfy $\sum _{l=1}^{\mathrm{\infty}}}\alpha (l)=\mathrm{\infty$, and $\underset{l\to \mathrm{\infty}}{lim}\alpha (l)=0$. Using (25) and (26), the sum-rate of the users associated with the $j$-th ABS is derived by (20).
[t] {algorithmic}[1] \StateFor all ABSs, initialize their Q-function ${Q}_{j}(s,a)$ for all $s\in \mathcal{S}$, $\forall a\in \mathcal{A}(s)$ and $\forall j\in \mathcal{J}$, arbitrarily. \StateSet ${Q}_{j}(\text{Terminal state},.)=0$ for all ABSs. \Forepisode=1 to max episode \StateInitialize ${s}_{0}^{(j)}$ based on the initial location of each ABS $j$. \Foreach step of episode (time $t$) \Foreach ABS \If$$ \Stateselect action randomly (exploration) \Else\StateChoose action ${a}_{t}^{(j)}=\mathrm{arg}{\mathrm{max}}_{{a}^{\prime}}{Q}_{j}({s}_{t}^{(j)},{a}^{\prime})$ (exploitation) \EndIf\StateTake action ${a}_{t}^{(j)}$, \StateReceive the immediate reward, ${r}_{t+1}^{(j)}$ according to (19) \StateObserve the new state ${s}_{t+1}^{(j)}$ \StateUpdate $Q$-function for ABS $j$ as \State${Q}_{j}({s}_{t}^{(j)},{a}_{t}^{(j)})\u27f5{Q}_{j}({s}_{t}^{(j)},{a}_{t}^{(j)})+\alpha \left[{r}_{t+1}^{(j)}+\gamma {\mathrm{max}}_{a}{Q}_{j}({s}_{t+1}^{(j)},a)-{Q}_{j}({s}_{t}^{(j)},{a}_{t}^{(j)})\right]$ \EndFor\EndFor\EndFor
In addition to the sum-rate function ${F}_{1}^{(j)}(t)$, we need another function ${F}_{2}^{(j)}(t)$ to motivate the ABS to reach the terminal state (final position) at the end of its flight time. This prevents ABSs from staying at a specific point, and forces the ABSs to reach their destinations. We define
$${F}_{2}^{(j)}(t)={D}_{j}(t),$$ | (28) |
where ${D}_{j}(t)$ is the distance between ABS $j$ and its final position at time $t$ and is defined in (1). Moreover, we need another function ${F}_{3}^{(j)}(t)$ to act like an activation function returning a value when the distance between ABS $j$ to any other ABS is less than the threshold distance required for the collision avoidance. In other words,
$$ | (29) |
Based on (20), (28), and (29), the reward function is expressed as (19). Algorithm IV shows our distributed Q-learning algorithm for the ABS trajectory design.
V Simulation Results
In this section, numerical results are presented to show the performance of the proposed algorithm. We consider a $3$km $\times $ $3$km area which using a rectangular grid is divided into ${M}^{2}=900$ states. Users are randomly distributed in the area. In our simulations we assume a dual-ABS system. The number of sub-channels and the carrier frequency are $N=8$ and ${f}_{c}=2$GHz, respectively. The total number of users in our simulations is 20 in which half of them are assigned to each one of the ABSs. The altitude of the ABSs is assumed $H=100$m. Other parameters are as follows: $(a,b)=(5,0.5)$, ${\eta}^{\text{LoS}}=1$, ${\eta}^{\text{N-LoS}}=20$, $\gamma =0.9$, $\u03f5=0.1$, $({\beta}_{1},{\beta}_{2},{\beta}_{3})=(10,0.25,1000)$ , $V=10$m/s, ${P}_{\text{max}}=200$mW, ${D}_{\text{min}}=5$m, $[{\mathbf{x}}_{min},{\mathbf{x}}_{max}]=[0,3000]$, and $[{\mathbf{y}}_{min},{\mathbf{y}}_{max}]=[0,3000]$.
Fig. 2 presents the final trajectory of the ABSs. This figure shows that although Q-learning is a model-free method, it has ability to make the agents aware of the environment. In other words, using the feedback signals which are the rewards signals, the ABSs can be trained to find their trajectories based on the topology of the network. This figure also shows that in addition to moving from the initial position toward the final position, the ABSs repeatedly decrease their distances to their associated users. This is essential for the ABSs since by reducing the distance to a user, the link quality between the ABS and the aformentioned user is improved. As a result, the data rate of the user increases. Moreover, it is observed that the ABSs eventually reach to their final positions either to get prepared for the next flight time or to recharge their batteries. This is done so that the distance between the ABSs at any time during their flight remains more than ${D}_{\text{min}}$.
Fig. 3 shows convergence of the average sum-rate of the users. Index $e$ indicates the episode number. As can be observed, at the begining of the learning process, the achievable sum-rate fluctuates widely. However, after a sufficient number of episodes, this fluctuation becomes negligible and the sum-rate converges to its optimal value. This is due to the fact that the agents (ABSs) are trained based on the feedback signals they receive. These feedback signals carry required information from the environment. Therefore, After a sufficient number of episodes, the ABSs will have a decent knowledge of the topology of the network. This improves the performance of the ABSs in terms of their trajectory and their achievable data rates.
VI Conclusion
In this paper, we studied the trajectory optimization problem for a wireless network integrated with multiple ABSs. The objective is to maximize the total data rate of users served by each ABS. As a result, in addition to the trajectory optimization, it is of great importance to allocate optimal power and sub-channels to the users to support them with the highest possible data rates. To address all, we divide the problem into two sub-problems: trajectory optimization sub-problem and joint power and sub-channel allocation sub-problem. For the trajectory optimization sub-problem, a reinforcement learning problem has been formulated while for the later one an optimization problem has been solved. The simulation results show that although Q-learning is a model-free reinforcement learning method, it effectively trains the ABSs to optimize their trajectories.
References
- [1] I. Bor-Yaliniz and H. Yanikomeroglu, “The New Frontier in RAN Heterogeneity: Multi-Tier Drone-Cells,” IEEE Commun. Mag., vol. 54, no. 11, pp. 48–55, Nov. 2016.
- [2] Y. Zeng, J. Lyu, and R. Zhang, “Cellular-Connected UAV: Potential, Challenges, and Promising Technologies,” IEEE Wireless Commun., vol. 26, no. 1, pp. 120–127, Feb. 2019.
- [3] Y. Zeng, R. Zhang, and T. J. Lim, “Wireless Communications with Unmanned Aerial Vehicles: Opportunities and Challenges,” IEEE Commun. Mag., vol. 54, no. 5, pp. 36–42, May 2016.
- [4] J. Lyu, Y. Zeng, R. Zhang, and T. J. Lim, “Placement Optimization of UAV-Mounted Mobile Base Stations,” IEEE Commun. Lett, vol. 21, no. 3, pp. 604–607, Mar. 2017.
- [5] M. Alzenad, A. El-Keyi, F. Lagum, and H. Yanikomeroglu, “3-D Placement of an Unmanned Aerial Vehicle Base Station (UAV-BS) for Energy-Efficient Maximal Coverage,” IEEE Wireless Commun. Lett., vol. 6, no. 4, pp. 434–437, Aug. 2017.
- [6] R. Ghanavi, E. Kalantari, M. Sabbaghian, H. Yanikomeroglu, and A. Yongacoglu, “Efficient 3D aerial base station placement considering users mobility by reinforcement learning,” in Proc. IEEE WCNC, Apr. 2018, pp. 1–6.
- [7] Q. Wu, Y. Zeng, and R. Zhang, “Joint Trajectory and Communication Design for Multi-UAV Enabled Wireless Networks,” IEEE Trans. Wireless Commun., vol. 17, no. 3, pp. 2109–2121, Mar. 2018.
- [8] F. Cheng, S. Zhang, Z. Li, Y. Chen, N. Zhao, F. R. Yu, and V. C. M. Leung, “UAV Trajectory Optimization for Data Offloading at the Edge of Multiple Cells,” IEEE Trans. Veh. Technol., vol. 67, no. 7, pp. 6732–6736, Jul. 2018.
- [9] Q. Wu and R. Zhang, “Common Throughput Maximization in UAV-Enabled OFDMA Systems with Delay Consideration,” 2018. [Online]. Available: http://arxiv.org/abs/1801.00444
- [10] A. Al-Hourani, S. Kandeepan, and S. Lardner, “Optimal LAP Altitude for Maximum Coverage,” IEEE Wireless Commun. Lett., vol. 3, no. 6, pp. 569–572, Dec 2014.
- [11] R. S. Sutton and A. G. Barto, Introduction to Reinforcement Learning, 1st ed. Cambridge, MA, USA: MIT Press, 1998.
- [12] C. J. C. H. Watkins and P. Dayan, “Q-Learning,” Machine Learning, vol. 8, no. 3, pp. 279–292, May 1992.
- [13] S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge University Press, 2004.