cs6501/4501: vision and languagevicente/vislang/lectures2020/... · 2020. 11. 12. · ball-peen...

37
CS6501/4501: Vision and Language Entry-level Categories and Naming

Upload: others

Post on 13-May-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

CS6501/4501: Vision and LanguageEntry-level Categories and Naming

Page 2: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

• Referring Expressions• Referring Expressions vs Image Captions• Generating Referring Expressions• Referring Expression Comprehension

• Guest Lecture by Lisa Anne Hendricks – DeepMind• Captioning and Bias• Visual Grounding of Language

Last Class

Page 3: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

What would you call this?

Dolphin

Grampus griseus

Page 4: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

What would you call this?

ObjectOrganismAnimalChordateVertebrate

Aquatic birdBird

Swan

Cygnus ColombianusWhistling swan

Page 5: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

What would you call this?

ObjectArtifactInstrumentTransportVehicleCraftVesselWatercraftShipCargo vesselFreighter

Page 6: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

“The apparent ease with which people identify

common objects beliesthe subtlety and complexity

of the operations and structures involved in”

Jolicoeur, Gluck & Kosslyn, 1984

Page 7: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Principles of Categorization –Eleanor Rosch 1976

- Cognitive Economy

- Perceived World Structure

Page 8: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Basic-Level CategoryThe most abstract category at which members share a maximum number of common attributes.

The most abstract category for which an image could be reasonably representative of a class as a whole.

Rosch et al, 1976

Superordinates: animal, vertebrateBasic-Level: birdSubordinates: Black-capped chickadee

Page 9: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving
Page 10: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Four experiments to find Basic-Level Categories• Attribute listing• Action (Motor movement) listing• Shape overlap• Average outline naming

Page 11: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Implications

• Imagery: The most abstract category at which an average image can still be recognized.• Development: Children can first recognize basic-level categories.• Perception: We first identify basic-level categories and then identify

either subordinates or superordinates.• Language: The word of choice when naming instances even when

belonging to subordinate categories.

Page 12: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Entry-Level Category

The category that people are likely to name when presented with a depiction of an object.

Rosch et al, 1976Jolicoeur, Gluck & Kosslyn, 1984

Superordinates: animal, vertebrateBasic Level: birdEntry Level: birdSubordinates: Black-capped chickadee

Page 13: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Entry-Level Category

Superordinates: animal, birdBasic Level: birdEntry Level: penguinSubordinates: Chinstrap penguin

The category that people are likely to name when presented with a depiction of an object.

Rosch et al, 1976Jolicoeur, Gluck & Kosslyn, 1984

Page 14: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Pictures and Names: Making the ConnectionJolicoeur, Gluck, Kosslyn 1984

Page 15: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Experiment 1

• Do we identify basic-level categories first and then we go to superordinate categories? Or do we have a separate process where we go directly to superordinate categories but it is slower?

apple

Name the basic level category / Name a superordinate (e.g. fruit)

Page 16: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Experiment 2

• How about subordinate categories? Do we indeed need additional perceptual information compared to recognizing superordinates?

Picture followed by word

Page 17: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Experiment 3

• Is the entry point always the basic level category? What about for atypical objects?

Give a name for the picture

Page 18: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Naming Image Content

Vision

Input Image

Grizzly bear

Homing pigeon

Ball-peen hammer

Steel arch bridge

Farmhouse

Soapweed

Brazilian rosewood

Bristlecone pine

Cliffdiving

Crabapple

Grampus griseusAmerican black

bear

King penguin

Cormorant

Spigot

Diskette, floppy

(0.80)

(0.83)

(0.16)

(0.25)

(0.11)

(0.56)

(0.26)

(0.06)

(0.07)

(0.06)

(0.16)

(0.03)

(0.12)

(0.13)

(0.04)

(0.19)

Thousands of Noisy Category Predictions

Grampus griseus

Pick the BestDolphin

What Should I Call It?

Naming

Page 19: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Is this hard?

Cormorant

DaisyFrog Orchid

King penguin

Living thing

Seabird

Penguin

Angiosperm

Flower

Orchid

Plant, FloraBird

Daffodil

Narcissus

