SlideShare a Scribd company logo
Chatbots
Present, Past and Future
Paul Houle
Ontology2
Chatbots Present
Facebook Messenger Amazon Echo (Alexa)
Interact with chatbots using the same UI you use to
interact with people
Conversational voice interface oriented around tasks;
voice is the primary, if not the only interface
Facebook Messenger Platform
Message content:
1. Text
2. Video, Audio and Image Media Objects
3. Hyperlinks, Buttons, “Call to Action”
Application Server
Back-End Business
Systems
Real World
Human Supervision
Facebook Messenger: Air Travel Application
Air Travel Application
• Large Commercial Value (3 tickets, $4000)
• Complex Interaction that takes place over many days
• Takes place in moderately large, but finite world
• Mixed-initiative, changes can occur on either end:
• Passenger: change flight, seats, upgrade, ...
• Airline: cancellation, delay, standby, ...
Your IT Systems
Alexa Skills: System architecture
Alexa Skills: Examples
The trouble with mobile applications
Complex Business
Complex
Applications
Client
Communication Networks
App Stores
A complex business means a complex application: hard to distribute as a mobile app if all screens are sent on the client
a real business application can have 200-2000 screens!
Asynchronous/Mixed Initiative User Interface
Chatbots past
From telegraph to teletype...
20 words/minute ≈ 2 character/sec TELEX
15 character/sec ≈ 110 bits/sec (bps)
1770: The Turk
Chess playing “robot” controlled by a very
small chess player
1942 Alan Turing: War Hero
Alan Turing: Computer Scientist
1952 First Computer Chess ProgramFundamentals of Computation
1950: Alan Turing’s “Imitation Game”
Interrogator tries to answer: “who is the male and who
is the female?” Both players are pretending to be the
other
Can a computer understand gender?
Can a computer pretend to be gendered? Can it pretend
to be the other gender?
What social skills are necessary?
Can a computer pass as a human at all?
Chatbots in 2017 -- Ithaca Talk Dec 6
1956 1957
1957 Client-Centered Therapy
Psychotherapist
Carl Rogers
Client-centered therapy
mirrored
not mirrored
1960 SABRE Airline Booking System
1958 SAGE Air Defense System
Two response strategies are sufficient to elicit empathy: user fills in imagined motives for simulated computer therapist
(is that different from experiencing fiction?)
1966 The Eliza Effect
Active Listening
Changing the Subject
ELIZA: Maybe your plans have something to do with this.
ELIZA: Don't you think computers can help people?
ELIZA: I've told you that apologies are not required.
ELIZA: Can You Elaborate On That?
Science Fiction Robots
1970 SHRDLU
> Pick up a big red block.
OK.
> Grasp the pyramid
I DON'T UNDERSTAND WHICH PYRAMID YOU MEAN.
> Find a block which is taller than the one you are holding and put it into the box.
BY "IT", I ASSUME YOU MEAN THE BLOCK WHICH IS TALLER THAN THE ONE I AM HOLDING.
OK.
> What does the box contain?
THE BLUE PYRAMID AND THE BLUE BLOCK.
> What is the pyramid supported by?
THE BOX.
SHRDLU makes conversation about an imaginary
“blocks world” with the computer and can order
the computer to make changes to the block
world within some constraints.
id type color picked_up above inside height width ...
1 block green 0 0 0 2.0 2.0 ...
2 block red 1 0 0 3.0 1.5 ...
3 pyramid red 0 1 0 3 0.5 ...
4 block blue 0 0 0 4.0 2.5 ...
“The Blocks World”
SHRDLU capabilities
“Have a conversation about a database”
English-like syntax
Remembers context and...
... asks questions to uncover context
ability to reason and plan
Teleprinter Video Display Terminal
1975 Microsoft Basic
1) Using BASIC is like having a conversation, and...
2) ... A conversation-like interface is easy to implement in BASIC
1975 Microsoft Basic
... but the conversation context is encoded in the state of the program
Not Flexible
Can’t handle Mixed Initiative
1975 MYCIN
Medical Diagnostic Expert System
1975 MYCIN
Medical Diagnostic Expert System
1975 MYCIN
Medical Diagnostic Expert System
Rules
encode knowledge & procedures
Facts
describe the problem
Production Rules / RETE Engine
Ideal for mixed initiative:
• System accepts facts from both the user and the world (react to multiple inputs)
• Firing rules can (i) cause actions and (ii) cause more rules to fire
1976 Colossal Cave
database describing game world
has a lot in common with SHRDLU....
1983 Infocom
1984 Apple Macintosh
“AI Winter”
SHDRLU and MYCIN were not scalable!
Algorithms and tools did not scale
Labor Cost to Create Knowledge Base too High
1991-present Adobe Premiere
1994
Netscape
Navigator
2001 Metal Gear Solid 2
2016 Consumer VR
REPL (of many kinds) is alive and well
but not as smart as SHRDLU!
1988 Mathematica Notebooks
1985 GSM and SMS
A PUBL1C SERVICE ANN0UNCEMENT!
IRC, ICQ, AIM, Skype...
2007 iPhone
2009-2014 WhatsApp
• 1-layer neural network can learn a separating line between two categories
• The input space could have thousands or millions of dimensions (ex. an image)
1957 Perceptrons
This 1969 book by Minsky and Papert demolished Perceptrons by demonstrating many
things Perceptrons could not do
1971 full-text search
tfidf: term frequency/inverse document frequency
Karen-Spärck Jones and Gerard Salton @ Cornell
• is computing a dot product in high-dimensional space just like the Perceptron
• is solving a “subjective” problem, isn’t expected to get 100% right answers
• still the dominant algorithm for full-text search in 2016
1992 US Post Office: Handwritten Digits
Backpropagation makes it practical to train shallow neural
networks.
NIST developed training data for this project
that eventually became the famous MNIST
digits
predictive analytics
Problem: given four measurements for an Iris flower, determine species
data from 1936 Ronald Fisher and Edgar Anderson
methods based on Vector Spaces:
methods based on rules:
linear discriminant, support vector machine, neural networks,
k-nearest neighbors, etc.
C4.5, random forests, inductive logic programming
data driven competitions
1992-present: yearly competitions and conference to improve accuracy of search
engines and similar systems. Supported by US National Institute of Standards.
2010-present data: set of images annotated with noun concepts from Wordnet,
yearly competitions for classification tasks have led to large breakthroughs in
convolutional neural networks & image recognition
2010-present data: venture backed company solves data science problems for
customers by holding public competitions
2006 deep learning
Two kinds of training data:
1. A large number of unlabeled examples
2. A small number of classified examples
Two phases:
1. Deep Belief Network (DBN) learns statistical regularities in
unlabeled data
2. Backpropagation fine tunes the network for a specific task
based on labeled and/or unlabeled data
information bottleneck
forces network to
generalize rather than
memorize
present:Explosion of Neural Network
Architectures
2011 IBM Watson wins at Jeopardy
Watson considers several possible answers to a question and
computes a probability score for each one.
Watson weighs the risk of getting a wrong answer against the risk of
an opponent answering first and takes action at the optimal time. It
calculates bets to ensure a win, if possible.
Chatbots in 2017 -- Ithaca Talk Dec 6
Watson Precision/Recall Curve
Throwaway prototype based on commercial off-
the-shelf (COTS) full-text search engine
Point cloud is estimated performance of
human jeopardy players, the goal is to
get into this region
Progressive improvement of:
• knowledge base
• question answering strategies
• result merging
Watson achieves hyperprecision because it can choose whether or
not to answer a question.
Watson reasons about uncertainty in order to maximize a utility
function; act in it’s own “self interest”
Chatbots future
Overwhelmed?
Intelligent systems use complexity to
cope with the complexity of the world
they inhabit.
Outsource subtasks to agents...
present:
also on
a
company
wit.ai: rapidly generalizes examples of specific patterns of text and links these to “intents”
business rules: revenge of the expert system!
Business Processing Modelling Language
• Production rules engine scale 1000x larger
• ... are ideal for managing processes which happen over an extended time
• ... that are driven by events that happen in “the real world”
Complex Event Processing
Greatly improved RETE algorithms do this efficiently!
Rules can put together a story about a set of related
events, by creating new events when the existing
events meet some condition
constraint solving & optimization
Route Optimization
SAT/SMT Solver
Travel PlanningBox Packing
There are tools such as Drools OptaPlanner and IBM CPLEX Optimizer that
marry constraint solving and optimization with rules-based systems.
However, many people who work in this space code everything in C++
because they want to try the largest rate of possibilities per second
2XL
“toy of the year”
-- Disney's Family Fun Magazine
Speak and
Spell
1978
1980s Interactive Voice Response:
2001 <VoiceXML>
VoiceXML (from TellMe) supports text to
speech in voice prompts and lets the
script author write a grammar for things
that the telephone caller is supposed to
say.
Performance is dependent on the system
modelling what the user might say: it can
resolve addresses in the US because it
has a list of all the street names!
Can call out to “Web Services” in order to
implement business tasks
2000 Voice Improvement Program
Today: A chance of rain after 4pm. Increasing clouds, with a high near 41.
Southeast wind 6 to 8 mph. Chance of TODAY: A CHANCE OF RAIN AFTER 4PM.
INCREASING CLOUDS, WITH A HIGH NEAR 41. SOUTHEAST WIND 6 TO 8 MPH. CHANCE OF
PRECIPITATION IS 50%. NEW PRECIPITATION AMOUNTS OF LESS THAN ...
• Six voices: male/female and English/Spanish
• Voices vary speed and pitch to create feeling of urgency
• Requires full attention to listen to
ITHACA WXN59 162.5 MHZ
Video games engage players with dialog
that supports the story.
Dialog depends heavily on
writing & voice acting and
is not very interactive.
Text-to-speech can’t keep
users engaged
Chatbots in 2017 -- Ithaca Talk Dec 6
SSML
All-in
Amazon Alexa is a new platform where you
can’t fall back to the keyboard, mouse or touch-screen.
Voice function has to be good
Others
Bolted onto full-powered phones, computers, and game
consoles, vendors don’t have to face the hard cases
for voice control because fallback to traditional
controllers is imminent.
seeing the world that humans live in
specialized cameras and sensors let robots see the world directly in 3-d
varieties of depth camera
multiocular structured light
laser scanner
Kinect/A Sensor for a Sessile Robot
Chatbots in 2017 -- Ithaca Talk Dec 6
Chatbots in 2017 -- Ithaca Talk Dec 6
Inform 7 tricks
and ideas
Controlled English facts and rules Pre-existing Ontologies and Theories
Rules Override Other Rules
Parsing number words as numbers Rule Precedence Managed with
“Rulebooks”
Conclusion:
Chatbots
• Popular today because of mobile
application limitations
• Possible “third platform” for
applications
• Use a wide range of tactics to
accomplish goals
• Chatbots in 2017 will depend on
data-rich services
• Deeply interdisciplinary, involving
art as much as science

More Related Content

PDF
La mise en œuvre d’un ERP
PDF
Cours information communication : les supports imprimés
PDF
Les 14 principes lean management du système Toyota
PPT
PDF
Qu’est ce qu’un projet ERP - Entreprise Resource Planning -
PPTX
Chp2 - Solutions ERP
PPTX
RISC-V-Introduction-_-Aug-2021.pptx
PPTX
Les principaux types de système d'information
La mise en œuvre d’un ERP
Cours information communication : les supports imprimés
Les 14 principes lean management du système Toyota
Qu’est ce qu’un projet ERP - Entreprise Resource Planning -
Chp2 - Solutions ERP
RISC-V-Introduction-_-Aug-2021.pptx
Les principaux types de système d'information

What's hot (20)

PPT
11 req specs
PPS
Histoire de l'ordinateur
PPTX
Software Modem Working Mechanism
PPTX
Fonctionnement d’un système d’exploitation
PDF
Best Practices Frameworks 101
PDF
Le jeu du kanban
PDF
My presentation raspberry pi
PDF
Monter et réussir son projet musical
PDF
Introduction to Embedded Systems
PPT
Le chef de projet et le business analyste
PDF
Industrie 4.0 : La voie pour maintenir et renforcer la compétitivité industrie
PDF
Jeu management des risques 2018
PPSX
PPTX
Chp1 - Introduction aux ERP
PDF
Industrie du Futur : comment orchestrer au mieux la production
PDF
Infographie 5S, pour un espace de travail performant
PDF
Tp1 architecture m.zarboubi
PDF
Log2 cours1
PDF
Embedded systems introduction
PPT
Gestion De Stock 01
11 req specs
Histoire de l'ordinateur
Software Modem Working Mechanism
Fonctionnement d’un système d’exploitation
Best Practices Frameworks 101
Le jeu du kanban
My presentation raspberry pi
Monter et réussir son projet musical
Introduction to Embedded Systems
Le chef de projet et le business analyste
Industrie 4.0 : La voie pour maintenir et renforcer la compétitivité industrie
Jeu management des risques 2018
Chp1 - Introduction aux ERP
Industrie du Futur : comment orchestrer au mieux la production
Infographie 5S, pour un espace de travail performant
Tp1 architecture m.zarboubi
Log2 cours1
Embedded systems introduction
Gestion De Stock 01
Ad

