Modeling Collective Emotions · Modeling Collective Emotions Frank Schweitzer COST Workshop Vienna,...
Transcript of Modeling Collective Emotions · Modeling Collective Emotions Frank Schweitzer COST Workshop Vienna,...
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 1 / 38
Modeling collective emotions
A stochastic approachbased on Brownian agents
Frank Schweitzer
in collaboration with:David Garcia, Antonios Garas
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 2 / 38
Outline
1 What are Emotions?
2 Quantifying Emotions
3 Cyber Emotions
4 Modeling Cyber Emotions
5 Applications
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 3 / 38
Chair of Systems Design at ETH Zurich
Main Research AreasI Economic Networks & Social Organizations
F e.g. ownership networks, R&D networks, financial networks, ...F e.g. online communities, OSS projects, animal societies, ...
UD
A
modify used byused by
communicatecom.com.
Methodological Approach: Data Driven ModelingI economic databases: ORBIS, Bloomberg, patent databasesI online data: user interaction, communication records, blogs
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 3 / 38
Chair of Systems Design at ETH Zurich
Main Research AreasI Economic Networks & Social Organizations
F e.g. ownership networks, R&D networks, financial networks, ...F e.g. online communities, OSS projects, animal societies, ...
UD
A
modify used byused by
communicatecom.com.
Methodological Approach: Data Driven ModelingI economic databases: ORBIS, Bloomberg, patent databasesI online data: user interaction, communication records, blogs
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 4 / 38
What are Emotions?
Outline
1 What are Emotions?
2 Quantifying Emotions
3 Cyber Emotions
4 Modeling Cyber Emotions
5 Applications
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 5 / 38
What are Emotions?
What are emotions?
reflex reactions neural responses psycological states cognitive processes
moodcore affectphysiological level
lifetime behavior
personality traitslog t
...
Definition: Psychological states of high relevance for theindividual that imply cognitive and physiological effectsI short-lived psychological states that consume individual’s energy and
strongly bias behavior (for example expression)
Different levels of description:I Physiological level: brain parts active during emotion (e.g amigdala)I Core affect: basic psychological components of emotionsI Mood: long-term psychological states related to cognitive antecedentsI Personality traits: lifelong factors of personality sustained by emotions
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 6 / 38
What are Emotions?
Representation of emotions
(Credit: Calder et al. 2001)
Russell’s dimensional model
Valence
Pleasure associated with theemotion.
Arousal
Degree of activity induced by theemotion.
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 7 / 38
What are Emotions?
A big difference: Happiness network
a
aFowler, Christakis, 2008
time aggregated clusters of happyindividuals based on two snapshotswithin 20 years
correlations don’t show collectiveemotional states, but global lifetimehappiness
hypothesis of happiness contagionis not verified
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 8 / 38
Quantifying Emotions
Outline
1 What are Emotions?
2 Quantifying Emotions
3 Cyber Emotions
4 Modeling Cyber Emotions
5 Applications
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 9 / 38
Quantifying Emotions
FP7 European project
EU Project on Cyber Emotions (CE) http://www.cyberemotions.eu/
To understand the role of collective emotions in creating, forming andbreaking-up ICT mediated communities as a spontaneous emergentbehaviour occurring in complex techno-social networks
Funded by 7th Framework Programme (start 02/2009)
Collaboration of 8 European universities for 4 years
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 10 / 38
Quantifying Emotions
Detecting emotions in text
Emotional Posts in Fora
Example of a negative (left) and a positive (right) post
Threads analysed in two different waysI text-based emotion classification ⇒ sentiment analysisI measuring physiological responses of users
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 11 / 38
Quantifying Emotions
Detecting emotions in text
Text-based emotion classificationAnnotated lexiconI positive and negative score for predefined words
Supervised learningI training set: annotated text, output: subjectivity, polarity
inputtext
C1
C2neutral
trainingset
positive negative
subj
obj
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 12 / 38
Quantifying Emotions
Detecting emotions in text
Survey based lexicon (ANEW)I dataset of word emotionality ⇒ valence, arousal, dominanceI improvement: stemming of words ⇒ better accuracy, recall
∗
∗P. S. Dodds, C. M. Danforth, 2010Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 13 / 38
Quantifying Emotions
Detecting emotions from physiological response
Measuring physiological response
physiological response to classified pictures† and foraI monitoring heart rate, skin conductance, frowning and smilingI already known to correlate with valence and arousal
†IAPS - International affective picture systemChair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 14 / 38
Quantifying Emotions
Detecting emotions from physiological response
Heart rate and skin conductance
0 5 10 15 20 25 30
60
70
80
90
10
01
10
12
0
v1
v2
0 5 10 15 20 25 30
−1
.0−
0.5
0.0
0.5
1.0
v1
v4
1270 variables in SSPS data
Baseline extraction, rescaling ⇒ time series analysis
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 15 / 38
Quantifying Emotions
Detecting emotions from physiological response
The Zygomaticus peak
0.00 0.02 0.04 0.06 0.08 0.10
010
20
30
40
t
Zyg
z(t) =
{z0e(β1(x−Θ)) x ≤ Θ,
z0e(β2(x−Θ)) x > Θ.
uniform distribution of peaktime Θ
Yet to understand relationbetween valence and parametersof fit
tools to estimate valence from physiological data
training from valence values of IAPS emotional picture system.
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 16 / 38
Cyber Emotions
Outline
1 What are Emotions?
2 Quantifying Emotions
3 Cyber Emotions
4 Modeling Cyber Emotions
5 Applications
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 17 / 38
Cyber Emotions
Examples of Cyber Emotions
Exogeneously triggered CE
example: Michael Jackson’s deathI shared sadness about the event⇒ synchronization of mio of independent emotional expressions
I vast increase of user activity ⇒ breakdown of news sites, twitter
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 18 / 38
Cyber Emotions
Examples of Cyber Emotions
Endogeneously triggered CE
example: The Boxxy phenomenon‡
I video created strong emotional polarization among mio. of netizensI community formation built on collective emotionI spread into other online-communities ⇒ Boxxy became a meme
‡Most subscribed channel in YouTube, Jan 2009Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 19 / 38
Modeling Cyber Emotions
Outline
1 What are Emotions?
2 Quantifying Emotions
3 Cyber Emotions
4 Modeling Cyber Emotions
5 Applications
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 20 / 38
Modeling Cyber Emotions
Emotional Brownian Agents
Modeling framework: Brownian agents
Agent i state variables uki (t)
Dynamics based on principle of causality:
Effect ⇐= Causeschanges of ui deterministic + stochastic influences
duidt = fi (u, σ, t) + Ai ξi (t)
fi (u, σ, t): considersI nonlinear interaction with other agents j ∈ NI external conditions (information, resources)I eigendynamics (relaxation, internal dynamics)
Ai : “other” (fast, heterogeneous) influences
‡Frank Schweitzer: Brownian Agents and Active Particles. On the Emergence ofComplex Behavior in the Natural and Social Sciences, Berlin: Springer (2003)
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 21 / 38
Modeling Cyber Emotions
Emotional Brownian Agents
Modeling framework: Schema
a s v
h
I
agents described by arousal a, valence v , expression s
arousal causes expression wrt on valence
emotional information stored in field h
valence and arousal are affected by the field‡
F.S., D. Garcia: D. An agent-based model of collective emotions in online communities, European PhysicalJournal B (October 2010), http://arxiv.org/abs/1006.5305
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 22 / 38
Modeling Cyber Emotions
General model
Emotional information
emotional information is stored in a communication field
h± = −γh±h±(t) + sn±(t) + I±(t)
I field components for positive and negative emotional informationI information does not last forever → decay of importance γh±I user impact on the field and external information
other agents have access to these mediaI different forms of access possible (e.g. broadcast)I mean-field approximation of bidirectional communication
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 23 / 38
Modeling Cyber Emotions
General model
Emotional states
emotional state of agent i : Ei (t) = {vi (t), ai (t)}without external/internal excitation: vi (t)→ 0, ai (t)→ 0I relaxation into a ’silent’ mode
dynamics of the Brownian agent:
vi = −γvi vi (t) + Fv + Avi ξv (t)
ai = −γai ai (t) + Fa + Aai ξa(t)
I γvi , γai : decay on valence and arousalI Fv , Fa: reflect specific influences
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 24 / 38
Modeling Cyber Emotions
General model
Valence
emotional information affects valence of others through Fv
I agents respond to positive and negative information at the same timeorI agents with positive emotions (vi (t) > 0) respond to positive
information, and vice versa.
nonlinear influence of information, dependent on valence
Fv [h±(t), vi (t)] = h±(t)n∑
k=0
bkvk(t)
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 25 / 38
Modeling Cyber Emotions
General model
Arousal
nonlinear feedback between emotional information and arousalI all emotional information affects arousal of others
subthreshold dynamics: nonlinear response
Fa ∝ (h+(t) + h−(t))n∑
k=0
ckak(t)
after expressing emotion, arousal is set back to zero
ai = ˙ai (t) Θ[Ti − ai (t)]− ai (t) Θ[ai (t)− Ti ]
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 26 / 38
Modeling Cyber Emotions
General model
Emotional expression
ai (t) > Ti : agent takes actionI expresses emotions in blogs, fora, reviews, ...
si (t + ∆t) = f [vi (t)] Θ[ai (t)− Ti ]
different assumptions: f [vi ] = vi , or f [vi ] = s · sign(vi ) ⇒importance, distribution: P(∆t) ∝ ∆t−α
the more important the emotion, the shorter the waiting time
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 26 / 38
Modeling Cyber Emotions
Emergence of collective emotions
Valence dynamics
Cubic dependence on the valence
v = −γvv(t) + h±(t){
b0 + b1v(t) + b2v 2(t) + b3v 3(t)}
I allow for ’silent’ mode: v(t)→ 0: b0 = 0I positive and negative valences ’equal’: b2 = 0
collective emotions emerge if b1 · h± > γv⇒ regime with high emotional information (!)
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 27 / 38
Modeling Cyber Emotions
Emergence of collective emotions
Valence distribution
−2 −1.5 −1 −0.5 0 0.5 1 1.5 20
20
40
60
80
100
120
v
num
age
nts
−2 −1.5 −1 −0.5 0 0.5 1 1.5 20
20
40
60
80
100
120
140
v
num
age
nts
ps(v) under low h ps(v) under high h
polarization of emotions emerges under high information exchange
agreement of analytical results with simulations
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 28 / 38
Modeling Cyber Emotions
Emergence of collective emotions
Arousal dynamics
quadratic dependence on the arousal
a = −γaa(t) + h(t){
d0 + d1a(t) + d2a2(t)}
response to total information h(t) = h+(t) + h−(t)
initial bias to positive arousal d0 > 0
if d2 6= 0, two possible solutions
two cases:1 d2 < 0 lower solution unstable, higher stable ⇒ one CE2 d2 > 0 lower solution stable, higher unstable ⇒ fluctuating CEs
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 29 / 38
Modeling Cyber Emotions
Emergence of collective emotions
Arousal bifurcation
below certain value of the field, the system is highly nonstationaryI positive arousals increase the field
when the field is high, agents can stabilize in negative arousalsI field starts to decay
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 30 / 38
Modeling Cyber Emotions
Emergence of collective emotions
Collective emotion oscillations, Ti ∼ U(Tmin,Tmax)
0 10 20 30 40 500
5
10
15
20
25
30
t
n a
0 10 20 30 40 50−1.5
−1
−0.5
0
0.5
1
t
a i
amount of agents expressing emotions fuctuates
appearance and fading of collective emotions can be observed
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 31 / 38
Modeling Cyber Emotions
Emergence of collective emotions
Collective emotion oscillations
0 10 20 30 40 50−0.5
0
0.5
t
v −
v+
0 10 20 30 40 50
−1
−0.5
0
0.5
1
t
v i
valence polarizes with activity fluctuations
agent trajectories show change in emotions
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 32 / 38
Applications
Outline
1 What are Emotions?
2 Quantifying Emotions
3 Cyber Emotions
4 Modeling Cyber Emotions
5 Applications
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 33 / 38
Applications
Risks and Benefits of Cyber Emotions
Example: Productivity in OSS
SNF project: Impact of social interactions on software evolution
impact on emergence of collaboration
I Why do people contribute to OSS at all?I emotions solve cooperation paradox ⇒ explain responsibility
impact on project success/failure
I role of emotional feedback of users and empathy of developersI emotions as building blocks of self-organized, non-profit community
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 34 / 38
Applications
Risks and Benefits of Cyber Emotions
Example: OSS Forum fights
Open Source Software fora show bursts of negative conversationsbetween users and developers:
OSS projecthampered by CE
Effect: fork ofPidgin intoFunPidgin
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 35 / 38
Applications
Risks and Benefits of Cyber Emotions
Example: Impact on product reviews
Amazon, Dooyoo - Burst patterns
2008 20090
1000
2000
3000
4000
t 2006 2007 2008 2009 2010
0
50
100
150
200
250
300
t
Reviews per week for ”Harry Potter and the Deathly Hallows” (left) and ”Marley and Me”(right). Amount of ratings (blue), total positive score (green) and total negative score(red) of emotions.
different scenarios: marketing campaign vs word of mouth
combined effect of product experience and herding effects
feedback between mechanism design (recommender systems,incentive schemes) and collective emotions
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 36 / 38
Applications
Risks and Benefits of Cyber Emotions
CE Project: Benefits for online communities
virtual humansI emotional interaction beyond textual expression
visualization of collective emotionsI monitoring and prediction of emotional state of community
emotional chatbotsI mitigate emotional problems, online conflicts, encourage
cooperation, interaction ⇒ Artificial emotional intelligence
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 37 / 38
Applications
Risks and Benefits of Cyber Emotions
Further benefits for online communities
Fora / discussion groupsI mediation ⇒ mitigate risks, improve user experience
Social networksI monitoring interface to real societal emotionsI key point for success in social networks (twitter vs myspace)
ChatroomsI real-time chat assistance with emotional support and/or activity
encouragement
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 38 / 38
Conclusions
emotionsI differ from opinions(!), quantified by valence, arousalI collective emotions important in decision processes
empirics on emotions/cyber emotionsI sentiment mining in text, physiological responsesI CE: exogeneously/endogeneously triggered, long-tail of human i.
agent based model of collective emotionsI considers psychological variables (arousal, valence)I provides testable hypotheses on agent’s responseI predicts distribution of valence ⇒ data comparison
applicationsI mitigating risks of CE, fostering benefits of CEI developing bots to enhance user interaction
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 38 / 38
Conclusions
emotionsI differ from opinions(!), quantified by valence, arousalI collective emotions important in decision processes
empirics on emotions/cyber emotionsI sentiment mining in text, physiological responsesI CE: exogeneously/endogeneously triggered, long-tail of human i.
agent based model of collective emotionsI considers psychological variables (arousal, valence)I provides testable hypotheses on agent’s responseI predicts distribution of valence ⇒ data comparison
applicationsI mitigating risks of CE, fostering benefits of CEI developing bots to enhance user interaction
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 38 / 38
Conclusions
emotionsI differ from opinions(!), quantified by valence, arousalI collective emotions important in decision processes
empirics on emotions/cyber emotionsI sentiment mining in text, physiological responsesI CE: exogeneously/endogeneously triggered, long-tail of human i.
agent based model of collective emotionsI considers psychological variables (arousal, valence)I provides testable hypotheses on agent’s responseI predicts distribution of valence ⇒ data comparison
applicationsI mitigating risks of CE, fostering benefits of CEI developing bots to enhance user interaction
Chair of Systems Designhttp://www.sg.ethz.ch/
Modeling Collective Emotions Frank Schweitzer COST Workshop · Vienna, Austria 26-28 November 2010 38 / 38
Conclusions
emotionsI differ from opinions(!), quantified by valence, arousalI collective emotions important in decision processes
empirics on emotions/cyber emotionsI sentiment mining in text, physiological responsesI CE: exogeneously/endogeneously triggered, long-tail of human i.
agent based model of collective emotionsI considers psychological variables (arousal, valence)I provides testable hypotheses on agent’s responseI predicts distribution of valence ⇒ data comparison
applicationsI mitigating risks of CE, fostering benefits of CEI developing bots to enhance user interaction
Chair of Systems Designhttp://www.sg.ethz.ch/