T Berg - Frontiers in Computer Vision

advertisement
Learning from
Descriptive Text
Tamara L Berg
Stony Brook University
Tags: canon, eos, macro, japan,
vacation, frog, animal, toad,
amphibian, pet, eye, feet, mouth,
finger, hand, prince, photo, art, light,
photo, flickr, blurry, favorite, nice.
Vision
Language
Humans
It's the perfect party dress. With
distinctly feminine details such as a wide
sash bow around an empire waist and a
deep scoopneck, this linen dress will
keep you comfortable and feeling
elegant all evening long.
Visually Descriptive Text
“It was an arresting face, pointed of chin, square of jaw. Her eyes
were pale green without a touch of hazel, starred with bristly black
lashes and slightly tilted at the ends. Above them, her thick black
brows slanted upward, cutting a startling oblique line in her
magnolia-white skin–that skin so prized by Southern women and so
carefully guarded with bonnets, veils and mittens against hot
Georgia suns” –
Gone with the Wind
How do people
describe the world?
Visually descriptive language provides:
• information about how people construct natural language for imagery.
• information about the world, especially the visual world.
How does the
• guidance for computational visual recognition.
world work?
What should we
recognize?
Visually Descriptive Text
“It was an arresting face, pointed of chin, square of jaw. Her eyes
were pale green without a touch of hazel, starred with bristly black
lashes and slightly tilted at the ends. Above them, her thick black
brows slanted upward, cutting a startling oblique line in her
magnolia-white skin–that skin so prized by Southern women and so
carefully guarded with bonnets, veils and mittens against hot
Georgia suns” –
from Gone with the Wind by Margaret Mitchell
How do people
describe the
world?
Visually descriptive language provides:
• information about how people construct natural language for imagery.
• information about the world, especially the visual world.
How does the
• guidance for computational visual recognition.
world work?
What should we
recognize?
What’s in a description?
What’s in this image?
man
baby
sling
shirt
glasses
ladder
fridge
table
watermelon
chair
What do people describe?
boxes
“A bearded man is holding a child in a sling.”
cups
“A bearded man stands while holding a small child in a green water bottle
sheet.”
wall
“A bearded man with a baby in a sling poses.”
pacifier
“Man standing in kitchen with little girl in green sack.”
beard
“Man with beard and baby”
…
What’s in a description?
✔
bench ✔
magazine ✔
grass ✖
skirt ✖
…
women
1)
“two women sitting brunette
blonde on bench reading
magazine”
Given an image
Predict what people will
describe
e.g. Spain & Perona, 2010
✔
car
✖
window ✖
clouds
2)
“looking for
castles in the
clouds out my car
window”
Given a caption
castle
Predict what’s in the image
?
Who’s in the picture?
T.L. Berg, A.C. Berg, J. Edwards, D.A. Forsyth
President George W. Bush makes a
statement in the Rose Garden while
Secretary of Defense Donald Rumsfeld
looks on, July 23, 2003. Rumsfeld said
the United States would release graphic
photographs of the dead sons of
Saddam Hussein to prove they were
killed by American troops. Photo by
Larry Downing/Reuters
Model
Accuracy of labeling
Vision model, No Lang model
67%
Vision model + Lang model
78%
Visually Descriptive Text
“It was an arresting face, pointed of chin, square of jaw. Her eyes
were pale green without a touch of hazel, starred with bristly black
lashes and slightly tilted at the ends. Above them, her thick black
brows slanted upward, cutting a startling oblique line in her
magnolia-white skin–that skin so prized by Southern women and so
carefully guarded with bonnets, veils and mittens against hot
Georgia suns” –
from Gone with the Wind by Margaret Mitchell
How do people
describe the world?
Visually descriptive language provides:
• information about how people construct natural language for imagery.
• information about the world, especially the visual world.
• guidance for computational visual recognition.
How does the
What should we
recognize?
world work?
Vision is hard
Green sheep
World knowledge (from descriptive text)
can be used to smooth noisy vision
predictions!
Learning World Knowledge
BabyTalk: Understanding and Generating Simple Image Descriptions
Kulkarni, Premraj, Dhar, Li, Choi, AC Berg, TL Berg, CVPR 2011
Attributes
green green grass by the
lake
a very shiny car in the car
museum in my hometown of
upstate NY.
Relationships
very little person in a big
rocking chair
Our cat Tusik sleeping on
the sofa near a hot radiator.
System Flow
a) dog
b) person
Input Image
+, ($%0.01
brown
near(a,b)
1
striped
0.16
near(b,a) 1
furry .26
against(a,b)
! " #$%
.11wooden .2
feathered
against(b,a)
.04.06
...
beside(a,b)
.24brown 0.32
' () *- %
beside(b,a)
striped
near(a,c) 0.09
1
.17furry .04
near(c,a) 1
... .2.3
wooden
against(a,c)
Feathered
against(c,a)
.05.04
... !.5" #- %
beside(a,c)
beside(c,a)
.45 +, (- %
' () *$%
+, (&%
This is a photograph of one
person and one
brown sofa and
! " #&%
one dog. The person is against
the brown sofa. And the dog is
near the person, and beside the
brown sofa.
' () *&%
... 0.94
near(b,c)
1
brown
near(c,b)
1
striped 0.10
<<null,person_b>,against,<brown,sofa_c>>
against(b,c)
furry .06
<<null,dog_a>,near,<null,person_b>>
.67wooden
.8
<<null,dog_a>,beside,<brown,sofa_c>>
against(c,b)
Feathered
.33.08
beside(b,c)
... .0
beside(c,b)
.19
Generate natural
language
Predict labeling description
– vision
c) sofa
potentials smoothed with text
Extract Predict
Objects/stuff
Predict attributes
prepositions
...
potentials
BabyTalk results
Objects, Attributes,
Prepositions
This is a picture of one
sky, one road and one
sheep. The gray sky is
over the gray road. The
gray sheep is by the gray
road.
Here we see one road,
one sky and one bicycle.
The road is near the blue
sky, and near the colorful
bicycle. The colorful
bicycle is within the blue
sky.
This is a picture of two
dogs. The first dog is
near the second furry
Visually Descriptive Text
“It was an arresting face, pointed of chin, square of jaw. Her eyes
were pale green without a touch of hazel, starred with bristly black
lashes and slightly tilted at the ends. Above them, her thick black
brows slanted upward, cutting a startling oblique line in her
magnolia-white skin–that skin so prized by Southern women and so
carefully guarded with bonnets, veils and mittens against hot
Georgia suns” –
from Gone with the Wind by Margaret Mitchell
How do people
describe the world?
Visually descriptive language provides:
• information about how people construct natural language for imagery.
• information about the world, especially the visual world.
How does the
• guidance for computational visual recognition.
world work?
What should we
recognize?
What should we recognize?
• Recognition is beginning to work
• Open question – what should we recognize?
• Maybe objects aren’t (always) the right base
level entities
Object Recognition
Parts, Poselets, Attributes
For example:
[Fergus, Perona, Zisserman2003],
[Bourdev, Malik2009], …
Slide Credit: Ali Farhadi
Automatically Discovering Attributes from Noisy Web Data
T.L. Berg, A.C. Berg, J. Shih ECCV 2010
Fully beaded with megawatt crystals,
this Christian Louboutin suede pump
matches the gleam in your eye.
Pump's linear heel plays up the alluring
curves of its dipped sides.
Round toe frames low-cut vamp.
Tonally topstitched collar.
4" straight, covered heel shows off
signature red sole.
Creamy leather lining with padded
insole.
"Fifi" is made in Italy.
Learn which attributes
terms in descriptions are depictable
Given Web Images + Noisy Text Descriptions:
1) Discover visual attribute terms in text descriptions - likely domain dependent
2) Learn appearance models for attributes without labeled data
3) Characterize attributes by: type, localizability
Object Recognition
Scenes
For example:
[Oliva, Torralba 2001],
[SUN 2010], …
Slide Credit: Ali Farhadi
What are the right quanta of
Recognition?
Farhadi & Sadeghi
Recognition using Visual Phrases , CVPR 2011
Participating in Phrases Profoundly affects the
appearance of objects
Farhadi & Sadeghi
Recognition using Visual Phrases , CVPR 2011
What should we recognize?
“a sleeping dog in NTHU”
“A dog is sleeping in”
“the dog is sleeping”
“sleeping dog in delhi”
Maybe descriptive text can inform entity hypotheses!
What should we recognize?
“the cat is in the bag”
“cat in bag”
“cat in a bag”
“cat in the bag”
Maybe descriptive text can inform entity hypotheses!
Conclusion


Use large pools of descriptive text to:

Learn how people describe the visual world

Learn how the world works

Guide future efforts in recognition
Apply this knowledge to multi-modal
collections & applications
Acknowledgements
• Collaborators: Alex Berg, David Forsyth, Jaety
Edwards, Jonathan Shih, Girish Kulkarni, Visruth
Premraj, Sagnik Dhar, Vicente Ordonez, Siming Li,
Yejin Choi, Kota Yamaguchi, Vicente Ordonez
• Funded by NSF Faculty Early Career
Development (CAREER) Program: Award
#1054133
Download