SlideShare a Scribd company logo
1 of 18
Download to read offline
ALEPH,
A COGNITIVE GAME-PLAYING SYSTEM
FOR TABLETOP GAMES
Cognitive Systems Institute Group
Speaker Series
Simon Ellis
Department of Computer Science ◇ Tetherless World Constellation
Rensselaer Polytechnic Institute, Troy, NY 12180
ELLISS5@RPI.EDU
Thursday, 12th November, 2015
Background
v  5th-year PhD student in Computer Science
v  Supervised by Professor Jim Hendler since 2013
v  Led RPI MiniDeepQA R&D team, Summer, 2013
v  CS background is practical, not theoretical
v  Programmer for 30+ years
v  Developed games for 20+ years (including industry)
v  Current research: using ‘cognitive computing’ for game AI
v  “Cognitive game-playing” system, Aleph
v  Future plan: build a Dungeons & Dragons-playing A.I. agent
Background
Games
v  Lots of games!…
v  Computers play some games well and some badly, but why?
Game complexity
v  Arises from multiple aspects of the game design
v  Data structure, rule complexity, bluffing, openness…
v  Game theory defines other parameters for games
v  Zero-/Non zero-sum, Deterministic/Stochastic, Impartial/Partisan…
v  But IBM Watson won at Jeopardy!, a “humans-only” game
v  Jeopardy! has a massive search space
v  How did Watson manage it – with ≤3 seconds per question?
IBM Watson
v  Serious hardware (~2,800 IBM Power7 cores)
v  More importantly…
Epstein et al.,“Making Watson Fast”. IBM J Res Dev 56 (3/4), May/July 2012, p. 15:2
Introducing Aleph
v  The first ‘cognitive computing’-based tabletop game AI system
v  Sadly not the first game AI: that title has been claimed
u  e.g. Dannenhauer & Muñoz-Avila (2013): “Case-based Goal Selection
Inspired by IBM’s Watson” (ICCBR 2013)
v  Uses a pipeline-style approach to play games
v  Iterative search is used only where necessary
v  Different evaluation techniques are applied
u  Absolute scoring (i.e. ‘what is my score for this move?’)
u  Influence maps & stacks (similar to MLA)
u  Simple strategic analysis & reflection
Conceptual architecture
v  Architecture…
v  … was inspired by the design of the DeepQA pipeline
v  … is informed by consideration of how people play games
v  … uses numerous tools (“evaluators”) to judge game state
u  Evaluators correspond to the sections and subsections of the pipeline
PRIMARY GENERAL ANALYSIS
Where can I play?
Where can I not play?
What can I play?
SECONDARY GENERAL ANALYSIS
What is my score?
Can I win this turn?
Do I have any valuable tiles?
What is my position like?
MOVE GENERATION
What moves exist?
Do chains of moves exist?
PRIMARY MOVE SCORING
Will this advance my position?
What would my new score(s) be?
GENERAL META-ANALYSIS
Who is winning?
What tile might come up next?
Can I disrupt a player’s game?
What happens if I play tile M?
INPUT
STATE
OUTPUT
STATE
TACTICS
Can I control more of the board?
How many tiles can I play now?
Can I swap hands? Should I do so?
Should I retain tile Q for later?
TILE-SPECIFIC META-ANALYSIS
How can I use tile X best?
Does tile Y give me any benefit?
Can I perform combo move Z?
FINAL SCORING AND RANKING
Which move has the highest score?
What other moves score highly?
Which move gives me the highest score?
“DEEP THOUGHT”
How well does this move fit my tactics?
Should I change my gameplay?
Is it worth playing a lesser move now?
System overview
v  Developed using C-IMA, a partial implementation of UIMA
v  Written in C++ using boost libraries
u  Speed
u  Programmer familiarity
u  Curiosity: can it be done?
v  System constructed from pipelines and evaluators
v  Pipelines and evaluators are equivalent to UIMA flow models and
annotators
v  Game test platform is kept largely separate
v  Game logic is designed as a set of reentrant modules
v  Game state data are stored in a specific container class
Aleph architecture (sketch)
InfiniteCity PlayerAI
PAI_Alice PAI_Bob
GameState
Board
Hands
Game flags
Evaluator
Evaluator
Evaluator
Pipeline
Evaluator
Evaluator
Pipeline
Evaluator
Evaluator
Evaluator
Evaluator
Evaluator
Pipeline
Evaluator
Evaluator
Move evaluation
v  Two primary techniques used currently
v  Absolute score
v  Influence map
v  Absolute score
v  “What is my score if I make this move?”
v  Value-based score
v  Influence map
v  Modified form of multi-layer analysis
v  Board representations which can be stacked for analysis
v  Positional evaluation
Influence map
v  Frequently used in RTS games for
strategic reasoning
v  Also used in go A.I.
v  Each map represents a set of information; e.g.…
v  What is my score if I play at location (x, y)?
v  Number of players controlling location (p, q)
v  Data are useful individually
v  Data are more useful in combination
v  Individual layers can be formed into a stack for analysis
Influence map
v  Individual stack frame consists of:
v  X, Y grid of cells
v  Weight (importance of the set relative to the other data sets)
v  Active flag (determines if this layer is used in computation)
v  Each cell consists of:
v  Value
v  Weight (importance of an individual cell within its own frame)
v  Computation over stack columns generates result frame
v  Result frame is an influence map which provides combined
information about the state of the game
Strategy
v  Needed to guide the agents’ play
v  Otherwise the agents will play no better than randomly
v  Traditionally provided by heuristic in search algorithm
v  Minimax (or variant) generates scores for multiple plies
v  Scores are propagated back up the search tree
v  Branch leading to best/optimum remaining future move is chosen
u  Greedy algorithm
v  With games with complex search space, this is impractical
v  Cannot search deeply enough forward for meaningful analysis
Strategy
v  “Deep thought” module performs analysis over evaluators
v  Which evaluators work well or badly is still being determined
v  Different strategies have some different inputs
v  Heuristics are necessarily simple
v  Canbe as simple as a set of if (...) statements
v  Again, a matter of research to see what works well
v  Aim is to provide the agent with a degree of self-reflection
v  Ability to judge its own performance using provided criteria
v  Based on results, the agent may elect to change its strategy
u  Strategies are pre-programmed, not deduced by the agents during play
Demonstration
Conclusion
v  Watson demonstrated the efficacy of ‘cognitive computing’
v  Aleph is the first in a new kind of AI for tabletop games
v  “Cognitive game-playing”
v  Design is capable of playing extremely complex games
v  Turn-by-turn strategic analysis guides the agents’ play
v  Considerable scope for future development
v  Improving Aleph to make it more challenging for human players
v  Other games, e.g. go, Civilization, Magic: the Gathering, chess
v  IBM Watson ‘cogs’ + “cognitive game-playing” = …?
u  Dungeons & Dragons, maybe?...
Q10
Acknowledgements
I would like to thank my supervisor, Professor Jim Hendler, for his continued support and advice, and for taking a chance on a stranger with some crazy ideas and offering me the initial
opportunity to work with Watson. I would also like to thank Dr Chris Welty and Dr Siddharth Patwardhan for their assistance and insights which led semi-directly to this work, Dr Bijan Parsia
(University of Manchester, UK) for his timely intervention in asking difficult questions which I had been avoiding, and Professor Selmer Bringsjord (RPI) for his consistently insightful comments
and observations.Additionally, sincere thanks are due to Dr Jonathan Dordick and Mr John Kolb (RPI) for their support, and to my other friends and colleagues at RPI likewise for theirs.

