Dynamic Spectrum Sharing for Load Balancing in Multi-Cell Mobile Edge Computing

10/10/2019
by   Ming Zeng, et al.
0

Large-scale mobile edge computing (MEC) systems require scalable solutions to allocate communication and computing resources to the users. In this letter we address this challenge by applying dynamic spectrum sharing among the base stations (BSs), together with local resource allocation in the cells. We show that the network-wide resource allocation can be transformed into a convex optimization problem, and propose a distributed, hierarchical solution with limited information exchange among the BSs. Numerical results demonstrate that the proposed solution is superior to other baseline algorithms, when wireless and computing resource allocation is not jointly optimized, or the wireless resources allocated to the BSs are fixed.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 1

page 2

page 3

page 4

11/20/2020

LSTM-based Traffic Load Balancing and Resource Allocation for an Edge System

The massive deployment of small cell Base Stations (SBSs) empowered with...
07/20/2020

A Machine Learning Approach for Task and Resource Allocation in Mobile Edge Computing Based Networks

In this paper, a joint task, spectrum, and transmit power allocation pro...
11/26/2021

Joint Wireless and Computing Resources Allocation in Multi-Cell MEC

This paper addresses join wireless and computing resource allocation in ...
05/09/2020

Market-based Short-Term Allocations in Small Cell Wireless Networks

Mobile users (or UEs, to use 3GPP terminology) served by small cells in ...
01/03/2019

Spectrum Resource Management for Multi-Access Edge Computing in Autonomous Vehicular Networks

In this paper, a dynamic spectrum management framework is proposed to im...
02/21/2021

CFLMEC: Cooperative Federated Learning for Mobile Edge Computing

We investigate a cooperative federated learning framework among devices ...
01/05/2020

Load Balanced Dynamic Resource Allocation for MTC Relay

A Load Balancing Relay Algorithm (LBRA) was proposed to solve the unfair...
This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

I Introduction

By enabling mobile devices to offload computation-intensive tasks to servers in close proximity, mobile edge computing (MEC) can provide low-latency services for emerging applications, such as immersive augmented reality, wearable cognitive assistance, or autonomous driving. Meanwhile, computation offloading can decrease the energy consumption of the mobile devices [1] and thus prolong their lifetime.

Early works on MEC focus on single cell systems with multiple users [1, 2, 3]. Recently, the general scenario of multi-cell MEC is receiving attention [4, 5, 6, 7]. In [4], a MIMO multicell system with a common edge server is considered. The formulated energy minimization problem is solved using successive convex approximation. A game theoretic approach for the joint optimization of wireless and computing resources is proposed in [5], while the performance of MEC in heterogeneous networks is evaluated in [6], using stochastic geometry. A comprehensive study on the complexity of service placement and request routing in multi-cell MEC is provided in [7]. Most of the above works consider resource allocation in the multi-cell MEC as a large, centralized optimization problem, an approach that is not viable for large-scale systems. Research on cellular networks faced the same issue, and provided the approaches of biasing (also called cell breathing) [8, 9], and dynamic spectrum sharing (also called channel borrowing) [10, 11, 12] to balance network traffic across the cells. Initial results for biasing in MEC are shown in [6].

In this letter we adapt dynamic spectrum sharing to achieve communication and computation load balancing among the BSs, with the objective to minimize the total transmission energy consumption under computational delay constraints [1]. We show that energy minimization can be transformed into a convex optimization problem, for which centralized optimal solution exists. Based on the centralized problem formulation, we propose a primal-dual resource allocation algorithm that lends itself to an iterative distributed solution, where BSs cooperate to share the spectrum, while each individual BS allocates its local communication and computing resources to the associated users. Numerical results show that the joint resource allocation can reduce the energy consumption significantly, while the proposed distributed solution requires limited information exchange among the BSs and converges within a few iterations.

Ii System Model and Problem Formulation

We consider a MEC system that consists of users, and BSs, each equipped with a MEC server. The users offload their computation tasks to a BS for processing. We denote the set of users by , and the set of BSs by . We consider that each user generates computationally intensive and delay sensitive tasks, characterized by three parameters, the size of the input data, the number of CPU cycles required to perform the computation, and the completion time constraint .