Bulbous Plant

wordnet hierarchy

Page 20: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

How will we do it?

Linguistic resources Lots of text

Wordnet Google Web 1T

Our dog Zoe in her bed

Interior design of modern white and brown living room furniture hanging.

The Egyptian cat statue by the floor clock and perpetual motion

Man sits in a rusted car buried in the sand on Waitarere beach

Emma in her hat looking super cute

Little girl and her dog in northern Thailand. They both seemed.

Lots of images with text

SBU Captioned Dataset

Labeled Images

Imagenet

Computer Vision

Page 21: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Scaling Naming Tasks!

48 categories > 7000 categories

Page 22: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

1. Goal: Category TranslationDetailed Category

Grampus griseus

𝑑

What should I Call It?(Entry-Level Category)

dolphin

𝑒

2. Goal: Content NamingWhat should I Call It?(Entry-Level Category)

dolphin

𝑒

Input Image

Page 23: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

1. Goal: Category TranslationDetailed Category

Grampus griseus

𝑑

What should I Call It?(Entry-Level Category)

dolphin

𝑒

2. Goal: Content NamingWhat should I Call It?(Entry-Level Category)

dolphin

𝑒

Input Image

Page 24: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Category Translation by Humans

Friesian, Holstein, Holstein-Friesian

cowcattlepasturefence

Page 25: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Cormorant

Sperm whale

Grampus griseus

King penguin

Semantic Distance

𝜓(𝑑, 𝑒) 𝜙(𝑒)

n-gramFrequency

656M

366M

128M

88M 1.2M

22M

15M

0.9M

55M

30M

6.4M

0.08M

𝜏 𝑑, 𝜆 = argmax!

[𝜙 𝑒 − 𝜆𝜓(𝑑, 𝑒)]

1.1 Category Translation: Text-basedAnimal

Seabird

Penguin

Cetacean

Whale

Dolphin

MammalBird

wordnet hierarchy

Naturalness

Page 26: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

1.2 Category Translation: Image-based

Friesian, Holstein, Holstein-Friesian

(1.9071) cow(1.1851) orange_tree(0.6136) stall(0.5630) mushroom(0.3825) pasture(0.3156) sheep(0.3321) black_bear(0.3015) puppy(0.2409) pedestrian_bridge(0.2353) nest

Vision System

Page 27: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

cactus wren bird bird bird

buzzard, Buteo buteo hawk hawk bird

whinchat, Saxicola rubetra bird chat bird

Weimaraner dog dog dog

numbat, banded anteater, anteater anteater anteater cat

rhea, Rhea americana ostrich bird grass

Europ. black grouse, heathfowl bird bird duck

yellowbelly marmot, rockchuck Squirrel marmot rock

HUMANS IMAGEBASED

TEXTBASED

Category Translation: Examples

Page 28: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

1. Goal: Category TranslationDetailed Category

Grampus griseus

𝑑

What should I Call It?(Entry-Level Category)

dolphin

𝑒

2. Goal: Content NamingWhat should I Call It?(Entry-Level Category)

dolphin

𝑒

Input Image

Page 29: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Coding(LLC),Wang et al. CVPR 2010

Spatial pooling

Flat Classifiers

Local descriptors

Grizzly bear

Homing pigeon

Ball-peen hammer

Steel arch bridge

Farmhouse

Soapweed

Brazilian rosewood

Bristlecone pine

Cliffdiving

Crabapple

Grampus griseusAmerican black

bear

King penguin

Cormorant

Spigot

Diskette, floppy

(0.80)

(0.41)

(0.16)

(0.25)

(0.11)

(0.56)

(0.26)

(0.06)

(0.07)

(0.06)

(0.16)

(0.03)

(0.12)

(0.13)

(0.04)

(0.19)

Selective Search Windows. van De Sande et al. ICCV 2011

Large Scale Categorization

Page 30: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

2.1 Propagated Visual Estimates

Accuracy

𝑓(𝑣, 𝐼)

(0.2)

(0.8)

(0.2)

(0.8)

(0.8)

(1.0)

Specificity

- 6𝜓(𝑣)