Viewers also liked (13)

PDF
David Isbitski - Enabling new voice experiences with Amazon Alexa and AWS Lambda
PDF
Writing Alexa Voice Skills with NodeJS- David Janes
PDF
Telling Story Through Sound: Building an Interactive "Radio Play"
PDF
DIY Your Amazon Echo
PDF
Lausanne Chatbots Meetup Kickoff - March 2017
PDF
Amazon Alexa Voice Interfaces Meetup Berlin August 2016
PDF
Amazon motion to quash echo-search
PDF
How chatbots will change the future of consumer engagement
PDF
What's Next ChatBots
PPTX
Amazon Alexa - Introduction & Custom Skills
PPTX
Player Traversal Mechanics in the Vast World of Horizon Zero Dawn
PDF
Speak Up! Build an Alexa Skill for a Cause
PPTX
AI Agent and Chatbot Trends For Enterprises
David Isbitski - Enabling new voice experiences with Amazon Alexa and AWS Lambda
Writing Alexa Voice Skills with NodeJS- David Janes
Telling Story Through Sound: Building an Interactive "Radio Play"
DIY Your Amazon Echo
Lausanne Chatbots Meetup Kickoff - March 2017
Amazon Alexa Voice Interfaces Meetup Berlin August 2016
Amazon motion to quash echo-search
How chatbots will change the future of consumer engagement
What's Next ChatBots
Amazon Alexa - Introduction & Custom Skills
Player Traversal Mechanics in the Vast World of Horizon Zero Dawn
Speak Up! Build an Alexa Skill for a Cause
AI Agent and Chatbot Trends For Enterprises
Ad

