\tocauthor

Minh-Tuan Tran 11institutetext: HCMC University of Technology, VNU-HCM, Vietnam

Koopman based trajectory model and computation offloading for high mobility paradigm in ISAC enabled IoT system

Minh-Tuan Tran
Abstract

User experience on mobile devices is constrained by limited battery capacity and processing power, but 6G technology advancements are diving rapidly into mobile technical evolution. Mobile edge computing (MEC) offers a solution, offloading computationally intensive tasks to edge cloud servers, reducing battery drain compared to local processing. The upcoming integrated sensing and communication in mobile communication may improve the trajectory prediction and processing delays. This study proposes a greedy resource allocation optimization strategy for multi-user networks to minimize aggregate energy usage. Numerical results show potential improvement at 33% for every 1000 iteration. Addressing prediction model division and velocity accuracy issues is crucial for better results. A plan for further improvement and achieving objectives is outlined for the upcoming work phase.

keywords:
Koopman, trajectory control, computational offloading, ISAC

1 Introduction

Due to their short battery lives and low processing power, mobile devices and IoT encourage to run computing intensive applications like natural language processing, computer vision, machine learning tasks, (e.g., Apple Siri recognition) on the extra resource [1]. To adapt to changing conditions such as varying workloads, event communication systems combined with application migration [2] to enhance system scalability, performance, flexibility, adaptability. The flexibility and adaptive design is widely employed in the managing of complex distributed systems [3, 4]. As more and more applications require IoT devices to autonomously sense the world around them, the number of these devices will likely increase significantly. In particular, the number of networked devices by the end of 2023 will be 29.3 billion [5]. Cloud computing has emerged as a solution, offering computational services to these devices. It leads to the need to have edge server placed near the data sources [8016573], which reduces both response time for computing requests and network load[6]. Loosely speaking, the term edge is defined as computing resources on the path between these data producers and central clouds. Based on this idea, a system of distributed edge servers can be constructed to support these devices with a proper offloading policy[7].

However, the burgeoning data generated by these devices is overwhelming network capacities[8, 9]. It is typically necessary to determine a number of offloading system factors before develo** such an offloading policy, including channel status information, mobile device parameters, and task information[10]. An ideal optimization algorithm must be fully conscious of the physical characteristics of mobile devices, including processor speed and battery life [11]. The decision-making mechanism for offloading should be aware of parameters related to the task’s computational difficulty; these will be covered in more detail later[12]. In addition to the two factors mentioned above, the channel status information has an important role in estimating the task’s final offloading ratio[13]. Our research works aim to create an effective algorithm to allocate resources for computation offloading techniques on the new multi-access network by combining the classic problem of computation offloading with the advancement in high mobility scenarios.

Given a system consisting a set of N𝑁Nitalic_N users and one Edge Server (ES). Each user uses exactly one mobile device (MD) then there are total of N𝑁Nitalic_N MD in the system. On each device, there exists a set of computational tasks. These tasks process an input stream of data, and the total number of tasks is denoted by K𝐾Kitalic_K, where each task is indexed by k{1,2,,K}𝑘12𝐾k\in\{1,2,\dots,K\}italic_k ∈ { 1 , 2 , … , italic_K }. As a result, input data of a k𝑘kitalic_k-th task on MD n𝑛nitalic_n has the length of Dn,ksubscript𝐷𝑛𝑘D_{n,k}italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT bits.

1.1 System notations

A given system has 1 BS and K mobile devices (MD) connected through wireless network using OTFS modulation which perform the transform velocity vksubscript𝑣𝑘v_{k}italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT and carrier frequency fcsubscript𝑓𝑐f_{c}italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT to spectral efficiency in formulation calcSE(vk,fc)𝑐𝑎𝑙𝑐𝑆𝐸subscript𝑣𝑘subscript𝑓𝑐calcSE(v_{k},f_{c})italic_c italic_a italic_l italic_c italic_S italic_E ( italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ). The BS is equipped an edge server (ES) with unlimited computation capacity. Each MD kK𝑘𝐾k\in Kitalic_k ∈ italic_K has a task with input data size Dksubscript𝐷𝑘D_{k}italic_D start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT. At each device, there is a decision of offloading a portion of task to ES zlkDksubscript𝑙𝑘subscript𝐷𝑘l_{k}D_{k}italic_l start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT and the rest (1lk)Dk1subscript𝑙𝑘subscript𝐷𝑘(1-l_{k})D_{k}( 1 - italic_l start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) italic_D start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT is executed locally on MD.