More Related Content

Viewers also liked

Wat eco cogins9-24pres16x9
Wat eco cogins9-24pres16x9Wat eco cogins9-24pres16x9
Wat eco cogins9-24pres16x9diannepatricia
 
Enterprise Applications, Analytics and Knowledge Products Positionings in Isr...
Enterprise Applications, Analytics and Knowledge Products Positionings in Isr...Enterprise Applications, Analytics and Knowledge Products Positionings in Isr...
Enterprise Applications, Analytics and Knowledge Products Positionings in Isr...Einat Shimoni
 
Enterprise knowledge graphs
Enterprise knowledge graphsEnterprise knowledge graphs
Enterprise knowledge graphsSören Auer
 
The Algorithm of Magical Customer Experiences
The Algorithm of Magical Customer ExperiencesThe Algorithm of Magical Customer Experiences
The Algorithm of Magical Customer ExperiencesEinat Shimoni
 
The Semantic Knowledge Graph
The Semantic Knowledge GraphThe Semantic Knowledge Graph
The Semantic Knowledge GraphTrey Grainger
 
Relational to Big Graph
Relational to Big GraphRelational to Big Graph
Relational to Big GraphNeo4j
 
Enterprise Knowledge Graph
Enterprise Knowledge GraphEnterprise Knowledge Graph
Enterprise Knowledge GraphLukas Masuch
 
