NPCs Have Feelings Too: Verbal Interactions with Emotional Character AI. Gautier Boeda AI Engineer SQUARE ENIX CO., LTD

Similar documents
Environment Expression: Expressing Emotions through Cameras, Lights and Music

Personal Narrative STUDENT SELF-ASSESSMENT. Ideas YES NO Do I write about a real event in my life? Do I tell the events in time order?

"There is no education like adversity."

Independent Clause. An independent clause is a group of words that has a subject and a verb that expresses a complete thought and can stand by itself.

LESSON 30: REVIEW & QUIZ (DEPENDENT CLAUSES)

Fill in dates in the table as you set your objectives and reach them.

The Chocolate Touch. By Patrick Skene Catling. Name

Grammar is a way of thinking about language. Grammar is a way of thinking about language.

MIDTERM EXAMINATION Spring 2010

Sample file. by R.E. Myers. illustrated by Bron Smith

Week Objective Suggested Resources 06/06/09-06/12/09

Unit 3 Gerund, Participle, Infinitive

THE 3 SENTENCE TYPES. Simple, Compound, & Complex Sentences

Curtis & Kevin. before gerunds

Favorite Things Nouns and Adjectives

SECOND GRADE BENCHMARKS

Frequently Asked Questions

Spanish Language Programme

TOM NEWBY SCHOOL EXAMINATION

Name: Class: School:

COMMON GRAMMAR ERRORS. By: Dr. Elham Alzoubi

Nome TER 1º BIMESTRE INGLÊS nº. Unit 1. Present Simple. Simple present with 'have' and 'be'

LESSON 7: ADVERBS. In the last lesson, you learned about adjectives. Adjectives are a kind of modifier. They modify nouns and pronouns.

Lesson 19 Day 2. You will need your book, journal, workbook and pencil.

Graphic Organizer for Active Reading Thank You, M am

COMMONLY MISUSED AND PROBLEM WORDS AND EXPRESSIONS

Extras. Use the newspaper for reading activities. Reading. Joe Walker Elementary School Mr. Tommy J. Bedillion, Principal

English Language Arts 600 Unit Lesson Title Lesson Objectives

TABLE OF CONTENTS. Free resource from Commercial redistribution prohibited. Language Smarts TM Level D.

Grammar 101: Adjectives, Adverbs, Articles, Prepositions, oh my! For Planners

MIDTERM~STUDY GUIDE. A declarative sentence makes a statement. It ends with a period.

Basic English. Robert Taggart

VJ 6040 UHF Chip Antenna for Mobile Devices

pushed off by the force of the water.

Expressive information

1. Reading: Robert Bott introduces himself, gives some personal information and then talks about his daily routine.

produce verb Write it: Say it: pro 'duce d A factory that makes car parts might produce windshield wipers ) In this class, we have produced and

Fountas-Pinnell Level L Folktale

10 th Grade HONORS SUMMER READING ASSIGNMENTS

3 c l m. Furniture. 3a Work with a partner. Match the objects (a l) in the picture with the words.

Unit Grammar Item Page

Gerunds: Subject and Object Prof Marcelo Pereira de Leão

Macbeth: The Paper. Sophomore Honors English Wathen

The Ant and the Grasshopper

learncbse.in learncbse.in Module 9 Section A (Reading) A. Read the passage carefully:

Good Vibes. Unit 1. Topic Discussion Activities. 1. Happiness Boosters. Small Group Discussion. Supporting Your Opinion

Answer all questions in a COMPLETE SENTENCE(S) unless asked to list or multiple choice. 1. What is the setting?

ADVERBS MODIFYING VERBS

*Theme Draw: After you draw your theme in class, find and circle it below. *THIS THEME WILL BE THE FOCUS OF ALL THREE PARAGRAPHS OF YOUR ESSAY

Talking about yourself Using the pronouns je and tu. I can give several details about myself and describe a person s personality.

Dimming actuators GDA-4K KNX GDA-8K KNX

Unit Topic and Functions Language Skills Text types 1 Found Describing photos and