1.2 Computation model

Since it native unlimited capacity, the time and energy consumption in ES to complete offloaded task portion are negligible and can be ignored. The computation is only take in account the portion of task at local MD. We assume MD n𝑛nitalic_n operates at a fixed processing speed of fksubscript𝑓𝑘f_{k}italic_f start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT

Each MD is assumed to operate at a fixed processing speed of fnsubscript𝑓𝑛f_{n}italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT during the execution of any task.To perform computation, the quantity describing the complexity is cn,ksubscript𝑐𝑛𝑘c_{n,k}italic_c start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT with units of CPU cycles/bit, indicating the average number of clock cycles required to process one bit of input data. The execution time of the task computed locally on the MD, Tlocalsubscript𝑇𝑙𝑜𝑐𝑎𝑙T_{local}italic_T start_POSTSUBSCRIPT italic_l italic_o italic_c italic_a italic_l end_POSTSUBSCRIPT, in seconds, is expressed as follows:

Tlocal(n,k)=cn,k(1ln,k)Dn,kfnsubscript𝑇𝑙𝑜𝑐𝑎𝑙𝑛𝑘subscript𝑐𝑛𝑘1subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘subscript𝑓𝑛T_{local(n,k)}=\dfrac{c_{n,k}(1-l_{n,k})D_{n,k}}{f_{n}}\vspace{-0.2 cm}italic_T start_POSTSUBSCRIPT italic_l italic_o italic_c italic_a italic_l ( italic_n , italic_k ) end_POSTSUBSCRIPT = divide start_ARG italic_c start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT ( 1 - italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT ) italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_ARG (1)

where fnsubscript𝑓𝑛f_{n}italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT is the CPU speed of MD n𝑛nitalic_n measured in (Hz), and cn,ksubscript𝑐𝑛𝑘c_{n,k}italic_c start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT is the number of CPU cycles required to execute one bit of data on MD n𝑛nitalic_n for the task k𝑘kitalic_k.

The corresponding amount of energy is:

Elocal(n,k)=ϵncn,kfn2(1ln,k)Dn,ksubscript𝐸𝑙𝑜𝑐𝑎𝑙𝑛𝑘subscriptitalic-ϵ𝑛subscript𝑐𝑛𝑘superscriptsubscript𝑓𝑛21subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘E_{local(n,k)}=\epsilon_{n}c_{n,k}f_{n}^{2}(1-l_{n,k})D_{n,k}italic_E start_POSTSUBSCRIPT italic_l italic_o italic_c italic_a italic_l ( italic_n , italic_k ) end_POSTSUBSCRIPT = italic_ϵ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( 1 - italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT ) italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT (2)

where ϵn,ksubscriptitalic-ϵ𝑛𝑘\epsilon_{n,k}italic_ϵ start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT is a energy coefficient determined by the chip architecture of MD n𝑛nitalic_n.

1.3 Communication model

Considering that the data size of the task processed result is negligible compared to the data size of the tasks themselves, in this work, we only focus on the uplink transmission where the processed results are usually small. We consider the situation where the ES allocate spectrum bandwidth Wnsubscript𝑊𝑛W_{n}italic_W start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT represents the bandwidth allocated to MD n𝑛nitalic_n by the ES to offload its computation. The uplink transmission rate from MD n𝑛nitalic_n to the edge ES can be rewritten as follows:

Rn=Wnlog2(1+pnhnσ2)=WnCZaksubscript𝑅𝑛subscript𝑊𝑛subscript21subscript𝑝𝑛subscript𝑛superscript𝜎2subscript𝑊𝑛subscript𝐶𝑍𝑎𝑘R_{n}=W_{n}\log_{2}\left(1+\dfrac{p_{n}h_{n}}{\sigma^{2}}\right)=W_{n}C_{{Zak}% }\vspace{-0.2 cm}italic_R start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT = italic_W start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT roman_log start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ( 1 + divide start_ARG italic_p start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_h start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_ARG start_ARG italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) = italic_W start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_C start_POSTSUBSCRIPT italic_Z italic_a italic_k end_POSTSUBSCRIPT (3)

