Edge Intelligence: the Confluence of Edge Computing and Artificial - - PowerPoint PPT Presentation

edge intelligence the confluence of edge computing and
SMART_READER_LITE
LIVE PREVIEW

Edge Intelligence: the Confluence of Edge Computing and Artificial - - PowerPoint PPT Presentation

Edge Intelligence: the Confluence of Edge Computing and Artificial Intelligence Hailiang Zhao hliangzhao@zju.edu.cn College of Computer Science and Technology, Zhejiang University November 17, 2019 hliangzhao@zju.edu.cn Edge Intelligence: A


slide-1
SLIDE 1

Edge Intelligence: the Confluence of Edge Computing and Artificial Intelligence

Hailiang Zhao hliangzhao@zju.edu.cn

College of Computer Science and Technology, Zhejiang University

November 17, 2019

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 1 / 20

slide-2
SLIDE 2

Outline

1

Introduction 5G, edge, and AI Relations between Edge Computing and AI Birth of Edge Intelligence

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 2 / 20

slide-3
SLIDE 3

Outline

1

Introduction 5G, edge, and AI Relations between Edge Computing and AI Birth of Edge Intelligence

2

Research Roadmap of Edge Intelligence Roadmap overview Quality of Experience Intelligence-enabled Edge Computing Artificial Intelligence on Edge

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 2 / 20

slide-4
SLIDE 4

Outline

1

Introduction 5G, edge, and AI Relations between Edge Computing and AI Birth of Edge Intelligence

2

Research Roadmap of Edge Intelligence Roadmap overview Quality of Experience Intelligence-enabled Edge Computing Artificial Intelligence on Edge

3

AI for Edge State of the Art Grand Challenges

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 2 / 20

slide-5
SLIDE 5

Outline

1

Introduction 5G, edge, and AI Relations between Edge Computing and AI Birth of Edge Intelligence

2

Research Roadmap of Edge Intelligence Roadmap overview Quality of Experience Intelligence-enabled Edge Computing Artificial Intelligence on Edge

3

AI for Edge State of the Art Grand Challenges

4

AI on Edge State of the Art Grand Challenges

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 2 / 20

slide-6
SLIDE 6

Outline

1

Introduction 5G, edge, and AI Relations between Edge Computing and AI Birth of Edge Intelligence

2

Research Roadmap of Edge Intelligence Roadmap overview Quality of Experience Intelligence-enabled Edge Computing Artificial Intelligence on Edge

3

AI for Edge State of the Art Grand Challenges

4

AI on Edge State of the Art Grand Challenges

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 3 / 20

slide-7
SLIDE 7

5G is coming!

What 5G brings to us

1 enhanced Mobile BroadBand (eMBB) 2 Ultra-Reliable Low Latency Communications (URLLC) 3 massive Machine Type Communications (mMTC) hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 4 / 20

slide-8
SLIDE 8

Processing data nearby1

Why edge?

1 explosion of data generated by mobile and IoT devices 2 oppressive network congestion in backbone 3 ...

Multi-access Edge Computing (MEC)

1 communication/computation/caching/control at the edge directly 2 provide services 3 perform computations 4 manage resources

MEC avoids unnecessary communication latency and enabling faster responses for end users.

  • 1Z. Zhou et al. “Edge Intelligence: Paving the Last Mile of Artificial Intelligence With Edge Computing”. In: Proceedings of

the IEEE 107.8 (2019), pp. 1738–1762. hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 5 / 20

slide-9
SLIDE 9

A typical pre-5G HetNet

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 6 / 20

slide-10
SLIDE 10

What about Artificial Intelligence?

1 powerfull in big data processing & insights extracting 2 DNNs: powerfull knowledge representation 3 Typical structures of DNNs 1

Multilayer Perceptrons (MLP)

2

Convolutional Neural Network (CNN) (AlexNet → VGG-16 → GoogleNet → ResNet)

3

Recurrent Neural Network (RNN) (RNN → LSTM)

4 Popular DNN models 1

Generative Adversarial Network (GAN)

2

Deep Reinforcement Learning (DRL)

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 7 / 20

slide-11
SLIDE 11

Can they integrate with each other?

1 AI provides Edge Computing with methods and technologies 1

Complicated resource allocation problems need to solve

2

Huge volumes of data need to analysis

3

AI can help in model formulation & optimization

2 Edge Computing provides AI with scenarios and platforms 1

More and more data is created by widespread and geographically distributed mobile and IoT devices