Target Vocabulary (Underlining indicates a word or word form from the Academic Word

Running head: TITLE OF THE PAPER 1. Title of the Paper. Your Name. Keiser University

Tell me more about yourself

With thanks to Seana Coulson and Katherine De Long!

rekordbox TM LIGHTING mode Operation Guide

ENGLISH FILE Intermediate

Guidelines for Technical Writing

tech-up with Focused Poetry

Editing Checklist. Step-by-step: how to write like an academic

Hoboken Public Schools. Visual Arts Curriculum Grades Seven & Eight

Sample Test Paper SYNONYMS

Language Paper 1 Knowledge Organiser

Handouts to Teach Theme & Imagery Included! Comprehension Questions & Open-Ended Response Questions Included!

Experiment PP-1: Electroencephalogram (EEG) Activity

SAMPLE. Successful English 3A 3 RD IN A SERIES OF 4. Years 3 4. Written by Valerie Marett. CORONEOS PUBLICATIONS Item No 512

English Listening and Speaking Patterns 2

Chapter 6: Ways of knowing Emotion (p. 145)

Running head: 3 BREAKTHROUGH SINGERS THAT INFLUENCED ME 1. 3 Breakthrough Singers from the Past Decade that Influenced Me.

Live Show.

Basic Operations App Guide

STB Front Panel User s Guide

Course outline 30 weeks

CELCAT Room Booker (CELCAT Live)

Grammar Flash Cards 3rd Edition Update Cards UPDATE FILE CONTENTS PRINTING TIPS

Metonymy in Grammar: Word-formation. Laura A. Janda Universitetet i Tromsø

Online TESOL Program. Module 5

winter but it rained often during the summer

Write down the date when you first study a unit or section in Oxford Word Skills Advanced, then write down the date when you study it again.

EPISODE 26: GIVING ADVICE. Giving Advice Here are several language choices for the language function giving advice.

Emotional Intelligence

Cambridge Primary English as a Second Language Curriculum Framework mapping to English World

METACOGNITIVE CHALLENGES SUMMARY CHART

What are Add-On Effects? Add-On Effects are software packages that install additional high-quality effects programs on digital consoles.

Object Oriented Learning in Art Museums Patterson Williams Roundtable Reports, Vol. 7, No. 2 (1982),

LA-1440 and LA-4440 Sound Level Meter

THIRD GRADE BENCHMARKS

How to get published Preparing your manuscript. Bart Wacek Publishing Director, Biochemistry

Reading. Source: Breakingnewsenglish.com

NORTH WEST PROVINCIAL ASSESSMENT GRADE 6

(1 point) (1 point) 4. Decide whether the sentence below contains a misplaced and/or dangling modifier or no error. (1 point)

Away from home and realized you forgot to record a program, or want to see what is on TV tonight? No worries, just access MyTVs App!

Characteristics of the Text Genre Folktale Text Structure

A. Identify whether the underlined nouns are common, proper, abstract, collective or material

GW7 Grammar & Writing Issue 1

Evaluation Tools. Journal Impact Factor. Journal Ranking. Citations. H-index. Library Service Section Elyachar Central Library.

Contents. 02 Where in the. 03 Testing times. 04 Modern romance. 05 Looking good! 06 Nice work. 07 Food for thought.

Finding and importing intro music or podcast. Series: Audacity 1.36

rekordbox TM LIGHTING mode Operation Guide

Transcription:

NPCs Have Feelings Too: Verbal Interactions with Emotional Character AI Gautier Boeda AI Engineer SQUARE ENIX CO., LTD

team SQUARE ENIX JAPAN ADVANCED TECHNOLOGY DIVISION Gautier Boeda Yuta Mizuno Remi Driancourt Brian Wanamaker Perry Leijten Stephanie Timmins Adelle Bueno Eduardo Mosena Louis-Philippe Sanschagrin

Motivation What are we trying to improve? Non-playable characters in virtual reality feel really close! Enhance immersion Interacting with them felt sloppy, breaking the immersion Limited to buttons or other classic mechanism No reaction, as if the player was a ghost

Motivation How can it be achieved? Mission Bring more natural interactions: Voice interaction Body interaction Create more aware, expressive and lively agents Interact with the player appropriately (Actions, Emotions, Reactions, ) Answer their own needs

Demo First glance at kobun View Video (Click)

What s on the menu today? Speech recognition pipeline Decision Making Emotional Component Factual statement

Speech recognition pipeline Pipeline summary Speech Recognition Voice Pipeline Grammar Parser Pick up an enormous apple [Verb: Pick] [Preposition: up] [Determiner: an] [Adjective: enormous] [Noun: apple] [Verb: Pick up] [Predicate: enormous] [Object: apple] Words abstraction [Verb: ] [Predicate: ] [Object: ]

Speech recognition pipeline Words abstraction Speech Recognition Voice Pipeline Grammar Parser Words abstraction Problem to solve: Support multiple languages without limiting the player s set of vocabulary Cause of the Problem: Words are language-based. They don t have bindings between languages. We need to abstract them. Idea: Can we create the DNA of a word? What could be the genes?

Speech recognition pipeline Words abstraction Speech Recognition Voice Pipeline Grammar Parser Words abstraction Take an apple Get into one's hands, take physically List of meanings = DNA Take Get into one's hands, take physically Make, undertake, or perform (an action or task) Take a break Make, undertake, or perform (an action or task). Meaning = Gene How? WordNet - Database of sets of cognitive synonyms (synset), each expressing a distinct concept wordnet.princeton.edu/ - Support multiple languages

Speech recognition pipeline Words abstraction Speech Recognition Example: We need a concept of Big in our experience, as in A big apple Voice Pipeline Grammar Parser Words abstraction

Speech recognition pipeline Words abstraction Speech Recognition Voice Pipeline Grammar Parser Words abstraction Which big meaning are we interested in? 1) Keep adjectives r = adverb a = adjective 2) Select concepts

