Maximum likelihood models Tues. Feb. 27, 2018 1 Overview of today - - PowerPoint PPT Presentation

β–Ά
maximum likelihood models
SMART_READER_LITE
LIVE PREVIEW

Maximum likelihood models Tues. Feb. 27, 2018 1 Overview of today - - PowerPoint PPT Presentation

COMP 546 Lecture 14 Maximum likelihood models Tues. Feb. 27, 2018 1 Overview of today Informal notion of likelihood Formal definition of likelihood as conditional probability Maximum likelihood problems (sketch) 2 Scene


slide-1
SLIDE 1

1

COMP 546

Lecture 14

Maximum likelihood models

  • Tues. Feb. 27, 2018
slide-2
SLIDE 2

Overview of today

  • Informal notion of likelihood
  • Formal definition of likelihood as conditional

probability

  • Maximum likelihood problems (sketch)

2

slide-3
SLIDE 3

Scene Image Estimated Scene

image formation vision

luminance

  • rientation

disparity motion surface slant, tilt … image intensity filter responses

S = s 𝐽 = 𝑗 S = 𝑑

3

luminance

  • rientation

disparity motion surface slant, tilt …

slide-4
SLIDE 4

4

Task: detecting an intensity increment

percent correct

𝐽0 𝐽0 + βˆ†π½

slide-5
SLIDE 5

5

𝐽0 𝐽0 + βˆ†π½

likelihood of intensity in center (solid) and background (dashed)

𝐽0 𝐽0 + βˆ†π½

If βˆ†π½ is small and noise is big, then the task becomes more difficult.

slide-6
SLIDE 6

Task: estimate orientation

likelihood of

  • rientation

πœ„

90

πœ„

6

slide-7
SLIDE 7

Task: estimate velocity of black dots

7

slide-8
SLIDE 8

𝑀𝑦 𝑀𝑧

8

slide-9
SLIDE 9

𝑀𝑦 𝑀𝑧

9

slide-10
SLIDE 10

𝑀𝑦 𝑀𝑧

10

slide-11
SLIDE 11

Task: estimate disparity of patch

11

slide-12
SLIDE 12

left eye right eye

12

We could add noise by independently randomizing B&W value of bits in left and right images.

slide-13
SLIDE 13

likelihood of disparities of background (dashed) and central (solid) square

π‘’π‘‘π‘“π‘œπ‘’π‘“π‘  π‘’π‘π‘π‘‘π‘™π‘•π‘ π‘π‘£π‘œπ‘’

13

slide-14
SLIDE 14

Task: estimate surface slant

14

Is this an ellipse on a frontoparallel plane,

  • r a disk on a slanted plane?
slide-15
SLIDE 15

Task: estimate the slant from texture

15

Random distribution of disk shapes and sizes (rather than pixel noise).

slide-16
SLIDE 16

16

likelihood

  • f slant Οƒ

Οƒ Οƒ

[Knill, 1998]

slide-17
SLIDE 17

What is the formal definition of β€œlikelihood” ?

17

slide-18
SLIDE 18

18

slide-19
SLIDE 19

19

slide-20
SLIDE 20

20

slide-21
SLIDE 21

21

slide-22
SLIDE 22

22

slide-23
SLIDE 23

23

slide-24
SLIDE 24

24

slide-25
SLIDE 25

The conditional probability π‘ž 𝐽 = 𝑗 𝑇 = 𝑑 ) is known as the β€œlikelihood” of 𝑇 = 𝑑, for a given image 𝐽 = 𝑗.

Likelihood

25

𝑑

slide-26
SLIDE 26

26

Maximum likelihood estimation:

Given an image 𝐽 = 𝑗, choose the scene 𝑇 = 𝑑 that maximizes π‘ž(𝐽 = 𝑗 | 𝑇 = 𝑑) .

𝑑

S value that that maximizes likelihood

slide-27
SLIDE 27

Maximum likelihood estimation in vision

27

image intensity filter responses luminance

  • rientation

disparity motion surface slant, tilt …

Image I = 𝑗 Estimated S = 𝑑

slide-28
SLIDE 28

28

Task: estimate 𝐽0, 𝐽0 + βˆ†π½ in presence of noise

𝐽0 𝐽0 + βˆ†π½

slide-29
SLIDE 29

29

Additive Gaussian noise π‘œ : mean 0 and variance πœπ‘œ2 .

Task: estimate 𝐽0, 𝐽0 + βˆ†π½ in presence of noise

𝐽0 𝐽0 + βˆ†π½ π½π‘‘π‘“π‘œπ‘’π‘“π‘  𝑦, 𝑧 = 𝐽0 + βˆ†π½ + π‘œ(𝑦, 𝑧) π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝑦, 𝑧 = 𝐽0 + π‘œ(𝑦, 𝑧)

slide-30
SLIDE 30

Let’s define a likelihood function for 𝐽0 :

π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝑦, 𝑧 = 𝐽0 + π‘œ(𝑦, 𝑧)

30

π‘ž π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’(𝑦, 𝑧) 𝐽0 ) = π‘ž π‘œ 𝑦, 𝑧

slide-31
SLIDE 31

31

π‘ž π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’(𝑦, 𝑧) 𝐽0 ) = π‘ž π‘œ 𝑦, 𝑧 π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝑦, 𝑧 βˆ’ 𝐽0 π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝑦, 𝑧 = 𝐽0 + π‘œ(𝑦, 𝑧)

slide-32
SLIDE 32

32

π‘ž π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’(𝑦, 𝑧) 𝐽0 ) = π‘ž π‘œ 𝑦, 𝑧 1 2πœŒπœπ‘œ 𝑓

βˆ’π‘œ(𝑦,𝑧)2 2 πœπ‘œ2 Gaussian pixel noise

π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝑦, 𝑧 βˆ’ 𝐽0 π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝑦, 𝑧 = 𝐽0 + π‘œ(𝑦, 𝑧)

slide-33
SLIDE 33

Independent Random Variables

Two random variables π‘Œ1 and π‘Œ1 are independent if, for all values 𝑦1 and 𝑦2, π‘ž( π‘Œ1= 𝑦1, π‘Œ2 = 𝑦2) = π‘ž( π‘Œ1 = 𝑦1) π‘ž(π‘Œ2 = 𝑦2) The same definition holds for many random variables. The example here is pixel noise.

33

slide-34
SLIDE 34

34

π‘ž π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝐽0 ) =

(𝑦,𝑧)

1 2πœŒπœπ‘œ 𝑓

βˆ’ π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝑦,𝑧 βˆ’ 𝐽0

2

2 πœπ‘œ2

Likelihood for 𝐽0 for all pixels 𝑦, 𝑧 in the surround:

π½π‘‘π‘£π‘ π‘ π‘π‘£π‘œπ‘’ 𝑦, 𝑧 = 𝐽0 + π‘œ(𝑦, 𝑧)

slide-35
SLIDE 35

𝐽0 𝑂 = 400 noise samples, 𝐽0 = 2, πœπ‘œ = 3 π‘ž( 𝐽 𝑦, 𝑧 | 𝐽0 )

Maximum likelihood estimate is an approximation only.

See exercises. http://www.cim.mcgill.ca/~langer/546/MATLAB/likelihood.m

35

slide-36
SLIDE 36

Task: estimate disparity of patch

p(π‘ π‘“π‘‘π‘žπ‘π‘œπ‘‘π‘“π‘‘ 𝑦, 𝑧, π‘’π‘’π‘£π‘œπ‘“π‘’ = 𝑠 | π‘’π‘—π‘‘π‘žπ‘π‘ π‘—π‘’π‘§ = 𝑒 )

It not obvious how to write down such a function.

36

slide-37
SLIDE 37

Task: estimate slant of surface

p( 𝐽 = 𝑗 | 𝑇 = 𝑑 )

37

Given a set of image ellipses, 𝐽 = 𝑗, and assuming some probability distribution

  • f disk shapes on the surface, define the likelihood of different surface slants

𝑇 = 𝑑. (For details, see papers by David Knill in 1990’s.)

[Knill, 1998]

slide-38
SLIDE 38

The above examples take an β€œideal observer” approach. Can we model a human observer’s uncertainty, using a likelihood function ?

38

slide-39
SLIDE 39

100% 50% 0% Psychometric function (fit with cumulative Gaussian i.e. blurred step edge) Model of likelihood (Gaussian shape with mean s, standard deviation βˆ†s) S

s-βˆ†s s s+βˆ†s

S 75%

39

25%

s-βˆ†s s s+βˆ†s

slide-40
SLIDE 40

Q: How can a such a likelihood model explain or predict how a vision system estimates a scene parameter? A: It can tell us how people combine different cues. (Next lecture)

40