Enterprise Knowledge - Taxonomy Design Best Practices and Methodology
Enterprise Knowledge - Taxonomy Design Best Practices and MethodologyEnterprise Knowledge - Taxonomy Design Best Practices and Methodology
Enterprise Knowledge - Taxonomy Design Best Practices and MethodologyEnterprise Knowledge
 
Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...
Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...
Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...Benjamin Nussbaum
 
Knowledge Graphs for a Connected World - AI, Deep & Machine Learning Meetup
Knowledge Graphs for a Connected World - AI, Deep & Machine Learning MeetupKnowledge Graphs for a Connected World - AI, Deep & Machine Learning Meetup
Knowledge Graphs for a Connected World - AI, Deep & Machine Learning MeetupBenjamin Nussbaum
 
Venture Scanner Artificial Intelligence 2016 Q4
Venture Scanner Artificial Intelligence 2016 Q4Venture Scanner Artificial Intelligence 2016 Q4
Venture Scanner Artificial Intelligence 2016 Q4Nathan Pacer
 
Using AWS to Build a Graph-Based Product Recommendation System (BDT303) | AWS...
Using AWS to Build a Graph-Based Product Recommendation System (BDT303) | AWS...Using AWS to Build a Graph-Based Product Recommendation System (BDT303) | AWS...
Using AWS to Build a Graph-Based Product Recommendation System (BDT303) | AWS...Amazon Web Services
 
Knowledge Graphs at Elsevier
Knowledge Graphs at ElsevierKnowledge Graphs at Elsevier
Knowledge Graphs at ElsevierPaul Groth
 
LinkedIn Graph Presentation
LinkedIn Graph PresentationLinkedIn Graph Presentation
LinkedIn Graph PresentationAmy W. Tang
 
Deep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceDeep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceLukas Masuch
 

Viewers also liked (16)

Wat eco cogins9-24pres16x9
Wat eco cogins9-24pres16x9Wat eco cogins9-24pres16x9
Wat eco cogins9-24pres16x9
 
Enterprise Knowledge Graph
Enterprise Knowledge GraphEnterprise Knowledge Graph
Enterprise Knowledge Graph
 
Enterprise Applications, Analytics and Knowledge Products Positionings in Isr...
Enterprise Applications, Analytics and Knowledge Products Positionings in Isr...Enterprise Applications, Analytics and Knowledge Products Positionings in Isr...
Enterprise Applications, Analytics and Knowledge Products Positionings in Isr...
 
Enterprise knowledge graphs
Enterprise knowledge graphsEnterprise knowledge graphs
Enterprise knowledge graphs
 
The Algorithm of Magical Customer Experiences
The Algorithm of Magical Customer ExperiencesThe Algorithm of Magical Customer Experiences
The Algorithm of Magical Customer Experiences
 
The Semantic Knowledge Graph
The Semantic Knowledge GraphThe Semantic Knowledge Graph
The Semantic Knowledge Graph
 
Relational to Big Graph
Relational to Big GraphRelational to Big Graph
Relational to Big Graph
 
Enterprise Knowledge Graph
Enterprise Knowledge GraphEnterprise Knowledge Graph
Enterprise Knowledge Graph
 
Enterprise Knowledge - Taxonomy Design Best Practices and Methodology
Enterprise Knowledge - Taxonomy Design Best Practices and MethodologyEnterprise Knowledge - Taxonomy Design Best Practices and Methodology
Enterprise Knowledge - Taxonomy Design Best Practices and Methodology
 
Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...
Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...
Knowledge Graphs - Journey to the Connected Enterprise - Data Strategy and An...
 