Similar to Chatbots in 2017 -- Ithaca Talk Dec 6 (20)

PDF
PDF
"Methods for Understanding How Deep Neural Networks Work," a Presentation fro...
PPTX
Intro to deep learning
PDF
Multimediaexercise
PDF
IBM Watson & Cognitive Computing - Tech In Asia 2016
PDF
AI Presentation 1
PPTX
Artificial intelligence
PPTX
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
PPT
Machine Learning ICS 273A
PPT
Machine Learning ICS 273A
PPT
IMD 203 - Ch01
PDF
Filip Maertens - AI, Machine Learning and Chatbots: Think AI-first
PPT
HCI_user_interaction_Design_interaction design
PPT
Artificial intelligence
PPTX
Building Cognitive Applications with Watson APIs
PPTX
Java one2016 con3054-watsonap-is
PPTX
Java one2016 con3054-watsonap-is
PDF
AI in Manufacturing: Opportunities & Challenges
PDF
Big Data & Artificial Intelligence
PPTX
"An Introduction to AI and Deep Learning"
"Methods for Understanding How Deep Neural Networks Work," a Presentation fro...
Intro to deep learning
Multimediaexercise
IBM Watson & Cognitive Computing - Tech In Asia 2016
AI Presentation 1
Artificial intelligence
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
Machine Learning ICS 273A
Machine Learning ICS 273A
IMD 203 - Ch01
Filip Maertens - AI, Machine Learning and Chatbots: Think AI-first
HCI_user_interaction_Design_interaction design
Artificial intelligence
Building Cognitive Applications with Watson APIs
Java one2016 con3054-watsonap-is
Java one2016 con3054-watsonap-is
AI in Manufacturing: Opportunities & Challenges
Big Data & Artificial Intelligence
"An Introduction to AI and Deep Learning"

More from Paul Houle (20)

