1 of 28

Responsible AI via Sustainable and Privacy Preserving EdgeML

Brian Plancher

Barnard College, Columbia University

brianplancher.com

1

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

2 of 28

How can we adapt our approach to EdgeML to support Responsible AI future?

2

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

3 of 28

3

  1. What is a (Datasheet for a) Machine Learning Sensor?
  2. Applications of TinyML for Sustainability
  3. Environmental Footprint of TinyML Systems at Deployed Scale

Responsible AI via Sustainable and

Privacy Preserving EdgeML

Positive Effects of TinyML

Environmental Footprint at Scale

Our Suggested Transparent Paradigm

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

4 of 28

What is a (Datasheet for a) Machine Learning Sensor?

4

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

5 of 28

What is a Machine Learning Sensor?

5

Sensor 2.0

Privacy by Design

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

6 of 28

We suggest transparency as a core value to overcome these challenges.

6

Description, Features and Use Cases

Compliance

Diagram and�Form Factor

Hardware Characteristics

Communication Specification and Pinout

Model�Characteristics

Environmental Impact

Privacy and Security

End-to-End Performance Analysis

Data�Nutrition Label

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

7 of 28

7

Description, Features and Use Cases

Compliance

Diagram and�Form Factor

Hardware Characteristics

Communication Specification and Pinout

Model�Characteristics

Environmental Impact

Privacy and Security

End-to-End Performance Analysis

Data�Nutrition Label

ML Sensor Datasheets Have 3 Goals:

  1. Raise the level of abstraction
  2. Transparent at the hardware, data, model, and end-to-end layers
  3. Support Responsible Use

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

8 of 28

8

Description, Features and Use Cases

Compliance

Diagram and�Form Factor

Hardware Characteristics

Communication Specification and Pinout

Model�Characteristics

Environmental Impact

Privacy and Security

End-to-End Performance Analysis

Data�Nutrition Label

ML Sensor Datasheets Have 3 Goals:

  • Raise the level of abstraction
  • Transparent at the hardware, data, model, and end-to-end layers
  • Support Responsible Use

Standard Sensor Datasheet

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

9 of 28

9

Description, Features and Use Cases

Compliance

Diagram and�Form Factor

Hardware Characteristics

Communication Specification and Pinout

Model�Characteristics

Environmental Impact

Privacy and Security

End-to-End Performance Analysis

Data�Nutrition Label

ML Sensor Datasheets Have 3 Goals:

  • Raise the level of abstraction
  • Transparent at the hardware, data, model, and end-to-end layers
  • Support Responsible Use

Responsible Machine Learning Analysis

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

10 of 28

Responsible Machine Learning Analysis

10

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

11 of 28

11

Description, Features and Use Cases

Compliance

Diagram and�Form Factor

Hardware Characteristics

Communication Specification and Pinout

Model�Characteristics

Environmental Impact

Privacy and Security

End-to-End Performance Analysis

Data�Nutrition Label

ML Sensor Datasheets Have 3 Goals:

  • Raise the level of abstraction
  • Transparent at the hardware, data, model, and end-to-end layers
  • Support Responsible Use

Overall System Analysis

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

12 of 28

End-to-End Responsible Performance Analysis

12

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

13 of 28

Environmental Impact

Lets Explore this Impact in More Detail

13

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

14 of 28

14

TinyML can support the SDGs but comes with costs. What is the net impact?

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

15 of 28

Applications of TinyML for Sustainability

15

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

16 of 28

Zero Hunger & Good Health and Well-Being

(SDG #2 & #3)

16

Credit: PlantVillage Nuru

Nuru, an ML app more accurate than humans at detecting plant diseases. Increased a farmer’s sales by 55% & yields by 146%.

Credit: Crop Angel Ltd

Tiny drones can provide targeted pesticide applications that reduce use to 0.1% of conventional blanket spraying.

Credit: Sinhyu/Getty Images

Using Edge Impulse, a system was prototyped to identify mosquitoes by wing beats sounds with 88.3% accuracy.

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

17 of 28

Life on Land & Below Water

(SDG #14 & #15)

17

Credit: Rainforest Connection

Rainforest Connection uses

recycled smartphones for solar-powered listening devices to warn of deforestation efforts

Credit: Tim Cole

To prevent collisions with

whales in busy waterways, Google deployed a TinyML model on hydrophones to alert ships.

Credit: RESOLVE and Bivash Pandav

RESOLVE’s AI camera transmits notifications of elephant detection and can run for more than 1.5 years on a single battery.

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

18 of 28

Climate Action

(SDG #13)

18

Smart HVAC systems show a 20-40% reduction in building energy usage.

Credit: Google Nest

Ribbit Network is crowdsourcing world’s largest greenhouse gas emissions dataset through distributed intelligent sensors

Credit: Ribbit Network

TinyML can help provide intelligence to tiny robots like the Robobee that can be used as artificial pollinators.

Credit: Wyss Institute at Harvard University

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

19 of 28

Environmental Footprint of TinyML Systems at Deployed Scale

19

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

20 of 28

Real TinyML Systems are more than just an MCU!

20

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

21 of 28

Building Representative Systems

21

High Cost

Medium Cost

Low Cost

Image Classification

Keyword Spotting

Cost Level

Application

Size

Large

Compact

Compact

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

22 of 28

Building Representative Systems

22

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

23 of 28

23

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

24 of 28

TinyML Systems in Context

24

5x to 38x Savings over a 3-year lifespan!

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

25 of 28

Environmental Footprint of TinyML Systems at Deployed Scale

25

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

26 of 28

What if we scale to 250bn devices?

26

If our devices have longer lifespans this data starts to look even better!

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

27 of 28

Limitations and Areas for Future Study

27

What about the net impact of factors beyond carbon?

What about the

human costs?

What about

Jevons’ Paradox?

How can emerging technologies help?

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0

28 of 28

Responsible AI via Sustainable and Privacy Preserving EdgeML

Brian Plancher

Barnard College, Columbia University

brianplancher.com

28

Copyright (c) 2023 TinyMLedu.

All rights reserved.

CC BY-NC-SA 4.0