2

Many more applicaiton scenarios (intelligent networked vehicles, autonomous driving, smart hone, smart city, ...)

3

Hardware acceleration on resource-limited IoT devices

Their integration leads to the birth of

Edge Intelligence (a.k.a. Edge AI)

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 8 / 20

slide-12
SLIDE 12

Edge Intelligence: our definition

Edge Intelligence We divide it into AI for edge and AI on edge.

1 AI for edge 1

provide a better solution to the constrained optimization problems

2

AI is used for energizing edge with more intelligence and optimality

3

Intelligence-enabled Edge Computing (IEC)

2 AI on edge 1

carry out the entire process of AI models on edge

2

run model training and inference with device-edge-cloud synergy

3

Artificial Intelligence on Edge (AIE)

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 9 / 20

slide-13
SLIDE 13

Outline

1

Introduction 5G, edge, and AI Relations between Edge Computing and AI Birth of Edge Intelligence

2

Research Roadmap of Edge Intelligence Roadmap overview Quality of Experience Intelligence-enabled Edge Computing Artificial Intelligence on Edge

3

AI for Edge State of the Art Grand Challenges

4

AI on Edge State of the Art Grand Challenges

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 10 / 20

slide-14
SLIDE 14

Roadmap Overview

Performance Problem-based Indicators Training loss + Test Accuracy Quality of Experience (QoE) Cost Computation Resource (delay) Communicational Resource (latency) Energy Consumption Privacy (Security) Efficiency Reliability AI for Edge Service Computation Offloading User Profile Migration Mobility Management Content Data Provisioning Service Provisioning Placement Composition Caching Topology Edge Site Orchestration Wireless Networking Data Acquisition Network Planning the bottom-up approach AI on Edge Model Adaptation Model Compression Conditional Computation Algorithm Asynchronization Framework Design Partitioning Splitting Processor Acceleration Instrcution Set Design the top-down decomposition Thoroughly Decentralization Model Inference Model Training Federated Learning Parallel Computation Near-data Processing Knowledge Distillation

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 11 / 20

slide-15
SLIDE 15

QoE: indicators

1 performance 1

AI for edge: problem-dependent

2

AI on edge: training loss, inference loss

2 cost 1

computation cost (CPU time, CPU frequency)

2

communication cost (transmit power, frequency band, access time)

3

energy consumption (battery capacity)

3 privacy (security) 1

leads to the birth of Federated Learning

4 efficiency 1

excellent performance with low overhead

5 reliability 1

robustness

2

handle with failure

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 12 / 20

slide-16
SLIDE 16

AI for edge: a recapitulation

1 Service 1

  • ptimize computation offloading via DQN23

2 Content 1

service placement via MAB4

2

service deployment via DRL5

3 Topology 1

  • ptimize UAVs via Multi-agent Learning6

2

learning-driven communication7

  • 2X. Chen et al. “Optimized Computation Offloading Performance in Virtual Edge Computing Systems Via Deep

Reinforcement Learning”. In: IEEE Internet of Things Journal 6.3 (2019), pp. 4005–4018.

  • 3M. Min et al. “Learning-Based Computation Offloading for IoT Devices With Energy Harvesting”. In: IEEE Transactions on

Vehicular Technology 68.2 (2019), pp. 1930–1941.

  • 4L. Chen et al. “Spatio–Temporal Edge Service Placement: A Bandit Learning Approach”. In: IEEE Transactions on Wireless

Communications 17.12 (2018), pp. 8388–8401.

  • 5Y. Chen et al. “Data-Intensive Application Deployment at Edge: A Deep Reinforcement Learning Approach”. In: 2019 IEEE

International Conference on Web Services (ICWS). 2019, pp. 355–359.

  • 6J. Xu, Y. Zeng, and R. Zhang. “UAV-Enabled Wireless Power Transfer: Trajectory Design and Energy Optimization”. In:

IEEE Transactions on Wireless Communications 17.8 (2018), pp. 5092–5106.

  • 7M. Chen et al. “Artificial Neural Networks-Based Machine Learning for Wireless Networks: A Tutorial”. In: IEEE

Communications Surveys Tutorials (2019), pp. 1–33. hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 13 / 20

slide-17
SLIDE 17

AI on edge: a recapitulation

1 model adaptation (too many of them) 1

model compression, conditional computation, algorithm asynchronization, thoroughly decentralization, ...

2 framework design 1

model training: Federated Learning on edge8, knowledge distillation-based methods9

