The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection...

23
© 2018 Arm Limited Lifeng Geng October 2018 The Changing Face of Edge Compute Arm Tech Symposia 2018

Transcript of The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection...

Page 1: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

© 2018 Arm Limited

• Lifeng Geng• October 2018

The Changing Face of Edge Compute

Arm Tech Symposia 2018

Page 2: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

2 © 2018 Arm Limited 2 © 2018 Arm Limited

Market trends – acceleration of technology deployment

26 years 4 years

20171991 2021

100 billionchips shipped

100 billionchips shipped

1 Trillionchips shipped

Page 3: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

3 © 2018 Arm Limited

Requirements for intelligent edge computing

Base StationLocal Global

Sensor

Actuator

• Bandwidth / Cost / Power

• Security

• Privacy

• Real time / latency

• Reliability

• Safety

Gateway Server

Page 4: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

4 © 2018 Arm Limited

Edge compute

Edge compute

Increase autonomy

Reduce bandwidth

Increase security &

privacy

Reduce latency

Reduce power consumption

Increase safety

Page 5: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

5 © 2018 Arm Limited

“Think local”

Think Local

Heterogeneous system

architecture

Platform Security

Architecture

Optimized DSP

Scalable processing

Machine learning

Functional Safety

Page 6: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

6 © 2018 Arm Limited

Anatomy of an embedded device

Embedded device

Security

CPUSense

Actuate

Ground-up securityProtect data, firmware, integrity

and lifecycle management

Efficient computeAbility to process inputs and

make intelligent decisions

IO

Analog Memory

Application-specific interfacesAbility to sense input and actuate output

Connectivity to local devices

Development ecosystemChoice of tools, operating systems and middleware to

speed time to market

Page 7: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

7 © 2018 Arm Limited

An IoT device extends embedded with secure connectivity

IoT endpoint

Security

Services

CPU

Connectivity

Modem

Device Management

IoT services layer and security

IoT Services

Device Management

Link and layer security

Access network

Sense

Actuate

Connect to the cloudVia any connectivity

Be secureGround-up security.Secure across device, connectivity and service level

Be manageableZero-touch provisioning, authentication and lifetime manageability

Enable a serviceEnable provision of a value-add service to the end application

IO

Memory

Page 8: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

8 © 2018 Arm Limited

Increase securityThink local

Page 9: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

9 © 2018 Arm Limited

Security architecture and IPPhysical mitigation Software mitigation

Lifecycle mitigationCommunication mitigation

Arm SecurCore,Arm Cortex-M35P,CryptoCell-312P,CryptoIsland-300P

Arm TrustZone, CMSIS-ZONEArm Keil MDK and Armprocessors with TrustZonesupport

Arm CryptoCell & CryptoIsland,Arm Pelion IoT Platform,Arm CoreLink SDC-600

Arm CryptoCell & CryptoIsland,Arm Pelion IoT Platform

Platform Security Architecture

Hardware & firmware architecture specifications

Architect

ImplementFirmware source code

Threat models &security analysis

Analyze

Page 10: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

10 © 2018 Arm Limited

Arm secure foundations enable secure devices

• Flexible processor choice• Multicore and heterogenous options

• Optional security IP• TRNG• RTC• Cryptographic acceleration• Key management

• On-chip SRAM

• TrustZone-aware fabric

• Readily-available software

Processor(s)

Hardware Tools

Corstone ready software

Mainstream IoT devices

Arm secure foundation

Corstonefoundation IP

System IPSubsystem

IP

Constrained IoT devices

Rich IoT nodes and gateways

Security IP

PSA ready

Trusted Firmware

OS/RTOS support

Page 11: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

11 © 2018 Arm Limited

Optimized DSP functionsThink local

Page 12: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

12 © 2018 Arm Limited

Scalable DSP performance for edge devices

0

0.5

1

1.5

2

2.5

3

3.5

4

4.5

5

Q7 Q15 Q31 float16 float32

Cortex-M4 Cortex-M33 Cortex-M7 Cortex-A32

Rel

ativ

e p

erfo

rman

ce (

hig

her

is b

ette

r)

Simulation results using fast model and prototype compiler using selected CMSIS-DSP kernels such as CFFT, FIR, RFFT, matrix mul, vector dot product. Compared to Cortex-M4.

Page 13: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

13 © 2018 Arm Limited

A versatile DSP ecosystem for Cortex-M

Fundamental DSP functions on Cortex-M

