19
Intuition for Sensors AI at the Edge: Bringing Intelligence to Small Devices at the Network Edge Intuition for Sensors Kevin A. Shaw, Ph.D. Chief Technology Officer / Cofounder

Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

Embed Size (px)

Citation preview

Page 1: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

Intuition for Sensors

AI at the Edge: Bringing Intelligence

to Small Devices at the Network Edge

Intuition for Sensors

Kevin A. Shaw, Ph.D.

Chief Technology Officer / Cofounder

Page 2: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Technology

Technology Revolution:

The Drive for Ubiquity

2

First Wave: Resources

shared by many.Second Wave:

One-to-one.

Third Wave:

Many to Many.

Cadence.com

Page 3: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Ubiquity: Computing Everywhere

"The most profound

technologies are those that

disappear. They weave

themselves into the fabric of

everyday life until they are

indistinguishable from it." -- Mark Weiser, 1991, Scientific American

3

Mark Weiser, CTO at Xerox PARC, 1990

Page 4: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Algorithmic Revolution

4

Traditional Programming

Methodology

Machine Learning

Methodology

+

+

+

Page 5: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

Server farm

5

Page 6: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Devices at the Edge

6

Page 7: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Devices at the Edge

7

Battery powered Limited or No Network

Limited Memory No display Limited compute

Low maintenance

Page 8: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Devices at the Edge

8

Page 9: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Example: Kitchen Faucet

9

Page 10: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

The World of IoT

10

Door Knob Gas Meter Parking Sensor Thermostat Doorbell

LED Lighting Smoke

DetectorsWaste Bins Fitness Bands Appliances

Page 11: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Compute and Sensing Requirements

• High Compute

• Vision/Camera images: Face detection; object detection

• Acoustic Processing: voice detection (Alexa, Siri)

• Requirements: GPU or dedicated Vision Processor

• Low Compute

• Motion: Steps and Activity

• Environmental: humidity, temperature, gasses, particulates

• Pressure: elevation

• Location/Proximity: Beacons

• Requirements: ARM Cortex M-class or similar

11

Page 12: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Basic Neural Network

12

Multiply OperationsJem Davies, “ARM and Machine Learning”

Exponential operations

Page 13: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Challenges: Hardware

• Memory Limitations

• Memory is 64K to 512K in most MCU cores

• Power Limitations

• Can’t send raw data for processing

• Network transport is very costly:

• Compute often; transport rarely

• Math Operations

• FPU (Floating Point Unit)

• Processor design

• 32bit

• Low power designs; peripherals can dominate power profile

13

Page 14: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Challenges: Software

• Software frameworks for DNN

• Many available, but not for embedded

• DNN Training

• Typically running on large machines with GPU support

• Generates a model file for the inferencing engine

• TensorFlow and others are good choices

• DNN Inferencing

• Either full data needs to be uploaded to the cloud

• Or, needs to run on the local processor

• Many frameworks available, but not for embedded

• Model files are often large, need to extract minimal data

14

Page 15: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Processors: MCU/CPU based

• 32b core (MCU) + FPU

• ARM M-class

• Ambiq Apollo 2: Ultra low power ARM M4F

• DSPs or Custom variants:

• Certain operations are hardened into gates for acceleration

• Bosch Sensortec DSP "Fuser Core": BHI160

• Greenwaves Tech: GAP8, RISC-V with HW NN

• Custom instructions: Tensilica, ARC

15

Page 16: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Processors: Neuromorphic

• Building the nodes (neurons) directly in silicon

• Analog approach vs digital approach

• Parallel operation

• General Vision + Intel

• Qualcomm Zeroth NPU (Neural Processing Unit)

• IBM TrueNorth processor (1,000,000+ neurons)

• Toshiba TDNN (Time Domain Neural Network)

16

Page 17: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Conclusion

• New algorithmic schemas are pushing computation back

to the cloud

• Drive for distributed computing is too great

• mobile cores are too cheap and too capable

• ANNs are well suited for edge processing

• New dedicated hardware is coming to accelerate

17

Page 18: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

© 2017 Algorithmic Intuition. All Information in this document is confidential and proprietary. Page

Algorithmic Intuition Inc

• Building Machine-Learning

algorithms for embedded sensors

• Focus on activity recognition

• Ai2 Active Living Monitor©

• Products to track wellness in Aging Adults

• Software & Hardware Platform

• Detect Vitals, Activities of Daily Living, Falling

• On-body sensor computation for long-battery life

• Hardware Platform reference design

• Sensors, MCU, BLE and PMIC

18

Page 19: Kevin Shaw at AI Frontiers: AI on the Edge: Bringing Intelligence to Small Devices at the Network Edge

Intuition for Sensors

AI at the Edge: Bringing Intelligence

to Small Devices at the Network Edge

Intuition for Sensors

Kevin A. Shaw, Ph.D.

Chief Technology Officer / Cofounder