2

model inference: model splitting/partitioning (Edgent)10

3 processor acceleration11 1

design special instruction sets

2

design high parallel computing paradigms

3

move computation closer to memory

8Kai Yang et al. “Federated Learning via Over-the-Air Computation”. In: CoRR abs/1812.11750 (2018). arXiv: 1812.11750. 9Jin-Hyun Ahn, Osvaldo Simeone, and Joonhyuk Kang. “Wireless Federated Distillation for Distributed Edge Learning with

Heterogeneous Data”. In: ArXiv abs/1907.02745 (2019).

10En Li, Zhi Zhou, and Xu Chen. “Edge Intelligence: On-Demand Deep Learning Model Co-Inference with Device-Edge

Synergy”. In: Proceedings of the 2018 Workshop on Mobile Edge Communications, MECOMM@SIGCOMM 2018, Budapest, Hungary, August 20, 2018. 2018, pp. 31–36.

  • 11V. Sze et al. “Efficient Processing of Deep Neural Networks: A Tutorial and Survey”. In: Proceedings of the IEEE 105.12

(2017), pp. 2295–2329. hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 14 / 20

slide-18
SLIDE 18

Outline

1

Introduction 5G, edge, and AI Relations between Edge Computing and AI Birth of Edge Intelligence

2

Research Roadmap of Edge Intelligence Roadmap overview Quality of Experience Intelligence-enabled Edge Computing Artificial Intelligence on Edge

3

AI for Edge State of the Art Grand Challenges

4

AI on Edge State of the Art Grand Challenges

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 15 / 20

slide-19
SLIDE 19

Utilize DQN for performance optimization

Problem Definition Model Construction Algorithm Design Refactor Performance Optimization in MEC Deep Q-Network (DQN)

execution delay handover delay task dropping cost

Binary Task

energy allocation edge server selection

Partial Task

  • ffloading or not

partition point battery energy level task execution deadline radio frequency bandwidth computing resources

Observe States Observe Actions (Discretization)

energy state task request state resource usage

...

edge server selection

  • ffloading decision

Remove Constraints

add penalty transfer to goal add assumption

...

Memory Pool (Database of Samples) DNN gradients policy Mini- batch Environment State Cost Action Weight Updating (alternative) Need-to-be-minimized delay

Goal Decision Variables Constraints

Action energy allocation

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 16 / 20

slide-20
SLIDE 20

Grand challenges

1 model establishment 1

unrestrained searching space

2

state/action set cannot be infinite

2 algorithm deployment 1

cannot obtain analytic (approximate) optimal solution

2

too many iterations → hard to deploy in an online manner

3

who undertake the responsibility?

3 balance between optimality and efficiency hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 17 / 20

slide-21
SLIDE 21

Outline

1

Introduction 5G, edge, and AI Relations between Edge Computing and AI Birth of Edge Intelligence

2

Research Roadmap of Edge Intelligence Roadmap overview Quality of Experience Intelligence-enabled Edge Computing Artificial Intelligence on Edge

3

AI for Edge State of the Art Grand Challenges

4

AI on Edge State of the Art Grand Challenges

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 18 / 20

slide-22
SLIDE 22

Model Adaptation: a classification

Methods Approaches Technologies

Model Adaptation

Model Compression Conditional Computation Algorithm Asynchronization Thoroughly Decentralization cost efficiency performance privacy cost efficiency efficiency performance Quantizing Dimensional Reduction Pruning Precision Downgrading Components Sharing Components Shutoff Input Filtering Early Exit Results Caching Enhancement Singular Value Decomposition Huffman Coding

... ...

Block-wise Dropout

...

Smart Contract

...

Participator Selection Game Theory Exploit the inherent sparsity structure of gradients and weights Selectively turn off some unimportant calculations Aggregate local models in an asynchronous way Remove the central aggregator to avoid any possible leakage

...

Random Gossip Communication

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 19 / 20

slide-23
SLIDE 23

Grand challeneges

1 data availability 1

where to find usable data?

2

incentive mechnisms

3

  • bvious bias from distributed end users (non i.i.d.)

2 model selection 1

select befitting threshold of learning accuracy & scale of models

2

select probe training frameworks and accelerator architectures

3 coordination mechanism 1

same method achieves different results

2

compatibility and coordination (cloud-edge-device synergy)

3

establish a unified API interface?

hliangzhao@zju.edu.cn Edge Intelligence: A Survey November 17, 2019 20 / 20