Modelling Valence and Arousal in Facebook Posts Lyle Ungar D. - - PowerPoint PPT Presentation

modelling valence and arousal in facebook posts
SMART_READER_LITE
LIVE PREVIEW

Modelling Valence and Arousal in Facebook Posts Lyle Ungar D. - - PowerPoint PPT Presentation

Modelling Valence and Arousal in Facebook Posts Lyle Ungar D. Preot iuc-Pietro, H.A. Schwartz G. Park, J. Eichsteadt, M. Kern, E. Shulman Positive Psychology Center University of Pennsylvania 16 June 2016 Motivation Data Sources Product


slide-1
SLIDE 1

Modelling Valence and Arousal in Facebook Posts

Lyle Ungar

  • D. Preot

¸iuc-Pietro, H.A. Schwartz

  • G. Park, J. Eichsteadt, M. Kern, E. Shulman

Positive Psychology Center University of Pennsylvania

16 June 2016

slide-2
SLIDE 2

Motivation

Data Sources Product reviews Opinions towards products, restaurants, events, etc. Long, more structured Affective states Feelings towards self or

  • thers.

Short, less structured Models of product sentiment and emotion should be different

slide-3
SLIDE 3

Motivation

Models of emotion Discrete Emotions

Most popular in NLP are Ekman’s six emotions: anger, disgust, fear, joy sadness, surprise Some emotions driven by similar words (hell, bad → sadness, fear, anger)

Dimensional Models

Each affective state is a combination of real-valued components Most popular is the circumplex model (Russel 1980, Posner 2005)) Two independent neurophysiological systems: valence (or sentiment) and arousal

Matsumoto & Ekman - Japanese and Caucasian Facial Expressions of Emotion

slide-4
SLIDE 4

Emotion Circumplex

Source: Jonker & Van der Merwe - Emotion episodes of Afrikaans-speaking employees in the workplace

slide-5
SLIDE 5

Applications

Goal: Automated large-scale psychological studies

  • measuring time-of-day and day-of-week mood swings
  • and what causes them
  • mental illness detection
  • bipolar, schizophrenic breaks ...
  • analysing movies and books
  • and how they vary in emotion content
  • correlating with external effects
  • e.g. weather, sports game outcomes, ...
slide-6
SLIDE 6

Measuring Valence and Arousal

  • Valence (or sentiment or polarity)
  • 1 (very negative) – 5 (neutral/objective) – 9 (very positive)
  • Arousal (or intensity)
  • 1 (neutral/objective post) – 9 (very high intensity)
slide-7
SLIDE 7

Examples