The objective of the considered MEC system is to minimize the energy consumption for data transmission under the delay constraint, by jointly allocating the wireless and computing resources, as well as the transmission power of the users.

Communication resources: The overall system bandwidth is

Hz. We consider flat fading channel and orthogonal access with frequency division multiple access. Users are associated to the BS with the best received signal-to-noise ratio, as it is often the case in today’s cellular systems. Denote the corresponding channel gain for user

by . Then, the achievable data rate at user is given by , where is the corresponding transmission power, and denotes the allocated bandwidth, satisfying . Besides, is the noise power spectral density coefficient. Accordingly, the transmission time and the resulting transmission energy consumption are respectively given by and .

Note that we consider orthogonal spectrum access here to reveal insights on joint resource allocation in MEC. Extension to multi-cell MEC systems with frequency reuse is discussed in Section V.

Computing resources: Let us denote the computational capacity of the MEC server at BS by and the set of users associated with BS by . The users served by the BS , i.e., share the computing resource of the MEC server. We denote the computing resource allocated to user as , satisfying . Then, the computational time of user ’s task is given by [13].

Energy consumption minimization: We consider the problem of total transmission energy minimization, under the constraint on the completion time of the computational tasks. That is, for each user , the sum of the transmission and computational times should not violate the maximum delay , i.e., . The delay constraint then can be turned into the following rate requirement: .

The energy minimization problem can be formulated as

(1a)
s.t. (1b)
(1c)
(1d)

where

are the vectors of allocated powers

, bandwidth and computational resource , respectively. Inequality constraints (1b) reflect the minimum data rate requirement for each user. Constraints (1c) limit the bandwidth, while (1d) restrict the computing resource.

Iii Centralized Resource Allocation

To solve P1, the wireless and computing resources need to be allocated jointly. They are however coupled in a non-linear way through the delay constraint. To progress with the solution, we first state the following theorem.

Theorem 1

Under any given bandwidth and computing resource allocation , the energy consumption is minimized when , holds and the transmission power is set as where is the minimum rate that still fulfills the delay requirement, i.e., .

Proof:

When and are given, the energy consumption of the users is independent, and minimizing the total energy consumption is equivalent to minimizing that of each user. Without loss of generality, we look at , which can be reformulated as . Clearly, increases with , and thereofre, is minimized when the minimum power is used. Meanwhile, to satisfy the delay constraint, we have , i.e., . At equality the achieved rate is , which in turn results a transmission time of . This concludes the proof.

Let us then reformulate P1, based on Theorem 1. In addition, let us replace variables with

(2)

This then leads to

(3a)
s.t. (3b)
(3c)

In P2, equality (3c) is clearly not affine, and thus, the feasible set is non-convex. To address it, we relax the equality constraint and substitute (3c) with

(4)

As a consequence of Theorem 1, for any user , the energy consumption decreases if , the computing resource allocated to the user is increased. Thus, for the optimal solution, equality is achieved in (4), which means substituting (3c) with (4) will not change the solution.

Theorem 2

Problem P2 with the relaxed constraint (4) is a convex optimization problem.

Proof:

First, equality constraint (3b) is affine. Then, for inequality constraint (4), its second derivative is , and thus, it is convex. Last, let us consider the objective function (3a). It can be seen that the energy consumption for each user is only affected by its own variables, e.g., for user , is only affected by and . Therefore, we can consider each user separately. Without loss of generality, we consider user , whose Hessian matrix is given by

where , while . Besides, . After some algebraic manipulations, it can be verified that holds for all , which indicates (3a) is convex. This completes the proof.

Based on Theorem 2, the optimal solution of P2 can be obtained using standard convex optimization methods in a centralized manner.

Iv Distributed Resource Allocation with dynamic Spectrum Sharing

