510 likes | 727 Vues
Affective Computing for Game Design. Eva Hudlicka Psychometrix Associates Blacksburg, VA hudlicka@ieee.org psychometrixassociates.com. GAMEON-NA 2008 August 13, 2008 McGill University, Montreal, Canada. Outline. Emotions & Games: Affective Gaming Affective Computing
E N D
Affective Computing for Game Design Eva Hudlicka Psychometrix Associates Blacksburg, VA hudlicka@ieee.org psychometrixassociates.com GAMEON-NA 2008 August 13, 2008 McGill University, Montreal, Canada
Outline • Emotions & Games: Affective Gaming • Affective Computing • Background on Emotion Research • Computational Affective Modeling • Conclusions
Fully-immersive PTSD treatment environment, Rizzo - ICT Drake’s Fortune SMILE math & science game:Villani & Wilbur, Purdue Trends in Gaming • More engaging, immersive • Multi-modal interaction (haptic controls) • Physical & emotional realism
Emotiv SystemsEEG Emsense headset: EEG, heart rate,respiration, headmotion, temperature Trends in Gaming • Adaptive gaming • Games sense user state & adapt gameplay
FreeDive: Breakaway Games Virtual Iraq-PTSD: Rizzo, ICT Neuromatrix: Morphonix Trends in Gaming • Serious games (fastest growing segment) • Education & Training • Exergaming • Rehabilitation & therapy • Pain reduction in healthcare • Coaching (lifestyle & training games) • Psychotherapy • … social change, government, healthcare, science, corporate training, military
Trends in Gaming • Demographics • Girls • Women • Adults • Elderly
We Are About Here… In Terms of the Full Potential of Gaming..
Existing Games Limited In • Interaction bandwidth • Narrative complexity • Player modeling • Adaptation to players • Affective realism of game characters • Affective complexity of game characters
So How Do We Get Here? We Are About Here…
Emotion a Key Factor… in both “Play” & “Work” • Mediates motivation • Influences memory & learning • Key role in decision-making & problem-solving • Central factor in engagement • Key factor in serious games
valence - + - arousal Affective Complexity of Games: Current ….. Image from Russell, 1997
valence - + - arousal ….. & Potential Images adapted from Lim & Aylett, 2005
Future Games Need To… • Recognize & adapt to players’ emotions • Understand players’ affective profiles • Increase affective complexity & autonomy of game characters • Increase visual affective realism of game characters & player avatars • Increase affective complexity of the entire game experience
Affecting Gaming & Affective Computing “Affective gaming is concerned with the application of affective computing techniques to the domain of digital games. Affective gaming involves both the ‘evocation’ of emotions, as well as the detection of player emotion.” (Sykes, 2004) …which will increasingly require emotion modeling
Outline • Emotions & Games: Affective Gaming • Affective Computing • Background on Emotion Research • Computational Affective Modeling • Conclusions
MAX (Becker, Prendinger et al.) Breazeal De Rosis Hudlicka Overview of Affective Computing
Affective Computing • Broad area of interdisciplinary research and practice relating computers and affect • “Anything that combines computing and emotions” • Term coined by Rosalind Picard (MIT Media Lab) • 1997 book “Affective Computing” (MIT Press) • “How can emotions be generated in computers, berecognized by computers, and be expressed by computers?” (Picard, Affective Computing, ‘97)
Emotion Sensing & Recognition “Emotion” Expression OR? GRETA, Fiorella de Rosis, U. Bari Affective Modeling
Affective Computing Includes… • Emotion sensing & recognition • via a variety of sensors from multiple modalities • Generation of ‘affective’ behaviors in machines • Facial expressions in agents and robots • Affective synthetic speech • Affect-induced behavioral variation in robots and agents • Computational models of emotion & affective phenomena • Emotion generation (via appraisal) • Emotion effects on cognition & behavior • Affective user models • Cognitive-affective architectures ..for agents & robots • Generic requirements for modeling emotion • Characterizing emotion in computational terms
Methods & Techniques Relevant for Affect-Focused Game Design • Sensing & recognition of players’ emotions • Adaptive gaming • Game control • Expression of emotions by game characters • More realistic & believable behavior • Complex social interactions • Models of emotion in game characters • To support complex, autonomous behavior • To support adaptive behavior • Models of players’ emotions • Affective user models to support game adaptation • Affective game evaluation • Develop games with desired affective profiles
Outline • Emotions & Games: Affective Gaming • Affective Computing • Background on Emotion Research • Computational Affective Modeling • Conclusions
So What ARE Emotions? • Evaluative judgments of the: • World • Others • Self • … in light of agent’s goals & beliefs • …motivating & coordinating adaptive behavior
Roles of Emotions WHAT? * Social coordination * Rapid communication of behavioral intent; WHAT? * Motivation* Homeostasis * Adaptive behavior Intrapsychic Interpersonal • HOW? • - Global interrupt system • Goal management • Prepare for coordinated actions • - Emotion generation (appraisal) • Emotion effects (processing biases) HOW? Express emotions via: -Facial expression -Speech (content & properties) -Gesture, Posture -Specific actions
How Do We Recognize an Emotion if We See One? • Manifested across multiple, interacting modalities: • Somatic / Physiological(neuroendocrine - e.g., heart rate, GSR) • Cognitive / Interpretive(“Nothing is good or bad but thinking makes it so…”) • Behavioral / Motivational (action oriented, expressive, ‘visible’) • Experiential / Subjective(“that special feeling…”, consciousness) • Much terminological confusion can be attributed to a lack of consideration of these multiple modalities of emotions • e.g., Is emotion a feeling or a thought? - It’s both
Cognitive Subjective Simple Fear “Signature”: Large, Approaching Object Feeling of fear Increased heart-rate; Flee? Freeze? Attacked? Crushed?
States Traits “Big 5” “Giant 3” … Emotions Moods Affective States Negative Positive Complex Basic Joy Anger … Fear A Taxonomy of Affective Factors Attitudes, Preferences… Affective Factors … Pride Guilt Shame
Alternative Views of Emotions • Categorical theories (discrete theories) (Tomkins, Izard, Ekman, Panskepp) • A small number of hardwired basic (fundamental) emotions exist with distinct neuromotor patterns • Dimensional theories(Russell, & Thayer) • 2D: Valence & arousal • 3D: Valence & arousal + dominance • All other emotions defined in terms of these • Componential theories(Scherer, Roseman, Smith and Ellsworth, Frijda) • Emotions result from the (parallel) evaluation of a number of appraisal dimensions (novelty, valence, goal congruence…) • Vast numbers of emotions possible in this space • Individual appraisals represent components of familiar emotions
Categorical View: Basic Emotions (Cohn, 2006)
Dimensional View: Arousal & Valence (Breazeal, 2003 adapted from Russell, 1997)
Effects of Emotions (on cognition & behavior) Generation of Emotions (via cognitive appraisal) Cognitive-Affective Architecture Goals Stimuli Cognitive Appraisal Situations Emotions Expectations Core Processes of Emotions
Appraisal Process Emotions • Domain-Independent Appraisal Dimensions • Novelty • Valence • Goal / Need relevance • Goal congruence • Agency • Coping potential • Social and self norms and values Goals (desires, values, standards) Beliefs, Expectations Existing emotions, moods, traits Emotion Generation via Appraisal Appraisal Dimensions Stimuli Perceived Recalled Imagined
Facial expression Gestures Posture Behavior Blah blah blah Emotion Effects on Behavior Emotion
Emotion Effects on Cognition • Emotion & cognition function as closely-coupled information processing systems • Complex feedback interactions • Emotions influence fundamental processes mediating high-level cognition: • Attention & working memory speed & capacity • Long-term memory recall & encoding • Anxiety • Attentional narrowing / threat bias / self-focus bias • Anger • Risk tolerance / impulsive action bias / attribution of hostility
Outline • Emotions & Games: Affective Gaming • Affective Computing • Background on Emotion Research • Computational Affective Modeling • Conclusions
Why Do We Need Emotion Models in Game Design? • Game characters’ emotions • Generate realistic & affectively-complex character behavior & believable affective expressions • … responsive to dynamically-evolving game scenario & player behavior • … in real-time • Emotion generation & emotion effects on cognition & behavior • Players’ emotions • Help recognize player emotions in real-time • Develop gameplay adaptations • Generate more realistic player avatar behavior
Affective Modeling Outline • Core processes of emotion • …. Computational requirements • …. Representational alternatives • Levels of resolution (tutorial) • Affective architectures (tutorial)
Effects of Emotions (on cognition & behavior) Cognitive-Affective Architecture Goals Stimuli Cognitive Appraisal Situations Emotions Expectations Core Processes of Emotions Generation of Emotions (via cognitive appraisal)
Emotions Computational Tasks for Appraisal Models Stimuli • Stimuli-to-emotion mappings • Intensity calculation • Nature of mapping process: • * Stages & functions • * Degree of variability • Integrating multiple emotions • Emotion dynamics over time • Types of stimuli: • Internal / External • Real / Imagined • Past / Present / Future • Domain specific / Abstract appraisal dimensions • Complexity of stimulus structure • Mental constructs required (e.g., goals, expectations) • Emotion attributes: • Complexity of emotion construct • * type • * intensity • * cause … • * direction • * …
STIMULI FEAR high Novelty Valence low Goal relevance high Agency other Outcome probability high Goal congruence low Urgency v. high Coping potential low Norms
Emotions N V ? GR World GC A C N … Stimuli --> Appraisal Dimensions --> Emotion(s) This is the difficult part!
N Stimuli --> Appraisal Dimensions V GR World GC • Mental structures required: • Situations, Expectations, Beliefs, Values, Goals, Plans, Causal structures, Agent history • Large amounts of domain-specific knowledge required • Complex reasoning required • Typically implemented using symbolic representations • Rules, Semantic nets, Belief nets, Goal-Procedure hierarchies A C N …
N V GR GC A C N … Appraisal Dimensions --> Emotion(s) ? • Can be easy • Vector maps directly onto n-dim space of app. dimensions • Emotion identified via some measure of proximity (Euclidian dist.) • Learning may be involved (connectionist models) • BUT… • What if the dimension values are ambiguous? • How to combine multiple emotions? • How to calculate intensity? • Individual variability • Across & within individuals • Across emotions • Across contexts
Questions Regarding Representational & Reasoning Requirements • What must represented explicitly? • Time (present, past, future) • Hope needs expectations, regret needs past • Mental constructs • situations, expectations, goals • Memories • what type – declarative, episodic, procedural • Explicit representation of the self • need for complex emotions, social interaction, coping • What types of reasoning are necessary? • What-if • …to generate expectations which influence emotions • Causal explanation • ..important for attribution
Representation & Reasoning Alternatives • Vector spaces (Scherer) • Connectionist (Araujo, Velasquez) • Symbolic • Rules (Marinier, Jones, Henninger, Hudlicka…) • Belief nets (Hudlicka, de Rosis,…) • Complex symbolic structures (Elliot, Reilly, Gratch & Marsella) • Appraisal frames, causal plan structures • Spreading activation over networks of processes (Breazeal) • Decision-theoretic • Decision trees • Decision theoretic formulations (Lisetti & Gmytrasiewicz, Busemeyer) • Blackboards and ‘specialists’ • Finite state machines (Kopecek) • Markov models (El Nasr) • Theorem proving (Zippora) • Dynamical systems
Facial expression Gestures Posture Behavior Blah blah blah Modeling Emotion Effects Afternoon Tutorial Emotion
Outline • Emotions & Games: Affective Gaming • Affective Computing • Background on Emotion Research • Computational Affective Modeling • Conclusions
Affect-Focused Game Design • To achieve the next generation of engaging & effective games we need to focus on emotion • Affective considerations should influence all elements of game design • Visuals: Environment & Character appearance • Music • Narrative structure & plot • Character design • Gameplay design
Affect-Focused Game Design (cont.) • Emotion research in psychology & neuroscience provides data & theories • Affective computing provides methods & techniques for… • Emotion modeling in game characters • Affective user modeling • Emotion recognition in players • Emotion expression in game characters
Thank you Eva Hudlicka Psychometrix Associates Blacksburg, VA hudlicka@ieee.org psychometrixassociates.com