Knowledge Graphs for a Connected World - AI, Deep & Machine Learning Meetup
Knowledge Graphs for a Connected World - AI, Deep & Machine Learning MeetupKnowledge Graphs for a Connected World - AI, Deep & Machine Learning Meetup
Knowledge Graphs for a Connected World - AI, Deep & Machine Learning Meetup
 
Venture Scanner Artificial Intelligence 2016 Q4
Venture Scanner Artificial Intelligence 2016 Q4Venture Scanner Artificial Intelligence 2016 Q4
Venture Scanner Artificial Intelligence 2016 Q4
 
Using AWS to Build a Graph-Based Product Recommendation System (BDT303) | AWS...
Using AWS to Build a Graph-Based Product Recommendation System (BDT303) | AWS...Using AWS to Build a Graph-Based Product Recommendation System (BDT303) | AWS...
Using AWS to Build a Graph-Based Product Recommendation System (BDT303) | AWS...
 
Knowledge Graphs at Elsevier
Knowledge Graphs at ElsevierKnowledge Graphs at Elsevier
Knowledge Graphs at Elsevier
 
LinkedIn Graph Presentation
LinkedIn Graph PresentationLinkedIn Graph Presentation
LinkedIn Graph Presentation
 
Deep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial IntelligenceDeep Learning - The Past, Present and Future of Artificial Intelligence
Deep Learning - The Past, Present and Future of Artificial Intelligence
 

Similar to Aleph

Integrating learning analytics into a game authoring tool
Integrating learning analytics into a game authoring toolIntegrating learning analytics into a game authoring tool
Integrating learning analytics into a game authoring toolBaltasar Fernández-Manjón
 
Designing balance (takeaway version)
Designing balance (takeaway version)Designing balance (takeaway version)
Designing balance (takeaway version)Kacper Szymczak
 
Team Estimation Game
Team Estimation GameTeam Estimation Game
Team Estimation Gamestevebockman
 
Algorithms for Computer Games - lecture slides 2009
Algorithms for Computer Games - lecture slides 2009Algorithms for Computer Games - lecture slides 2009
Algorithms for Computer Games - lecture slides 2009Jouni Smed
 
HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?Eva Handriyantini
 
AlphaZero and beyond: Polygames
AlphaZero and beyond: PolygamesAlphaZero and beyond: Polygames
AlphaZero and beyond: PolygamesOlivier Teytaud
 
La question de la durabilité des technologies de calcul et de télécommunication
La question de la durabilité des technologies de calcul et de télécommunicationLa question de la durabilité des technologies de calcul et de télécommunication
La question de la durabilité des technologies de calcul et de télécommunicationAlexandre Monnin
 
Workshop södertörn jan 2014 intermittent version
Workshop södertörn jan 2014 intermittent versionWorkshop södertörn jan 2014 intermittent version
Workshop södertörn jan 2014 intermittent versionStaffan Björk
 
Game design true nature
Game design true natureGame design true nature
Game design true natureAnton Gromov
 
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...IJCSIS Research Publications
 
AI3391 Artificial Intelligence Session 14 Adversarial Search .pptx
AI3391 Artificial Intelligence Session 14 Adversarial Search .pptxAI3391 Artificial Intelligence Session 14 Adversarial Search .pptx
AI3391 Artificial Intelligence Session 14 Adversarial Search .pptxAsst.prof M.Gokilavani
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Gamesbutest
 
Designing A Casual MMO
Designing A Casual MMODesigning A Casual MMO
Designing A Casual MMOLaralyn
 
Sip project and innovation (2)
Sip project and innovation (2)Sip project and innovation (2)
Sip project and innovation (2)Sin FromBirth
 

Similar to Aleph (20)

Playing games with_cc
Playing games with_ccPlaying games with_cc
Playing games with_cc
 
Integrating learning analytics into a game authoring tool
Integrating learning analytics into a game authoring toolIntegrating learning analytics into a game authoring tool
Integrating learning analytics into a game authoring tool
 
