The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen...

83
Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Transcript of The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen...

Page 1: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Bots on the Net

Mike Amundsen@mamund

API Academy

The Good, the Bad, and the Future

Page 2: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Introductions"Here we find ourselves, nose to nose as it were,

considering things in spectacular ways."

-- Racter

Page 3: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future
Page 4: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

training.amundsen.com

Page 5: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

www.apiacademy.co

Page 6: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

http://g.mamund.com/cambook

"A reusable guide to the technology, business, and politics of doing APIs

at scale within the enterprise."

-- Kin Lane, API Evangelist

Page 7: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Let's talk about bots!

Page 8: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

"Rossumovi Univerzální Roboti"

A 1920 science fiction play by the Czech writer Karel Čapek.

By Unknown - http://www.nndb.com/people/951/000113612/, Public Domain, https://commons.wikimedia.org/w/index.php?curid=12706610

Page 9: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

https://www.16best.net/blog/chatbots-gone-wild/

Page 10: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

https://www.16best.net/blog/chatbots-gone-wild/

Page 11: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

https://www.16best.net/blog/chatbots-gone-wild/

Page 12: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The challenge of Bots on the Net...

Page 13: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Challenge of the Bots on the Net..

Page 14: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Challenge of the Bots on the Net..

● Technologists see great opportunity

Page 15: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Challenge of the Bots on the Net..

● Technologists see great opportunity● Providers see great savings

Page 16: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Challenge of the Bots on the Net..

● Technologists see great opportunity● Providers see great savings● Consumers are reluctant to engage

Page 17: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Where does that lead us?

Page 18: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Good"Awareness is like

consciousness. Soul is like spirit."

-- Racter

Page 19: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

"Are there imaginable digital computers which would do well in the imitation game?" (1950)

-- Alan Turing (1912-1954)

By Unknown - http://www.turingarchive.org/viewer/?id=521&title=4, Public Domain, https://commons.wikimedia.org/w/index.php?curid=22828488

Page 20: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

One of the fathers of modern artificial intelligence. Created

the ELIZA program (1966)

-- Joseph Weizenbaum (1923--2008)

By Ulrich Hansen, Germany (Journalist). - Own work, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=138940

Page 21: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

By Unknown - http://www.le-grenier-informatique.fr/medias/images/eliza-title.jpg, Public Domain,https://commons.wikimedia.org/w/index.php?curid=70571280

Page 22: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

By Richard Maney/Photo by Friedman-Abeles, NYC - eBayfrontback, Public Domain, https://commons.wikimedia.org/w/index.php?curid=30370926

"That young woman with Colonel Pickering, find out

who she is."

My Fair Lady, 1956

Page 23: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

● Eliza could carry out conversations● She could fool users into thinking she was a human● However, Eliza understood nothing and simply returned

predetermined responses.

The Promise of Eliza...

Page 24: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

ELIZA is vertical/specialized AI

Page 25: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

By boltron - https://www.flickr.com/photos/boltron/137172721/, CC BY-SA 2.0, https://commons.wikimedia.org/w/index.php?curid=4190727

"SHRDLU was an NLP program, developed by

Terry Winograd at MIT in 1968."

Page 26: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

By Ksloniewski - Praca własna, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=46849623

Page 27: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

From physical to virtual worlds...

Page 28: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Specialized AI or Microworlds

● Microworlds (1970) are domain-specific● Artificial Specialized Intelligence (ASI) is domain-specific● ASI doesn't scale well

Page 29: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

How can we scale better?

Page 30: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Bad"Side and tumble and fall among

The dead. Here and thereWill be found a utensil."

-- Racter

Page 31: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

By boltron - https://www.flickr.com/photos/boltron/137172721/, CC BY-SA 2.0, https://commons.wikimedia.org/w/index.php?curid=4190727

"A pioneer in the development of computer technology as a

tool to try to understand cognitive functions."

-- Kenneth Colby (1920- 2001)

Page 32: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

By boltron - https://www.flickr.com/photos/boltron/137172721/, CC BY-SA 2.0, https://commons.wikimedia.org/w/index.php?curid=4190727

"PARRY (1972) simulated a person with paranoid

schizophrenia based on conceptualizations and beliefs."

-- Parry (1972)

Page 33: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

https://tools.ietf.org/html/rfc439

Page 34: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

● It also fooled 48% of psychologists tested● It was actually easier to mimic paranoid personalities● It focused on behavior/reactions instead of actions

The Problem of PARRY...

Page 35: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

PARRY is vertical/specialized AI with behavior

Page 36: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Encoding Behavior

Page 37: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Encoding behavior exposes bias

● Latent Bias ("doctor")● Selection Bias ("beauty")● Interaction Bias (Tay)

Page 38: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Latent Bias ("doctor")

Page 39: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Selection Bias ("beauty")

Page 40: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

