They Didn’t Stop To Think If They Should

Tim Gross | Machinist Labs

or…

Machine Learning And The Internet Of Unpatched Things

or…

Because Eternal Vigilance is the Price of Liberty, We Have to Talk About Ethics Again

We’ve updated our privacy policy!

Any reference to or citation of any person or organization does not constitute or imply an endorsement or recommendation of the content of this talk. The opinions expressed in this talk are the speaker’s alone and do not reflect the view of this conference, your employer, or my mom. The speaker is grossly unqualified to tell you how to live your life. Your mileage may vary. Not to be used in the manufacture of nuclear weapons. By attending this talk the speaker hereby grants you an irrevocable, perpetual, non-exclusive, transferable, worldwide license to be excellent to each other.

Washington Post: NTSB finds self-driving Uber did not have emergency braking turned on

Michael Laris, Washington Post, 24 May 2018

The Verge: Twitter taught Microsoft's Tay Chatbot to be a racist asshole in less than a day

James Vincent, The Verge, 24 Mar 2016

The Verge: UK hospitals hit with massive ransomware attack

Russell Brandom, The Verge, 12 May 2017

The Guardian: Tesla car that crashed and killed driver was running on Autopilot, firm says

The Guardian, 31 Mar 2018

Forbes: How Target Figured Out a Teen Girl Was Pregnant Before Her Father Did

Kashmir Hill, Forbes, 16 Feb 2012

The Guardian: Google says sorry for racist auto-tag in photo app

Jana Kasperkevic, The Guardian, 1 Jul 2015

@yipe on Twitter: "Alexa: remind me to feed the baby" (response: "Defeat the baby")

https://twitter.com/yipe/status/1005555741153902592

Huffington Post: Amazon Alexa-Powered Device Recorded and Shared User's Conversation Without Permission

Laura Stevens, Huffington Post, 24 May 2018

@polotek on Twitter: "Kalanick keeps asking for unethical/illegal things, but at some point we have to talk about how engineers at Uber keep saying yes."

a problem of scale

quantity has its own quality

"in X lines of Python" "in X lines of Python" "in X lines of Python" "in X lines of Python" "in X lines of Python" "in X lines of Python" "in X lines of Python"

picture of a ugly t-shirt that fools facial recognition

Robison Meyer, The Atlantic, 3 Oct 2013

Verge: These glasses trick facial recognition software into thinking you're someone else

James Vincent, The Verge, 3 Nov 2016

picture of an adversarial sticker that fools machine vision into thinking any object is a toaster

James Vincent, The Verge, 3 Jan 2018

New Stack: Camouflaged Graffiti on Road Signs Can Fool Machine Learning Models

Kimberly Mok, The New Stack, 14 Sep 2017

The team found that with this approach, they were able to confuse a machine 100 percent of the time into classifying a stop sign as a 45-mile-per-hour speed limit sign, and a right-turn sign as a stop sign.

Kimberly Mok, The New Stack, 14 Sep 2017

embedded industry stuck in archaic threat model

Hawkbit logo

http://www.eclipse.org/hawkbit/

diagram of AWS IoT products

Robert McCauley, Alexa Blogs, 3 May 2016

Our abdication of responsibility invites political remedy

stock image photo of US Congress

https://www.brookings.edu/wp-content/uploads/2016/06/congress006-1.jpg

“We have to do something!”

“This is something”

“We must do this!”

caption of Senator Ted Stevens "series of tubes" remarks

https://imgur.com/gallery/2mIObIu

intentionally unflattering picture of FCC Chairman Ajit Pai

Terrence O’Brien, engadget, 18 May 2017

Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.

https://www.apache.org/licenses/LICENSE-2.0

Do you want to be personally liable for bugs in your code?

Apibility: GDPR for lazy people: block all European users with Cloudflare workers

https://apility.io/2018/05/25/gdpr-lazy-block-european-users-cloudflare-workers/

screenshot of childish HackerNews comment

https://news.ycombinator.com/item?id=16954306

@internetofshit on Twitter: "Hi just letting you know you can't use your lights anymore because we're slathering your data around and GDPR is here"

https://twitter.com/internetofshit/status/999619364541394944

TechCrunch: Unroll.me to close to EU users saying it can't comply with GDPR

Natasha Lomas, Tech Crunch, 5 May 2018

feature, not bug

Salesforce CEO Marc Benioff thinks America needs “a national privacy law… that probably looks a lot like GDPR.

“This is going to help our industry… It’s going to set the guardrails around trust, around safety. It’s going to provide the ability for the customers to interact with great next generation technologies in a safe way.”

Simon Sharwood, The Register, 30 May 2018