Speech recognition pipeline Words abstraction Speech Recognition Voice Pipeline Grammar Parser Words abstraction Our Big predicate DNA will be composed of: [01382086-a] above average in size or number or quantity or magnitude or extent [01276872-a] Significant Big Check our synsets: Multi languages!

Speech recognition pipeline Pipeline summary Speech Recognition Voice Pipeline Grammar Parser Words abstraction Pick up an enormous apple [Verb: Pick] [Preposition: up] [Determiner: an] [Adjective: enormous] [Noun: apple] [Verb: Pick up] [Predicate: enormous] [Object: apple] [Verb: ] [Predicate: ] [Object: ] Grounding [Take] [big] [Object: ]

Speech recognition pipeline Ground the words into the concepts of our world Speech Recognition Voice Pipeline Grammar Parser Words abstraction Grounding Ground the abstracted words to our concepts: Locations (above, behind, left, etc) Predicates (color, size, etc) Verbs Using a utility-based scoring method. Example: Word to ground (DNA) Enormous Player s set of vocabulary extended! Predicates (Concepts of our world) Big Small Red = 2 = 0 = 0 = 1 Big

Speech recognition pipeline Ground the words into the concepts of our world Speech Recognition Voice Pipeline Grammar Parser Words abstraction Everything cannot be grounded! Objects relies on the knowledge of each agent. Agent A Known Items Ball Banana Table Agent B Known Items Apple Fridge Banana Grounding We need to ground them on a per-agent basis. We will do this at a later stage

Speech recognition pipeline Pipeline summary Speech Recognition Voice Pipeline Grammar Parser Words abstraction Pick up an enormous apple [Verb: Pick] [Preposition: up] [Determiner: an] [Adjective: enormous] [Noun: apple] [Verb: Pick up] [Predicate: enormous] [Object: apple] [Verb: ] [Predicate: ] [Object: ] Grounding [Take] [big] [Object: ] Statement Manager Store the statement in memory. [Take] [big] [Object: ]

DECISION MAKING Goal manager Voice Pipeline Grammar Parser Words abstraction Grounding Statement Manager [Take] [big] [Object: ] Decision Making Goal Manager Utility-based Listen to Player 0.8 Execute Order X Eat 0.32 Flee away 0.1 AI Pipeline Planner Listen to Player Listen Execution 1 Listen Memory [Take] [big] [Object: ]

DECISION MAKING Goal manager Voice Pipeline Grammar Parser Words abstraction Grounding Statement Manager [Take] [big] [Object: ] AI Pipeline Decision Making Goal Manager Utility-based Listen to Player Execute Order Eat Flee away X 0.9 0.35 0.1 Planner Execute Order Take Put Go Look for 1 2 3 Execution Look for <item> Go near <item> Take <item> Memory [Take] [big] [Object: ]

Grounding objects Look for big apple 1 2 Execution Look for <item> Go near <item> (Pick up an enormous apple) Look for [Object: ] 3 Take <item> How to find a suitable object in our knowledge? Using again an utility-based system (Infinite Axis Utility System) Memory [Take] [big] [Object: ] Known Items Apple A Banana Apple B Table Apple C Look for [Object: ] Goals Targets Goals Targets Attack Target A 0.7 Find suitable object Item A Attack Target B 0.5 Find suitable object Item B Eat Meat 0.1 Find suitable object Item C Eat Apple 0.8 Find suitable object Item D

Grounding objects Look for big apple Pick up an enormous apple [Take] [big] [Object: ] Find suitable object Target 0.?? x2 x1 x1 x1 0.? 0.? 0.? 0.? x1 0.? x0.1 0.? x1 0.? Object Type Size Color Location Closeness Confidence