By Source (WP:NFCC#4), Fair use, https://en.wikipedia.org/w/index.php?curid=49953711

Tay was released by Microsoft, began to post offensive tweets,

and was shut down 16 hours after launch.

-- Tay (March 23, 2106)

Interaction Bias (Tay)

Page 41: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Interaction Bias (Tay)

Page 42: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Power of Negative Thinking

Page 43: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future
Page 44: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Loss Aversion

By Laurenrosenberger - Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=67117183

Loss Aversion refers to people's tendency to prefer avoiding

losses to acquiring equivalent gains.

Page 45: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Our Brain's Negative Bias

https://www.psychologytoday.com/us/articles/200306/our-brains-negative-bias

"The brain reacts more strongly to stimuli it deems negative.

There is a greater surge in electrical activity."

Page 46: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Tay was a learning bot (ML)

Page 47: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Machine Learning (ML), not AGIMachine learning uses

statistical techniques to give computers the ability to "learn"

with data, without being explicitly programmed.

Page 48: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Limits to Learning...

"As we gain more data, how much better does our system get? We are

getting to the point where we get less benefit than we did in the past.”

-- Peter NorvigDir of Research

GoogleNov 2013

Page 49: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Challenges of ML/AGI

● Artificial Generalized Intelligence (AGI)● Learn, Plan, Reason● Perform any intellectual task that a human can.

Page 50: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

"Are there imaginable digital computers which would do well

in the imitation game?"

-- Turing, 1950

By Unknown - http://www.turingarchive.org/viewer/?id=521&title=4, Public Domain, https://commons.wikimedia.org/w/index.php?curid=22828488

The Turing Test

Page 51: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

"A machine is required to enter an average home and figure

out how to make coffee."

-- Steve Wozniak

By Gage Skidmore, CC BY-SA 3.0, https://commons.wikimedia.org/w/index.php?curid=63344547

The Coffee Test

Page 52: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Algorithms drive ML chatbots

Page 53: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Algorithms drive ML chatbots

Big Data is the fuel

Page 54: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Future"What distances,

what chasms, are to be bridged

here?"

-- Racter

Page 55: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Bad News

Page 56: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future
Page 57: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future
Page 58: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The algorithms we release today...

Page 59: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The algorithms we release today...

● Are likely to contain bias○ Latent○ Selection○ Interaction

Page 60: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The algorithms we release today...

● Are likely to contain bias○ Latent○ Selection○ Interaction

● And rely on negative stimulus

Page 61: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The algorithms we release today...

● Are likely to contain bias (driver/code)○ Latent○ Selection○ Interaction

● And rely on negative stimulus (fuel/data)

Page 62: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Can Regulations Help?

Page 63: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Can Regulations Help?

● US : Focused on national securityhttps://armedservices.house.gov/news/press-releases/stefanik-introduces-artificial-intelligence-legislation

Page 64: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Can Regulations Help?

● US : Focused on national securityhttps://armedservices.house.gov/news/press-releases/stefanik-introduces-artificial-intelligence-legislation

● UK : Focused on data protection/portabilityhttps://publications.parliament.uk/pa/ld201719/ldselect/ldai/100/100.pdf

Page 65: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Can Regulations Help?

● US : Focused on national securityhttps://armedservices.house.gov/news/press-releases/stefanik-introduces-artificial-intelligence-legislation

● UK : Focused on data protection/portabilityhttps://publications.parliament.uk/pa/ld201719/ldselect/ldai/100/100.pdf

● France : focused on transparencyhttps://www.aiforhumanity.fr/

Page 66: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Can Regulations Help?

● US : Focused on national securityhttps://armedservices.house.gov/news/press-releases/stefanik-introduces-artificial-intelligence-legislation

● UK : Focused on data protection/portabilityhttps://publications.parliament.uk/pa/ld201719/ldselect/ldai/100/100.pdf

● France : focused on transparencyhttps://www.aiforhumanity.fr/

● UN : Broad platform for all sectorshttps://futureoflife.org/ai-policy-united-nations/

Page 67: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Good News

Page 68: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future
Page 69: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future
Page 70: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Task-Focused

Page 71: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Task-Focused Microworlds (TFMs)

● Microworlds are domain-specific● Task-focused means no need to plan, learn, reason● TFM's can scale

Page 72: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future
Page 73: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Other Recommendations

● "self-identifying" rules ("I am a bot") ● "license-to-operate" laws ("licensed by X Corp")● Insurance underwriting for data privacy/protection● Consider open algorithms and/or open training data

Page 74: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

So..."Is it better to need or to

despise?"

-- Racter

Page 75: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The Challenge of the Bots on the Net..

● Technologists see great opportunity● Providers see great savings● Consumers are reluctant to engage

Page 76: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Enable ELIZA's Task-Focused Microworlds (TFMs)

● Microworlds are domain-specific● Task-focused means no need to plan, learn, reason● TFM's can scale

Page 77: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Beware of PARRY's algorithms...

● Are likely to contain biases○ Latent○ Selection○ Interaction

● And rely on negativity as a stimulus

Page 78: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

The future lies before us...

Page 79: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future
Page 80: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Finally..."Which way do we turn?

Which way do we travel?"

-- Racter

Page 81: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Bots offer a future of possibilities

Page 82: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Bots offer a future of possibilities

Page 83: The Good, the Bad, and the Future Bots on the Net · 2018-12-22 · Bots on the Net Mike Amundsen @mamund API Academy The Good, the Bad, and the Future

Bots on the Net

Mike Amundsen@mamund

API Academy

The Good, the Bad, and the Future