PDF
Estimating the Software Product Value during the Development Process
PPTX
Universal Standards for LEI and other Corporate Reference Data: Enabling risk...
PPTX
Fixing a leaky bucket; Observations on the Global LEI System
PDF
Cisco Fog Strategy For Big and Smart Data
PPTX
Making the semantic web work
PPTX
Ontology2 platform
PPTX
Ontology2 Platform Evolution
PDF
Paul houle the supermen
PDF
Paul houle what ails enterprise search
PDF
Subjective Importance Smackdown
PDF
Extension methods, nulls, namespaces and precedence in c#
PDF
Dropping unique constraints in sql server
PDF
Prefix casting versus as-casting in c#
PDF
Paul houle resume
PDF
Keeping track of state in asynchronous callbacks
PDF
Embrace dynamic PHP
PDF
Once asynchronous, always asynchronous
PDF
What do you do when you’ve caught an exception?
PDF
Extension methods, nulls, namespaces and precedence in c#
PDF
Pro align snap 2
Estimating the Software Product Value during the Development Process
Universal Standards for LEI and other Corporate Reference Data: Enabling risk...
Fixing a leaky bucket; Observations on the Global LEI System
Cisco Fog Strategy For Big and Smart Data
Making the semantic web work
Ontology2 platform
Ontology2 Platform Evolution
Paul houle the supermen
Paul houle what ails enterprise search
Subjective Importance Smackdown
Extension methods, nulls, namespaces and precedence in c#
Dropping unique constraints in sql server
Prefix casting versus as-casting in c#
Paul houle resume
Keeping track of state in asynchronous callbacks
Embrace dynamic PHP
Once asynchronous, always asynchronous
What do you do when you’ve caught an exception?
Extension methods, nulls, namespaces and precedence in c#
Pro align snap 2

Recently uploaded (20)

PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Architecture types and enterprise applications.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
The various Industrial Revolutions .pptx
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
project resource management chapter-09.pdf
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Zenith AI: Advanced Artificial Intelligence
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
Getting started with AI Agents and Multi-Agent Systems
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
A novel scalable deep ensemble learning framework for big data classification...
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Group 1 Presentation -Planning and Decision Making .pptx
TLE Review Electricity (Electricity).pptx
observCloud-Native Containerability and monitoring.pptx
O2C Customer Invoices to Receipt V15A.pptx
Architecture types and enterprise applications.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
The various Industrial Revolutions .pptx
Developing a website for English-speaking practice to English as a foreign la...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Programs and apps: productivity, graphics, security and other tools
project resource management chapter-09.pdf
DP Operators-handbook-extract for the Mautical Institute
Final SEM Unit 1 for mit wpu at pune .pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Zenith AI: Advanced Artificial Intelligence