where pnsubscript𝑝𝑛p_{n}italic_p start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT is the uplink transmission power of MD n𝑛nitalic_n. Assume the paths between transmitter and receiver has little fading effect, the channel gain hnsubscript𝑛h_{n}italic_h start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT is a constant close to 1. σ2superscript𝜎2\sigma^{2}italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT refers to the variance of the additive white Gaussian noise. The notation CZak=calSE(vn,fc)subscript𝐶𝑍𝑎𝑘𝑐𝑎𝑙𝑆𝐸subscript𝑣𝑛subscript𝑓𝑐C_{{Zak}}={calSE}(v_{n},f_{c})italic_C start_POSTSUBSCRIPT italic_Z italic_a italic_k end_POSTSUBSCRIPT = italic_c italic_a italic_l italic_S italic_E ( italic_v start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT , italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ) (bit/s/Hz) is the spectral efficiency (SE) with variables vnsubscript𝑣𝑛v_{n}italic_v start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT being the vehicle speed and fcsubscript𝑓𝑐f_{c}italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT being the carrier frequency.

We assume that the wireless links transmit data at a fixed rate measured in bits per second (bps) with is a common sense [14]. The transmission delay from MD n𝑛nitalic_n to the ES for offloading tasks can be defined as

Toff(n,k)=ln,kDn,kRn=ln,kDn,kWncalSE(vk,fc)subscript𝑇𝑜𝑓𝑓𝑛𝑘subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘subscript𝑅𝑛subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘subscript𝑊𝑛𝑐𝑎𝑙𝑆𝐸subscript𝑣𝑘subscript𝑓𝑐T_{off(n,k)}=\dfrac{l_{n,k}D_{n,k}}{R_{n}}=\dfrac{l_{n,k}D_{n,k}}{W_{n}{calSE}% (v_{k},f_{c})}\vspace{-0.2 cm}italic_T start_POSTSUBSCRIPT italic_o italic_f italic_f ( italic_n , italic_k ) end_POSTSUBSCRIPT = divide start_ARG italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_R start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_ARG = divide start_ARG italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_W start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_c italic_a italic_l italic_S italic_E ( italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ) end_ARG (4)

The corresponding energy to perform the transmission is:

Eoff(n,k)=pnToff(n,k)=(2calSE(vk,fc)1)σ2hnln,kDn,kWncalSE(vk,fc)subscript𝐸𝑜𝑓𝑓𝑛𝑘subscript𝑝𝑛subscript𝑇𝑜𝑓𝑓𝑛𝑘superscript2𝑐𝑎𝑙𝑆𝐸subscript𝑣𝑘subscript𝑓𝑐1superscript𝜎2subscript𝑛subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘subscript𝑊𝑛𝑐𝑎𝑙𝑆𝐸subscript𝑣𝑘subscript𝑓𝑐E_{off(n,k)}=p_{n}T_{off(n,k)}=\left(2^{{calSE}(v_{k},f_{c})}-1\right)\dfrac{% \sigma^{2}}{h_{n}}\dfrac{l_{n,k}D_{n,k}}{W_{n}{calSE}(v_{k},f_{c})}\vspace{-0.% 2 cm}italic_E start_POSTSUBSCRIPT italic_o italic_f italic_f ( italic_n , italic_k ) end_POSTSUBSCRIPT = italic_p start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_T start_POSTSUBSCRIPT italic_o italic_f italic_f ( italic_n , italic_k ) end_POSTSUBSCRIPT = ( 2 start_POSTSUPERSCRIPT italic_c italic_a italic_l italic_S italic_E ( italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ) end_POSTSUPERSCRIPT - 1 ) divide start_ARG italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_h start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_ARG divide start_ARG italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_W start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_c italic_a italic_l italic_S italic_E ( italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ) end_ARG (5)

1.4 Problem modeling statement

The estimated total execution time for processing the task k𝑘kitalic_k of MD n𝑛nitalic_n for any case can be expressed as follows:

