SlideShare a Scribd company logo
1 of 37
Download to read offline
How AI can help games fulfil
their purpose
Rui Prada
INESC-ID and Instituto Superior Técnico
Universidade de Lisboa, Portugal
EAI ICIDM 2021 - 7th EAI International Conference on Interactive Digital Media
July 30 – August 1, 2021 - Johor Bahru, Malaysia (Online)
Games with purpose
Artificial Intelligence
in Games
1
2
Games are means for
Entertainment
Communication
Participation
Experience
Games with Purpose (Serious
Games)
Good means to transmit information and
show how things work
(Multimedia)
Capture attention and maintain interest
Games for Education
Promote practice, exploration and error
(Interactivity)
Personal emotional experience
Examples of
Games with Purpose
Play with Seismic Phenomena
Treme-treme
https://treme-treme.pt/
https://youtu.be/e1Mq8Egy9ko
• For kids (and all)
• Learn how to prepare
• Learn how to protect
• Learn the dangers (during
and after)
• Promote discussion
Play with Math and Problem Solving*
Festarola
*Ricardo Rodrigues, Paula Costa Ferreira, Rui Prada, Paula Paulino, Ana Margarida Veiga Simão, “Developing Children's Regulation of Learning in Problem-Solving
With a Serious Game” in IEEE Computer Graphics and Applications, vol. 40, no. 5, pp. 26-40, Oct. 2020. IEEE.
• For kids
• To develop problem solving
skills
• Promote self-regulation of
learning and self-efficacy
• Engage students in the subject
of mathematics
Play with Organic Chemistry
ChemTouch
https://youtu.be/fIC9GTJFQcs
• VR game for university
students
• Learn how to build molecules
• Learn atoms’ connections
• Stereochemistry (3D
Chemistry)
• Understand Structure and
symmetry
Games for People with Intellectual Disability
• Quality of Life Training Game
• Cognitive functions: calculus and problem solving, memory, spatial
orientation, language, etc.
• Quality of Life dimensions: interpersonal relationships, social
inclusion, self-determination, physical and emotional well-being,
etc.
15 million people with intellectual
disability in the European Union
https://id-gaming-project.eu
Artificial Intelligence (AI)
in Games
AI in Games
AI to build the social dimension of the game
Play against the player
Populate the social world, play social roles in games
AI to support the development of the game
To generate content for games
To automate testing
1
2
AI to build the social dimension
in Games
Social roles that AI agents play in games*
*Diogo Rato; Rui Prada: “A taxonomy of social roles for agents in games” (to appear) in proceedings of ICEC’21 - the 20th International Conference on
Entertainment Computing, pp. 1-12, Coimbra, Portugal, October 2021. IFIP.
Social roles that AI agents play in games*
*Diogo Rato; Rui Prada: “A taxonomy of social roles for agents in games” (to appear) in proceedings of ICEC’21 - the 20th International Conference on
Entertainment Computing, pp. 1-12, Coimbra, Portugal, October 2021. IFIP.
Social roles that AI agents have in gameplay*
*Diogo Rato; Rui Prada: “A taxonomy of social roles for agents in games” (to appear) in proceedings of ICEC’21 - the 20th International Conference on
Entertainment Computing, pp. 1-12, Coimbra, Portugal, October 2021. IFIP.
Social Roles in AI agents
•Agents need to understand social reality
• Culture and group dynamics
• Social relations
• Social emotions
*Frank Dignum, Rui Prada, Gert Jan Hofstede “From autistic to social agents” in Proceedings of the 2014 international conference on Autonomous Agents and
Multi-Agent Systems, pp. 1161-1164. 2014. IFAAMAS
*Samuel Mascarenhas, Nick Degens, Ana Paiva, Rui Prada, Gert Jan Hofstede, Adrie Beulens, Ruth Aylett: “Modeling culture in intelligent virtual agents: From
theory to implementation” in Autonomous Agents and Multi-Agent Systems. pp. 1-32, 2015. Springer.
*Gonçalo Pereira, Rui Prada, Pedro A. Santos: “Integrating social power into the decision-making of cognitive agents” in Artificial Intelligence. vol. 241, pp. 1-44,
December 2016. Elsevier.
Socially Situated Cognition*
• Social meaning of objects
• E.g. An apple can be food, a gift, a toy, a weapon, …
• Social categorization and social identity
• The agents and their social groups in a given context
• Social affordances
• What you can do with the agents and objects in the context
• Socially affordable
• What is acceptable
*Diogo Rato, Samuel Mascarenhas, Rui Prada “Towards Social Identity in Socio-Cognitive Agents” arXiv preprint arXiv:2001.07142 (2020).
Social AI agents in Minecraft
• Context
• Time, location, agents
• Social practices
• Activated by context
• Social roles
• Locations have social properties
• Expected activity
• Ownership
• Agents have categories/identities
• Define relevant social practices
• E.g. Lumberjack
Background/Observer
https://fatima-toolkit.eu
*Samuel Mascarenhas, Manuel Guimarães, Rui Prada, João Dias, Pedro A. Santos, Kam Star, Ben Hirsh, Ellis Spice, and Rob Kommeren “A Virtual Agent Toolkit
for Serious Games Developers” in proceedings of 2018 IEEE Conference on Computational Intelligence and Games (CIG), pp. 1-7. IEEE, August 2018.
Space Modules Inc. Sports Team Manager
Social AI agents with FAtiMA Toolkit
Challenger/Contender Subordinate/Master
*Ana Salta, Rui Prada, Francisco S. Melo “A Game AI Competition to foster Collaborative AI research and development” in IEEE
Transactions on Games, pp. 1-14, 2020. IEEE. DOI: 10.1109/TG.2020.3024160
Teammate
Cooperative play in Geometry Friends*
http://gaips.inesc-id.pt/geometryfriends/
Social robots and games
*André Tiago Pereira, Rui Prada, Ana Paiva: “Improving social presence in human-agent interaction” in proceedings of CHI’2014 - 32nd annual ACM
conference on Human Factors in Computing Systems, pp. 1449-1458, Toronto, Canada. April 2014. ACM.
Opponent
Playing boardgames*
• Contextual gaze
• Emotional reactions to
game events
• Interpersonal relations
• Increased the social
presence of the artificial
player
Emys the Risk player
Playing Team Games*
• Displaying emotions as individual or group
• Determine the cognitive unit for the emotional appraisal
• Positive effects for group identification, trust and likability
*Filipa Correia, Samuel Mascarenhas, Rui Prada, Francisco S. Melo, Ana Paiva: "Group-based emotions in teams of humans and robots" in proceedings of
HRI'18 - International Conference on Human-Robot Interaction, pp. 261-269, Chicago, IL, USA, March 2018. ACM/IEEE.
Teammate
Opponent
Social Robots as Team Leaders*
• Leadership types
• Transactional (TA): focus on task
• Transformational (TF): focus on people
• 108 people (Portuguese companies) 36
teams of 3
• Productivity: higher for TA
• Engagement: higher for TF
• Role Ambiguity: no sig. difference
• Trust: no sig. difference
*Sara L. Lopes, José Bernardo Rocha, Aristides I. Ferreira, Rui Prada “Social robots as leaders: leadership styles in human-robot teams” (to appear) in
proceedings of RO-MAN 2021 – The 30th International Conference on Robot and Human Interactive Communication, Canada 2021. IEEE.
Subordinate/Master
AI to support the development of
games
Procedural Content Generation for Games
• Automate the creation of content for games
• Reduce production costs
• Adapt content to players
• Computational creativity
• Co-creation
• Humans and agents together
Levels of Geometry Friends
Procedural Content Generation for Cooperative
Games
• Generate levels for the Geometry Friends game
• Use of Genetic Algorithms
Procedural Content Generation for Cooperative
Games
• Population
• Chromosome: [RectangleSpawn, CircleSpawn, PlatformArray]
• 8 platforms: [Activation, Position, Dimentions]
• Ex:[120,200,300,240,1,340,120,400,30,0,230,30,200,50,...]
• Evolution process
• Selection: Elitism with selection of 30%
• Crossover: 2 parents breed one child
• Gets random parts from each parent (e.g. platforms)
• Mutation: change the activation of a platform or its characteristics
Procedural Content Generation for Cooperative
Games
• Fitness: character reachability
• Circle only
• Rectangle only
• With collaboration
• Both
• Intersection with user input
• Min value of intersection
User Input
User Input
User Input
Procedural Content Generation for Cooperative
Games
• Sample results: population 50 and 2000 generations
input area
reachability
level
Automated Testing
• Software testing with autonomous (testing) agents
• Agents for User eXperience testing
• Social and emotional agents
• Predict UX by running the agents in the environment
• Predict emotion from interaction traces
*Pedro M. Fernandes, Manuel Lopes Rui Prada “Agents for Automated User Experience Testing” in proceedings of the AIST’2021 – the 1st International Workshop on Artificial
Intelligence in Software Testing, International Conference on Software Testing, Verification and Validation Workshops (ICSTW), pp.. 247-253, IEEE. 2021
*Rui Prada, ISWB Prasetya, Fitsum Kifetew, Frank Dignum, Tanja EJ Vos, Jason Lander, Jean-yves Donnart, Alexandre Kazmierowski, Joseph Davidson, Pedro M Fernandes “Agent-
based Testing of Extended Reality Systems” in proceedings of ICST’- 13th International Conference on Software Testing, Validation and Verification (ICST), pp. 414-417, IEEE. 2020.
https://iv4xr-project.eu
Predict Emotion from Interaction Traces
• Machine Learning approach
• Users play a game
• Self-report annotation: PAD model
https://iv4xr-project.eu
Predict Emotion from Interaction Traces
Arousal
Accuracy: 69.22 %
Pleasure
Accuracy: 64.52 %
Dominance
Accuracy: 62.58 %
https://iv4xr-project.eu
Preliminary results
• 88 participants, 3 maps
• 264 traces
ML approach: Random Forests
• Predict 3 classes: increase, decrease, stable
Conclusions
Games can be used for a purpose: educate,
inform, motivate and persuade
AI has an important role in game development
AI to create social agents in games
AI to create content
AI to automate testing
Thank you!
rui.prada@tecnico.ulisboa.pt
http://gaips.inesc-id.pt/rprada
http://labjogos.tecnico.ulisboa.pt
https://iv4xr-project.eu
https://id-gaming-project.eu EAI ICIDM 2021 - 7th EAI International Conference on Interactive Digital Media
July 30 – August 1, 2021 - Johor Bahru, Malaysia (Online)