Deng et al. CVPR 2012𝑓 𝑣, 𝐼, 7𝜆 = 𝑓(𝑣, 𝐼) [− 6𝜓 𝑣 + 7𝜆]

(0.15)

(0.6)

Animal

Seabird

Penguin

Cetacean

Whale

Dolphin

MammalBird

Cormorant

Sperm whale

King penguin

(0.15)

(0.05)

(0.2)

(0.6)Grampus griseus

𝜙(𝑣)

Naturalness

656M

366M

128M

88M 1.2M

22M

15M

0.9M

55M

30M 6.4M

𝑓"#$ 𝑣, 𝐼, 7𝜆 = 𝑓(𝑣, 𝐼) [𝜙 𝒗 − 7𝜆 6𝜓(𝑣)]Our work

0.08M

Page 31: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

2.2 Supervised Learning

𝑋 =

Grizzly bear

Homing pigeon

Ball-peen hammer

Steel arch bridge

Farmhouse

Soapweed

Brazilian rosewood

Bristlecone pine

Cliffdiving

Crabapple

Grampus griseusAmerican black

bear

King penguin

Cormorant

Spigot

Diskette, floppy

(0.80)

(0.41)

(0.16)

(0.25)

(0.11)

(0.56)

(0.26)

(0.06)

(0.07)

(0.06)

(0.16)

(0.03)

(0.12)

(0.13)

(0.04)

(0.19)

Bear

Dog

Building

House

Bird

Penguin

TreePalm tree

SBU Captioned Photo Dataset1 million captioned images!

𝑓%&' 𝒗𝒊, 𝐼, Θ =1

1 − exp(𝑎Θ)𝑋 + 𝑏)

training from weak annotations

Page 32: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

snagshade treebracket fungus, shelf fungusbristlecone pine, Rocky Mountain bristlecone pine, Pinus aristataBrazilian rosewood, caviuna wood, jacaranda, Dalbergia nigraredheaded woodpecker, redhead, Melanerpeserythrocephalusredbud, Cercis canadensismangrove, Rhizophora manglechiton, coat-of-mail shell, sea cradle, polyplacophorecrab apple, crabapplepapaya, papaia, pawpaw, papaya tree, melon tree, Carica papayafrogmouth

Extracting Meaning from Data

Mammals Birds Instruments Structures Plants Other

Weights learned to recognize images with “tree” in caption

Page 33: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

water dogsurfing, surfboarding, surfridingmanatee, Trichechus manatuspuntdip, plungecliff divingfly-fishingsockeye, sockeye salmon, red salmon, blueback salmon, Oncorhynchus nerkasea otter, Enhydra lutrisAmerican coot, marsh hen, mud hen, water hen, Fulica americanaboobycanal boat, narrow boat, narrowboat

Extracting Meaning from Data

Mammals Birds Instruments Structures Plants Other

Weights learned to recognize images with “water” in caption

Page 34: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Results: Content Naming

Human Labels Flat Classifier Deng et al.CVPR’12

Propagated Visual Estimates

SupervisedLearning

Joint

farm, fencefieldhorse, mulekite, dirtpeopletree, zoo

geldingyearlingshireyearlingdraft

horseequineperissodactylungulatemale

horsetreeequinemalegelding

horsepasturefieldcowfence

horsepasturefieldcowfence

Page 35: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Results: Content Naming

Human Labels Flat Classifier Deng et al.CVPR’12

Propagated Visual Estimates

SupervisedLearning

Joint

fence, junksignstop signstreet signtrash cantree

feederHylacleanerboxlarge

woodytreestructureplantvascular

treestructurebuildingplantarea

logostreetneighborhoodbuildingoffice building

logostreetneighborhoodbuildingoffice

Page 36: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Conclusions/Future Work

• We explored different models for content naming in images.

• Results can be used to improve the larger goal of generating human-like image descriptions.

• Go beyond nouns and infer other type of abstractions on action and attribute words.

Page 37: CS6501/4501: Vision and Languagevicente/vislang/lectures2020/... · 2020. 11. 12. · Ball-peen hammer Steel arch bridge Farmhouse Soapweed Brazilian rosewood Bristlecone pine Cliffdiving

Questions?

38