Tn,k=Toff(n,k)+Tlocal(n,k)=ln,kDn,kWncalSE(vk,fc)+cn,k(1ln,k)Dn,kfnsubscript𝑇𝑛𝑘subscript𝑇𝑜𝑓𝑓𝑛𝑘subscript𝑇𝑙𝑜𝑐𝑎𝑙𝑛𝑘subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘subscript𝑊𝑛𝑐𝑎𝑙𝑆𝐸subscript𝑣𝑘subscript𝑓𝑐subscript𝑐𝑛𝑘1subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘subscript𝑓𝑛T_{n,k}=T_{off(n,k)}+T_{local(n,k)}=\dfrac{l_{n,k}D_{n,k}}{W_{n}{calSE}(v_{k},% f_{c})}+\dfrac{c_{n,k}(1-l_{n,k})D_{n,k}}{f_{n}}\vspace{-0,3 cm}italic_T start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT = italic_T start_POSTSUBSCRIPT italic_o italic_f italic_f ( italic_n , italic_k ) end_POSTSUBSCRIPT + italic_T start_POSTSUBSCRIPT italic_l italic_o italic_c italic_a italic_l ( italic_n , italic_k ) end_POSTSUBSCRIPT = divide start_ARG italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_W start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_c italic_a italic_l italic_S italic_E ( italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ) end_ARG + divide start_ARG italic_c start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT ( 1 - italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT ) italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_ARG (6)

The total energy consumption for processing the task of MD n𝑛nitalic_n at time k𝑘kitalic_k is the sum of the component energies

En,k=Eoff(n,k)+Elocal(n,k)subscript𝐸𝑛𝑘subscript𝐸𝑜𝑓𝑓𝑛𝑘subscript𝐸𝑙𝑜𝑐𝑎𝑙𝑛𝑘E_{n,k}=E_{off(n,k)}+E_{local(n,k)}\vspace{-0,3 cm}italic_E start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT = italic_E start_POSTSUBSCRIPT italic_o italic_f italic_f ( italic_n , italic_k ) end_POSTSUBSCRIPT + italic_E start_POSTSUBSCRIPT italic_l italic_o italic_c italic_a italic_l ( italic_n , italic_k ) end_POSTSUBSCRIPT (7)

By substituting the computed quantities from expressions (2) and (5) to the equation (7), we obtain the total energy expression as follows:

(Problem P1):

En,k=Eoff(n,k)+Elocal(n,k)=(2calSE(vk,fc)1)σ2hnln,kDn,kWncalSE(vk,fc)+ϵncn,kfn2(1ln,k)Dn,ksubscript𝐸𝑛𝑘subscript𝐸𝑜𝑓𝑓𝑛𝑘subscript𝐸𝑙𝑜𝑐𝑎𝑙𝑛𝑘superscript2𝑐𝑎𝑙𝑆𝐸subscript𝑣𝑘subscript𝑓𝑐1superscript𝜎2subscript𝑛subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘subscript𝑊𝑛𝑐𝑎𝑙𝑆𝐸subscript𝑣𝑘subscript𝑓𝑐subscriptitalic-ϵ𝑛subscript𝑐𝑛𝑘superscriptsubscript𝑓𝑛21subscript𝑙𝑛𝑘subscript𝐷𝑛𝑘\displaystyle\begin{split}E_{n,k}&{=}E_{off(n,k)}+E_{local(n,k)}\\ \ &{=}\left(2^{{calSE}(v_{k},f_{c})}-1\right)\dfrac{\sigma^{2}}{h_{n}}\dfrac{l% _{n,k}D_{n,k}}{W_{n}{calSE}(v_{k},f_{c})}+\epsilon_{n}c_{n,k}f_{n}^{2}(1-l_{n,% k})D_{n,k}\end{split}\vspace{-0.8 cm}start_ROW start_CELL italic_E start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_CELL start_CELL = italic_E start_POSTSUBSCRIPT italic_o italic_f italic_f ( italic_n , italic_k ) end_POSTSUBSCRIPT + italic_E start_POSTSUBSCRIPT italic_l italic_o italic_c italic_a italic_l ( italic_n , italic_k ) end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = ( 2 start_POSTSUPERSCRIPT italic_c italic_a italic_l italic_S italic_E ( italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ) end_POSTSUPERSCRIPT - 1 ) divide start_ARG italic_σ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG italic_h start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT end_ARG divide start_ARG italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_ARG start_ARG italic_W start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_c italic_a italic_l italic_S italic_E ( italic_v start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT , italic_f start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT ) end_ARG + italic_ϵ start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( 1 - italic_l start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT ) italic_D start_POSTSUBSCRIPT italic_n , italic_k end_POSTSUBSCRIPT end_CELL end_ROW