Chatbots in 2017 -- Ithaca Talk Dec 6

  • 1. Chatbots Present, Past and Future Paul Houle Ontology2
  • 3. Facebook Messenger Amazon Echo (Alexa) Interact with chatbots using the same UI you use to interact with people Conversational voice interface oriented around tasks; voice is the primary, if not the only interface
  • 4. Facebook Messenger Platform Message content: 1. Text 2. Video, Audio and Image Media Objects 3. Hyperlinks, Buttons, “Call to Action” Application Server Back-End Business Systems Real World Human Supervision
  • 5. Facebook Messenger: Air Travel Application
  • 6. Air Travel Application • Large Commercial Value (3 tickets, $4000) • Complex Interaction that takes place over many days • Takes place in moderately large, but finite world • Mixed-initiative, changes can occur on either end: • Passenger: change flight, seats, upgrade, ... • Airline: cancellation, delay, standby, ...
  • 7. Your IT Systems Alexa Skills: System architecture
  • 9. The trouble with mobile applications Complex Business Complex Applications Client Communication Networks App Stores A complex business means a complex application: hard to distribute as a mobile app if all screens are sent on the client a real business application can have 200-2000 screens!
  • 12. From telegraph to teletype... 20 words/minute ≈ 2 character/sec TELEX 15 character/sec ≈ 110 bits/sec (bps)
  • 13. 1770: The Turk Chess playing “robot” controlled by a very small chess player
  • 14. 1942 Alan Turing: War Hero
  • 15. Alan Turing: Computer Scientist 1952 First Computer Chess ProgramFundamentals of Computation
  • 16. 1950: Alan Turing’s “Imitation Game” Interrogator tries to answer: “who is the male and who is the female?” Both players are pretending to be the other
  • 17. Can a computer understand gender? Can a computer pretend to be gendered? Can it pretend to be the other gender? What social skills are necessary?
  • 18. Can a computer pass as a human at all?
  • 21. 1957 Client-Centered Therapy Psychotherapist Carl Rogers Client-centered therapy mirrored not mirrored
  • 22. 1960 SABRE Airline Booking System 1958 SAGE Air Defense System
  • 23. Two response strategies are sufficient to elicit empathy: user fills in imagined motives for simulated computer therapist (is that different from experiencing fiction?) 1966 The Eliza Effect Active Listening Changing the Subject ELIZA: Maybe your plans have something to do with this. ELIZA: Don't you think computers can help people? ELIZA: I've told you that apologies are not required. ELIZA: Can You Elaborate On That?
  • 25. 1970 SHRDLU > Pick up a big red block. OK. > Grasp the pyramid I DON'T UNDERSTAND WHICH PYRAMID YOU MEAN. > Find a block which is taller than the one you are holding and put it into the box. BY "IT", I ASSUME YOU MEAN THE BLOCK WHICH IS TALLER THAN THE ONE I AM HOLDING. OK. > What does the box contain? THE BLUE PYRAMID AND THE BLUE BLOCK. > What is the pyramid supported by? THE BOX. SHRDLU makes conversation about an imaginary “blocks world” with the computer and can order the computer to make changes to the block world within some constraints.
  • 26. id type color picked_up above inside height width ... 1 block green 0 0 0 2.0 2.0 ... 2 block red 1 0 0 3.0 1.5 ... 3 pyramid red 0 1 0 3 0.5 ... 4 block blue 0 0 0 4.0 2.5 ... “The Blocks World”
  • 27. SHRDLU capabilities “Have a conversation about a database” English-like syntax Remembers context and... ... asks questions to uncover context ability to reason and plan
  • 29. 1975 Microsoft Basic 1) Using BASIC is like having a conversation, and... 2) ... A conversation-like interface is easy to implement in BASIC
  • 30. 1975 Microsoft Basic ... but the conversation context is encoded in the state of the program Not Flexible Can’t handle Mixed Initiative
  • 33. 1975 MYCIN Medical Diagnostic Expert System Rules encode knowledge & procedures Facts describe the problem
  • 34. Production Rules / RETE Engine Ideal for mixed initiative: • System accepts facts from both the user and the world (react to multiple inputs) • Firing rules can (i) cause actions and (ii) cause more rules to fire
  • 35. 1976 Colossal Cave database describing game world has a lot in common with SHRDLU....
  • 38. “AI Winter” SHDRLU and MYCIN were not scalable! Algorithms and tools did not scale Labor Cost to Create Knowledge Base too High
  • 41. 2001 Metal Gear Solid 2
  • 43. REPL (of many kinds) is alive and well but not as smart as SHRDLU!
  • 45. 1985 GSM and SMS A PUBL1C SERVICE ANN0UNCEMENT!
  • 46. IRC, ICQ, AIM, Skype...
  • 49. • 1-layer neural network can learn a separating line between two categories • The input space could have thousands or millions of dimensions (ex. an image) 1957 Perceptrons This 1969 book by Minsky and Papert demolished Perceptrons by demonstrating many things Perceptrons could not do
  • 50. 1971 full-text search tfidf: term frequency/inverse document frequency Karen-Spärck Jones and Gerard Salton @ Cornell • is computing a dot product in high-dimensional space just like the Perceptron • is solving a “subjective” problem, isn’t expected to get 100% right answers • still the dominant algorithm for full-text search in 2016
  • 51. 1992 US Post Office: Handwritten Digits Backpropagation makes it practical to train shallow neural networks. NIST developed training data for this project that eventually became the famous MNIST digits
  • 52. predictive analytics Problem: given four measurements for an Iris flower, determine species data from 1936 Ronald Fisher and Edgar Anderson methods based on Vector Spaces: methods based on rules: linear discriminant, support vector machine, neural networks, k-nearest neighbors, etc. C4.5, random forests, inductive logic programming
  • 53. data driven competitions 1992-present: yearly competitions and conference to improve accuracy of search engines and similar systems. Supported by US National Institute of Standards. 2010-present data: set of images annotated with noun concepts from Wordnet, yearly competitions for classification tasks have led to large breakthroughs in convolutional neural networks & image recognition 2010-present data: venture backed company solves data science problems for customers by holding public competitions
  • 54. 2006 deep learning Two kinds of training data: 1. A large number of unlabeled examples 2. A small number of classified examples Two phases: 1. Deep Belief Network (DBN) learns statistical regularities in unlabeled data 2. Backpropagation fine tunes the network for a specific task based on labeled and/or unlabeled data information bottleneck forces network to generalize rather than memorize
  • 55. present:Explosion of Neural Network Architectures
  • 56. 2011 IBM Watson wins at Jeopardy Watson considers several possible answers to a question and computes a probability score for each one. Watson weighs the risk of getting a wrong answer against the risk of an opponent answering first and takes action at the optimal time. It calculates bets to ensure a win, if possible.
  • 58. Watson Precision/Recall Curve Throwaway prototype based on commercial off- the-shelf (COTS) full-text search engine Point cloud is estimated performance of human jeopardy players, the goal is to get into this region Progressive improvement of: • knowledge base • question answering strategies • result merging
  • 59. Watson achieves hyperprecision because it can choose whether or not to answer a question. Watson reasons about uncertainty in order to maximize a utility function; act in it’s own “self interest”
  • 61. Overwhelmed? Intelligent systems use complexity to cope with the complexity of the world they inhabit. Outsource subtasks to agents...
  • 64. a company wit.ai: rapidly generalizes examples of specific patterns of text and links these to “intents”
  • 65. business rules: revenge of the expert system!
  • 66. Business Processing Modelling Language • Production rules engine scale 1000x larger • ... are ideal for managing processes which happen over an extended time • ... that are driven by events that happen in “the real world”
  • 67. Complex Event Processing Greatly improved RETE algorithms do this efficiently! Rules can put together a story about a set of related events, by creating new events when the existing events meet some condition
  • 68. constraint solving & optimization Route Optimization SAT/SMT Solver Travel PlanningBox Packing There are tools such as Drools OptaPlanner and IBM CPLEX Optimizer that marry constraint solving and optimization with rules-based systems. However, many people who work in this space code everything in C++ because they want to try the largest rate of possibilities per second
  • 69. 2XL “toy of the year” -- Disney's Family Fun Magazine Speak and Spell 1978
  • 71. 2001 <VoiceXML> VoiceXML (from TellMe) supports text to speech in voice prompts and lets the script author write a grammar for things that the telephone caller is supposed to say. Performance is dependent on the system modelling what the user might say: it can resolve addresses in the US because it has a list of all the street names! Can call out to “Web Services” in order to implement business tasks
  • 72. 2000 Voice Improvement Program Today: A chance of rain after 4pm. Increasing clouds, with a high near 41. Southeast wind 6 to 8 mph. Chance of TODAY: A CHANCE OF RAIN AFTER 4PM. INCREASING CLOUDS, WITH A HIGH NEAR 41. SOUTHEAST WIND 6 TO 8 MPH. CHANCE OF PRECIPITATION IS 50%. NEW PRECIPITATION AMOUNTS OF LESS THAN ... • Six voices: male/female and English/Spanish • Voices vary speed and pitch to create feeling of urgency • Requires full attention to listen to ITHACA WXN59 162.5 MHZ
  • 73. Video games engage players with dialog that supports the story. Dialog depends heavily on writing & voice acting and is not very interactive. Text-to-speech can’t keep users engaged
  • 75. SSML
  • 76. All-in Amazon Alexa is a new platform where you can’t fall back to the keyboard, mouse or touch-screen. Voice function has to be good Others Bolted onto full-powered phones, computers, and game consoles, vendors don’t have to face the hard cases for voice control because fallback to traditional controllers is imminent.
  • 77. seeing the world that humans live in specialized cameras and sensors let robots see the world directly in 3-d
  • 78. varieties of depth camera multiocular structured light laser scanner
  • 79. Kinect/A Sensor for a Sessile Robot
  • 82. Inform 7 tricks and ideas Controlled English facts and rules Pre-existing Ontologies and Theories Rules Override Other Rules Parsing number words as numbers Rule Precedence Managed with “Rulebooks”
  • 83. Conclusion: Chatbots • Popular today because of mobile application limitations • Possible “third platform” for applications • Use a wide range of tactics to accomplish goals • Chatbots in 2017 will depend on data-rich services • Deeply interdisciplinary, involving art as much as science