Designing balance (takeaway version)
Designing balance (takeaway version)Designing balance (takeaway version)
Designing balance (takeaway version)
 
Team Estimation Game
Team Estimation GameTeam Estimation Game
Team Estimation Game
 
Algorithms for Computer Games - lecture slides 2009
Algorithms for Computer Games - lecture slides 2009Algorithms for Computer Games - lecture slides 2009
Algorithms for Computer Games - lecture slides 2009
 
HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?HOW TO CREATE A GAME DESIGN?
HOW TO CREATE A GAME DESIGN?
 
AlphaZero and beyond: Polygames
AlphaZero and beyond: PolygamesAlphaZero and beyond: Polygames
AlphaZero and beyond: Polygames
 
La question de la durabilité des technologies de calcul et de télécommunication
La question de la durabilité des technologies de calcul et de télécommunicationLa question de la durabilité des technologies de calcul et de télécommunication
La question de la durabilité des technologies de calcul et de télécommunication
 
nips-gg
nips-ggnips-gg
nips-gg
 
Game Ethology 2
Game Ethology 2Game Ethology 2
Game Ethology 2
 
Workshop södertörn jan 2014 intermittent version
Workshop södertörn jan 2014 intermittent versionWorkshop södertörn jan 2014 intermittent version
Workshop södertörn jan 2014 intermittent version
 
Game design true nature
Game design true natureGame design true nature
Game design true nature
 
CAGT-IST Student Presentations
CAGT-IST Student Presentations CAGT-IST Student Presentations
CAGT-IST Student Presentations
 
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
The Role of Shologuti in Artificial Intelligence Research: A Rural Game of Ba...
 
AI3391 Artificial Intelligence Session 14 Adversarial Search .pptx
AI3391 Artificial Intelligence Session 14 Adversarial Search .pptxAI3391 Artificial Intelligence Session 14 Adversarial Search .pptx
AI3391 Artificial Intelligence Session 14 Adversarial Search .pptx
 
cai
caicai
cai
 
When Random is too Random
When Random is too RandomWhen Random is too Random
When Random is too Random
 
Learning to Play Complex Games
Learning to Play Complex GamesLearning to Play Complex Games
Learning to Play Complex Games
 
Designing A Casual MMO
Designing A Casual MMODesigning A Casual MMO
Designing A Casual MMO
 
Sip project and innovation (2)
Sip project and innovation (2)Sip project and innovation (2)
Sip project and innovation (2)
 

More from diannepatricia

Teaching cognitive computing with ibm watson
Teaching cognitive computing with ibm watsonTeaching cognitive computing with ibm watson
Teaching cognitive computing with ibm watsondiannepatricia
 
Cognitive systems institute talk 8 june 2017 - v.1.0
Cognitive systems institute talk   8 june 2017 - v.1.0Cognitive systems institute talk   8 june 2017 - v.1.0
Cognitive systems institute talk 8 june 2017 - v.1.0diannepatricia
 
Building Compassionate Conversational Systems
Building Compassionate Conversational SystemsBuilding Compassionate Conversational Systems
Building Compassionate Conversational Systemsdiannepatricia
 
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”diannepatricia
 
Cognitive Insights drive self-driving Accessibility
Cognitive Insights drive self-driving AccessibilityCognitive Insights drive self-driving Accessibility
Cognitive Insights drive self-driving Accessibilitydiannepatricia
 
Artificial Intellingence in the Car
Artificial Intellingence in the CarArtificial Intellingence in the Car
Artificial Intellingence in the Cardiannepatricia
 
“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”diannepatricia
 
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...diannepatricia
 
170330 cognitive systems institute speaker series mark sherman - watson pr...
170330 cognitive systems institute speaker series    mark sherman - watson pr...170330 cognitive systems institute speaker series    mark sherman - watson pr...
170330 cognitive systems institute speaker series mark sherman - watson pr...diannepatricia
 
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”diannepatricia
 
Cognitive Assistance for the Aging
Cognitive Assistance for the AgingCognitive Assistance for the Aging
Cognitive Assistance for the Agingdiannepatricia
 
