Mid Sem BTP Report (6)
Mid Sem BTP Report (6)
INDEX
1. Introduction
1.1. Background
With the rapid advancement in development of more and more smart mobile devices
(MDs), computation hungry mobile applications have started to gain enormous
attractions. These applications have led to ever-increasing computation demands.
Some examples of these computation hungry applications are Image Recognition
Applications, Weather Forecasting, Virtual Reality Applications, Scientific and
Engineering Calculators, Cryptocurrency Mining Apps etc. The mobile devices on which
these applications execute have limited battery as well as limited computation resources
[1]. Therefore it becomes challenging for these mobile devices to support these
computation intensive mobile applications.
1.2. Motivation
Cloud computing is a computing paradigm that has been widely accepted by the
Internet services as it is used to offload these computation intensive tasks to a remote
cloud server, thereby liberating these mobile devices from heavy computation
workloads. Thus, cloud computing can dramatically save the power consumption of the
mobile devices from heavy computation. One of the primary challenges associated with
cloud computing is the geographical distribution of these remote cloud servers.
Generally these remote cloud servers are situated at larger distances from the MDs.
Consequently, these long range data transmissions between the user (mobile devices
here) to the remote cloud servers may introduce latency (or delay) in our cloud
computing systems. This delay can impact the quality of user experience that the mobile
application intends to provide to the user. Therefore, we can conclude that cloud
computing is helping to reduce the energy consumption in mobile devices but it is
inducing extra latency in our systems.
As introduced earlier, we need to find a solution that helps improve user experience as
well as reduces battery (energy consumption). To overcome the drawback of cloud
computing architecture we bring these remote servers closer to the edge devices so
that we can avoid long range data transmissions, thereby reducing the latency in the
system. Mobile Edge Computing (MEC) is a computing paradigm that provides cloud
computing functionalities within the Radio Access Network (RAN). Using MEC we can
liberate our devices from heavy computation tasks by offloading these tasks (or a part
of) to a nearby MEC server [2]. MEC is based on short distance communication
architecture. When we push the functionalities of cloud towards the network edges in
4
the vicinity of the users (MDs) using MEC, it has the potential to dramatically reduce
battery consumption and reduce the latency of the MEC system. It has been shown that
when the tasks are executed closer to the users, the efficiency of task execution is
greatly improved [4].
2. Literature Survey
2.1 Literature Table
We have explored a few researches related to the problem statement which we have
summarized in the below table.
[6] The partial computation Zhou, 2020 Offloading Latency, To May incur
offloading strategy S., algo Energy minimize high
based on game theory Jadoon, based on system computation
game computa overhead.
for multi-user in mobile W.
theory tion
edge computing overhea
environment. Computer d
Networks
[7] UAVs for traffic Alioua, 2020 Offloading Latency, To The UAVs
monitoring: A A., algo Energy, reduce inflight energy
sequential game-based Djeghri, based on Cost computa usage was
game tion neglected.
computation H. E.,
theory delay
6
device
[12] Code offloading using Majeed, 2017 SVM Energy, To Long Training
support vector machine A. A., Latency reduce Time
Khan, A. respons
e time
U. R.,
and
Ulamin, energy
R.,
Muham
mad, J.,
Ayub, S.
A lot of research has been done in regard to this problem statement. Various Algorithms
have been proposed by the researchers, some of them are
1. EECO (Energy-efficient computation offloading) algorithm [14] - In the past,
researchers have focused on the design of an efficient computation offloading
mechanism for the MEC system by making use of the EECO algorithm.
2. Game theory [15] - There have been made use of game theory to design an
efficient computation offloading mechanism by making the use of game theory.
3. GCGH (Gini coefficient-based greedy heuristic) algorithm [16] - This algorithm
has been designed to solve the energy consumption minimization problem.
These are a few of many centralized optimization algorithms that have been designed
by the researchers.
8
1. It has been observed that the majority of the work that has been done in regard
to this problem statement is based on centralized algorithms.
2. Centralized algorithms generally require a central scheduler/operator that collects
information from every device and server in the network and then schedules the
task allocation.
3. Complexity wise this can be exponential.
3. Problem Statement
A key problem that needs to be solved in MEC systems is the efficient resource
allocation during the task offloading. In MEC systems, mobile devices have to basically
perform some part of their tasks on their own and offload the remaining part to a nearby
MEC server. Therefore during offloading an extra communication overhead is
introduced between a MD and its MEC server. Therefore to improve the quality of user
experience that the mobile applications intend to provide we need to balance the
computational and communication tradeoffs for a MD.
3.1. Objective
Let us denote the total time taken (latency) to execute a task of a i’th mobile device be
TiTOL.Now this TiTOL is equal to TiMD + TiUL +TiMEC. A MD will execute some part of its task
by itself and upload the rest to a MEC server for its execution.
TiMD is the time taken by a MD to execute a part of its task, TiUL is the time taken by a
MD to upload a part of its task to a MEC server, TiMEC is the time duration for executing
the offloaded task of Ui at the MEC server.
Let us denote the whole energy consumption of i’th MD as EiTOL . Now this EiTOL is equal
to EiUL+EiMD.Where EiMD is equal to energy consumption of a mobile device caused by
local computations. EiUL is the energy consumption of a MD due to the transmission of
the offloaded task.
There now we can formulate our objective function (F) to be minimized as follows:-
F = ΣαTiTOL + βEiTOL —-- (1)
where Σ is the sum over all the I mobile devices and where α, β ∈ [0, 1] denote the
weighting parameters balancing the energy and time consumption, and we have α+β =
1.
11
4. Methodology
We will be using a distributed method for efficient task offloading in MEC systems. The
network will consist of multiple MDs and multiple SBSs (small-cell base stations). There
will be two constraints in our MEC system. The first constraint will be that each SBS will
be equipped with a single MEC server, and the MEC server will have limited (finite)
computational capacity. The second constraint is that each mobile device can associate
with only one MEC server.
Let us assume our MEC network to consist of I MD’s and J SBS where each SBS is
equipped with a MEC server.
Mathematically these constraints can be represented as follows:
1. Constraint C1: Σλi,jQiCi≤Kj —--(2)
Here Σ is sum over all the I mobile devices.
Qi is the number of bits in the task to be executed for an ith mobile device.
Ci is the number of CPU cycles required to execute 1 bit.
λi,j is the fraction of the task that a ith MD offloads at a jth MEC server.
Kj is the task upper bound of Bj ’s MEC server within a time slot.
Therefore, C1 states that in a given time slot jth MEC can handle at max Kj CPU
cycles
5. Implementation
1. After defining our system and constraints now we develop the factor graph for the
system. The factor graph will consist of some variable nodes and some factor
nodes. For example a system with 2 SBS and 3 MD can be visualized as follows:
Now variable nodes in our graph will be the offloading row vectors (λi for ith MD)
of each MD’s. For formulation of factor nodes we will break down our objective
function F (obtained in eq 1 ) into J (number of SBS) local utility functions (F1,
F2, ……FJ). Now we define a new local utility function G such that if Fi obeys all
the constraints as mentioned in step2, then Gi = Fi else Gi = -∞. Thus G will
serve as our factor node.
So the factor graph for above depicted system is as follows:
This module also involved study of the belief propagation algorithm and how it is
better in calculating marginal probabilities as compared to other centralized
algorithms.
3. Module 3: Work on the implementation of the belief propagation algorithm to
solve the optimisation problem. Simulate and analyze the results.
4. Module 4: Working on publishing a research paper.
6. References
[1] Y. Wang, M. Sheng, X. Wang, L. Wang, and J. Li, “Mobile-edge computing: Partial
computation offloading using dynamic voltage scaling,” IEEE Transactions on
Communications, vol. 64, no. 10, pp. 4268–4282, Oct. 2016.
[2] ETSI, Sophia Antipolis, France, “Mobile-edge computing-introductory technical white
paper,” http://portal.etsi.org/portals/0/tbpages/mec/ docs/mobile-edge computing
introductory technical white paper v1\ %2018-09-14.pdf, [Online].
[3] D. Calin, H. Claussen, and H. Uzunalioglu, “On femto deployment architectures and
macrocell offloading benefits in joint macro-femto deployments,” IEEE Comm. Mag., vol.
48, no. 1, pp. 26–32, Jan. 2010.
[4] M. Sstyanarayanan, P. Bahl, R. Caceres, and N. Davies, “The case for vm-based
cloudlets in mobile computing,” IEEE Pervasive Comput., vol. 8, no. 4, pp. 14–23,
Oct.-Dec. 2009.
[5] You, C., Huang, K., Chae, H., Kim, B. H. (2017). Energy-efficient resource allocation
for mobileedge computation offloading. IEEE Transactions on Wireless
Communications, 16(3), 1397–1411. DOI 10.1109/TWC.2016.2633522.
[6] Zhou, S., Jadoon, W. (2020). The partial computation offloading strategy based on
game theory for multi-user in mobile edge computing environment. Computer Networks,
178(2020), 107334. DOI 10.1016/j.comnet.2020.107334.
[7] Alioua, A., Djeghri, H. E., Cherif M. E. T., Senouci, S. M., Sedjelmaci, H. (2020).
UAVs for traffic monitoring: A sequential game-based computation offloading/sharing
approach. Computer Networks, 177, 107273. DOI 10.1016/j.comnet.2020.107273.
[8] Xu, Y., Wang, Y., Yang, J. (2020). Meta-heuristic search based model for task
offloading and time allocation in mobile edge computing. Proceedings of the 2020 6th
International Conference on Computing and Artificial Intelligence, pp. 117–122. Tianjin,
China.
[9] Rego, P. A. L., Cheong, E., Coutinho, E. F., Trinta, F. A. M., Hasany, M. Z. et al.
(2017). Decision tree based approaches for handling offloading decisions and
performing adaptive monitoring in MCC systems. Proceedings of 5th IEEE International
Conference on Mobile Cloud Computing, Services, and Engineering, pp. 74–81. San
Francisco, CA, USA.
[10] Eom, H., Juste, P. S., Figueiredo, R., Tickoo, O., Illikkal, R. et al. (2013). Machine
learning-based runtime scheduler for mobile offloading framework. Proceedings of 2013
IEEE/ACM 6th International Conference on Utility and Cloud Computing, pp. 17–25.
Dresden, Germany.
[11] Ren, J., Yu, G., Cai, Y., He, Y. (2018). Latency optimization for resource allocation
in mobileedge computation offloading. IEEE Transactions on Wireless Communications,
17(8), 5506–5519. DOI 10.1109/TWC.2018.2845360.
16
[12] Majeed, A. A., Khan, A. U. R., Ulamin, R., Muhammad, J., Ayub, S. (2017). Code
offloading using support vector machine. 6th International Conference on Innovative
Computing Technology, pp. 98–103. Dublin, Ireland
[13] Wang, S., Chen, M., Saad, W., Yin, C. (2020). Federated learning for
energy-efficient task computing in wireless networks. IEEE International Conference on
Communications, pp. 20–25. Dublin, Ireland.
[14] K. Zhang, Y. Mao, S. Leng, Q. Zhao, L. Li, X. Peng, L. Pan, S. Maharjan, and Y.
Zhang, “Energy-efficient offloading for mobile edge computing in 5g heterogeneous
networks,” IEEE Access., vol. 4, pp. 5896–5907, Aug. 2016.
[15] ] X. Chen, L. Jiao, W. Li, and X. Fu, “Efficient multi-user computation offloading for
mobile-edge cloud computing,” IEEE/ACM Transactions on Networking, vol. 24, no. 5,
pp. 2795–2808, Oct. 2016.
[16] P. Zhao, H. Tian, C. Qin, and G. Nie, “Energy-saving offloading by jointly allocating
radio and computational resources for mobile edge computing,” IEEE Access., vol. 5,
pp. 11 255–11 268, Jun. 2017.