– available for free!Examples of ecosystem solutions and partners

CMSIS-DSP library

Transforms

Matrix functionsStatistical functions

Controller functions

Support functions

Interpolator functions

Complex math functions

Filters

Basic math functions

Fast math functions

Voice codecs

Image processing

Audio codecs

Keyword spotting

Sensor fusion

Motor control

Audio enhancement

Connectivity

Simulation tools

Page 14: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

14 © 2018 Arm Limited

A versatile DSP ecosystem for Cortex-A with NEON• Extensive 3rd Party Ecosystem • Extensive support in Open Source

• Android – NEON optimizations• Skia library is 5x faster using NEON

ESPICO

2D GUI Library and GUI Visual Effects

NEON-optimized Audio and Video Codecs

The Arm Computer Vision and Machine Learning Library.Optimized functions for both Arm CPUs and GPUs using SIMD technologies.

https://github.com/Arm-software/ComputeLibrary

Page 15: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

15 © 2018 Arm Limited

Machine learning capabilityThink local

Page 16: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

16 © 2018 Arm Limited

Keyword detection

Pattern training

Voice and image recognition

Object detection

Image enhancement

Autonomous driving

Data center

Incr

easi

ng

per

form

ance

(o

ps/

seco

nd

)

Flexible, scalable ML solutions

• Only Arm can enable ML everywhere• 90% of the AI-enabled units shipped

today are based on Arm(source: IDC WW Embedded and Intelligent Systems Forecast, 2017-2022 and Arm forecast)

Increasing power and cost (Silicon)

16 © 2018 Arm Limited

Page 17: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

17 © 2018 Arm Limited

Embedded intelligence requires best blend of compute

SenseDetect

& pre-processAnalyze & action

Vision ISP, Arm OD Cortex-A, Arm ML

Motion Cortex-MCortex-M, Cortex-R,

Arm ML

Voice Cortex-MCortex-M, Cortex-A,

Arm ML Software &Development Enablement

Arm Compute Libraries

Linux

RTOS

Arm NN ML Frameworks

DevelopmentTools

CPU, NN Acceleration (Arm ML), Image Signal Processor (Arm ISP), Object Detection (Arm OD)

Page 18: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

18 © 2018 Arm Limited

Example: bringing intelligent vision to rich embeddedTypical use cases: surveillance cameras, drones/UAVs, robotics

• Armv8-A CPUs for high-performance

• PSA-compliant security system

• Image enhancement

• Real-time object detection and tracking

• NPU acceleration for local video analysis

• Secure enclave for identity and connectivity

TOP/s = Tera-operations per second

Example intelligent vision subsystem

Arm ISPCryptoIsland-300P

(Secure enclave)

Up to 4 Cortex-A55

Armv8-A CPU

Cortex-M system(s)

Firewall

Arm OD Arm ML

Kigen SimOS

PSA ready

Linux / Mbed Linux

Arm NN

RTOS

Secure AXI interconnect

Page 19: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

19 © 2018 Arm Limited

“Think local”

Think local

Heterogeneous system

architecture

Platform Security

Architecture

Optimized DSP

Scalable processing

Machine learning

Functional Safety

Page 20: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

20 © 2018 Arm Limited

Arm architecture for total computing

Ecosystem

Worlds #1 embedded software ecosystem

Security

Support across all Cortex-A and some Cortex-M CPUs

Intelligence

Arm hardware IP and software support accelerate intelligence at the edge

SoC IP

Widest, most proven choice of IP to meet diverse PPA needs

28 billionArm-based

embedded chips shipped*

*As of CY Q1 2017

Page 21: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

21 © 2018 Arm Limited

Much more than a CPU for silicon success

Verified subsystem

Physical IP

Tools

Models

Software IoT & cloud services

Community

Training

Support

Design partners

ServicesProcessor IP

EDA

Foundryservices

Page 22: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

2222

The Arm trademarks featured in this presentation are registered trademarks or trademarks of Arm Limited (or its subsidiaries) in the US and/or elsewhere. All rights reserved. All other marks featured may be trademarks of their respective owners.

www.arm.com/company/policies/trademarks

© 2018 Arm Limited

Page 23: The Changing Face of Edge Compute · Pattern training Voice and image recognition Object detection Image enhancement Autonomous driving Data center. ond) Flexible, scalable ML solutions

2323

Thank YouDankeMerci谢谢ありがとうGraciasKiitos감사합니다धन्यवादתודה

© 2018 Arm Limited