The Role of Dialog in Augmented Intelligence
The Role of Dialog in Augmented IntelligenceThe Role of Dialog in Augmented Intelligence
The Role of Dialog in Augmented Intelligencediannepatricia
 
Developing Cognitive Systems to Support Team Cognition
Developing Cognitive Systems to Support Team CognitionDeveloping Cognitive Systems to Support Team Cognition
Developing Cognitive Systems to Support Team Cognitiondiannepatricia
 
Cyber-Social Learning Systems
Cyber-Social Learning SystemsCyber-Social Learning Systems
Cyber-Social Learning Systemsdiannepatricia
 
“IT Technology Trends in 2017… and Beyond”
“IT Technology Trends in 2017… and Beyond”“IT Technology Trends in 2017… and Beyond”
“IT Technology Trends in 2017… and Beyond”diannepatricia
 
"Curious Learning: using a mobile platform for early literacy education as a ...
"Curious Learning: using a mobile platform for early literacy education as a ..."Curious Learning: using a mobile platform for early literacy education as a ...
"Curious Learning: using a mobile platform for early literacy education as a ...diannepatricia
 
Embodied Cognition - Booch HICSS50
Embodied Cognition - Booch HICSS50Embodied Cognition - Booch HICSS50
Embodied Cognition - Booch HICSS50diannepatricia
 
KATE - a Platform for Machine Learning
KATE - a Platform for Machine LearningKATE - a Platform for Machine Learning
KATE - a Platform for Machine Learningdiannepatricia
 
Cognitive Computing for Aging Society
Cognitive Computing for Aging SocietyCognitive Computing for Aging Society
Cognitive Computing for Aging Societydiannepatricia
 

More from diannepatricia (20)

Teaching cognitive computing with ibm watson
Teaching cognitive computing with ibm watsonTeaching cognitive computing with ibm watson
Teaching cognitive computing with ibm watson
 
Cognitive systems institute talk 8 june 2017 - v.1.0
Cognitive systems institute talk   8 june 2017 - v.1.0Cognitive systems institute talk   8 june 2017 - v.1.0
Cognitive systems institute talk 8 june 2017 - v.1.0
 
Building Compassionate Conversational Systems
Building Compassionate Conversational SystemsBuilding Compassionate Conversational Systems
Building Compassionate Conversational Systems
 
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
“Artificial Intelligence, Cognitive Computing and Innovating in Practice”
 
Cognitive Insights drive self-driving Accessibility
Cognitive Insights drive self-driving AccessibilityCognitive Insights drive self-driving Accessibility
Cognitive Insights drive self-driving Accessibility
 
Artificial Intellingence in the Car
Artificial Intellingence in the CarArtificial Intellingence in the Car
Artificial Intellingence in the Car
 
“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”“Semantic PDF Processing & Document Representation”
“Semantic PDF Processing & Document Representation”
 
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
Joining Industry and Students for Cognitive Solutions at Karlsruhe Services R...
 
170330 cognitive systems institute speaker series mark sherman - watson pr...
170330 cognitive systems institute speaker series    mark sherman - watson pr...170330 cognitive systems institute speaker series    mark sherman - watson pr...
170330 cognitive systems institute speaker series mark sherman - watson pr...
 
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
“Fairness Cases as an Accelerant and Enabler for Cognitive Assistance Adoption”
 
Cognitive Assistance for the Aging
Cognitive Assistance for the AgingCognitive Assistance for the Aging
Cognitive Assistance for the Aging
 
The Role of Dialog in Augmented Intelligence
The Role of Dialog in Augmented IntelligenceThe Role of Dialog in Augmented Intelligence
The Role of Dialog in Augmented Intelligence
 
Developing Cognitive Systems to Support Team Cognition
Developing Cognitive Systems to Support Team CognitionDeveloping Cognitive Systems to Support Team Cognition
Developing Cognitive Systems to Support Team Cognition
 
Cyber-Social Learning Systems
Cyber-Social Learning SystemsCyber-Social Learning Systems
Cyber-Social Learning Systems
 
“IT Technology Trends in 2017… and Beyond”
“IT Technology Trends in 2017… and Beyond”“IT Technology Trends in 2017… and Beyond”
“IT Technology Trends in 2017… and Beyond”
 
