1 of 151

Complex Systems & Unpredictable Technology

AI and the Law

9/29/2020

2 of 151

Hi, I’m Fuzzy

3 of 151

4 of 151

5 of 151

6 of 151

A Few Disclaimers

7 of 151

Complex Systems

8 of 151

Complex Systems

&

Unpredictable Technology

9 of 151

10 of 151

11 of 151

12 of 151

13 of 151

14 of 151

15 of 151

16 of 151

17 of 151

18 of 151

19 of 151

20 of 151

21 of 151

Augmented workers can tackle more challenges.

90% reduction

in training time

25% faster

cycle time

98% reduction

in defect rate

22 of 151

Machines depend on people. People depend on apps.

23 of 151

24 of 151

25 of 151

26 of 151

27 of 151

I can write faster on a typewriter than you can on a computer. I do 120 words a minute, and you can't do that on a computer.

  • Ray Bradbury

28 of 151

I can write faster on a typewriter than you can on a computer. I do 120 words a minute, and you can't do that on a computer.

  • Ray Bradbury

There are times where I would keep three typewriters on a table, and I'd have three complete thoughts going. With computers, you make folders, files - I don't know about those things. I have sheaves of paper polluted with words and paragraphs. I found it a good tool for me. And it keeps your hands strong for guitar playing.

  • Eddie Vedder

29 of 151

I can write faster on a typewriter than you can on a computer. I do 120 words a minute, and you can't do that on a computer.

  • Ray Bradbury

There are times where I would keep three typewriters on a table, and I'd have three complete thoughts going. With computers, you make folders, files - I don't know about those things. I have sheaves of paper polluted with words and paragraphs. I found it a good tool for me. And it keeps your hands strong for guitar playing.

  • Eddie Vedder

My old Royal [typewriter] never crashed

  • Jack Limpert

30 of 151

31 of 151

32 of 151

Americans don’t need to be convinced to vote, they need to be able to vote.

It is harder to vote in the United States than in any other nation with democratically elected leadership.

33 of 151

50 different sets of voting laws

In many states, you have to print and mail forms, and who has a printer?

This disproportionately affects low-income voters and voters of color

34 of 151

VoteAmerica removes barriers that stop people from voting.

And then we proactively reach out and encourage people to use our tools.

35 of 151

In 11 states, there is no online ballot request system, but voters can submit their ballot requests electronically via email or fax.

But they’d need to either own a printer and a scanner, or know how to electronically scan their signature and put it on a PDF.

36 of 151

37 of 151

38 of 151

39 of 151

40 of 151

41 of 151

42 of 151

Electronic

Signature

Digital

Signature

43 of 151

Signature Extractor

The key technical challenge is going from this...

44 of 151

Signature Extractor

The key technical challenge is going from this...

To this:

45 of 151

Why is this hard?

46 of 151

Why is this hard?

47 of 151

Why is this hard?

48 of 151

Why is this hard?

49 of 151

Why is this hard?

50 of 151

Our Results

51 of 151

Simple Threshold

52 of 151

Otsu Binarization

53 of 151

How do we do it?

54 of 151

How do we do it?

55 of 151

Step 1: Grayscale

56 of 151

Step 2: Non-Local Means Denoising

57 of 151

Step 2: Non-Local Means Denoising

58 of 151

Step 2: Non-Local Means Denoising

59 of 151

Step 2: Non-Local Means Denoising

60 of 151

Step 2: Non-Local Means Denoising

61 of 151

Step 3: Adaptive Threshold

62 of 151

Step 3: Adaptive Threshold

Global

Otsu

Adaptive

63 of 151

Step 3: Adaptive Threshold

64 of 151

Step 3: Adaptive Threshold

65 of 151

Step 3: Adaptive Threshold

66 of 151

Step 4: Opening

67 of 151

Step 4: Opening

erode

68 of 151

Step 4: Opening

erode

dilate

69 of 151

Step 4: Opening

erode

dilate

Erode and dilate

(aka “open”)

70 of 151

Step 4: Opening

71 of 151

Step 5: Blur

72 of 151

Step 6: Crop

73 of 151

Step 6: Crop

74 of 151

Step 6: Crop

75 of 151

Step 6: Crop

76 of 151

77 of 151

78 of 151

79 of 151

80 of 151

How A Computer Works

81 of 151

How A Computer Works

Adds Two Very Small Numbers Together

82 of 151

Binary

83 of 151

Decimal (Base 10)

123,456

84 of 151

Decimal (Base 10)

1

2

3

4

5

6

85 of 151

Decimal (Base 10)

1

2

3

4

5

6

x100,000

x10,000

x1,000

x100

x10

x1

86 of 151

Decimal (Base 10)

1

2

3

4

5

6

x100,000

x10,000

x1,000

x100

x10

x1

100,000

20,000

3,000

400

50

6

87 of 151

Decimal (Base 10)

1

2

3

4

5

6

x100,000

x10,000

x1,000

x100

x10

x1

100,000

20,000

3,000

400

50

6

123,456

88 of 151

Binary (Base 2)

100101

89 of 151

Binary (Base 2)

1

0

0

1

0

1

90 of 151

Binary (Base 2)

1

0

0

1

0

1

x32

x16

x8

x4

x2

x1

91 of 151

Binary (Base 2)

1

0

0

1

0

1

x32

x16

x8

x4

x2

x1

32

0

0

4

0

1

92 of 151

Binary (Base 2)

1

0

0

1

0

1

x32

x16

x8

x4

x2

x1

32

0

0

4

0

1

37

93 of 151

Why Do We Care About Binary?