Benioff went on to say that as artificial intelligence is used in customer service, “that starts to cross the line on what is trust. And that’s where our industry really has to come forward and say we’re going to make sure that these technologies are trust-based. And I think the Europeans definitely got that figured out.”

Simon Sharwood, The Register, 30 May 2018

Consent

Individual Consent vs The Community

cartoon of anti-vaxxer releasing a monster

Steve Sack, Star Tribune, 27 Jan 2015

Washington Post: The story behind Kelo v City of New London

Ilya Somin, Washington Post, 29 May 2015

@Millstab on Twitter: "Some seriously unethical UX design from @tumblr - forcing anyone to untick 350+ boxes in order to prevent EACH INDIVIDUAL AD COMPANY from using our data. Taking the piss."

https://twitter.com/Millstab/status/999762424994594817

Google-supplied definition of externality

https://www.google.com/search?q=externality

foundational values?

@soniagupta504 on Twitter: "Lawyers and doctors enter their professions knowing, from the outset, just how heavy their burdens are. They hold human rights and life in their hands."

https://twitter.com/soniagupta504/status/1011591288003575808

@soniagupta504 on Twitter: "highly impactful professions know that their limits must be more stringent"

https://twitter.com/soniagupta504/status/1011591288003575808

“With great power comes great responsibility”

professional ethics

licensing as

self-regulation

licensing requires monopoly

We do not believe that it is merely a coincidence that the entry and standards of practice are most strictly regulated for physicians, dentists, and veterinarians… where the costs of receiving poor services could be high or sometimes even catastrophic.

ref http://www.nber.org/papers/w10467.pdf

gatekeeping

shared ethical baseline

what is to be done?

@containersoluti on Twitter: Very excited to announce that our conference on tech ethics @coedethics is sold out!

https://twitter.com/containersoluti/status/1016624243868667904

Tech Workers Coalition: Worker Power in the Tech Industry

https://techworkerscoalition.org/

arstechnica: Microsoft staff call on company to end ICE contract

Peter Bright, Ars Technica, 20 Jun 2018

Reuters: Google to scrub US military deal protested by employees

Paresh Dave and Heather Somerville, Reuters, 1 Jun 2018

Gizmodo: Amazon Workers Demand Jeff Bezos Cancel Face Recognition Contracts With Law Enforcement

Kate Conger, Gizmodo, 21 Jun 2018

what about…?

Who’s hiring?

ensure your own mask is secure

direct action

Immutable?

diagram of Apache Kafka commit log and typical consumers

Jay Kreps, Cloudera, 11 June 2015

“Immutable”

diagram of Apache Kafka commit log and typical consumers, with per-user encryption keys

def should_brake(road):
    if road.contains(object.HUMAN):
        log.warn("oh shit!")
        # TODO: this is causing erratic driving on false
        # positive detection. Uncomment this once we have
        # that solved. Someone should remind the field
        # engineers to tell the test drivers they need to
        # pay attention to the road.
        # return True
    return False

secure by design

diagram showing secure boot stages

https://www.iconlabs.com/prod/products/device-protection/floodgate-secure-boot

Hashicorp Vault logo

Motherboard: Why American Farmers Are Hacking Their Tractors With Ukranian Firmware

Jason Koebler, Motherboard, 21 Mar 2017

secure communication

CloudFlare blog: TLS1.3 is going to save us all, and other reasons why IoT is still insecure

ML models

diagram of a simple neural network

https://commons.wikimedia.org/wiki/File:Neural_network_bottleneck_achitecture.svg

scatterplot of the classic public Iris dataset

https://commons.wikimedia.org/wiki/File:Iris_dataset_scatterplot.svg

diagram of a deep neural net with multiple stages shown

https://cdn.edureka.co/blog/wp-content/uploads/2017/05/Deep-Neural-Network-What-is-Deep-Learning-Edureka.png

def save(model, filename):
    pickle.dump(model, open(filename, 'wb'))

ML models are state

Google AI whitepaper: Machine Learning, the High Interest Credit Card of Technical Debt

https://ai.google/research/pubs/pub43146

To make great products:

do machine learning like the great engineer you are, not like the great machine learning expert you aren’t.

Insofar as well-being and company health is concerned, human judgement is required to connect any machine learned objective to the nature of the product you are selling and your business plan.

Martin Zinkevich (Google), Rules of Machine Learning: Best Practices for ML Engineering

SQL > ML

models should be testable and human-interpretable

align training data with real world demographics

technical leadership

“best practice is…”

cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket cartoon punching a clock with a JIRA ticket

We aren’t a craft anymore. We might feel like artisans with laptops but what we produce could potentially be in front of a significant chunk of the human race by lunchtime. We’re not hand-crafting dovetail joints here.

Anne Currie, The Register, 1 Mar 2018

let’s get to work