"Curious Learning: using a mobile platform for early literacy education as a ...
"Curious Learning: using a mobile platform for early literacy education as a ..."Curious Learning: using a mobile platform for early literacy education as a ...
"Curious Learning: using a mobile platform for early literacy education as a ...
 
Embodied Cognition - Booch HICSS50
Embodied Cognition - Booch HICSS50Embodied Cognition - Booch HICSS50
Embodied Cognition - Booch HICSS50
 
KATE - a Platform for Machine Learning
KATE - a Platform for Machine LearningKATE - a Platform for Machine Learning
KATE - a Platform for Machine Learning
 
Cognitive Computing for Aging Society
Cognitive Computing for Aging SocietyCognitive Computing for Aging Society
Cognitive Computing for Aging Society
 
Hicss17 asakawa
Hicss17 asakawaHicss17 asakawa
Hicss17 asakawa
 

Recently uploaded

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 

Recently uploaded (20)

Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 

Aleph

  • 1. ALEPH, A COGNITIVE GAME-PLAYING SYSTEM FOR TABLETOP GAMES Cognitive Systems Institute Group Speaker Series Simon Ellis Department of Computer Science ◇ Tetherless World Constellation Rensselaer Polytechnic Institute, Troy, NY 12180 ELLISS5@RPI.EDU Thursday, 12th November, 2015
  • 2. Background v  5th-year PhD student in Computer Science v  Supervised by Professor Jim Hendler since 2013 v  Led RPI MiniDeepQA R&D team, Summer, 2013 v  CS background is practical, not theoretical v  Programmer for 30+ years v  Developed games for 20+ years (including industry) v  Current research: using ‘cognitive computing’ for game AI v  “Cognitive game-playing” system, Aleph v  Future plan: build a Dungeons & Dragons-playing A.I. agent
  • 4. Games v  Lots of games!… v  Computers play some games well and some badly, but why?
  • 5. Game complexity v  Arises from multiple aspects of the game design v  Data structure, rule complexity, bluffing, openness… v  Game theory defines other parameters for games v  Zero-/Non zero-sum, Deterministic/Stochastic, Impartial/Partisan… v  But IBM Watson won at Jeopardy!, a “humans-only” game v  Jeopardy! has a massive search space v  How did Watson manage it – with ≤3 seconds per question?
  • 6. IBM Watson v  Serious hardware (~2,800 IBM Power7 cores) v  More importantly… Epstein et al.,“Making Watson Fast”. IBM J Res Dev 56 (3/4), May/July 2012, p. 15:2
  • 7. Introducing Aleph v  The first ‘cognitive computing’-based tabletop game AI system v  Sadly not the first game AI: that title has been claimed u  e.g. Dannenhauer & Muñoz-Avila (2013): “Case-based Goal Selection Inspired by IBM’s Watson” (ICCBR 2013) v  Uses a pipeline-style approach to play games v  Iterative search is used only where necessary v  Different evaluation techniques are applied u  Absolute scoring (i.e. ‘what is my score for this move?’) u  Influence maps & stacks (similar to MLA) u  Simple strategic analysis & reflection
  • 8. Conceptual architecture v  Architecture… v  … was inspired by the design of the DeepQA pipeline v  … is informed by consideration of how people play games v  … uses numerous tools (“evaluators”) to judge game state u  Evaluators correspond to the sections and subsections of the pipeline PRIMARY GENERAL ANALYSIS Where can I play? Where can I not play? What can I play? SECONDARY GENERAL ANALYSIS What is my score? Can I win this turn? Do I have any valuable tiles? What is my position like? MOVE GENERATION What moves exist? Do chains of moves exist? PRIMARY MOVE SCORING Will this advance my position? What would my new score(s) be? GENERAL META-ANALYSIS Who is winning? What tile might come up next? Can I disrupt a player’s game? What happens if I play tile M? INPUT STATE OUTPUT STATE TACTICS Can I control more of the board? How many tiles can I play now? Can I swap hands? Should I do so? Should I retain tile Q for later? TILE-SPECIFIC META-ANALYSIS How can I use tile X best? Does tile Y give me any benefit? Can I perform combo move Z? FINAL SCORING AND RANKING Which move has the highest score? What other moves score highly? Which move gives me the highest score? “DEEP THOUGHT” How well does this move fit my tactics? Should I change my gameplay? Is it worth playing a lesser move now?
  • 9. System overview v  Developed using C-IMA, a partial implementation of UIMA v  Written in C++ using boost libraries u  Speed u  Programmer familiarity u  Curiosity: can it be done? v  System constructed from pipelines and evaluators v  Pipelines and evaluators are equivalent to UIMA flow models and annotators v  Game test platform is kept largely separate v  Game logic is designed as a set of reentrant modules v  Game state data are stored in a specific container class
  • 10. Aleph architecture (sketch) InfiniteCity PlayerAI PAI_Alice PAI_Bob GameState Board Hands Game flags Evaluator Evaluator Evaluator Pipeline Evaluator Evaluator Pipeline Evaluator Evaluator Evaluator Evaluator Evaluator Pipeline Evaluator Evaluator
  • 11. Move evaluation v  Two primary techniques used currently v  Absolute score v  Influence map v  Absolute score v  “What is my score if I make this move?” v  Value-based score v  Influence map v  Modified form of multi-layer analysis v  Board representations which can be stacked for analysis v  Positional evaluation
  • 12. Influence map v  Frequently used in RTS games for strategic reasoning v  Also used in go A.I. v  Each map represents a set of information; e.g.… v  What is my score if I play at location (x, y)? v  Number of players controlling location (p, q) v  Data are useful individually v  Data are more useful in combination v  Individual layers can be formed into a stack for analysis
  • 13. Influence map v  Individual stack frame consists of: v  X, Y grid of cells v  Weight (importance of the set relative to the other data sets) v  Active flag (determines if this layer is used in computation) v  Each cell consists of: v  Value v  Weight (importance of an individual cell within its own frame) v  Computation over stack columns generates result frame v  Result frame is an influence map which provides combined information about the state of the game
  • 14. Strategy v  Needed to guide the agents’ play v  Otherwise the agents will play no better than randomly v  Traditionally provided by heuristic in search algorithm v  Minimax (or variant) generates scores for multiple plies v  Scores are propagated back up the search tree v  Branch leading to best/optimum remaining future move is chosen u  Greedy algorithm v  With games with complex search space, this is impractical v  Cannot search deeply enough forward for meaningful analysis
  • 15. Strategy v  “Deep thought” module performs analysis over evaluators v  Which evaluators work well or badly is still being determined v  Different strategies have some different inputs v  Heuristics are necessarily simple v  Canbe as simple as a set of if (...) statements v  Again, a matter of research to see what works well v  Aim is to provide the agent with a degree of self-reflection v  Ability to judge its own performance using provided criteria v  Based on results, the agent may elect to change its strategy u  Strategies are pre-programmed, not deduced by the agents during play
  • 17. Conclusion v  Watson demonstrated the efficacy of ‘cognitive computing’ v  Aleph is the first in a new kind of AI for tabletop games v  “Cognitive game-playing” v  Design is capable of playing extremely complex games v  Turn-by-turn strategic analysis guides the agents’ play v  Considerable scope for future development v  Improving Aleph to make it more challenging for human players v  Other games, e.g. go, Civilization, Magic: the Gathering, chess v  IBM Watson ‘cogs’ + “cognitive game-playing” = …? u  Dungeons & Dragons, maybe?...
  • 18. Q10 Acknowledgements I would like to thank my supervisor, Professor Jim Hendler, for his continued support and advice, and for taking a chance on a stranger with some crazy ideas and offering me the initial opportunity to work with Watson. I would also like to thank Dr Chris Welty and Dr Siddharth Patwardhan for their assistance and insights which led semi-directly to this work, Dr Bijan Parsia (University of Manchester, UK) for his timely intervention in asking difficult questions which I had been avoiding, and Professor Selmer Bringsjord (RPI) for his consistently insightful comments and observations.Additionally, sincere thanks are due to Dr Jonathan Dordick and Mr John Kolb (RPI) for their support, and to my other friends and colleagues at RPI likewise for theirs.