In this section we propose an Iterative Resource Allocation algorithm to solve problem P2, that lends itself to a distributed implementation, with decreased signaling needs. As shown in Algorithm 1, it follows two iterative steps: i) the Bandwidth Allocation Algorithm (BAA) updates to allocate bandwidth across and within the BSs, for given , and ii) the Computation resource Allocation Algorithm (CAA) updates to allocate the computing resource at each BS, for given bandwidth allocation . We denote by and the energy consumption of user after optimizing and , respectively, and is the stop condition.

1:Initialization: ;
2:Update based on BAA, and calculate ;
3:;
4:while do
5:       Update based on CAA, and recalculate ;
6:       Update based on BAA, and recalculate ;
7:end while
Algorithm 1 Iterative Resource Allocation

The Bandwidth Allocation Algorithm (BAA): Assuming that the computing resource allocation is given, problem P2 is simplified as

(5a)

Since , P3 is a convex problem, and we can use the Karush-Kuhn-Tucker (KKT) condition to derive the optimal . The KKT condition for user is

where is the introduced auxiliary variable, satisfying . For given , the above equation can be used to obtain . Specifically, we have , which indicates that grows with , and thus a bisection search can be used to obtain by comparing with 0. Now the problem lies in how to obtain . When is increased, will decrease to ensure . Meanwhile, needs to hold. Consequently, can also be obtained with bisection search, by comparing with .

The resulting BAA consists of two loops: an outer loop to find the value of and an inner loop to determine the bandwidth allocation .

(a)
(b)
(c)
Fig. 1: Energy consumption as a function of (a) the data size, (b) the average computing need, and (c) the delay constraint.

The Computing resource Allocation Algorithm (CAA): Under given bandwidth allocation, the computing resource allocation is independent across the BSs. Thus, the energy minimization for each BS is equivalent to that of the overall system. Let us consider BS and user set , . The corresponding optimization problem can be formulated as

(6)

As P3, P4 is also a convex problem, and the KKT condition is given by

where is the introduced auxiliary variable, satisfying .

Since , we can conclude that grows with , and further declines with . Therefore, and can be found with bisection search. At each BS , the resulting CAA includes an outer loop to find the value of and an inner loop to determine , which in turn gives the computing resource allocation , according to (2).

Distributed Implementation with Dynamic Spectrum Sharing among the BSs:

The Iterative Resource Allocation algorithm requires the implementation of BAA and CAA, and the exchange of the parameters between these algorithms. Note that CAA can be performed by the individual BSs. Similarly, for BAA, the update of under given can happen locally at the BS. Finding the appropriate value for the KTT condition however requires collaboration. Specifically, the BSs need to share their values, that is, the bandwidth that should be allocated to BS , and increase or decrease in the bisection search, if is larger or smaller than .

Optimality and complexity:

Theorem 3

The Iterative Resource Allocation algorithm gives the optimal resource allocation in finite steps, with predefined accuracy .

Proof:

In both lines 5 and 6 of Algorithm 1, the energy consumption decreases, or remains unchanged. Since there is a lower bound for the energy consumption, e.g., 0, the Iterative Resource Allocation algorithm always terminates, either by reaching the lower bound, or by achieving a decrease less than . Moreover, the obtained local optimum is also the global optimum since the considered problem is convex.

The centralized implementation requires the collection of user parameters and the distribution of the resource allocation vectors to the BSs, thus, the signaling complexity is , where is the total number of users in the multi-cell system. The computational complexity comes form the iterations of Algorithm 1, where both BAA and CAA perform bisection search for and as well as for the and values. This gives a computational complexity of , where is the number of iterations in Algorithm 1.

The distributed implementation requires information exchange among the BSs, to search for in BAA, in each iteration steps of Algorithm 1. This leads to a signaling overhead of , where is the number of BSs. Each BS needs to run BAA and CAA locally, and thus, the computation complexity is .

The distributed implementation has good scalability properties, however, the complexity depends on the number of iterations . Therefore, in Section VI we investigate how depends on the network parameters.

V Multi-cell MEC with Frequency Reuse

The previous sections consider orthogonal spectrum allocation among cells to reduce the complexity of the analysis and reveal insights. Frequency reuse is however necessary in large systems to increase spectrum efficiency. To this end, let us first consider the case when fixed frequency reuse (i.e., according to 3 or 7 cell pattern) is adopted to avoid co-channel interference. In this case, we can reformulate P2 as