94 of 151

How Do We Represent

0 And 1?

95 of 151

How Do We Represent

0 And 1?

96 of 151

How A Computer Works

Adds Two Very Small Numbers Together

97 of 151

0 + 0 = 00

0 + 1 = 01

1 + 0 = 01

1 + 1 = 10 (2)

98 of 151

Input 1

Input 2

Output (2’s place)

Output (1’s place)

Adder

99 of 151

0

0

0

0

Adder

0 + 0 = 00

100 of 151

0

1

0

1

Adder

0 + 0 = 00

0 + 1 = 01

101 of 151

1

0

0

1

Adder

0 + 0 = 00

0 + 1 = 01

1 + 0 = 01

102 of 151

1

1

1

0

Adder

0 + 0 = 00

0 + 1 = 01

1 + 0 = 01

1 + 1 = 10 (2)

103 of 151

Let’s Build That Adder!

104 of 151

Basic Building Block: Transistors

105 of 151

Basic Building Block: Transistor

106 of 151

AND Gates

0 AND 0 = 0

0 AND 1 = 0

1 AND 0 = 0

1 AND 1 = 1

107 of 151

AND Gates

0 AND 0 = 0

0 AND 1 = 0

1 AND 0 = 0

1 AND 1 = 1

108 of 151

XOR Gates

0 XOR 0 = 0

0 XOR 1 = 1

1 XOR 0 = 1

1 XOR 1 = 0

109 of 151

XOR Gates

0 XOR 0 = 0

0 XOR 1 = 1

1 XOR 0 = 1

1 XOR 1 = 0

110 of 151

Let’s Build That Adder!

111 of 151

0 + 0 = 00

0 + 1 = 01

1 + 0 = 01

1 + 1 = 10 (2)

112 of 151

0 + 0 = 00

0 + 1 = 01

1 + 0 = 01

1 + 1 = 10 (2)

First digit: AND

Second digit: XOR

113 of 151

0 + 0 = 00

0 + 1 = 01

1 + 0 = 01

1 + 1 = 10 (2)

114 of 151

MOSFETs / Transistors

115 of 151

MOSFETs / Transistors

AND gates, XOR gates

116 of 151

MOSFETs / Transistors

AND gates, XOR gates

1-bit Adder

117 of 151

MOSFETs / Transistors

AND gates, XOR gates

1-bit Adder

64-bit Adder

118 of 151

MOSFETs / Transistors

AND gates, XOR gates

1-bit Adder

64-bit Adder

Arithmetic Logic Unit

119 of 151

MOSFETs / Transistors

AND gates, XOR gates

1-bit Adder

64-bit Adder

Arithmetic Logic Unit

Central Processing Unit

120 of 151

MOSFETs / Transistors

AND gates, XOR gates

1-bit Adder

64-bit Adder

Arithmetic Logic Unit

Central Processing Unit

Operating System

121 of 151

MOSFETs / Transistors

AND gates, XOR gates

1-bit Adder

64-bit Adder

Arithmetic Logic Unit

Central Processing Unit

Operating System

GUI

Web Browser (Chrome, Firefox)

Twitter

Memes

122 of 151

MOSFETs / Transistors

AND gates, XOR gates

1-bit Adder

64-bit Adder

Arithmetic Logic Unit

Central Processing Unit

Operating System

GUI

Web Browser (Chrome, Firefox)

Twitter

Memes

Abstraction

123 of 151

124 of 151

Acceleration

Friction

Wheel

Axle

Engine

Fuel

Gas Pedal

125 of 151

Why Does This Matter?

126 of 151

Abstractions Leak.

127 of 151

128 of 151

129 of 151

Single-Event Upset

8.5 billion transistors in a iPhone

130 of 151

Add more abstraction!

131 of 151

But it can always leak...

132 of 151

Complex Systems

133 of 151

Complex Systems

&

Unpredictable Technology

134 of 151

King v. Burwell

135 of 151

State vs. federal exchanges

136 of 151

Tax credit when you buy from “an Exchange established by the State”

137 of 151

Literal reading vs. intent

138 of 151

“Congress made the guaranteed issue and community rating requirements applicable in every State in the Nation.

“But those requirements only work when combined with the coverage requirement and tax credits.

“So it stands to reason that Congress meant for those provisions to apply in every State as well."

139 of 151

140 of 151

141 of 151

VS

142 of 151

143 of 151

144 of 151

Abstraction is a powerful tool to build complex systems.

145 of 151

Abstraction is a powerful tool to build complex systems.

Abstraction is great! Except when it isn’t. When the lower layers of abstraction break down, it causes unpredictable failures at the higher level.

146 of 151

Abstraction is a powerful tool to build complex systems.

Abstraction is great! Except when it isn’t. When the lower layers of abstraction break down, it causes unpredictable failures at the higher level.

Complex systems -- like AI and ML systems -- use abstraction extensively. This makes them unpredictable when they fail.

147 of 151

Abstraction is a powerful tool to build complex systems.

Abstraction is great! Except when it isn’t. When the lower layers of abstraction break down, it causes unpredictable failures at the higher level.

Complex systems -- like AI and ML systems -- use abstraction extensively. This makes them unpredictable when they fail.

The key is designing systems that let you get a high-level view of the whole system, even if you don’t understand all the details.

148 of 151

One Last Thing

149 of 151

150 of 151

VOTE

students.voteamerica.com

VOLUNTEER

voteamerica.com/volunteer

IN MA

yeson2rcv.com

151 of 151

Complex Systems & Unpredictable Technology

AI and the Law

9/29/2020