More Related Content

Similar to How AI can help games fulfil their purpose

Games for inclusive play
Games for inclusive playGames for inclusive play
Games for inclusive playRui Prada
 
Video Games as Learning Tools & Making Games as Systems Thinking
Video Games as Learning Tools & Making Games as Systems ThinkingVideo Games as Learning Tools & Making Games as Systems Thinking
Video Games as Learning Tools & Making Games as Systems ThinkingMichelle
 
Video Games, Virtual Environments & Education
Video Games, Virtual Environments & EducationVideo Games, Virtual Environments & Education
Video Games, Virtual Environments & EducationJoanna Robinson
 
Algorithms Pushed Me to the Dark Side: Questions for Procedural Rhetoric
Algorithms Pushed Me to the Dark Side: Questions for Procedural RhetoricAlgorithms Pushed Me to the Dark Side: Questions for Procedural Rhetoric
Algorithms Pushed Me to the Dark Side: Questions for Procedural RhetoricUniversity of South Australlia
 
Coding Play/Crafting Code in the City by Aphra Kerr
Coding Play/Crafting Code in the City by Aphra KerrCoding Play/Crafting Code in the City by Aphra Kerr
Coding Play/Crafting Code in the City by Aphra KerrProgCity
 
Ludoliteracy presentación cet_2016
Ludoliteracy presentación cet_2016Ludoliteracy presentación cet_2016
Ludoliteracy presentación cet_2016Daniel Aranda
 
