modeling naive psychology of characters in simple
play

Modeling Naive Psychology of Characters in Simple Commonsense - PowerPoint PPT Presentation

Modeling Naive Psychology of Characters in Simple Commonsense Stories Hannah Rashkin, Antoine Bosselut, Maarten Sap, Kevin Knight & Yejin Choi Paul G. Allen School of Computer Science and Engineering, University of Washington Allen


  1. Modeling Naive Psychology of Characters in Simple Commonsense Stories Hannah Rashkin, Antoine Bosselut, Maarten Sap, Kevin Knight & Yejin Choi Paul G. Allen School of Computer Science and Engineering, University of Washington Allen Institute for Artificial Intelligence Information Sciences Institute, University of Southern California

  2. Inferring Character State Band The band instructor told the band to Players Instructor start playing. excited He often stopped the music when frustrated players were off-tone. They grew tired and started playing annoyed worse after a while. The instructor was furious and threw his chair. angry afraid He cancelled practice and expected us to perform tomorrow. stressed

  3. Reasoning about Naïve Psychology New Story Commonsense Dataset: ● Open text + psychology theory ● Complete chains of mental states of characters ● Implied changes to characters ● Contextualized reasoning https://uwnlp.github.io/storycommonsense/

  4. How do we represent naïve psychology? The band instructor told the band to start playing. He often stopped the music when players were off-tone. Natural Psychology Language Theories Instructor To create a wants wants Esteem good harmony feels feels Anger frustrated

  5. Naïve Psychology Annotations ● Motivation: ○ Causal source to actions ○ Motivational theories ● Emotional Reaction: ○ Causal effect of actions ○ Theories of emotion

  6. Motivation: Maslow Hierarchy of Needs (1943) She sat down on the couch and instantly fell asleep. She sat down to eat lunch.

  7. Motivation: Reiss Categories (2004) Spiritual Growth She sat down on the couch Esteem and instantly fell asleep. Love Stability Food She sat down to eat lunch. Physiological

  8. Emotional Reaction: Plutchik (1980) Plutchik’s Wheel Their favorite uncle died. 8 “main” emotions: feel Sadness Suddenly, they heard a loud noise. feel Fear, Surprise

  9. Implicit Mental State Changes The band instructor told the band to start playing. He often stopped the music when players were off-tone. They grew tired and started playing worse after a while. The instructor was furious and threw his chair. How are players affected? à implicitly involved à inference in these cases

  10. Tracking Mental States The band instructor told the band to start playing. He often stopped the music when players were off-tone. They grew tired and started playing worse after a while. The instructor was furious and threw his chair. He cancelled practice and expected us to perform tomorrow. Why does the instructor cancel practice? à based on previous info à need to incorporate context

  11. Related Work ● Reasoning about narratives (Mostafazadeh et al 2016) ● Detecting emotional content (Mohammad et al 2013) or stimuli (Gui et al 2017) of a statement Our work: ● Both motivation and emotion for a character’s outlook ● Leverage psychology theories and natural language explanations

  12. Full Annotation Chain Maslow, Reiss motivations Story + open text Action Motivation Characters Emotional Affect Reaction Plutchik emotions + open text

  13. Story Action Motivation Full Annotation Chain Characters Emotional Affect Reaction Sarah is swimming. Sarah gets attacked by a shark. Sarah fights off the shark. Sarah escapes the attack. Sarah lost her eye battling the shark. Sarah : {1,2,3,4,5} Characters A Shark : {2,3,5}

  14. Story Action Motivation Full Annotation Chain Characters Emotional Affect Reaction Sarah is swimming. Sarah gets attacked by a shark. Sarah fights off the shark. Motivation Action Sarah: Stability Is Sarah taking “to escape to safety” action: Yes

  15. Story Action Motivation Full Annotation Chain Characters Emotional Affect Reaction Sarah is swimming. Sarah gets attacked by a shark. Sarah fights off the shark. Emotional Affected Reaction Shark: Does the Shark Anger, have a reaction? “aggressive” Yes

  16. Full Annotation Chain Split into multiple stages Story Maslow, Reiss Action Motivation motivations + Free response Characters Plutchik emotions Emotional Affect + Free response Reaction

  17. Character Identification Sarah is swimming. Sarah gets attacked by a shark. Sarah fights off the shark. Sarah escapes the attack. Sarah lost her eye battling the shark. Sarah: {1,2,3,4,5} Characters A Shark: {2,3,5}

  18. Motivation Sarah fights off the shark. Motivation Action Sarah: Is Sarah taking Stability action: Yes “to escape to safety”

  19. Emotional Reaction Sarah fights off the shark. Emotional Affected Reaction Shark: Can the Shark’s Anger, outlook be “aggressive” inferred? Yes

  20. Data Collection Summary Over 300k low-level annotations for 15k stories from ROC training set Open-text Open-text + categories train dev test # character-line pairs 200k 25k 23k … w/ motivation >50k motiv. 40k 9k 7k change changes … w/ emotional >100k emotion 77k 15k 14k reaction change changes

  21. Annotated Data Distributions (Motivation) ● Fair amount of diversity in the open-text ● ~1/3 have positive motivation change: Sampled Open-text % Annotations where selected Explanations become experienced .17 Spir. growth meet goal; to look nice .22 Esteem to support his friends .29 Love be employed; stay dry .30 Stability .13 Phys. rest more; food

  22. Annotated Data Distributions (Emotion) ● Lots of happy stories ● ~2/3 have positive emotion change: Sampled Open-text Explanations % Annotations where selected .14 disgust outraged .33 surprise dismayed .16 anger enraged .25 trust touched .23 sadness excluded .49 anticipation future oriented .51 joy happier .20 fear frozen in fear

  23. New Tasks Given a story excerpt and a character can we explain the mental state: ● Explanation Generation: Generate open-text explanation of motivation/emotional reaction ● State Classification: Predict Maslow/Reiss/Plutchik category

  24. Task 1 - Explanation Generation Explain mental state of character using natural language Input Output The band instructor told “Feels the band to start playing. confident” Open Text Explanation Story Text Excerpt + Character

  25. Modeling Story Text + Character ● Using encoder-decoder framework Encoder ! "#$ ● Encoders - LSTM, CNN, REN, NPN ℎ = ! "#$ ((, *ℎ+,) ● Decoder for generation: single layer LSTM Decoder expl = ! 2"# (ℎ) “Feels confident”

  26. Encoding Modules 4 and line 5 6 (and entity-specific context Given entity 3 sentences 5 7 3 4 ) 8 = 9 :;< = > , = ? @ A Encoding functions: ● CNN, LSTM: encode last line and context -- concatenate

  27. Entity Modeling ● Recurrent Entity Networks (Henaff et al 2017) Store separate memory cells for each story character ○ Update after each sentence with sentence-based hidden states ○ ● Neural Process Networks (Bosselut et al 2018) Also has separate representations for each character ○ Updates after each sentence using learned action embeddings ○

  28. Explanation Generation Set-up Evaluation: Cosine similarity of generated response to reference Random baseline: Select random answer from dev set ○ Responses are short/formulaic ○ Words for describing intent/emotion are close in embedding space

  29. Explanation Generation Results Cos. Similarity to Reference 90 80 70 60 53.9 51.8 45.8 50 40.0 40 30 Motivation (VE) Emotion (VE) Random LSTM CNN REN NPN

  30. Task 2 – Mental State Classification Predicting psychological categories for mental state Input Output The band instructor told anticipation the band to start playing. Theory Story Text Excerpt + Character categories

  31. Modeling Story Text + Character ● Using encoder-decoder Encoder ! "#$ framework ℎ = ! "#$ ((, *ℎ+,) ● Encoders - LSTM, CNN, REN, NPN ● Decoder for categorization: Decoder logistic regression cat = ! $`abb (ℎ)

  32. State Classification Set-Up ● 80% of dev set - tuning predictions ● Each category as binary variable ● F1 - taking # true positives across all classes Recall = # True Positive # True Positive # Actual Positive Precision = # Predicted Positive 2 F q = prec + 1 1 rec

  33. State Classification Results • CNN and F1 Performance 40 LSTM perform 35 best on 30 motivation 25 categories 20 15 • Entity 10 modeling has 5 slight 0 improvement Maslow Reiss Plutchik in Plutchik Random LSTM CNN REN NPN

  34. Further Improvement F1 Performance 90 Best F1 80 70 at ~35% 60 50 40 30 20 10 0 Maslow Reiss Plutchik Random LSTM CNN REN NPN

  35. Effect of Entity Specific Context F1 w/ and w/o context Including previous lines from context that include 35 entity 30 25 Entity specific context: 20 improves all models F1 15 by about 3-5% 10 5 0 MASLOW REISS PLUTCHIK CNN CNN w/ context

  36. Pre-training Encoders Story Text + Character We have more open-text explanations than category Encoder ! "#$ annotations: ℎ = ! "#$ ((, *ℎ+,) 1. Pre-train encoders on open- text explanations 2. Fine-tune with the categorical Decoder labels cat = ! $`abb (ℎ) expl = ! 2"# (ℎ) “Feels confident”

  37. Effect of Pretrained Encoders F1 w/ and w/o Pretrained Encoders 40 35 30 Improves: 25 20 1-2% 15 10 5 0 Maslow Reiss Plutchik CNN CNN +pre-training

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend