Collaborators
RSs / Postdocs
HuaAi
Santi Ontañón
Marco Antonio
Pedro Pablo
Juan Santamaría
Faculty
Mark Riedl
Charles Isbell
Michael Mateas
Startup
Preetha Ram
Chris Sprague
Antonio Salazar
Sid Gupta
Jon Birdsong
PhD students
Manish Mehta
Saurav Sahay
Steve Urban
Toni Barella
Alex Zook
Denis Aleshin
Brian Sherwell
David Llanso
Iulian Radu
Neha Sugandh
Christina Strong
Peng Zang
MS students
Sanjeet Hajarnis
Christina Leber
Ken Hartsook
Hayley Borck
Kane Bonnette
Anna-Marie Mansour
Jai Rad
Rushabh Shah
Kinshuk Mishra
Manu Sharma
Dev Priya
Undergrads
Paritosh Mohan
Gabriel Cebrian
Sam Kim
Katie Long
Tom Amundsen
Eric Johnson
Alistair Jones
Christina Lacey
Andrew Trusty
Funding
DARPA NSF
ONR ARL
AFRL AFOSR
ARDA (IARPA)
Disney SAIC
Yamaha GM
Lockheed GE
DEC
GRA NSF
NIH
Application Areas
7
Monitor powerplants
Control robots
Assist
biomedical
researchers
…and more
Play interactive games
Help students learn
Help information analysts
ARDA (IARPA), DEC
ONR, NSF, NIH, GRA
DARPA, NSF Yamaha, ARL
GE
11
“Games”
• Games are“entering a new era, where technology and
creativity will fuse to produce some of the most stunning
entertainment of the 21st century.” (Doug Lowenstein)
• “Games are widely used as educational tools, not just for
pilots, soldiers and surgeons, but also in schools and
businesses.” (The Economist)
• “Serious games” focus on “management and leadership
challenges facing the public sector in education, training,
health, and public policy.” (www.seriousgames.org)
• “Humane games” include “interactive tools for medical
training, educational games, and games that reflect social
consciousness or advocate for a cause.” (Scott Leutenneger)
Users as Creators
UserCreated Games
Worldwide market
• $80 million in 2006
• $1.1 billion in 2007
• ~$13 billion by 2011
KongregateAddicting Games
More than $7.3 billion
by 2013
Juniper
Research
15.
User Created Content
HabboHotel IMVU
IMVU: 1.6 million
user generated
virtual items
Easy as Pie
Teaching game
programming
to 3rd graders:
Scratch
Human Innovation IsEverywhere
18
How do we…
understand innovation
support innovation
foster innovation?
Augmented Social Cognition
19.
The Long Tailof Innovation
19
Key question:
How to support, nurture, enhance
innovation for all people?
20.
Why Innovation Matters
20
WhereHave You Gone, Bell Labs?
How basic research can repair the
broken U.S. business model
“legendary institutions such as Bell Labs, RCA Labs,
Xerox PARC, IBM, DARPA, NASA”
21.
Innovation: Economic Driver
21
Researchturns money into ideas.
Innovation turns ideas into money.
Discovery
(Research)
Integration
Education Application
Bo
yer
Business Context
Gas Turbine’scontrol system protects the
unit from possible damage by executing a
sudden shutdown (trip) logic.
Alarm log files and real-time data are
transferred to Atlanta.
GE M&D Center troubleshoots each trip
and calls customer with recommendations.
On-Site Monitor
36.
Critical Success Factors
ü Decision Support
§ Keep human in the loop
§ Maintain established business workflow
ü Accuracy and Timeliness
§ Very high accuracy even with imperfect data
§ Provide top recommendation and alternatives
§ Explain recommendation and estimate confidence
ü Maintainability
§ Extend coverage to new sensors, failures, equipment
§ Provide automated optimization and maintenance tools
ü Real deployable system (not a prototype)
Results
§ Tested inproduction environment in 2004-05
§ System output integrated into troubleshooting
workflow as recommendation
§ Additional failure modes added by GE without
any modification to system
§ >90% accuracy (exact metrics proprietary)
The Long Tailof Education
43
Traditional
More than one-third of the world’s
population is under 20. There are over
30 million people today qualified to enter
a university who have no place to go.
During the next decade, this 30 million
will grow to 100 million. To meet this
staggering demand, a major university
needs to be created each week.
— Sir John Daniel (1996)
— John Seely Brown (2008)
44.
The Long Tailof Education
44
Traditional
Open Education
MIT OCW: 9m users/yr
iTunes U: 300m downloads
Khan: 30k videos/day
45.
Great video andtalented
presenters. My only complaint:
I’d like to interact with others
who are viewing the resources.
Creating a one-way flow of
information significantly misses
the point of interacting online.
— George Siemens ( 2007)
Online content is only half the answer
46.
46
US 2009
self paced
learning
market
=$16.7bn
New $3bn
market
4,000 free courses
30 million learners
study help, tutoring,
certification, recruiting
Availability
Growing to 100 million users
$3bn market opportunity
30 million users of
free online courses
Size Of Problem
OpenStudy is…
48
“a socialplatform for learners
who want to help each other study”
“you’re no longer alone—you have the world’s
biggest classroom to turn to, any time, anywhere”
“a global study group”
“global element is important…users
will almost always find someone
online in the study groups”
one of ten most innovative
companies in education
But…
Users
can
create
physical
ar/facts
Cannot
create
interes/ng
personali/es
Not a
Robot
Users
can
create
simple
games
But…
Cannot
create
intelligent
behaviors
58.
Towards “AI 2.0”
• Problem:
– User-createdcontent is everywhere: photos,
videos, news, blogs, virtual goods, avatars,
games…
…but not AI
• Vision:
– Allow end-users to build AIs
– Provide a new kind of social gaming experience
based around creativity
59.
59
What is GameAI?
• AI powers the game characters
– “Believable agents” with complex behaviors
– Focused on NPC’s own goals
– Embedded in the game
61
What is GameAI?
• AI powers the game characters
– “Believable agents” with complex behaviors
– Focused on NPC’s own goals
– Embedded in the game
• AI powers the game director
– “Drama manager” (DM) with global perspective
– Focused on author’s rhetorical and affective goals
– Watches over the game-player interaction
– Enhances player experience
Why is GameAI hard?
• Huge Decision Space
(thousands of possible
states and actions)
• Cognitive Modeling
(goals, strategies, plans,
tactics, behaviors,
personalities, teams)
• Non-Deterministic and
Real-Time
• Classical approaches
don’t work directly
Aha et al (ICCBR-05)
64.
64
Games are AI-complete
• “Games require players to construct hypothesis, solve
problems, develop strategies, learn the rules of a new world
through trial and error.”
• “Gamers must be able to juggle several different tasks,
evaluate risks, and make quick decisions.” (The Economist)
Well then, so must Game AI !
65.
65
Game AI ishard
Problem: How will end-users create AIs?
…even for experts
66.
66
User-Generated AI…
build a“mind” without programming
Users create behaviors
visually
System fixes “bugs” during
behavior execution
User “programs” behaviors
by demonstration
1) Behavior Authoring…
69
SecondMind Updates…
Flirting with girl at bar
Teach your avatar how will you flirt …
Posted By: 2MGuru ***
More Join
Get coffee spilled on you
Show how will you react if coffee …
Posted By: 2MGuru ***
Fool your boss
Imagine how many ways you can …
Posted By: 2MGuru ***
More Join
More Join
2MGuru
Login to
Virtual World
1
Flirting with girl
at bar
Teach your avatar how will you
flirt …
Posted By: 2MGuru ***
Fool your boss
Imagine how many ways you can
…
Posted By: 2MGuru ***
Acti
vate
I
n
v
i
t
e
Act
iva
te
In
vi
te
SMPlayer
2MGuru
Flirt
with Girl
Choose a
Scene
2
SMPlayer
2MGuru
Flirt with Girl at
bar
Hey!! Wanna play. I am looking
for a partner.
Sure! Lets find a suitable
location…
SMPlayer
Christina
Flirt with Girl at
bar
Choose a
Character
3
Hi
H
ow
ar
e
thi
ng
s
go
in
g
Role play your
sceneGreat!
How
about
you …
Hi.
How
are
you
doing
…
Hi How are
things
going I am
doing
great
Not at all!
Sure…
Do you mind
if I join you? …
Play your
Scene
5 Save in
Shared Library
6
Behaviors
Personalities
Stories
Greet Flirt
00
:0
0
0
0
:
0
0
Impress
My
Scene:
Impress
a
Date
Hi! How are
you?
walks closer
I
m
pr
es
s
b
os
s
Imp
res
s
More
op/ons…
Imp
res
s
girl
MY SCENE:
Flirt with a girl
00:00
Author your
Behaviors
4
70.
Second Mind
70
other
minds
Goals
Ac8ons
Goal: Greet a customer
00:0
0
00:
00
Sensory
info
Your goal
Other’s
goal
Question
How
much
is
the
vase
for
Answer Pleased
This
vase
is
…………
Sensory?
71.
Second Mind
71
other
minds
Goals
Ac8ons
Goal: Greet a customer
00:0
0
00:
00
Sensory
info
Your goal
Other’s
goal
Question
How
much
is
the
vase
for
Answer Pleased
This
vase
is
…………
Sensory?
3) Behavior Demonstration
Makeit even easier:
• User demonstrates how
the AI should behave
• Systems builds the AI
automatically
Key technology:
• Real-Time CBR
78.
Darmok 2
• Real-TimeCase-Based Planning Learning system
• Designed to play RTS games,
but domain independent
• Automatically Learns Cases from Demonstration
• Available on SourceForge
79.
Darmok 2: PlanRepresentation
• Plans represented as Hierarchical Petri Nets:
– Sequential
– Parallel
– Conditionals
– Loops
– Primitive Actions
– Subgoals (hierarchy)
• Plans learned automatically from observations
• Petri Nets are very expressive
– Darmok 2 is limited to what the learning module can
produce (e.g. currently no loops)
83
Reasoner uses
case-basedfunction
approximator
Learner modifies
• Case library
• Input parameters
• Action policies
Integrates CBR with
SVM and TD-learning
Real-Time Reactive Planning
ΔQi = α ( rt + 1 + γ Qt + 1 + Qt ) ei ∀Ci∈memory
SM(E,C, p) =
wj
j=1
J
!
(Einput j
(i) Cinput j
( p i))2
p +1i=0
min( p,lE )
!
+ wk
(Eoutput k
(i) Coutputk
( p i))2
p +1i 0
min( p,lE )
!k =1
K
!
84.
84
Reasoner splices
snippets ofprevious
plans to solve new
problems
Learner adapts and
remembers new
solutions for future
use
Integrates CBR with
HTN planning
Multi-Plan CBR
Ram Francis (1996)
Test Domains
• Simplified Warcraft2
• Important factors:
• Terrain
• Resources
• Buildings
• Units
S2
• Defense Game
• Important factors:
• Build order
• Spatial formation
Towers
• Fast Paced Action
• Important factors:
• Reflexes
• Navigation
BattleCity
87.
Experimental Results
Each pointis average of 50 games over 5 different maps
0.00%
10.00%
20.00%
30.00%
40.00%
50.00%
60.00%
70.00%
80.00%
90.00%
100.00%
1 2 3 4 5 6 7 8 9 10
BC
Towers
S2
Linear (BC)
Linear (Towers)
Linear (S2)
Towers
S2
Battle
City
88.
Make ME PlayME
• Social Gaming website
powered by Darmok 2
• Players create MEs which
can play games
• Players can challenge MEs
created by other players
• First product to allow
end-users to create
sophisticated AIs
ME = Mind Engine
TM
TM
Make your ownSecond Mind
93
other
minds
Goals
Ac8ons
Goal: Greet a customer
00:0
0
00:
00
Sensory
info
Your goal
Other’s
goal
Question
How
much
is
the
vase
for
Answer Pleased
This
vase
is
…………
Sensory? Second Life
Funded by Disney
94.
Make your ownInteractive Stories
94
Lorem ipsum dolor sit amet.
Lorem!
Lorem ipsum dolor sit amet,
consectetur adipiscing elit.
Proin consequat imperdiet
tincidunt. Aliquam blandit,.
Lorem ipsum dolor sit amet. Lorem ipsum
dolor sit amet.Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Proin consequat imperdiet
tincidunt. Aliquam blandit,
Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Proin consequat imperdiet
tincidunt.
Don’t tell me, SHOW ME
With Mark Riedl / Funded by DARPA