Building competent social interactive AI
Building competent social interactive AIBuilding competent social interactive AI
Building competent social interactive AIRui Prada
 
GameLab STAGE 01 - Yaya Heryadi
GameLab STAGE 01 - Yaya HeryadiGameLab STAGE 01 - Yaya Heryadi
GameLab STAGE 01 - Yaya Heryadibinusgamelab
 
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...IJITCA Journal
 
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...IJITCA Journal
 
The role of ai in social games eladhari2011 uppsalauni
The role of ai in social games eladhari2011 uppsalauniThe role of ai in social games eladhari2011 uppsalauni
The role of ai in social games eladhari2011 uppsalauniMirjam Eladhari
 
Serious games: current uses and emergent trends
Serious games: current uses and emergent trends Serious games: current uses and emergent trends
Serious games: current uses and emergent trends Baltasar Fernández-Manjón
 
About formation of digital environment with smart artificial intelligence
About formation of digital environment with smart artificial intelligenceAbout formation of digital environment with smart artificial intelligence
About formation of digital environment with smart artificial intelligenceoptljjournal
 
Games and Crowds: Now, Near, Next
Games and Crowds: Now, Near, NextGames and Crowds: Now, Near, Next
Games and Crowds: Now, Near, NextBen Sawyer
 
Gamification and GBL Presentation to Unitec
Gamification and GBL Presentation to UnitecGamification and GBL Presentation to Unitec
Gamification and GBL Presentation to UnitecPaul Pivec
 