Grounding objects Look for big apple Pick up an enormous apple Find suitable object Find suitable object Find suitable object [Take] [big] [Object: ] Apple Banana Table x2 Object Type x2 1 0 0 Object Type x2 Object Type [Object: ][ :Apple A] [Object: ][ :Banana] [Object: ][ :Table] Fruit, edible

Grounding objects Look for big apple Whole Object Find suitable object Natural object Artifact Target Plant part Instrumentality Pick up an enormous apple [Take] [big] [Object: ] [ :Apple] [ :Banana] Plant organ Furnishing [ :Table] Reproductive structure Furniture Edible fruit Table [Object: ] Apple Banana

Grounding objects Look for big apple Whole Object 0 1/7 Natural object 2/7 Plant part 3/7 Pick up an enormous apple [Take] [big] [Object: ] Plant organ 4/7 Reproductive structure 5/7 Edible fruit 6/7 [Object: ] Apple 1 Rome Apple 1 1 Bramley Apple

Grounding objects Look for big apple Whole Object 1/7 0.14 Find suitable object Natural object Artifact Target Plant part Instrumentality Pick up an enormous apple [Take] [big] [Object: ] [ :Apple] [ :Banana] 1.0 0.86 Plant organ Furnishing [ :Table] 0.14 Reproductive structure Furniture Edible fruit 6/7 0.86 Table [Object: ] Apple 1.0 Banana

Grounding objects Look for big apple Pick up an enormous apple Find suitable object Find suitable object Find suitable object [Take] [big] [Object: ] Apple Banana Table x2 Object Type x2 1 0.86 0.14 Object Type x2 Object Type [Object: ][ :Apple A] [Object: ][ :Banana] [Object: ][ :Table]

Grounding objects Look for big apple Pick up an enormous apple [Take] [big] [Object: ] Find suitable object Apple A 0.91 Known Items Apple A Apple B Apple C Banana Table Apple A Banana Table Apple B Apple C 0.91 x2 x1 x1 1 0.5 1 1 x1 x1 1 x0.1 1 x1 1 Object Type Size Color Location Closeness Confidence [Object: ][ :Apple A] [big] Apple A Apple B Apple C

Grounding objects Look for big apple Pick up an enormous apple Find suitable object Known Items Apple A Banana Apple A Banana Table Apple B 0.91 0.89 0.47 0.97 [Take] [big] [Object: ] Apple B Table Apple C 0.86 Apple C 0.35 x2 x1 x1 x1 x1 x0.1 x1 Object Type Size Color Location Closeness Confidence Look for <big apple> Apple B 0.97

Grounding objects Look for big apple Execution 1 2 3 Look for <item> Go near <item> Take <item> Apple B View Video (Click)

Emotional component Pipeline overview Emotional Component Personality Defines the agent No evolution over time Curiosity, Shyness, Laziness, Short term feeling Evolve quickly over time Joy, Distress, Fear, Emotion Mood Long term feeling Evolve slowly over time Exuberant, Depressed, Afraid,

Emotional component Emotion inspired OCC model Positive Negative Valenced Reaction Event CONSEQUENCE (OF EVENT) Pleased Displeased ACTION (OF AGENT) Approving Disapproving ASPECT (OF OBJECT) Liking Disliking ACTUAL CONSEQUENCE SELF AGENT OTHER AGENT FAMILIAR ASPECT UNFAMILIAR ASPECT Joy Distress Pride Shame Admiration Reproach Love Hate RELATED CONSEQUENCE RELATED CONSEQUENCE Gratification Remorse Gratitude Anger

Emotional component example Positive Negative Agent has been shocked by a cable, activated by the player CONSEQUENCE (OF EVENT) Pleased Displeased ACTION (OF AGENT) Approving Disapproving ASPECT (OF OBJECT) Liking Disliking ACTUAL CONSEQUENCE SELF AGENT OTHER AGENT FAMILIAR ASPECT UNFAMILIAR ASPECT Joy Distress Pride Shame Admiration Reproach Love Hate RELATED CONSEQUENCE RELATED CONSEQUENCE Gratification Remorse Gratitude Anger

Emotional component Develop a liking or disliking toward what the Agent experiences in the world CONSEQUENCE (OF EVENT) Pleased Displeased ACTUAL CONSEQUENCE Joy Distress Agent has been shocked by a cable, activated by the player 1. Generate a Distress emotion Intensity computed based on the severity of the shock 2. Add a negative affect to cable object electrified predicate An affect has: intensity memorable duration

Emotional component Develop a liking or disliking toward what the Agent experiences in the world Great! The agent does not like the electrified cable anymore. What if we tell him to take it again? Execution 1 2 3 Look for <item> Go near <item> Take <item> Cable I hate <item> Agent refuses. Plan failed.

