Hi, I'm Lucile 👋

I'm a PhD candidate in ECE at NYU

Lucile Yang

Hi, I'm Lucile 👋

I'm a PhD candidate in ECE at NYU

Resource Allocation for Decomposable DNN in Edge–IoT Framework

Resource Allocation for Decomposable DNN in Edge–IoT Framework

Link to Paper (This work is published in IEEE Internet of Things Journal): https://ieeexplore.ieee.org/abstract/document/9953097

Motivation

Deep learning (DL) applications have attracted significant attention with the rapidly growing demand for Internet of Things (IoT) systems. However, performing the inference tasks for DL applications on IoT devices is challenging due to the large computational demands of DL models. Recently, edge computing has offered us a solution by deploying resources near the end users. However, resources at the edge are still limited; thus, management issues, such as allocating the networking resources as well as the computing capabilities and configuring the devices appropriately for different applications, become essential.

Our approach

For knobs in edge management, we consider multiple application tasks with different options of DL models and different hyperparameter settings, along with possible decomposition points that utilize the split DL concept to design the configuration tables. Layer-level decomposition in split DL provides greater flexibility by splitting a single DL inference model into parts on different computing devices, and each part consists of several consecutive layers. We then propose the SplitDL-Image and the SplitDL-Video algorithms based on the Vickrey–Clarke–Groves (VCG) mechanism by considering model performance and frames per second (FPS) requirements with the preferences of the heterogeneous IoT devices. The proposed method allocates networking and edge server computing resources according to the designed configuration tables by assigning the appropriate configuration to each IoT device.

Brief Introduction to VCG

A VCG mechanism consists of $n$ strategic players and a finite set $\Omega$ of possible auction outcomes. Each player $i$ has a private valuation $v_i(\omega)$ for each outcome $\omega \in \Omega$. If assumed truthful bids, the allocation rule is to select an outcome $\omega^*=X(bid)$ that maximizes the sum of bids.

$$ X(bid) = \arg\max_{\omega\in\Omega}{\sum_{i=1}^n{bid_i(\omega)}}. $$

Then, the payment function is designed as

$$ p_i(bid) = \max_{\omega \in \Omega}\sum_{j \neq i }{bid_j(\omega)} - \sum_{j \neq i }{bid_j(\omega^{*})}, $$

where $\omega^*=X(bid)$, in order to charge bidder (player) $i$ for its externality. This would make bidders tend to bid the true valuations as their dominant strategy. As a result, the utility \(u_i(\omega)\) for each bidder $i$ in outcome $\omega$ will be their private value minus their VCG payment as

$$ u_i(\omega) = v_i(\omega) - p_i(bid). $$

Properties for VCG

Recall that the VCG mechanism is to (1) assume truthful bidding, pick the welfare-maximizing outcome due to the demand for welfare maximization, and (2) define a payment rule that leads to a DSIC mechanism. Besides, it also guaranteed us individual rationality (utilities of players are not negative) and weakly budget balance (total payment to central(auctioneer) is not negative).

Social Surplus Maximization

We can get social surplus maximized since we define our allocation rule as directly pick the welfare-maximizing outcome.

Truthful bidding (DSIC)

If we fix bidder $i$ and the bids of other bidders $bid_{-i}$, when the outcome $X(bid)$ chosen by the allocation rule is $\omega^*$, bidder $i$’s utility would be

$$ u_i(\omega^*) = v_i(\omega^*) - p_i(bid). $$$$ u_i(\omega^*) = \Big[v_i(\omega^*) + \sum_{j \neq i }{bid_j(\omega^{*})}\Big] - \Big[\max_{\omega \in \Omega}\sum_{j \neq i }{bid_j(\omega)}\Big]. $$

Note that the term in the second bracket is independent of what bidder $i$ bids, so the utility-maximizing problem reduces to maximizing the terms in the first bracket. If bidder $i$ bids $bid_i = v_i$, then the terms in the first bracket will be identical to what the mechanism wants to maximize in eq.(1). Hence, we know that bidding truthfully would result in the VCG mechanism choosing an outcome that not only maximizes welfare but also maximizes bidder $i$’s utility.

Individual Rationality

Individual rationality is also a property that the VCG mechanism guaranteed. Followed by the terms above and if bidder $i$ bids $bid_i = v_i$ ,

$$ u_i(\omega^*) = v_i(\omega^*) - p_i(bid) = \sum_{j}{bid_j(\omega^{*})} - \max_{\omega \in \Omega}\sum_{j \neq i }{bid_j(\omega)}. $$

Then, since $\omega^*$ is the outcome that maximizes social welfare,

$$\sum_{j}{bid_j(\omega^{*})} \geq \sum_{j}{bid_j(\omega)}, \forall \omega \in \Omega, \omega \neq \omega^{*}.$$

And from no negative externalities, which means that the utility of any choice that each player can make without the player’s participation is zero or positive, $bid_i(\omega) \geq 0$, we can get

$$\sum_{j}{bid_j(\omega^{*})} \geq \max_{\omega \in \Omega}\sum_{j \neq i }{bid_j(\omega)},$$

thus $u_i(\omega^*)$ is non-negative.

Weakly Budget Balance

VCG mechanism also provides weakly budget balance property when the no single-agent effect holds. If bidder $i$ bids $bid_i = v_i$,

$$ \sum_{i}{p_i(bid)} = \sum_{i}{\Big[\max_{\omega \in \Omega}\sum_{j \neq i }{bid_j(\omega)} - \sum_{j \neq i }{bid_j(\omega^{*})}\Big] }. $$

By no single-agent effect property, that is, the sum of welfares of agents without $i$ is weakly increased by dropping $i$ from the auction,

$$\max_{\omega \in \Omega}\sum_{j \neq i }{bid_j(\omega)} \geq \sum_{j \neq i }{bid_j(\omega^{*})} \ , \forall i .$$

We prove that the sum of transfers (payments) from bidders to the center is non-negative.

Concerns

Results

Simulation results based on real-world applications show that the proposed method indeed allocates more resources to IoT devices with more urgent/important tasks, preference for better accuracy, or higher local computational cost. In addition, other desired properties in auctions, such as truthful bidding, individual rationality, and weakly budget balance, are also guaranteed.

Model-level task decomposition


DICE-IoT From: Y. Zhang, J.-H. Liu, C.-Y. Wang, and H.-Y. Wei, “Decomposable intelligence on cloud-edge iot framework for live video analytics,”IEEE Internet of Things Journal, vol. 7, no. 9, pp. 8860–8873, 2020.

Papers:


Layer-level decomposition


yolov4output

layer

3gpptr From: 3GPP, “5G System (5GS); Study on traffic characteristics and performance requirements for AI/ML model transfer,” 3rd Generation Partnership Project (3GPP), Technical Report (TR) 22.874

Papers


Parallel decomposition


Papers


Both parallel and layer-level

Papers