Camp creation 8nov12 ppt
Camp creation 8nov12 pptCamp creation 8nov12 ppt
Camp creation 8nov12 pptkayreentat
 

Similar to How AI can help games fulfil their purpose (20)

Games for inclusive play
Games for inclusive playGames for inclusive play
Games for inclusive play
 
UX Principles in Serious Game
UX Principles in Serious GameUX Principles in Serious Game
UX Principles in Serious Game
 
Video Games as Learning Tools & Making Games as Systems Thinking
Video Games as Learning Tools & Making Games as Systems ThinkingVideo Games as Learning Tools & Making Games as Systems Thinking
Video Games as Learning Tools & Making Games as Systems Thinking
 
Video Games, Virtual Environments & Education
Video Games, Virtual Environments & EducationVideo Games, Virtual Environments & Education
Video Games, Virtual Environments & Education
 
Algorithms Pushed Me to the Dark Side: Questions for Procedural Rhetoric
Algorithms Pushed Me to the Dark Side: Questions for Procedural RhetoricAlgorithms Pushed Me to the Dark Side: Questions for Procedural Rhetoric
Algorithms Pushed Me to the Dark Side: Questions for Procedural Rhetoric
 
Why Is It Important to Solve Games with AI by Anaëlle Laurans, Applied Resear...
Why Is It Important to Solve Games with AI by Anaëlle Laurans, Applied Resear...Why Is It Important to Solve Games with AI by Anaëlle Laurans, Applied Resear...
Why Is It Important to Solve Games with AI by Anaëlle Laurans, Applied Resear...
 
Coding Play/Crafting Code in the City by Aphra Kerr
Coding Play/Crafting Code in the City by Aphra KerrCoding Play/Crafting Code in the City by Aphra Kerr
Coding Play/Crafting Code in the City by Aphra Kerr
 
Ludoliteracy presentación cet_2016
Ludoliteracy presentación cet_2016Ludoliteracy presentación cet_2016
Ludoliteracy presentación cet_2016
 
Building competent social interactive AI
Building competent social interactive AIBuilding competent social interactive AI
Building competent social interactive AI
 
GameLab STAGE 01 - Yaya Heryadi
GameLab STAGE 01 - Yaya HeryadiGameLab STAGE 01 - Yaya Heryadi
GameLab STAGE 01 - Yaya Heryadi
 
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
 
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
ABOUT FORMATION OF INTERNATIONAL ETHICAL DIGITAL ENVIRONMENT WITH SMART ARTIF...
 
The role of ai in social games eladhari2011 uppsalauni
The role of ai in social games eladhari2011 uppsalauniThe role of ai in social games eladhari2011 uppsalauni
The role of ai in social games eladhari2011 uppsalauni
 
Serious games: current uses and emergent trends
Serious games: current uses and emergent trends Serious games: current uses and emergent trends
Serious games: current uses and emergent trends
 
Games for Change Overview
Games for Change OverviewGames for Change Overview
Games for Change Overview
 
About formation of digital environment with smart artificial intelligence
About formation of digital environment with smart artificial intelligenceAbout formation of digital environment with smart artificial intelligence
About formation of digital environment with smart artificial intelligence
 
Games for Change Lab
Games for Change LabGames for Change Lab
Games for Change Lab
 
Games and Crowds: Now, Near, Next
Games and Crowds: Now, Near, NextGames and Crowds: Now, Near, Next
Games and Crowds: Now, Near, Next
 
Gamification and GBL Presentation to Unitec
Gamification and GBL Presentation to UnitecGamification and GBL Presentation to Unitec
Gamification and GBL Presentation to Unitec
 
Camp creation 8nov12 ppt
Camp creation 8nov12 pptCamp creation 8nov12 ppt
Camp creation 8nov12 ppt
 