(7a)
s.t. (7b)
(7c)
(7d)

where denotes the cell reuse factor, and represents the cell set using the same frequency band , . Then, (7b) denotes the bandwidth constraint for each cell, while (7c) is the total bandwidth constraint. Both (7b) and (7c) are affine constraints, and thus problem P5 with a relaxed (7d) (i.e., (4)) is convex, and can be easily solved using standard convex optimization tools.

An iterative solution that also allows distributed implementation can follow the lines of Algorithm 1. CAA can be performed as described in Section IV, but the bandwidth allocation algorithm has to be extended. Now the KKT conditions are given by

(8)
(9)

where and are the introduced auxiliary variables for (7b) and (7c), respectively, satisfying .

Algorithm 2 summarizes the steps to find , , and . The algorithm has an inner loop to determine , and for given , according to BAA in Section IV and (9). This iteration ensures that the bandwidth is optimally allocated for given values. Then, an outer loop finds , such that constraint (7c) is satisfied. The distributed implementation requires and to be exchanged among the cells.

Now let us consider the extreme case with universal frequency reuse. Due to the existence of co-channel interference, users’ achievable rates are non-convex functions over their transmit powers. As a result, the energy minimization problem is likely to be NP-hard [12, Theorem 1]. To make it tractable, we may need to refer to convex approximation or dual optimization [12, 4, 14].

1:Initialization: ; ;
2:while
3:      ;
4:      for
5:          initialization: , ;
6:          while
7:               ;
8:               obtain as in BAA;
9:               if then ;
10:               else ;
11:               end;
12:          end while;
13:      end for;
14:      if then
15:      else
16:      end;
17:end while
Algorithm 2 Bandwidth Allocation with Frequency Reuse
(a)
(b)
Fig. 2: Energy consumption for Fixed computing and Joint allocation as a function of (a) data size, and (b) delay constraint.

Vi Numerical Results

We evaluate the performance of the joint bandwidth and computing resource allocation scheme in a simulator implemented in Matlab. For each trial, we place the BSs and the users randomly uniformly in a disk of a radius of m. The pathloss model follows , where is the distance in m. Rayleigh fading is used for small-scale fading. We set MHz, dBm/Hz and .

We consider four baseline algorithms: a) equal bandwidth and computing resource per user, referred to as Fixed; b) equal bandwidth per user, while the computing resource is optimized, referred to as Fixed bandwidth; c) equal bandwidth for each BS, but optimized joint resource allocation within each BS, referred to as Fixed bandwidth per BS; and d) equal computing resource per user, with optimized bandwidth, referred to as Fixed computing.

Fig. 1 shows the energy consumption under the five algorithms when the data size, the average computing need, and delay constraint vary, respectively. The default simulation values are: , , G CPU cycles/s, Mbits, ms. For Figs 1(a) and (c), is generated randomly uniformly within G CPU cycles for each user. In Fig. 1(b), is increased, and for each user is generated randomly uniformly within .

As expected, the energy consumption grows with the data size and computing need, but decreases as delay constraint gets relaxed. The proposed Joint resource allocation always achieves the best performance. The large difference between Joint allocation and Fixed bandwidth illustrates the gain of optimizing the bandwidth allocation among the users. Likewise, the difference between Joint allocation and Fixed bandwidth per BS indicates that the load in the cells can be highly unbalanced, and thus dynamic bandwidth sharing among the BSs is necessary.

Fixed computing has similar performance to Joint allocation, the reason is probably that the disparity among users’ computing needs is small in the considered scenario. Therefore, in Fig. 2 we present the corresponding results with a higher variance, i.e.,

is generated randomly uniformly within G CPU cycles for each user. It can be seen that Joint allocation consumes much lower energy than Fixed computing, especially under large data size or strict delay constraint.