where the computation of calSE()𝑐𝑎𝑙𝑆𝐸{calSE}(\cdot)italic_c italic_a italic_l italic_S italic_E ( ⋅ ) is considered an indivisible unit task. This is consistent with the theory that management systems will implement transmission and reception solutions in a modular form designed to operate independently, and system administrators cannot arbitrarily modify the internals of these devices. In other words, they function as black-box components.

In the subsequent steps, we will develop the solution for problem (P1).

2 Proposed greedy algorithm

The nature of mobile devices sending offloading requests to the edge server leads to client-server architecture. Mobile devices operate as clients, initiating offloading requests to a dedicated edge server. This interaction occurs over a wireless channel, establishing a bidirectional communication pathway. The server then returns an approval to the request, then the user sends the tasks and related pieces of information to the server and waits for the computation result.

In the following algorithm, given a list of N𝑁Nitalic_N users, each with K𝐾Kitalic_K tasks. The parameters of k𝑘kitalic_k-th task of i𝑖iitalic_i-th user is given by:

  • d(i,k)𝑑𝑖𝑘d(i,k)italic_d ( italic_i , italic_k ) is the input data length

  • c(i,k)𝑐𝑖𝑘c(i,k)italic_c ( italic_i , italic_k ) mobile device computation coefficient J/cycle

  • u(i,k)𝑢𝑖𝑘u(i,k)italic_u ( italic_i , italic_k ) task computation coefficient cycle/bit

In addition, each mobile user has a fixed computing capacity, i.e. frequency clock rate fnsubscript𝑓𝑛f_{n}italic_f start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT. Initially, the users sends offloading request including its tasks and mobile device’s physical parameters. The task is modeled with parameters as above. According to the policy of the optimizing module, after a certain threshold of accepting offloading requests to its task pool. It starts to run the following algorithm. The task pool is implemented as a hash map, in which the key is the mobile device and value is the list of tasks associated with that device.

Initially, it sets the offloading ratio to 0.5 for every tasks. At each step, it recalculates total energy and picks out a task which gives the worst performance, meaning that the energy consumed by this task at the current ratio is not efficient, and then increases the offloading ratio by 10%. If this increase makes the overall energy consumption by all tasks to decrease, the algorithm continues the next iteration. In the end, the global optimal energy consumption for all tasks is found, but it does not guarantee individual task optimization. The logic for finding task which consumes most energy among all of them is non-trivial, so it is not included here.

There are two primary sources of data generators in this data processing process. The mobile device’s trajectory data as well as a set of task-insensitive data. We calculate the estimated channel capacity and communication rate by evaluating the channel condition from the trajectory information. Next, we use the data as the input for the proposed greedy algorithm, which is run on the gateway server, to construct the offloading decision. Finally, we obtain the algorithm’s output, which represents the decision to offload.

