High‐Level Semantic Modeling
Shih‐Fu Chang
Digital Video Multimedia Lab, Columbia University CVPR Tutorial, June 2014
1200 SentiBank Concepts Predict Sentiment
High Level Semantic Modeling Shih Fu Chang Digital Video Multimedia - - PowerPoint PPT Presentation
High Level Semantic Modeling Shih Fu Chang Digital Video Multimedia Lab, Columbia University CVPR Tutorial, June 2014 1200 SentiBank Predict Sentiment Concepts Interestingness Aesthetics Beyond Semantics Style Emotion Others:,
Digital Video Multimedia Lab, Columbia University CVPR Tutorial, June 2014
1200 SentiBank Concepts Predict Sentiment
Others:, Creativity, Intent, Memorable …
Murrary et al CVPR 2012 (AVA)
Murrary et al CVPR 2012 (AVA) Gaussian distribution a reasonable fit
Murrary et al CVPR 2012
Fisher Vector #Components
Murrary et al CVPR 2012
9
Cinematographic Evaluation Additional Filter for Web video search Personal Video Collection
(Bhattacharya et al, ACMMM 2013)
Input Video Shot Keyframe Cell
Motion
Fused Aesthetic Model Query Video Predicte Appeal
Shot Level Aesthetic Models Frame Level Aesthetic Models Cell Level Aesthetic Models
(Bhattacharya et al, ACMMM 2013) (Subh Bhattacharya et al, ACMMM 2013)
(Bhattacharya et al, ACMMM 2013)
S.F. Chang 12
Sagnik Dhar et al, 2011
S.F. Chang 13
S.F. Chang 14
Michael Gygli et al, 2013
Psychology emotion wheel (8 emotions, by Robert Plutchik)
15
Plenty on the Web: “For content to go viral, it needs to be emotional,” Dan Jones ‐ Dan Jones
@BarackObama: Four more years. @Brynn4NY: Rollercoaster at sea.
2012 Tweets of the Year
16
17
Machajdik and Hanbury, ACMMM 2010
IAPS Affect Data set Art Affect Data set
Build Sentiment Ontology Psychology emotion wheel (8 emotions) Robert Plutchik, ‘91 Discover sentiment words
Select Concepts
SAD EYES MISTY WOODS
18
Analyze tags with strong sentiments
Borth, Ji, Chen, Breuel, Chang, Large‐Scale Visual Sentiment Ontology, ACM Multimedia 2013
S.F. Chang 19
From 6 million tags on Flickr and YouTube Color code: text sentiment values
S.‐F. Chang
S.F. Chang 22
– ANIMALS – FLORA – PERSON – OBJECTS – NATURAL PLACES – MAN‐MADE PLACES – VEHICLE – FICTIONAL_CREATURES – FOOD – ABSTRACT_CONCEPTS – ART_PHOTOGRAPHY – EVENTS – ACTION – WEATHER_CONDITIONS – TIME
S.F. Chang 23
S.F. Chang 24
SentiBank (1200 Detectors) Build Sentiment Ontology Psychology emotion wheel (24 emotions) Discover sentiment words
Select Adj‐Noun Pairs
Train Classifiers Performance Filtering Sentiment Prediction
SAD EYES MISTY WOODS
S.F. Chang 28
S.F. Chang 29
by spectral and spatial measures
color space (low vs high)
Spencer model, which defines compatibility of two color values (example of compatible color)
masochismtango@flickr houseofduke@flickr HIKARU Pan@flickr Jules3000@flickr springlakecake@flickr ebonique2007@flickr hurlham@flickr houseofduke@flickr
“Smiling dog”: tongue visible, mouth open, face camera, close shot, pink tongue, open mouth, frontal dog face “Tired dog”: lying on floor or surface, closed eyes, yawning, resting, no action, fore legs, paws, face on floor
Training Images of Same Noun (e.g. dog)
Object (noun) Detector HOG, DPM
Feature Extraction
white balance, etc.)
size, position)
Discard
Soft Adj. Labels
ConceptNet, SentiStrenth, human labels
Weighted SVMs: ANP Classifiers + Feature selection:
Yes No
cute sad wet
Adjectives:
cute dog sad dog wet dog
SamFan1@flickr Bahman Farzad@flickr zoompict@flickr BloodyGoku21@flickr
Testing Images
dog?
Candidates + Features
cute dog? sad dog? wet dog?
ANP Classifiers:
face? car?
Candidates + Features
mad face? silly face? face?
Candidates + Features
hot car? tiny car? safe car? Fuse Noun Score:
Max Score Output:
sweet
epSos.de@flickr Karf Oohlu@flickr rollinoldman@flickr green_lover@flickr NiH@google+ houseofduke@flickr paevalill@flickr ccdoh1@flickr flatworldsedge@flickr
Cute dog Tiny dog Fluffy dog
35
Label prediction loss proportion loss
Image set of “Fluffy Dog” has proportion pk being “Cut Dog” Image set of “Tiny Dog” has proportion pk being “Cut Dog” proportions can be approximated by ConceptNet
K.‐T. Lai; F. X. Yu; M.‐S. Chen; S.‐F. Chang. CVPR 2014
SentiBanks with Object/Attribute SentiBank 1
S.F. Chang 38
http://visual‐sentiment‐ontology.appspot.com/
Shih‐Fu Chang 39
1200 Classifiers Predict Sentiment
True stuff. I have mad respect for all the ladies that DO NOT give in to abortion. #groundzero #hurricanesandy #newjersey True stuff. I have mad respect for all the ladies that DO NOT give in to abortion. #groundzero #hurricanesandy #newjersey Ouch mr police man PhotoTweet Stream:
40
@nickespo89 @charleslawrence @radiodario
Positive? Neutral? Negative?
True stuff. I have mad respect for all the ladies that DO NOT give in to abortion.
Amazon Mechanic Turk Sentiment/Emotion Label: (image‐based labeling) worker 1: Positive, trust:acceptance worker 2: Neutral, interest:unlabeled,sad:pensiveness worker 3: Positive, interest:interest (text‐based labeling) worker 1: Positive, joy:serenity,trust:acceptance worker 2: Positive, anger:neutral,interest:interest,joy:serenity,trust:acceptance worker 3: Negative, sad:sadness (text‐image‐based labeling) worker 1: Positive, joy:serenity,sad:neutral worker 2: Positive, interest:interest,joy:joy,sad:neutral,surprise:distraction worker 3: Positive, joy:serenity,surprise:neutral,trust:trust
S.F. Chang 41
@nickespo89
S.F. Chang 42
#nyc,#hurricane,#sandy,#hurricanesandy, #staysafe, #redcross,#myheartgoesouttoyou,…
negative) agreed by 2 annotators
S.F. Chang 43
S.F. Chang 44
Discover sentiment words SAD EYES MISTY WOODS BEAUTIFUL DOG MOODY
Publisher Viewer
S.F. Chang 45
Popular Responses Responses for “SAD” images
46
Looks so delicious!!
PAC‐VAC Correlation Models
Viewer Affect Concept (VAC)
delicious
hungry yummy
nice happy
tasty
fat
cool Publisher Affect Concept (PAC)
…
yummy meat
traditional celebration
hot food delicious food
great food
SentiBank [Borth, ACM MM’13]
47
P(vj | di;) P(vj |)P(di | vj;) P(di |) P(di | vj;) (P(pk | di)P(pk | vj;
k1 A
)(1 P(pk | di))(1 P(pk | vj;)))
P(pk | vj;) BikP(vj | di)
i1 D
P(vj | di)
i1 D
, Bik: presence of pk in the metadata of di
Visual‐based detection score of pk in di VAC PAC image
48
B C …
PAC
PAC‐VAC Correlation Models PAC VAC
SentiBank Detection
“wonderful,” “lovely,” “nice,” “peaceful,” “moody,” “serene,”… Candidate Comment Collection Comment Selection Predicted VACs Comment Tutor
1200 Classifiers Predict Sentiment
yummy food
Publisher Affect Concept Viewer Affect Concept
great . . . now i'm
hungry . . .
Others:, Creativity, Intent, Memorable …
Visual Affect
theory." In ACM Multimedia, 2010. Visual Emotion and Sentiment
and detectors using adjective noun pairs." In ACM Multimedia, 2013.
Comments Based on Image Content in Social Media." In ACM ICMR, 2014. Visual Aesthetics
computational approach." In ECCV, 2006.
Visual Analysis. In CVPR, 2012. Visual Aesthetics, Interestingness, Memorability
for predicting aesthetics and interestingness. In CVPR, 2011.
images." In ICCV, 2013.
"Towards a comprehensive computational model foraesthetic assessment of videos." In ACM Multimedia, 2013.
2011. Image Style
Style." arXiv preprint arXiv:1311.3715(2013).