Emotional component Mood PAD MODEL (Pleasure arousal dominance) Joy P Pleasure-Displeasure How pleasant is an emotion. Joy Fear Reproach Hate Love A D Arousal-Nonarousal Dominance-Submissiveness How intense is an emotion. Rage Boredom How much control and influence the agent has over situations Anger Distress Dominance Distress Arousal Shame Afraid Default Mood (P=0, A=0, D=0)

Emotional component Mood Pleasure arousal dominance model Hate Joy Hate Joy Dominance Dominance Shame Shame Pleasure Pleasure Emotions Intensity Time Emotions Intensity Time Joy 0.5 5s Joy 1.0 5s

Emotional component Mood PAD MODEL (Pleasure arousal dominance) Emotions Joy Intensity 1.0 Hate Joy Hate Shame Hate 0.5 0.75 1.0 Dominance Shame Pleasure Current Mood Exuberant Default Hostile Afraid View Video (Click)

EMOTIONAL COMPONENT Personality Simple structure (utility parameters in [0..1]) Laziness = 0.8 Curiosity = 0.3 Honesty = 0.1 Obedience = 0.9

EMOTIONAL COMPONENT personality View Video (Click)

EMOTIONAL COMPONENT Personality: Laziness Affect Look For action Will favor closer object over farther object Look for <big apple> How can it be done? The lazier the agent, The more important the Closeness axis should be Find suitable object Target 0.?? The weight should depend on the Laziness x0.1 x 0.? Min: 0.1 Max: 7 Laziness Closeness

EMOTIONAL COMPONENT Personality Affect the Decision Making and the Expression Goal Manager: Goal score Planner: Action cost, changing the plan Different set of actions Action Tolerance on Liking/Disliking (objects, etc) Execution Emotion: Change the emotions expression (shyness) Reacts to specific events (curiosity) Mood: default mood Great variation of play - NPCs will feel different to each other

FACTUAL STATEMENTS What about informing the agent about the world? View Video (Click) View Video (Click)

Factual statements What about informing the agent about the world? [There is] [Apple] [On] [Table] Decision Making Goal Manager Planner Listen to Player Execute Order 0.8 X Listen to Player Listen Execution 1 Listen Memory Known Items Fact: Apple [Take] [Apple] Decision Making Goal Manager Listen to Player X Execute Order 0.9 Planner Execute Order Take Go Execution 1 Look For Fact: Apple 2 Go 3 Take Does it exist? We need to ground it!

Factual statements Grounding a fact case of a truth Decision Making [There is] [Apple] [On] [Table] Goal Manager Ground Fact 1.5 Execute Order 0.9 Planner Ground Fact Search Go 1 2 Execution Go <on Table> Search Memory Known Items Fact: Apple Apple [Take] [Apple] Decision Making Goal Manager Ground Fact X Execute Order 0.9 Planner Execute Order Take Go Execution 1 Look For Apple 2 Go 3 Take

Factual statements Grounding a fact case of a lie Decision Making [There is] [Apple] [On] [Table] Goal Manager Ground Fact 1.5 Execute Order 0.9 Planner Ground Fact Search Go 1 2 Execution Go <on Table> Search Memory Known Items Fact: Apple [Take] [Apple] Decision Making Goal Manager Ground Fact X Execute Order 0.9 Planner Execute Order Take Go Execution 1 Look For 2 Go 3 Take

What did we achieved so far Bring more natural interactions: Voice interaction (Speech recognition pipeline) Create more aware, expressive and lively agents Emotional reactions (Emotion, Mood) Have great variations (Personality) Environment awareness Can like/dislike, and react appropriately Refuse to do an action involving something it hates NPCs can reacts to truths and lies

What can we do from here? Relationship development Multi-agents More diverse feedback from the AI-agent I did not understand your speech I did not find what you were talking about I understand but I don t have the ability to execute your order I don t like you, therefore I won t listen to you I don t like the object, therefore I won t execute your order.

All trademarks are the property of their respective owners. NPCs Have Feelings Too: Verbal Interactions with Emotional Character AI Gautier Boeda AI Engineer SQUARE ENIX CO., LTD boedagau@square-enix.com

Annex 1: Personality Player said: Take a green apple Find suitable object Find suitable object Red Apple Green Apple 0.84 0.82 0.63 0.96 x1 x0.3 x7 0.4 0.8 Min: 0.1 Max: 7 Laziness x1 1 x0.3 x7 0.4 Min: 0.1 Max: 7 Laziness Color Closeness Color Closeness 0.82 0.96 0.63 0.84 Laziness: 0.1 1