More from Rui Prada

Human-Agent Interaction: Building Socially Intelligent Agents in Games
Human-Agent Interaction: Building Socially Intelligent Agents in GamesHuman-Agent Interaction: Building Socially Intelligent Agents in Games
Human-Agent Interaction: Building Socially Intelligent Agents in GamesRui Prada
 
Validating the plot of interactive narrative games
Validating the plot of interactive narrative gamesValidating the plot of interactive narrative games
Validating the plot of interactive narrative gamesRui Prada
 
Intelligent Verification/Validation for XR Based Systems
Intelligent Verification/Validation for XR Based SystemsIntelligent Verification/Validation for XR Based Systems
Intelligent Verification/Validation for XR Based SystemsRui Prada
 
Dynamic identity of social agents
Dynamic identity of social agentsDynamic identity of social agents
Dynamic identity of social agentsRui Prada
 
Intelligent Verification/Validation for XR Based Systems
 Intelligent Verification/Validation for XR Based Systems Intelligent Verification/Validation for XR Based Systems
Intelligent Verification/Validation for XR Based SystemsRui Prada
 
Gamified learning activities with quizzes and AI storytelling to improve soft...
Gamified learning activities with quizzes and AI storytelling to improve soft...Gamified learning activities with quizzes and AI storytelling to improve soft...
Gamified learning activities with quizzes and AI storytelling to improve soft...Rui Prada
 
Introdução do Encontro Alumni Área de Jogos do Instituto Superior Técnico
Introdução do Encontro Alumni Área de Jogos do Instituto Superior TécnicoIntrodução do Encontro Alumni Área de Jogos do Instituto Superior Técnico
Introdução do Encontro Alumni Área de Jogos do Instituto Superior TécnicoRui Prada
 
Jogos mais ou menos Sérios
Jogos mais ou menos SériosJogos mais ou menos Sérios
Jogos mais ou menos SériosRui Prada
 
Geometry Friends Game AI Competition
Geometry Friends Game AI CompetitionGeometry Friends Game AI Competition
Geometry Friends Game AI CompetitionRui Prada
 
The Importance of the Player in Game Design
The Importance of the Player in Game DesignThe Importance of the Player in Game Design
The Importance of the Player in Game DesignRui Prada
 
Opportunities for Fiction and Fantasy in Videogames
Opportunities for Fiction and Fantasy in VideogamesOpportunities for Fiction and Fantasy in Videogames
Opportunities for Fiction and Fantasy in VideogamesRui Prada
 
Emotions and Agents in Games
Emotions and Agents in GamesEmotions and Agents in Games
Emotions and Agents in GamesRui Prada
 
The Science of Games at IST
The Science of Games at ISTThe Science of Games at IST
The Science of Games at ISTRui Prada
 
It is all about the experience! Player experience in game design
It is all about the experience! Player experience in game designIt is all about the experience! Player experience in game design
It is all about the experience! Player experience in game designRui Prada
 
Geometry Friends Game AI Competition - 2013 Results
Geometry Friends Game AI Competition - 2013 ResultsGeometry Friends Game AI Competition - 2013 Results
Geometry Friends Game AI Competition - 2013 ResultsRui Prada
 
From Agents to Characters
From Agents to CharactersFrom Agents to Characters
From Agents to CharactersRui Prada
 

More from Rui Prada (16)

Human-Agent Interaction: Building Socially Intelligent Agents in Games
Human-Agent Interaction: Building Socially Intelligent Agents in GamesHuman-Agent Interaction: Building Socially Intelligent Agents in Games
Human-Agent Interaction: Building Socially Intelligent Agents in Games
 
Validating the plot of interactive narrative games
Validating the plot of interactive narrative gamesValidating the plot of interactive narrative games
Validating the plot of interactive narrative games
 
Intelligent Verification/Validation for XR Based Systems
Intelligent Verification/Validation for XR Based SystemsIntelligent Verification/Validation for XR Based Systems
Intelligent Verification/Validation for XR Based Systems
 
Dynamic identity of social agents
Dynamic identity of social agentsDynamic identity of social agents
Dynamic identity of social agents
 
Intelligent Verification/Validation for XR Based Systems
 Intelligent Verification/Validation for XR Based Systems Intelligent Verification/Validation for XR Based Systems