Algorithm 1 Iterative greedy decision
1:N𝑁Nitalic_N is the number of mobile users
2:K𝐾Kitalic_K is the number of tasks per user
3:taskPool: matrix[K𝐾Kitalic_K]
4:Elocal[]subscript𝐸𝑙𝑜𝑐𝑎𝑙E_{local}[]italic_E start_POSTSUBSCRIPT italic_l italic_o italic_c italic_a italic_l end_POSTSUBSCRIPT [ ]: matrix[N𝑁Nitalic_N]
5:Eoffload[]subscript𝐸𝑜𝑓𝑓𝑙𝑜𝑎𝑑E_{offload}[]italic_E start_POSTSUBSCRIPT italic_o italic_f italic_f italic_l italic_o italic_a italic_d end_POSTSUBSCRIPT [ ]: matrix[N𝑁Nitalic_N]
6:function TotalEnergy
7:     TotalE=0TotalE0\text{TotalE}=0TotalE = 0
8:     for md in taskPool do
9:         for task in taskPool[md] do
10:              taskLen=task.getLength()𝑡𝑎𝑠𝑘𝐿𝑒𝑛task.getLength()taskLen=\text{task.getLength()}italic_t italic_a italic_s italic_k italic_L italic_e italic_n = task.getLength()
11:              mdCompCoef=task.getComp()𝑚𝑑𝐶𝑜𝑚𝑝𝐶𝑜𝑒𝑓task.getComp()mdCompCoef=\text{task.getComp()}italic_m italic_d italic_C italic_o italic_m italic_p italic_C italic_o italic_e italic_f = task.getComp()
12:              taskCompCoef=task.getCoef()𝑡𝑎𝑠𝑘𝐶𝑜𝑚𝑝𝐶𝑜𝑒𝑓task.getCoef()taskCompCoef=\text{task.getCoef()}italic_t italic_a italic_s italic_k italic_C italic_o italic_m italic_p italic_C italic_o italic_e italic_f = task.getCoef()
13:              Elocal=taskLen×mdCompCoef×taskCompCoefsubscript𝐸local𝑡𝑎𝑠𝑘𝐿𝑒𝑛𝑚𝑑𝐶𝑜𝑚𝑝𝐶𝑜𝑒𝑓𝑡𝑎𝑠𝑘𝐶𝑜𝑚𝑝𝐶𝑜𝑒𝑓E_{\text{local}}=taskLen\times mdCompCoef\times taskCompCoefitalic_E start_POSTSUBSCRIPT local end_POSTSUBSCRIPT = italic_t italic_a italic_s italic_k italic_L italic_e italic_n × italic_m italic_d italic_C italic_o italic_m italic_p italic_C italic_o italic_e italic_f × italic_t italic_a italic_s italic_k italic_C italic_o italic_m italic_p italic_C italic_o italic_e italic_f
14:              
15:              Bw=subscript𝐵𝑤absentB_{w}=italic_B start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT = this.CommManager.getBandwith()
16:              h=absenth=italic_h = this.CommManager.getGain()
17:              N0=subscript𝑁0absentN_{0}=italic_N start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = this.CommManager.getNoisePower()
18:              SE=𝑆𝐸absentSE=italic_S italic_E = this.CommManager.getSpectralEfficiency()
19:              t=taskLen/(SEBw)𝑡𝑡𝑎𝑠𝑘𝐿𝑒𝑛𝑆𝐸subscript𝐵𝑤t=taskLen/(SE*B_{w})italic_t = italic_t italic_a italic_s italic_k italic_L italic_e italic_n / ( italic_S italic_E ∗ italic_B start_POSTSUBSCRIPT italic_w end_POSTSUBSCRIPT )
20:              TotalE=TotalE+Elocal+EoffloadTotalETotalEsubscript𝐸localsubscript𝐸offload\text{TotalE}=\text{TotalE}+E_{\text{local}}+E_{\text{offload}}TotalE = TotalE + italic_E start_POSTSUBSCRIPT local end_POSTSUBSCRIPT + italic_E start_POSTSUBSCRIPT offload end_POSTSUBSCRIPT
21:         end for
22:     end for
23:     return TotalE
24:end function
25:function optimize
26:     for md in taskPool do
27:         for task in taskPool[md] do
28:              task.setOffloadingRatio(0.5)
29:         end for
30:     end for
31:     currE=newE=this.TotalEnergy()currEnewEthis.TotalEnergy()\text{currE}=\text{newE}=\text{this.TotalEnergy()}currE = newE = this.TotalEnergy()
32:     while True do
33:         worst_task = this.find_worst()
34:         worst_task.increaseOffload(0.1)
35:         currE=min(currE,newE)currEcurrEnewE\text{currE}=\min(\text{currE},\text{newE})currE = roman_min ( currE , newE )
36:         newE=this.TotalEnergy()newEthis.TotalEnergy()\text{newE}=\text{this.TotalEnergy()}newE = this.TotalEnergy()
37:         if newE \geq currE then
38:              break
39:         end if
40:     end while
41:     return
42:end function

3 Numerical Results

3.1 VED Dataset

We consider a novel large-scale database of the mobile device in real-world. We use the VED dataset [15], which records GPS trajectories of automobiles along with historical data on fuel, energy, speed, and auxiliary power consumption, since our prediction primarily takes into account mobile devices traveling in longitude and lattice coordination. Although, the mobile device feature the 3D trajectory, we have exam the UAV quadrator in our practice setting and figure out that the energy consumption is extremely large in tradeoff the 3D moving. Then, we are interested in the model of UAV in plane shape where it moving in 2D and stablize the height in a long duration task. Therefore,the longitude/latitude data in the dataset is fit for our experiment input. The dataset can be accessed at https://github.com/gsoh/VED.

Refer to caption
Figure 1: Longtidue and latitude variant in VED dataset

Although the dataset accumulates approximately 374,000 miles long, we re-estimate the distance between 2 timestamp which is pre-set at 1000 to 4000 ms. Using the GPS transformation, we conduct an analysis on the gps location of mobile device in which current states are defined as latitude or longitude of as shown in Figure 1.

Refer to caption
Figure 2: The moving distant vs signal radius distant

We also calculate that the greatest distance between two points, or the trajectory between the two sibling timestamps, is at most 400 meters, and that latitude varies more than longitude. Given that the traveling distance is measured in meters and the base station’s radius ranges from 3 to 6.5 km, or around 12 km in the both sides. As in figure 2, we observe the distant d is significantly lower than the radius R, we can confirm that R is equivalent to R’ as our assumption in prediction model. In summary, we confirm the assuption of the moving is 1 dimension variable of the anglar ϕitalic-ϕ\phiitalic_ϕ

3.2 The convergence of Algorithm 1 and the impact of offloading strategies

By choosing locally optimal energy and using an iterative approach to an optimal solution, the greedy algorithm aims to reduce the total energy. The greedy offloading approach, as illustrated in Figure 3, takes decisions based on immediate reduction, which definitely leads to a convergence finalization. Furthermore, its ignorance of the whole picture result in unconfined converge to the globally optimal solution of the greedy heuristic; instead, the algorithm may become stuck at a sub-optimal answer. Because of the un-guaranteed step choices, we experience an unpredictable decreasing step of approximately 30% after every 1000 iteration. Neither the convergence rate nor the bound are established.

Refer to caption
Figure 3: Greedy energy consumption optimization algorithm

Since it is crucial to the edge data-driven network, the impact of data size on energy consumption needs to be considered in the next assessment step. The rapid rise in data size results in a considerable increase in the energy necessary for data transmission. Since mobile edge computing usually prefers to outsource tasks to the server, it is essential to figure out how to consume less energy while yet delivering the best results in a limit amount of time. In our initial study phase, we examined the first energy factor; the remaining factors were left for future research development in the subsequent phase. We conducted an experiment where a higher demand increased the requirement for energy offloading and computation, leading to a larger decrease in the amount of energy used in our optimal strategy. The better energy saving gap in increasing the offloading data portion is confirmed by the improved gap (the larger gap is the better).

3.3 Communication rate estimation in velocity modulation

We would want to clarify that that we only leverage the research results of velocity modulation from other group in our research team.Consequently, we don’t conduct any additional research and instead use the provided estimation as a parameter of our work. We want to examine the spectral efficiency (SE) of the two-step receiver and the result implies the decreasing of communication rate as the speed increases as in Figure 4. We figure out that the SE is calculated in bit/s/Hz which mean in each different settings of the allocated bandwith (in Hz) we achieve the different communication rate.

Refer to caption
Figure 4: Spectral efficieny of Zak-based and SFFT-based modulation

3.4 The estimation of offloading energy efficiency

In the previous evaluation, the system’s efficiency is measured by the total energy consumption of mobile devices and processing of their tasks. We only consider the amount of data need to be uploaded has an important impact on the overall system performance. Since the communication settings are also needed to evaluation, we derive the following experiment to figure out the velocity impact which result in the communication rate and even the bandwidth we allocate for the offloading communication. In Figure. 5, the system’s efficiency is measured by the total energy consumption of mobile devices and the different settings of velocity and bandwidth.

We figure out that a reduced energy consumption results from the mobile device’s high speed, which offers a bigger capacity of communication rate. This can be explained by the increased speed; velocity modulation shows a higher rate of communication, which when combined with the previous offloading method finding, encourages more offloading in order to reduce energy usage. Therefore, we get the lower energy consumption as shown in the illustration.

Refer to caption
Figure 5: Greedy energy consumption optimization algorithm in various settings of velocity and bandwidth

4 Conclusion

The evaluation show the impact of offloading decision on the total energy consumption. The impact are further investigated to see the transmission rate caused by velocity estimation. To give the overal view of estimation, we come with trajectory and velocity modeling experiment

The evaluation shows how the offloading strategies affects the total energy consumption. The impact are further investigated by determining the transmission rate which is induced by velocity modulation. We aims to conduct a model that helps predict the velocity in order to automatic and timely estimate the communication rate. Unfortunately, we obtain the result of low accuracy in our model, we initially figure out that we got some wrong in implementation the Koopman model, that might effect the final result. We have to make a checkpoint the status in this specialized project to