Message V A Is the one whoz GOing to Light Up your Day!!!!!!!!!!!! 7 8 Blessed with a baby boy today ... 7.5 2 the boring life is back :( ... 3 2.5 IS SUPER STRESSED AND ITS JUST THE SEC- OND MONTH OF SCHOOL ..D: 2.5 7 Example of posts annotated with average valence (V) and arousal (A) ratings.

slide-8
SLIDE 8

Data Source

3120 Facebook posts Stratified by:

  • Age (13-35)
  • Gender (M/F)

Each message from a distinct user All messages from the same time interval

slide-9
SLIDE 9

Annotation

Two annotators:

  • psychology students
  • received training in annotating these traits, including

anchoring

  • no distractions that may affect they mood (music, etc.)

Messages are un-ratable if they are not in English or contain no cues

  • 235 messages (∼7.5%)
  • Cohens Kappa κ = .93
slide-10
SLIDE 10

Annotation Results

1 2 3 4 5 6 7 8 9 Valence 100 300 500 700 900 Number of posts

Valence

1 2 3 4 5 6 7 8 9 Arousal 100 300 500 Number of posts

Arousal Histograms of average rating scores. Valence–Arousal → r = 0.222 Valence–Arousal → r = 0.085 (ignoring neutral posts)

slide-11
SLIDE 11

Gender and Age Differences

4.5 5.0 5.5 6.0 15 20 25 30 35

Age Valence

2.0 2.5 3.0 3.5 4.0 4.5 15 20 25 30 35

Age Arousal

Variation in valence and arousal with age in our data set using a LOESS fit. Data is split by gender: Male and Female.

slide-12
SLIDE 12

Predicting Valence & Arousal

Train a classifier for predicting valence and arousal separately Features: Bag-of-words (only unigrams) Model: Linear regression with elastic net regularization Test: 10 fold cross-validation

slide-13
SLIDE 13

Baseline Models

  • 1. ANEW
  • valence and arousal ratings for ∼1400 words (Bradley and

Lang, 1999)

  • 2. AffNorms
  • valence and arousal ratings for ∼14000 words (Warriner et

al., 2013)

  • 3. MPQA
  • 7629 words rated for positive or negative sentiment (Wilson

et al. 2005)

  • 4. NRC
  • Hashtag Sentiment Lexicon adapted to Social Media

(Mohammad et al., 2013)

slide-14
SLIDE 14

Results

.307 .113 .385 .405 .650 .085 .188 .000 .000 .850

.0 .1 .2 .3 .4 .5 .6 .7 .8 .9

ANEW AffNorms MPQA NRC BOW Model Valence Arousal

Message rating prediction accuracy (in Pearson r). Results on 10 fold cross-validation.

slide-15
SLIDE 15

Quantitative Analysis – Valence

+ Valence r – Valence r ! .251 hate

  • .163

:) .237 :(

  • .159

birthday .212 ?

  • .117

happy .197 sick

  • .112

thank .196 why

  • .102

great .195 :’(

  • .094

love .195 not

  • .093

thanks .179 bored

  • .092

wishes .170 stupid

  • .089

wonderful .159 ...

  • .087

Words most positively and negatively correlated with valence

slide-16
SLIDE 16

Quantitative Analysis – Arousal

+ Arousal r – Arousal r ! .773 ...

  • .206

birthday .097 .

  • .164

happy .081 status

  • .064

its .079 life

  • .064

wishes .076 people

  • .060

soooo .074 bored

  • .059

thanks .073 :/

  • .056

christmas .071

  • f
  • .056

sunday .069 deal

  • .056

yay .064 every

  • .054

Words most positively and negatively correlated with arousal

slide-17
SLIDE 17

Quantitative Analysis - Circumplex

0.2 0.1 0.0 0.1 0.2 Valence 0.2 0.1 0.0 0.1 0.2 Arousal hate :) :( :'( ... ? happy great bored yay life ! blessed excited soooo Happy Relaxed Sad Angry hate :) :( :'( ... ? happy great bored yay life ! blessed excited soooo don't Happy Relaxed Sad Angry hate :) :( :'( ... ? happy great bored yay life ! blessed excited soooo don't <3 sick Happy Relaxed Sad Angry hate :) :( :'( ... ? happy great bored yay life ! blessed excited soooo don't <3 sick fuck Happy Relaxed Sad Angry

slide-18
SLIDE 18

Take Aways

Reviews Personal Feelings Valence/Arousal Discrete Emotions Annotated Facebook data set and bag-of-words model available http://wwbp.org/publications.html http://lexhub.org/

slide-19
SLIDE 19

Thank You!

Thank you! Questions?

+ Valence – Valence

relative frequency

a

a

a

correlation strength

slide-20
SLIDE 20

Quantitative Analysis – Valence

+ Valence – Valence

relative frequency

a

a

a

correlation strength

slide-21
SLIDE 21

Quantitative Analysis – Arousal

+ Arousal – Arousal

relative frequency

a

a

a

correlation strength

slide-22
SLIDE 22

Agreement

Dimension R1 µ ± σ R2 µ ± σ IA Corr. Valence 5.274 ± 1.04 5.250 ± 1.49 .768 Arousal 3.363 ± 1.96 3.342 ± 2.18 .827 Individual rater mean and standard deviation and inter-annotator correlation (IA Corr)