Intelligent Verification/Validation for XR Based Systems
 
Gamified learning activities with quizzes and AI storytelling to improve soft...
Gamified learning activities with quizzes and AI storytelling to improve soft...Gamified learning activities with quizzes and AI storytelling to improve soft...
Gamified learning activities with quizzes and AI storytelling to improve soft...
 
Introdução do Encontro Alumni Área de Jogos do Instituto Superior Técnico
Introdução do Encontro Alumni Área de Jogos do Instituto Superior TécnicoIntrodução do Encontro Alumni Área de Jogos do Instituto Superior Técnico
Introdução do Encontro Alumni Área de Jogos do Instituto Superior Técnico
 
Jogos mais ou menos Sérios
Jogos mais ou menos SériosJogos mais ou menos Sérios
Jogos mais ou menos Sérios
 
Geometry Friends Game AI Competition
Geometry Friends Game AI CompetitionGeometry Friends Game AI Competition
Geometry Friends Game AI Competition
 
The Importance of the Player in Game Design
The Importance of the Player in Game DesignThe Importance of the Player in Game Design
The Importance of the Player in Game Design
 
Opportunities for Fiction and Fantasy in Videogames
Opportunities for Fiction and Fantasy in VideogamesOpportunities for Fiction and Fantasy in Videogames
Opportunities for Fiction and Fantasy in Videogames
 
Emotions and Agents in Games
Emotions and Agents in GamesEmotions and Agents in Games
Emotions and Agents in Games
 
The Science of Games at IST
The Science of Games at ISTThe Science of Games at IST
The Science of Games at IST
 
It is all about the experience! Player experience in game design
It is all about the experience! Player experience in game designIt is all about the experience! Player experience in game design
It is all about the experience! Player experience in game design
 
Geometry Friends Game AI Competition - 2013 Results
Geometry Friends Game AI Competition - 2013 ResultsGeometry Friends Game AI Competition - 2013 Results
Geometry Friends Game AI Competition - 2013 Results
 
From Agents to Characters
From Agents to CharactersFrom Agents to Characters
From Agents to Characters
 

Recently uploaded

Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfmuntazimhurra
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.Nitya salvi
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPirithiRaju
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxgindu3009
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSSLeenakshiTyagi
 

Recently uploaded (20)

Biological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdfBiological Classification BioHack (3).pdf
Biological Classification BioHack (3).pdf
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Presentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptxPresentation Vikram Lander by Vedansh Gupta.pptx
Presentation Vikram Lander by Vedansh Gupta.pptx
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSS
 

How AI can help games fulfil their purpose

  • 1. How AI can help games fulfil their purpose Rui Prada INESC-ID and Instituto Superior Técnico Universidade de Lisboa, Portugal EAI ICIDM 2021 - 7th EAI International Conference on Interactive Digital Media July 30 – August 1, 2021 - Johor Bahru, Malaysia (Online)
  • 2. Games with purpose Artificial Intelligence in Games 1 2
  • 3. Games are means for Entertainment Communication Participation Experience
  • 4. Games with Purpose (Serious Games) Good means to transmit information and show how things work (Multimedia) Capture attention and maintain interest
  • 5. Games for Education Promote practice, exploration and error (Interactivity) Personal emotional experience
  • 7. Play with Seismic Phenomena Treme-treme https://treme-treme.pt/ https://youtu.be/e1Mq8Egy9ko • For kids (and all) • Learn how to prepare • Learn how to protect • Learn the dangers (during and after) • Promote discussion
  • 8. Play with Math and Problem Solving* Festarola *Ricardo Rodrigues, Paula Costa Ferreira, Rui Prada, Paula Paulino, Ana Margarida Veiga Simão, “Developing Children's Regulation of Learning in Problem-Solving With a Serious Game” in IEEE Computer Graphics and Applications, vol. 40, no. 5, pp. 26-40, Oct. 2020. IEEE. • For kids • To develop problem solving skills • Promote self-regulation of learning and self-efficacy • Engage students in the subject of mathematics
  • 9. Play with Organic Chemistry ChemTouch https://youtu.be/fIC9GTJFQcs • VR game for university students • Learn how to build molecules • Learn atoms’ connections • Stereochemistry (3D Chemistry) • Understand Structure and symmetry
  • 10. Games for People with Intellectual Disability • Quality of Life Training Game • Cognitive functions: calculus and problem solving, memory, spatial orientation, language, etc. • Quality of Life dimensions: interpersonal relationships, social inclusion, self-determination, physical and emotional well-being, etc. 15 million people with intellectual disability in the European Union https://id-gaming-project.eu
  • 12. AI in Games AI to build the social dimension of the game Play against the player Populate the social world, play social roles in games AI to support the development of the game To generate content for games To automate testing 1 2
  • 13. AI to build the social dimension in Games
  • 14. Social roles that AI agents play in games* *Diogo Rato; Rui Prada: “A taxonomy of social roles for agents in games” (to appear) in proceedings of ICEC’21 - the 20th International Conference on Entertainment Computing, pp. 1-12, Coimbra, Portugal, October 2021. IFIP.
  • 15. Social roles that AI agents play in games* *Diogo Rato; Rui Prada: “A taxonomy of social roles for agents in games” (to appear) in proceedings of ICEC’21 - the 20th International Conference on Entertainment Computing, pp. 1-12, Coimbra, Portugal, October 2021. IFIP.
  • 16. Social roles that AI agents have in gameplay* *Diogo Rato; Rui Prada: “A taxonomy of social roles for agents in games” (to appear) in proceedings of ICEC’21 - the 20th International Conference on Entertainment Computing, pp. 1-12, Coimbra, Portugal, October 2021. IFIP.
  • 17. Social Roles in AI agents •Agents need to understand social reality • Culture and group dynamics • Social relations • Social emotions *Frank Dignum, Rui Prada, Gert Jan Hofstede “From autistic to social agents” in Proceedings of the 2014 international conference on Autonomous Agents and Multi-Agent Systems, pp. 1161-1164. 2014. IFAAMAS *Samuel Mascarenhas, Nick Degens, Ana Paiva, Rui Prada, Gert Jan Hofstede, Adrie Beulens, Ruth Aylett: “Modeling culture in intelligent virtual agents: From theory to implementation” in Autonomous Agents and Multi-Agent Systems. pp. 1-32, 2015. Springer. *Gonçalo Pereira, Rui Prada, Pedro A. Santos: “Integrating social power into the decision-making of cognitive agents” in Artificial Intelligence. vol. 241, pp. 1-44, December 2016. Elsevier.
  • 18. Socially Situated Cognition* • Social meaning of objects • E.g. An apple can be food, a gift, a toy, a weapon, … • Social categorization and social identity • The agents and their social groups in a given context • Social affordances • What you can do with the agents and objects in the context • Socially affordable • What is acceptable *Diogo Rato, Samuel Mascarenhas, Rui Prada “Towards Social Identity in Socio-Cognitive Agents” arXiv preprint arXiv:2001.07142 (2020).
  • 19. Social AI agents in Minecraft • Context • Time, location, agents • Social practices • Activated by context • Social roles • Locations have social properties • Expected activity • Ownership • Agents have categories/identities • Define relevant social practices • E.g. Lumberjack Background/Observer
  • 20. https://fatima-toolkit.eu *Samuel Mascarenhas, Manuel Guimarães, Rui Prada, João Dias, Pedro A. Santos, Kam Star, Ben Hirsh, Ellis Spice, and Rob Kommeren “A Virtual Agent Toolkit for Serious Games Developers” in proceedings of 2018 IEEE Conference on Computational Intelligence and Games (CIG), pp. 1-7. IEEE, August 2018.
  • 21. Space Modules Inc. Sports Team Manager Social AI agents with FAtiMA Toolkit Challenger/Contender Subordinate/Master
  • 22. *Ana Salta, Rui Prada, Francisco S. Melo “A Game AI Competition to foster Collaborative AI research and development” in IEEE Transactions on Games, pp. 1-14, 2020. IEEE. DOI: 10.1109/TG.2020.3024160 Teammate Cooperative play in Geometry Friends* http://gaips.inesc-id.pt/geometryfriends/
  • 24. *André Tiago Pereira, Rui Prada, Ana Paiva: “Improving social presence in human-agent interaction” in proceedings of CHI’2014 - 32nd annual ACM conference on Human Factors in Computing Systems, pp. 1449-1458, Toronto, Canada. April 2014. ACM. Opponent Playing boardgames* • Contextual gaze • Emotional reactions to game events • Interpersonal relations • Increased the social presence of the artificial player Emys the Risk player
  • 25. Playing Team Games* • Displaying emotions as individual or group • Determine the cognitive unit for the emotional appraisal • Positive effects for group identification, trust and likability *Filipa Correia, Samuel Mascarenhas, Rui Prada, Francisco S. Melo, Ana Paiva: "Group-based emotions in teams of humans and robots" in proceedings of HRI'18 - International Conference on Human-Robot Interaction, pp. 261-269, Chicago, IL, USA, March 2018. ACM/IEEE. Teammate Opponent
  • 26. Social Robots as Team Leaders* • Leadership types • Transactional (TA): focus on task • Transformational (TF): focus on people • 108 people (Portuguese companies) 36 teams of 3 • Productivity: higher for TA • Engagement: higher for TF • Role Ambiguity: no sig. difference • Trust: no sig. difference *Sara L. Lopes, José Bernardo Rocha, Aristides I. Ferreira, Rui Prada “Social robots as leaders: leadership styles in human-robot teams” (to appear) in proceedings of RO-MAN 2021 – The 30th International Conference on Robot and Human Interactive Communication, Canada 2021. IEEE. Subordinate/Master
  • 27. AI to support the development of games
  • 28. Procedural Content Generation for Games • Automate the creation of content for games • Reduce production costs • Adapt content to players • Computational creativity • Co-creation • Humans and agents together Levels of Geometry Friends
  • 29. Procedural Content Generation for Cooperative Games • Generate levels for the Geometry Friends game • Use of Genetic Algorithms
  • 30. Procedural Content Generation for Cooperative Games • Population • Chromosome: [RectangleSpawn, CircleSpawn, PlatformArray] • 8 platforms: [Activation, Position, Dimentions] • Ex:[120,200,300,240,1,340,120,400,30,0,230,30,200,50,...] • Evolution process • Selection: Elitism with selection of 30% • Crossover: 2 parents breed one child • Gets random parts from each parent (e.g. platforms) • Mutation: change the activation of a platform or its characteristics
  • 31. Procedural Content Generation for Cooperative Games • Fitness: character reachability • Circle only • Rectangle only • With collaboration • Both • Intersection with user input • Min value of intersection User Input User Input User Input
  • 32. Procedural Content Generation for Cooperative Games • Sample results: population 50 and 2000 generations input area reachability level
  • 33. Automated Testing • Software testing with autonomous (testing) agents • Agents for User eXperience testing • Social and emotional agents • Predict UX by running the agents in the environment • Predict emotion from interaction traces *Pedro M. Fernandes, Manuel Lopes Rui Prada “Agents for Automated User Experience Testing” in proceedings of the AIST’2021 – the 1st International Workshop on Artificial Intelligence in Software Testing, International Conference on Software Testing, Verification and Validation Workshops (ICSTW), pp.. 247-253, IEEE. 2021 *Rui Prada, ISWB Prasetya, Fitsum Kifetew, Frank Dignum, Tanja EJ Vos, Jason Lander, Jean-yves Donnart, Alexandre Kazmierowski, Joseph Davidson, Pedro M Fernandes “Agent- based Testing of Extended Reality Systems” in proceedings of ICST’- 13th International Conference on Software Testing, Validation and Verification (ICST), pp. 414-417, IEEE. 2020. https://iv4xr-project.eu
  • 34. Predict Emotion from Interaction Traces • Machine Learning approach • Users play a game • Self-report annotation: PAD model https://iv4xr-project.eu
  • 35. Predict Emotion from Interaction Traces Arousal Accuracy: 69.22 % Pleasure Accuracy: 64.52 % Dominance Accuracy: 62.58 % https://iv4xr-project.eu Preliminary results • 88 participants, 3 maps • 264 traces ML approach: Random Forests • Predict 3 classes: increase, decrease, stable
  • 36. Conclusions Games can be used for a purpose: educate, inform, motivate and persuade AI has an important role in game development AI to create social agents in games AI to create content AI to automate testing
  • 37. Thank you! rui.prada@tecnico.ulisboa.pt http://gaips.inesc-id.pt/rprada http://labjogos.tecnico.ulisboa.pt https://iv4xr-project.eu https://id-gaming-project.eu EAI ICIDM 2021 - 7th EAI International Conference on Interactive Digital Media July 30 – August 1, 2021 - Johor Bahru, Malaysia (Online)