We also conducted extensive simulations to evaluate , the number of iterations required for the Iterative Resource Allocation algorithm to converge. We found that does not depend significantly on , the number of BSs, for example, for and the algorithm converges in two iterations on average. However, increases almost linearly with , the number of users in a cell. For example, under , the average number of iterations increases from two to four when changes from to .

Vii Conclusion

In this paper, we considered a multi-user multi-cell MEC system, where users offload their computing tasks to the BS with the best channel for processing. An overall transmission energy minimization problem was formulated and transformed into a convex optimization problem. Furthermore, a scalable distributed solution was proposed inspired by the dynamic spectrum sharing approach in cellular networks. Numerical results showed that the proposed joint allocation outperforms other baseline algorithms, when wireless and computing resources are not jointly optimized, or the wireless resources allocated to the BSs are fixed.

References

  • [1] S. Barbarossa, S. Sardellitti, and P. Di Lorenzo, “Communicating while computing: Distributed mobile cloud computing over 5G heterogeneous networks,” IEEE Signal Process. Mag., vol. 31, no. 6, pp. 45–55, Nov. 2014.
  • [2] X. Chen, L. Jiao, W. Li, and X. Fu, “Efficient multi-user computation offloading for mobile-edge cloud computing,” IEEE/ACM Trans. Netw., vol. 24, no. 5, pp. 2795–2808, Oct. 2016.
  • [3] M. Zeng and V. Fodor, “Energy-efficient resource allocation for noma-assisted mobile edge computing,” in Proc. IEEE PIMRC, Sep. 2018.
  • [4] S. Sardellitti, G. Scutari, and S. Barbarossa, “Joint optimization of radio and computational resources for multicell mobile-edge computing,” IEEE Trans. Signal Inf. Process. Over Netw., vol. 1, no. 2, pp. 89–103, Jun. 2015.
  • [5] S. Josilo and G. Dan, “Joint allocation of computing and wireless resources to autonomous devices in mobile edge computing,” in Proc. ACM SIGCOMM Wkshps, Aug. 2018.
  • [6] C. Park and J. Lee, “Mobile edge computing-enabled heterogeneous networks,” arXiv preprint arXiv:1804.07756,, Apr. 2018.
  • [7] K. Poularakis, J. Llorca, A. M. Tulino, I. Taylor, and L. Tassiulas, “Joint service placement and request routing in multi-cell mobile edge computing networks,” in Proc. IEEE INFOCOM, May 2019.
  • [8] Q. Ye, B. Rong, Y. Chen, M. Al-Shalash, C. Caramanis, and J. G. Andrews, “User association for load balancing in heterogeneous cellular networks,” IEEE Trans. Wireless Commun., vol. 12, no. 6, pp. 2706–2716, Jun. 2013.
  • [9] Y. Lin, W. Bao, W. Yu, and B. Liang, “Optimizing user association and spectrum allocation in hetnets: A utility perspective,” IEEE J. Select. Areas Commun., vol. 33, no. 6, pp. 1025–1039, Jun. 2015.
  • [10] I. Koutsopoulos and L. Tassiulas, “Joint optimal access point selection and channel assignment in wireless networks,” IEEE/ACM Transactions on Networking, vol. 15, no. 3, pp. 521–532, June 2007.
  • [11] L. M. O. Khanbary and D. P. Vidyarthi, “A GA-based effective fault-tolerant model for channel allocation in mobile computing,” IEEE Trans. Veh. Technol., vol. 57, no. 3, pp. 1823–1833, May 2008.
  • [12] Z. Luo and S. Zhang, “Dynamic spectrum management: Complexity and duality,” IEEE J. Select. Areas Commun., vol. 2, no. 1, pp. 57–73, Feb. 2008.
  • [13] Z. Liang, Y. Liu, T. Lok, and K. Huang, “Multiuser computation offloading and downloading for edge computing with virtualization,” IEEE Trans. Wireless Commun., vol. 18, no. 9, pp. 4298–4311, Sep. 2019.
  • [14] W. Yu and R. Lui, “Dual methods for nonconvex spectrum optimization of multicarrier systems,” IEEE Trans. Commun., vol. 54, no. 7, pp. 1310–1322, Jul. 2006.