The analysis illustrates the impact of the offloading strategies on the total energy consumption. By figuring out the transmission rate that is prompted by velocity modulation, its impacts are further investigated. Our goal is to develop a model which helps in velocity predictions so that the communication rate may be automatically and promptly estimated. Unfortunately, we discover that our model’s accuracy is low. Initially, we suspect that there were some implementation errors with the Koopman model, which could have an impact on the final results. To keep the finalize of this specialized project, we have to make a checkpoint of the current status let it a further investigation later.

We still lack of proposing a solution that combines the two sub-problems. We have no strategy to determine the starting point that would enable us to guarantee a suitable and sufficient beginning point. Lastly, the most crucial step in our decision-making process—establishing a constrained statement of convergence—is currently missing.

References

  • [1] Portal, E.: Mobile-edge computing introductory technical white paper (Sep 2014), https://portal.etsi.org
  • [2] Nguyen, D., Thoai, N.: Ebc: Application-level migration on multi-site cloud. In: 2012 International Conference on Systems and Informatics (ICSAI2012). pp. 876–880. IEEE (2012)
  • [3] Wan, L., Sun, L., Kong, X., Yuan, Y., Sun, K., Xia, F.: Task-driven resource assignment in mobile edge computing exploiting evolutionary computation. IEEE Wireless Communications 26(6), 94–101 (2019)
  • [4] Feng, J., Pei, Q., Yu, F.R., Chu, X., Du, J., Zhu, L.: Dynamic network slicing and resource allocation in mobile edge computing systems. IEEE Transactions on Vehicular Technology 69(7), 7863–7878 (2020)
  • [5] Agarwal, S., Malandrino, F., Chiasserini, C.F., De, S.: Joint vnf placement and cpu allocation in 5g. In: IEEE INFOCOM. pp. 1943–1951. Honolulu, USA (Apr 2018)
  • [6] Lyu, X., Tian, H., Sengul, C., Zhang, P.: Multiuser joint task offloading and resource optimization in proximate clouds. IEEE Trans. Veh. Technol. 66(4) (Apr 2016)
  • [7] Guo, S., Liu, J., Yang, Y., Xiao, B., Li, Z.: Energy-efficient dynamic computation offloading and cooperative task scheduling in mobile cloud computing. IEEE Trans. Mobile Comput. 18(2), 319–333 (Apr 2018)
  • [8] Lin, R., Xie, T., Luo, S., Zhang, X., Xiao, Y., Moran, B., Zukerman, M.: Energy-efficient computation offloading in collaborative edge computing. IEEE Internet of Things Journal 9(21), 21305–21322 (2022)
  • [9] Nguyen, P., Ha, V., Le, L.: Computation offloading and resource allocation for backhaul limited cooperative mec systems. In: Proc. IEEE VTC Fall. Hawaii, USA (Sep 2019)
  • [10] Chen, Y., Zhang, N., Zhang, Y., Chen, X., Wu, W., Shen, X.S.: Toffee: task offloading and frequency scaling for energy efficiency of mobile devices in mobile edge computing. IEEE Trans. Cloud Comput. (Jun 2019)
  • [11] Nguyen, P.D., Le, L.B.: Joint computation offloading, sfc placement, and resource allocation for multi-site mec systems. In: 2020 IEEE Wireless Communications and Networking Conference (WCNC). pp. 1–6. IEEE (2020)
  • [12] Bhamare, D., Samaka, M., Erbad, A., Jain, R., Gupta, L., Chan, H.: Optimal virtual network function placement in multi-cloud service function chaining architecture. J. Comput. Commun. 102, 1–16 (Apr 2017)
  • [13] Du, J., Gelenbe, E., Jiang, C., Zhang, H., Ren, Y.: Contract design for traffic offloading and resource allocation in heterogeneous ultra-dense networks. IEEE J. Sel. Areas in Commun. 35(11), 2457–2467 (Oct 2017)
  • [14] Raviteja, P., Phan, K.T., Hong, Y., Viterbo, E.: Orthogonal time frequency space (otfs) modulation based radar system. In: 2019 IEEE Radar Conference (RadarConf). pp. 1–6. IEEE (2019)
  • [15] Oh, G., Leblanc, D.J., Peng, H.: Vehicle energy dataset (ved), a large-scale dataset for vehicle energy consumption research. IEEE Transactions on Intelligent Transportation Systems 23(4), 3302–3312 (2020)