125
Sparse Linear Models: Estimation and Approximate Bayesian Inference Matthias Seeger Laboratory for Probabilistic Machine Learning Ecole Polytechnique Fédérale de Lausanne http://lapmal.epfl.ch/ Seeger (EPFL) Sparse Models 31/8/2013 1 / 59

Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

  • Upload
    dophuc

  • View
    222

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Linear Models:Estimation and Approximate Bayesian Inference

Matthias Seeger

Laboratory for Probabilistic Machine LearningEcole Polytechnique Fédérale de Lausanne

http://lapmal.epfl.ch/

Seeger (EPFL) Sparse Models 31/8/2013 1 / 59

Page 2: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Buzzwords

DenoisingNatural image statisticsWavelet shrinkageImage coding

Compressive sensingBelow the Nyquist limitSparse sampling

Feature selection`1 relaxationLearning model structureSparse covariance estimationMatching/basis pursuitSoft/hard thresholding{Group, graphical, adaptive}Lasso

Seeger (EPFL) Sparse Models 31/8/2013 2 / 59

Page 3: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Buzzwords

DenoisingNatural image statisticsWavelet shrinkageImage coding

Compressive sensingBelow the Nyquist limitSparse sampling

Feature selection`1 relaxationLearning model structureSparse covariance estimation

Matching/basis pursuitSoft/hard thresholding{Group, graphical, adaptive}Lasso

Seeger (EPFL) Sparse Models 31/8/2013 2 / 59

Page 4: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Buzzwords

DenoisingNatural image statisticsWavelet shrinkageImage codingCompressive sensingBelow the Nyquist limitSparse sampling

Feature selection`1 relaxationLearning model structureSparse covariance estimation

Matching/basis pursuitSoft/hard thresholding{Group, graphical, adaptive}Lasso

Seeger (EPFL) Sparse Models 31/8/2013 2 / 59

Page 5: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Buzzwords

DenoisingNatural image statisticsWavelet shrinkageImage codingCompressive sensingBelow the Nyquist limitSparse sampling

Feature selection`1 relaxationLearning model structureSparse covariance estimationMatching/basis pursuitSoft/hard thresholding{Group, graphical, adaptive}Lasso

Seeger (EPFL) Sparse Models 31/8/2013 2 / 59

Page 6: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Sparsity: A Fundamental Concept

. . . as simple as possible, but not simpler.

What do you mean with simple?

Classical (Gaussian)All specified elementsUse each of them a little

SparsityAs few elements as possibleIf at all, use them a lot

Seeger (EPFL) Sparse Models 31/8/2013 3 / 59

Page 7: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Sparsity: A Fundamental Concept

. . . as simple as possible, but not simpler.

What do you mean with simple?

Classical (Gaussian)All specified elementsUse each of them a little

SparsityAs few elements as possibleIf at all, use them a lot

Seeger (EPFL) Sparse Models 31/8/2013 3 / 59

Page 8: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Sparsity: A Fundamental Concept

Seeger (EPFL) Sparse Models 31/8/2013 4 / 59

Page 9: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Many Faces of Sparsity

Image modellingProcessingReconstructionAcquisition (sampling)Computational neuroscience

Relaxation of combinatorialoptimization

Maximally sparse reconstructionLearning dependency structure

Meinshausen, BuehlmannGraphical Lasso

Sparse codingOlshausen, FieldLearning image priors

Seeger (EPFL) Sparse Models 31/8/2013 5 / 59

Page 10: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Many Faces of Sparsity

Image modellingProcessingReconstructionAcquisition (sampling)Computational neuroscience

Relaxation of combinatorialoptimization

Maximally sparse reconstruction

Learning dependency structureMeinshausen, BuehlmannGraphical Lasso

Sparse codingOlshausen, FieldLearning image priors

0

0.2

0.4

0.6

0.8

1

1.2

Seeger (EPFL) Sparse Models 31/8/2013 5 / 59

Page 11: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Many Faces of Sparsity

Image modellingProcessingReconstructionAcquisition (sampling)Computational neuroscience

Relaxation of combinatorialoptimization

Maximally sparse reconstructionLearning dependency structure

Meinshausen, BuehlmannGraphical Lasso

Sparse codingOlshausen, FieldLearning image priors

fynq

lcdw

xjzd

ppqb

pqel

zwqn

kcdq

gvvy

prht

rora

iftl

rhqg

dxcq

gzyc

cqbw

whdu

oaxx

veoz

dkwt

ftom

oxrt

oddd

tutn

orxs

lmkw

utfh

bbxt

ynul

krwv

hcxu

wwpf

wdvt

tojr

olsj

epvhbswi

vmbm

hvhn

qvasyady

cvcm

dhoy

pctr

qwtwlqao

acbo

suex

ippq

uskn

grjj

Seeger (EPFL) Sparse Models 31/8/2013 5 / 59

Page 12: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Many Faces of Sparsity

Image modellingProcessingReconstructionAcquisition (sampling)Computational neuroscience

Relaxation of combinatorialoptimization

Maximally sparse reconstructionLearning dependency structure

Meinshausen, BuehlmannGraphical Lasso

Sparse codingOlshausen, FieldLearning image priors

Seeger (EPFL) Sparse Models 31/8/2013 5 / 59

Page 13: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Image Reconstruction

Ideal Image u

Reconstruction

Measurement

Design

y X u

Data y

Seeger (EPFL) Sparse Models 31/8/2013 6 / 59

Page 14: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Image Statistics

Whatever images are . . .

they are not Gaussian!

Seeger (EPFL) Sparse Models 31/8/2013 7 / 59

Page 15: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Bayesian Calibration

www.wisdom.weizmann.ac.il/~levina.

y u

k

Computer visionBlind deconvolutionCalibrating camera parameters

Magnetic resonance imagingAutocalibrating parallel MRI

Seeger (EPFL) Sparse Models 31/8/2013 8 / 59

Page 16: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Bayesian Experimental Design

Reconstruction

y X u

Seeger (EPFL) Sparse Models 31/8/2013 9 / 59

Page 17: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Introduction

Outline

1 Sparse Modelling

2 Sparse Estimation

3 Sparse Bayesian Inference

4 Sparse Estimation vs. Sparse Inference

Seeger (EPFL) Sparse Models 31/8/2013 10 / 59

Page 18: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Outline

1 Sparse Modelling

2 Sparse Estimation

3 Sparse Bayesian Inference

4 Sparse Estimation vs. Sparse Inference

Seeger (EPFL) Sparse Models 31/8/2013 11 / 59

Page 19: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Sparsity Priors courtesy Florian Steinke

Seeger (EPFL) Sparse Models 31/8/2013 12 / 59

Page 20: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Best of Both Worlds

P(u) ∝∏q

i=1ti(si), s = Bu , ti(si) = e−

τi2 |si |2

Gaussian Prior P(u)

Simple. FastWell understood

Sparsity Prior P(u)

Better prior forreal-world signals(images)

Latent Gaussian Representations

Gaussian scale mixtures t(s) =∫γ≥0 e−|s|

2/(2γ)f (γ) dγ

Super-Gaussian potentials t(s) = maxγ≥0 e−|s|2/(2γ)g(γ)

Seeger (EPFL) Sparse Models 31/8/2013 13 / 59

Page 21: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Best of Both Worlds

P(u) ∝∏q

i=1ti(si), s = Bu , ti(si) = e−τi |si |

Gaussian Prior P(u)

Simple. FastWell understood

Sparsity Prior P(u)

Better prior forreal-world signals(images)

Latent Gaussian Representations

Gaussian scale mixtures t(s) =∫γ≥0 e−|s|

2/(2γ)f (γ) dγ

Super-Gaussian potentials t(s) = maxγ≥0 e−|s|2/(2γ)g(γ)

Seeger (EPFL) Sparse Models 31/8/2013 13 / 59

Page 22: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Best of Both Worlds

P(u) ∝∏q

i=1ti(si), s = Bu , ti(si) = e−τi |si |

Gaussian Prior P(u)

Simple. FastWell understood

Sparsity Prior P(u)

Better prior forreal-world signals(images)

Latent Gaussian Representations

Gaussian scale mixtures t(s) =∫γ≥0 e−|s|

2/(2γ)f (γ) dγ

Super-Gaussian potentials t(s) = maxγ≥0 e−|s|2/(2γ)g(γ)

Seeger (EPFL) Sparse Models 31/8/2013 13 / 59

Page 23: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Gaussian Scale Mixtures

We know Gaussian mixtures over means (clustering, EM):

P(X ) =∑K

j=1πjN(X |µj , γ)

What makes t(s) non-Gaussian:More mass close to originMore mass in tails (far from origin)Less mass at moderate distance

Seeger (EPFL) Sparse Models 31/8/2013 14 / 59

Page 24: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Gaussian Scale Mixtures

We know Gaussian mixtures over means (clustering, EM):

P(X ) =∑K

j=1πjN(X |µj , γ)

What makes t(s) non-Gaussian:More mass close to originMore mass in tails (far from origin)Less mass at moderate distance

−4 −2 0 2 40

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

GaussianLaplaceStudent t

Seeger (EPFL) Sparse Models 31/8/2013 14 / 59

Page 25: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Gaussian Scale Mixtures

We know Gaussian mixtures over means (clustering, EM):

P(X ) =∑K

j=1πjN(X |0, γj)

What makes t(s) non-Gaussian:More mass close to originMore mass in tails (far from origin)Less mass at moderate distance

⇒ Need mixture over scales−4 −2 0 2 40

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

GaussianLaplaceStudent t

Seeger (EPFL) Sparse Models 31/8/2013 14 / 59

Page 26: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Gaussian Scale Mixtures

X =√γY : Y ∼ N(0,1), γ ∼ f (γ)I{γ≥0}

Many distributions you know:Gaussian [:-)].

Spike and slabExponential power (α ≤ 2)Student’s t

−3 −2 −1 0 1 2 30

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

P(X ) = N(X |0, γ)

Seeger (EPFL) Sparse Models 31/8/2013 15 / 59

Page 27: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Gaussian Scale Mixtures

X =√γY : Y ∼ N(0,1), γ ∼ f (γ)I{γ≥0}

Many distributions you know:Gaussian [:-)]. Spike and slab

Exponential power (α ≤ 2)Student’s t

−2 −1.5 −1 −0.5 0 0.5 1 1.5 2 2.5 30

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

P(X ) = πN(X |0, γ1) + (1− π)N(X |0, γ2), γ1 � γ2

Seeger (EPFL) Sparse Models 31/8/2013 15 / 59

Page 28: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Gaussian Scale Mixtures

X =√γY : Y ∼ N(0,1), γ ∼ f (γ)I{γ≥0}

Many distributions you know:Gaussian [:-)]. Spike and slabExponential power (α ≤ 2)

Student’s t

−2 −1.5 −1 −0.5 0 0.5 1 1.5 2 2.5 30

0.2

0.4

0.6

0.8

1

1.2

P(X ) ∝ e−τ |X |α, α ∈ (0,2], τ > 0

Seeger (EPFL) Sparse Models 31/8/2013 15 / 59

Page 29: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Gaussian Scale Mixtures

X =√γY : Y ∼ N(0,1), γ ∼ f (γ)I{γ≥0}

Many distributions you know:Gaussian [:-)]. Spike and slabExponential power (α ≤ 2)Student’s t

−2 −1.5 −1 −0.5 0 0.5 1 1.5 2 2.5 30

0.5

1

1.5

2

2.5

P(X ) ∝(

1 +τ

ν|X |2

)−(ν+1)/2, τ, ν > 0

Seeger (EPFL) Sparse Models 31/8/2013 15 / 59

Page 30: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Gaussian Scale Mixtures

X =√γY : Y ∼ N(0,1), γ ∼ f (γ)I{γ≥0}

Many distributions you know:Gaussian [:-)]. Spike and slabExponential power (α ≤ 2)Student’s t

−2 −1.5 −1 −0.5 0 0.5 1 1.5 2 2.5 30

0.2

0.4

0.6

0.8

1

1.2

Duality between P(X ) and f (γ) West, Biometrika 87

For the Laplace:

τ

2e−τ |s| = E[N(s|0, γ)], γ ∼ (τ2/2)e−(τ2/2)γ

Seeger (EPFL) Sparse Models 31/8/2013 15 / 59

Page 31: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Super-Gaussian Potentials

t(s) = maxγ≥0

e−|s|2/(2γ)g(γ)

t(s) even and positive: Let’s look at |s|2 7→ 2 log t(s)

What’s that for a Gaussian t(s) = N(s|0, σ2)?

Seeger (EPFL) Sparse Models 31/8/2013 16 / 59

Page 32: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Super-Gaussian Potentials

t(s) = maxγ≥0

e−|s|2/(2γ)g(γ)

t(s) even and positive: Let’s look at |s|2 7→ 2 log t(s)

What’s that for a Gaussian t(s) = N(s|0, σ2)?

Seeger (EPFL) Sparse Models 31/8/2013 16 / 59

Page 33: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Super-Gaussian Potentials

t(s) = maxγ≥0

e−|s|2/(2γ)g(γ)

t(s) even and positive: Let’s look at |s|2 7→ 2 log t(s)

What’s that for a Gaussian t(s) = N(s|0, σ2)?An affine function

−4 −2 0 2 40

0.05

0.1

0.15

0.2

0.25

0.3

0.35

0.4

Gaussian

0 2 4 6 8 10 12−14

−12

−10

−8

−6

−4

−2

0

Gaussian

Seeger (EPFL) Sparse Models 31/8/2013 16 / 59

Page 34: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Super-Gaussian Potentials

t(s) = maxγ≥0

e−|s|2/(2γ)g(γ)

Sparsity potentials are super-Gaussian

|s|2 7→ 2 log t(s) is convex

Affine→ convex:Shift mass to center and tails

Scale mixtures are super-Gaussian Palmer et.al.,NIPS 2005

Seeger (EPFL) Sparse Models 31/8/2013 17 / 59

Page 35: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Super-Gaussian Potentials

t(s) = maxγ≥0

e−|s|2/(2γ)g(γ)

Sparsity potentials are super-Gaussian

|s|2 7→ 2 log t(s) is convex

Affine→ convex:Shift mass to center and tailsScale mixtures are super-Gaussian Palmer et.al.,

NIPS 2005

Seeger (EPFL) Sparse Models 31/8/2013 17 / 59

Page 36: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Group Sparsity

ti(si) = maxγi≥0

e−|si |2/(2γi )gi(γi)

ti(si) depends on absolute value |si | only

Can just as well plug in vector norm ‖si‖:Nothing but parameter tyingUseful to structure sparsity: Joint penalization of groups⇒ `1 − `2 norms, group Lasso, . . .

Seeger (EPFL) Sparse Models 31/8/2013 18 / 59

Page 37: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Group Sparsity

t(si) = maxγi≥0

e−‖si‖2/(2γi )︸ ︷︷ ︸∝N(si |0,γi I)

gi(γi)

ti(si) depends on absolute value |si | onlyCan just as well plug in vector norm ‖si‖:Nothing but parameter tying

Useful to structure sparsity: Joint penalization of groups⇒ `1 − `2 norms, group Lasso, . . .

Seeger (EPFL) Sparse Models 31/8/2013 18 / 59

Page 38: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Group Sparsity

t(si) = maxγi≥0

e−‖si‖2/(2γi )gi(γi)

ti(si) depends on absolute value |si | onlyCan just as well plug in vector norm ‖si‖:Nothing but parameter tyingUseful to structure sparsity: Joint penalization of groups⇒ `1 − `2 norms, group Lasso, . . .

Seeger (EPFL) Sparse Models 31/8/2013 18 / 59

Page 39: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Sparsity vs. Super-Gaussianity

Sparse sMany/most si = 0

Super-Gaussian sSuper-Gaussian statisticsSoft sparsity, heavy tails,power law decay, . . .

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

Why call it sparse then?“Super-Gaussian linear model”?Wait until MAP estimation

Seeger (EPFL) Sparse Models 31/8/2013 19 / 59

Page 40: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Sparsity vs. Super-Gaussianity

Sparse sMany/most si = 0

Super-Gaussian sSuper-Gaussian statisticsSoft sparsity, heavy tails,power law decay, . . .

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

Why call it sparse then?“Super-Gaussian linear model”?Wait until MAP estimation

Seeger (EPFL) Sparse Models 31/8/2013 19 / 59

Page 41: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Sparsity vs. Super-Gaussianity

Sparse sMany/most si = 0

Super-Gaussian sSuper-Gaussian statisticsSoft sparsity, heavy tails,power law decay, . . .

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

Why call it sparse then?“Super-Gaussian linear model”?Wait until MAP estimation

Seeger (EPFL) Sparse Models 31/8/2013 19 / 59

Page 42: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Modelling

Where Are We?

Real-world signals are not Gaussian.Gaussian assumptions made for convenienceSuper-Gaussian distributions:Trade-off between realistic and tractableLatent Gaussian representations:

Gaussian scale mixturesSuper-Gaussian potentials (max representation)

Group potentials: Structure your sparsity“Sparse” may mean super-Gaussian

Seeger (EPFL) Sparse Models 31/8/2013 20 / 59

Page 43: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Outline

1 Sparse Modelling

2 Sparse Estimation

3 Sparse Bayesian Inference

4 Sparse Estimation vs. Sparse Inference

Seeger (EPFL) Sparse Models 31/8/2013 21 / 59

Page 44: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Image Reconstruction

Seeger (EPFL) Sparse Models 31/8/2013 22 / 59

Page 45: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

MAP Estimation

Maximum a Posteriori (MAP) Estimation

u∗ = argmaxu P(y |u)P(u)

Seeger (EPFL) Sparse Models 31/8/2013 23 / 59

Page 46: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Sparse Linear Model

Seeger (EPFL) Sparse Models 31/8/2013 24 / 59

Page 47: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

MAP Estimation

u∗ = argminu σ−2‖y − X u‖2︸ ︷︷ ︸−2 log P(y |u)

−2∑q

i=1log ti(si)︸ ︷︷ ︸

− log P(u)

, s = Bu , y ∈ Cm

MAP estimate is sparse.s∗ = Bu∗: No more than m nonzero s∗,i (if |si | 7→ − log ti (si ) concave)

Seeger (EPFL) Sparse Models 31/8/2013 25 / 59

Page 48: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

MAP Estimation

Seeger (EPFL) Sparse Models 31/8/2013 26 / 59

Page 49: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

MAP Estimation

u∗ = argminu σ−2‖y − X u‖2︸ ︷︷ ︸−2 log P(y |u)

−2∑q

i=1log ti(si)︸ ︷︷ ︸

− log P(u)

, s = Bu , y ∈ Cm

MAP estimate is sparse.s∗ = Bu∗: No more than m nonzero s∗,i (if |si | 7→ − log ti (si ) concave)

MAP convex optimization problem⇔ ti(si) log-concave

Seeger (EPFL) Sparse Models 31/8/2013 27 / 59

Page 50: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Sparsity Priors

Seeger (EPFL) Sparse Models 31/8/2013 28 / 59

Page 51: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

MAP Estimation

u∗ = argminu σ−2‖y − X u‖2︸ ︷︷ ︸−2 log P(y |u)

−2∑q

i=1log ti(si)︸ ︷︷ ︸

− log P(u)

, s = Bu , y ∈ Cm

MAP estimate is sparse.s∗ = Bu∗: No more than m nonzero s∗,i (if |si | 7→ − log ti (si ) concave)

MAP convex optimization problem⇔ ti(si) log-concaveSparse and convex? Laplace potentials (Lasso) Tibshirani,

JRSS-B 1996

Seeger (EPFL) Sparse Models 31/8/2013 29 / 59

Page 52: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

minu

12‖y − X u‖2 + κ‖Bu‖1

Rewrite: Operator splitting.

Augmented Lagrangian technique (b Lagrange multipliers)

Seeger (EPFL) Sparse Models 31/8/2013 30 / 59

Page 53: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

minu ,s

12‖y − X u‖2 + κ‖s‖1 s.t. s = Bu

Rewrite: Operator splitting.⇒ Update of each u , s simple (ignoring constraint)

Augmented Lagrangian technique (b Lagrange multipliers)

Seeger (EPFL) Sparse Models 31/8/2013 30 / 59

Page 54: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

maxb

minu ,s

12‖y − X u‖2 + κ‖s‖1 + λbT (Bu − s)︸ ︷︷ ︸

Lagrangian

Rewrite: Operator splitting.⇒ Update of each u , s simple (ignoring constraint)Augmented Lagrangian technique (b Lagrange multipliers)

Seeger (EPFL) Sparse Models 31/8/2013 30 / 59

Page 55: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

maxb

minu ,s

12‖y − X u‖2 + κ‖s‖1 + λbT (Bu − s) + λ

2‖Bu − s‖2︸ ︷︷ ︸augmented Lagrangian

Rewrite: Operator splitting.⇒ Update of each u , s simple (ignoring constraint)Augmented Lagrangian technique (b Lagrange multipliers)

Seeger (EPFL) Sparse Models 31/8/2013 30 / 59

Page 56: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

maxb

minu ,s

12‖y − X u‖2 + κ‖s‖1 + λbT (Bu − s) + λ

2‖Bu − s‖2

Alternating Direction Methods of Multipliers (ADMM)Iterate:

Least squares projection (fixed s, b)

u ← argmin 12‖y − X u‖2 + λ

2‖Bu − s + b‖2

Proximal map (fixed u , b)

s ← argminκ‖s‖1 + λ2‖Bu − s + b‖2

Lagrange multiplier update (fixed u , s)

b ← b + Bu − s

Seeger (EPFL) Sparse Models 31/8/2013 31 / 59

Page 57: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

maxb

minu ,s

12‖y − X u‖2 + κ‖s‖1 + λ

2‖Bu − s + b‖2 − λ2‖b‖

2

Alternating Direction Methods of Multipliers (ADMM)Iterate:

Least squares projection (fixed s, b)

u ← argmin 12‖y − X u‖2 + λ

2‖Bu − s + b‖2

Proximal map (fixed u , b)

s ← argminκ‖s‖1 + λ2‖Bu − s + b‖2

Lagrange multiplier update (fixed u , s)

b ← b + Bu − s

Seeger (EPFL) Sparse Models 31/8/2013 31 / 59

Page 58: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

maxb

minu ,s

12‖y − X u‖2 + κ‖s‖1 + λ

2‖Bu − s + b‖2 − λ2‖b‖

2

Alternating Direction Methods of Multipliers (ADMM)Iterate:

Least squares projection (fixed s, b)

u ← argmin 12‖y − X u‖2 + λ

2‖Bu − s + b‖2

Proximal map (fixed u , b)

s ← argminκ‖s‖1 + λ2‖Bu − s + b‖2

Lagrange multiplier update (fixed u , s)

b ← b + Bu − s

Seeger (EPFL) Sparse Models 31/8/2013 31 / 59

Page 59: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

maxb

minu ,s

12‖y − X u‖2 + κ‖s‖1 + λ

2‖Bu − s + b‖2 − λ2‖b‖

2

Alternating Direction Methods of Multipliers (ADMM)Iterate:

Least squares projection (fixed s, b)

u ← argmin 12‖y − X u‖2 + λ

2‖Bu − s + b‖2

Proximal map (fixed u , b)

s ← argminκ‖s‖1 + λ2‖Bu − s + b‖2

Lagrange multiplier update (fixed u , s)

b ← b + Bu − s

Seeger (EPFL) Sparse Models 31/8/2013 31 / 59

Page 60: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MAP Algorithm

maxb

minu ,s

12‖y − X u‖2 + κ‖s‖1 + λbT (Bu − s) + λ

2‖Bu − s‖2

Alternating Direction Methods of Multipliers (ADMM)Iterate:

Least squares projection (fixed s, b)

u ← argmin 12‖y − X u‖2 + λ

2‖Bu − s + b‖2

Proximal map (fixed u , b)

s ← argminκ‖s‖1 + λ2‖Bu − s + b‖2

Lagrange multiplier update (fixed u , s)

b ← b + Bu − s

Seeger (EPFL) Sparse Models 31/8/2013 31 / 59

Page 61: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction

minu

12‖y − X u‖2 + κ‖Bu‖1

X = IJ,·F , F DFT of size n, J ⊂ {1, . . . ,n}Blocks of B :Orthonormal (wavelets), FIR filters (∆x , ∆y )

Least squares projection:

Seeger (EPFL) Sparse Models 31/8/2013 32 / 59

Page 62: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction

minu

12‖y − X u‖2 + κ‖Bu‖1

X = IJ,·F , F DFT of size n, J ⊂ {1, . . . ,n}Blocks of B :Orthonormal (wavelets), FIR filters (∆x , ∆y )

Least squares projection:(X HX + λBT B

)u = r := X Hy + λBT (s − b)

Seeger (EPFL) Sparse Models 31/8/2013 32 / 59

Page 63: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction

minu

12‖y − X u‖2 + κ‖Bu‖1

X = IJ,·F , F DFT of size n, J ⊂ {1, . . . ,n}Blocks of B :Orthonormal (wavelets), FIR filters (∆x , ∆y )

Least squares projection:(F T I ·,J IJ,·F + λBT B

)u = r

Seeger (EPFL) Sparse Models 31/8/2013 32 / 59

Page 64: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction

minu

12‖y − X u‖2 + κ‖Bu‖1

X = IJ,·F , F DFT of size n, J ⊂ {1, . . . ,n}Blocks of B :Orthonormal (wavelets), FIR filters (∆x , ∆y )

Least squares projection:

F T(

I ·,J IJ,· + λF BT BF T︸ ︷︷ ︸diagonal

)F u = r

Seeger (EPFL) Sparse Models 31/8/2013 32 / 59

Page 65: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction

minu

12‖y − X u‖2 + κ‖Bu‖1

X = IJ,·F , F DFT of size n, J ⊂ {1, . . . ,n}Blocks of B :Orthonormal (wavelets), FIR filters (∆x , ∆y )

Least squares projection:(I ·,J IJ,· + D

)︸ ︷︷ ︸diagonal

F u = F r

⇒ Two fast Fourier transforms only!

Seeger (EPFL) Sparse Models 31/8/2013 32 / 59

Page 66: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction courtesy Mateusz Malinowski

10 20 30 40 50 600

10

20

30

40

50

60

70

Number FFTs

L 2 rec

onst

ruct

ion

erro

r

Seeger (EPFL) Sparse Models 31/8/2013 33 / 59

Page 67: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction courtesy Mateusz Malinowski

10 20 30 40 50 600

10

20

30

40

50

60

70

Number FFTs

L 2 rec

onst

ruct

ion

erro

r

Seeger (EPFL) Sparse Models 31/8/2013 33 / 59

Page 68: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction courtesy Mateusz Malinowski

10 20 30 40 50 600

10

20

30

40

50

60

70

Number FFTs

L 2 rec

onst

ruct

ion

erro

r

Seeger (EPFL) Sparse Models 31/8/2013 33 / 59

Page 69: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Example: MRI Reconstruction courtesy Mateusz Malinowski

10 20 30 40 50 600

10

20

30

40

50

60

70

Number FFTs

L 2 rec

onst

ruct

ion

erro

r

Seeger (EPFL) Sparse Models 31/8/2013 33 / 59

Page 70: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation

Where Are We?

Sparse linear model:Linear couplings (X , B), super-Gaussian potentialsMAP estimation:

Sparse solution if |si | 7→ − log ti (si ) concaveConvex problem if si 7→ − log ti (si ) convex (ti log-concave)Sparse and convex? Laplace potentials, `1

Proximal splitting algorithms:Simple, efficient steps. Parallelizable

Seeger (EPFL) Sparse Models 31/8/2013 34 / 59

Page 71: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Outline

1 Sparse Modelling

2 Sparse Estimation

3 Sparse Bayesian Inference

4 Sparse Estimation vs. Sparse Inference

Seeger (EPFL) Sparse Models 31/8/2013 35 / 59

Page 72: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

MAP Estimation

Maximum a Posteriori (MAP) Estimation

There are many solutions. Why settle for any single one?

Seeger (EPFL) Sparse Models 31/8/2013 36 / 59

Page 73: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Integration, not Maximization

Use All SolutionsWeight each solution by our uncertaintyAverage over them. Integrate, don’t maximize

Seeger (EPFL) Sparse Models 31/8/2013 37 / 59

Page 74: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Robust Model Calibration

P(y |θ) =

∫P(y |u ,θ)P(u |θ) du

Given raw data y , no ground truth u . Calibrate model parameters θ.

Blind deconvolution (θ blur kernel)Multi-frame super-resolution (θ camera parameters, PSF)Image coding (θ codebook)Learning image priors (P(u) = P(u |θ))

Seeger (EPFL) Sparse Models 31/8/2013 38 / 59

Page 75: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Robust Model Calibration

P(y |θ) =

∫P(y |u ,θ)P(u |θ) du

Given raw data y , no ground truth u . Calibrate model parameters θ.

MAP Estimation

argmaxθ

maxu

P(y |u)P(u)︸ ︷︷ ︸??

All bets on one θ, all bets onone u , . . .Can work if

u much higher-D than θAdditional engineering

Bayesian Inference

argmaxθ

∫P(y |u)P(u) du︸ ︷︷ ︸likelihood P(y |θ)

Maximize true likelihoodAccount for uncertainty in u :Cues for what θ should be

Seeger (EPFL) Sparse Models 31/8/2013 38 / 59

Page 76: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Bayesian Experimental Design

Seeger (EPFL) Sparse Models 31/8/2013 39 / 59

Page 77: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Variational Bayesian Inference

P(u |y ) = Z−1P(y |u)∏

iti(si), Z =

∫P(y |u)

∏iti(si) du

Bayesian integration over P(u |y ) intractable

Integration tractable for Gaussians Q(u |y )⇒ Approximate P(u |y ) by Q(u |y )!

Seeger (EPFL) Sparse Models 31/8/2013 40 / 59

Page 78: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Variational Bayesian Inference

P(u |y ) = Z−1P(y |u)∏

iti(si), Z =

∫P(y |u)

∏iti(si) du

Bayesian integration over P(u |y ) intractableIntegration tractable for Gaussians Q(u |y )⇒ Approximate P(u |y ) by Q(u |y )!

Seeger (EPFL) Sparse Models 31/8/2013 40 / 59

Page 79: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Variational Bayesian Inference

P(u |y ) = Z−1P(y |u)∏

iti(si), Z =

∫P(y |u)

∏iti(si) du

Bayesian integration over P(u |y ) intractableIntegration tractable for Gaussians Q(u |y )⇒ Approximate P(u |y ) by Q(u |y )!

Variational approximationApply variational principle to fit master function log Z

Seeger (EPFL) Sparse Models 31/8/2013 40 / 59

Page 80: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Super-Gaussian Priors

t(s) = maxγ≥0

e−12 (s2/γ+h(γ))

Sparsity potentials are super-Gaussian

s2 7→ 2 log t(s) is convex

Affine→ convex:Shift mass to center and tails

Seeger (EPFL) Sparse Models 31/8/2013 41 / 59

Page 81: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Fenchel DualitySuper-Gaussian:t(s) even, {x = s2} 7→ {f (x) = 2 log t(s)} convex.

−0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5−0.45

−0.4

−0.35

−0.3

−0.25

−0.2

−0.15

−0.1

−0.05

0

f (x) = maxπ xπ − f ∗(π)

−1 −0.5 0 0.5 10.3

0.35

0.4

0.45

0.5

0.55

0.6

0.65

0.7

0.75

f ∗(π) = maxx πx − f (x)

Seeger (EPFL) Sparse Models 31/8/2013 42 / 59

Page 82: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Fenchel DualitySuper-Gaussian:t(s) even, {x = s2} 7→ {f (x) = 2 log t(s)} convex.

−0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5−0.45

−0.4

−0.35

−0.3

−0.25

−0.2

−0.15

−0.1

−0.05

0

f (x) = maxπ xπ − f ∗(π)

−1 −0.5 0 0.5 10.3

0.35

0.4

0.45

0.5

0.55

0.6

0.65

0.7

0.75

f ∗(π) = maxx πx − f (x)

Seeger (EPFL) Sparse Models 31/8/2013 42 / 59

Page 83: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Fenchel DualitySuper-Gaussian:t(s) even, {x = s2} 7→ {f (x) = 2 log t(s)} convex.

−0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5−0.45

−0.4

−0.35

−0.3

−0.25

−0.2

−0.15

−0.1

−0.05

0

f (x) = maxπ xπ − f ∗(π)

−1 −0.5 0 0.5 10.3

0.35

0.4

0.45

0.5

0.55

0.6

0.65

0.7

0.75

f ∗(π) = maxx πx − f (x)

Seeger (EPFL) Sparse Models 31/8/2013 42 / 59

Page 84: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Fenchel DualitySuper-Gaussian:t(s) even, {x = s2} 7→ {f (x) = 2 log t(s)} convex.

−0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5−0.45

−0.4

−0.35

−0.3

−0.25

−0.2

−0.15

−0.1

−0.05

0

f (x) = maxπ xπ − f ∗(π)

−1 −0.5 0 0.5 10.3

0.35

0.4

0.45

0.5

0.55

0.6

0.65

0.7

0.75

f ∗(π) = maxx πx − f (x)

Seeger (EPFL) Sparse Models 31/8/2013 42 / 59

Page 85: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Fenchel DualitySuper-Gaussian:t(s) even, {x = s2} 7→ {f (x) = 2 log t(s)} convex.

−0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5−0.45

−0.4

−0.35

−0.3

−0.25

−0.2

−0.15

−0.1

−0.05

0

f (x) = maxπ xπ − f ∗(π)

−1 −0.5 0 0.5 10.3

0.35

0.4

0.45

0.5

0.55

0.6

0.65

0.7

0.75

f ∗(π) = maxx πx − f (x)

Seeger (EPFL) Sparse Models 31/8/2013 42 / 59

Page 86: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Fenchel DualitySuper-Gaussian:t(s) even, {x = s2} 7→ {f (x) = 2 log t(s)} convex.

−0.4 −0.3 −0.2 −0.1 0 0.1 0.2 0.3 0.4 0.5−0.45

−0.4

−0.35

−0.3

−0.25

−0.2

−0.15

−0.1

−0.05

0

f (x) = maxπ xπ − f ∗(π)

t(s) = maxγ e−12 (s2/γ+h(γ))

−1 −0.5 0 0.5 10.3

0.35

0.4

0.45

0.5

0.55

0.6

0.65

0.7

0.75

f ∗(π) = maxx πx − f (x)

h(γ) = maxs −s2/γ − 2 log t(s)

Seeger (EPFL) Sparse Models 31/8/2013 42 / 59

Page 87: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Super-Gaussian Bounding

P(u |y ) =P(y |u)× P(u)

P(y )

Sparsity potentials are super-Gaussian

ti(si) = maxγi≥0

e−12 (s2

i /γi+hi (γi )),

h(γ) :=∑

ihi(γi), Γ = diag γ

Seeger (EPFL) Sparse Models 31/8/2013 43 / 59

Page 88: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Super-Gaussian Bounding

P(u |y ) =P(y |u)× P(u)

P(y )

Exact representation

log Z

= log∫

P(y |u) maxγ

e−12 (sT Γ−1s+h(γ )) du

ti (si ) =

maxγi≥0

e−12 (s2

i /γi+hi (γi ))

Seeger (EPFL) Sparse Models 31/8/2013 43 / 59

Page 89: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Super-Gaussian Bounding

P(u |y ) =P(y |u)× P(u)

P(y )

Lower bound

log Z

= log∫

P(y |u) maxγ

e−12 (sT Γ−1s+h(γ )) du

≥ maxγ

log∫

P(y |u)e−12 (sT Γ−1s+h(γ )) du

ti (si ) =

maxγi≥0

e−12 (s2

i /γi+hi (γi ))

Seeger (EPFL) Sparse Models 31/8/2013 43 / 59

Page 90: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Super-Gaussian Bounding

P(u |y ) =P(y |u)× P(u)

P(y )

Lower bound

log Z

≥ maxγ

log∫

P(y |u)e−12 (sT Γ−1s+h(γ )) du

= maxγ

log ZQ(γ)− h(γ)/2

Gaussian approximation

Q(u |y ) = ZQ−1P(y |u)e−

12 sT Γ−1s , s = Bu

ti (si ) =

maxγi≥0

e−12 (s2

i /γi+hi (γi ))

Seeger (EPFL) Sparse Models 31/8/2013 43 / 59

Page 91: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Super-Gaussian Bounding

P(u |y ) =P(y |u)× P(u)

P(y )

Variational problem: Q(u |y ) ≈ P(u |y )

minγ {φ(γ) = −2 log ZQ + h(γ)}

Gaussian approximation

Q(u |y ) = Z−1Q P(y |u)e−

12 sT Γ−1s , s = Bu ,

ZQ =

∫P(y |u)e−

12 sT Γ−1s du

ti (si ) =

maxγi≥0

e−12 (s2

i /γi+hi (γi ))

Seeger (EPFL) Sparse Models 31/8/2013 43 / 59

Page 92: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

MAP Estimation and Variational Inference

Seeger (EPFL) Sparse Models 31/8/2013 44 / 59

Page 93: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Properties of Super-Gaussian Bounding

minγ−2 log

∫P(y |u)e−

12 sT Γ−1s du + h(γ)

Super-Gaussian bounding stands out Seeger, Nickisch, SIAM IS 2011

Convex problem iff MAP estimation is convexCan be solved at much larger scales than others

Seeger (EPFL) Sparse Models 31/8/2013 45 / 59

Page 94: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Properties of Super-Gaussian Bounding

minγ−2 log

∫P(y |u)e−

12 sT Γ−1s du + h(γ)

Super-Gaussian bounding stands out Seeger, Nickisch, SIAM IS 2011

Convex problem iff MAP estimation is convexCan be solved at much larger scales than others

MAP estimation will help solving it!

Seeger (EPFL) Sparse Models 31/8/2013 45 / 59

Page 95: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Towards Scalable Variational Inference

minγ−2 log

∫P(y |u)e−

12 sT Γ−1s du + h(γ)

CovQ[u |y ] = A−1, A = σ−2X HX + BT Γ−1B

Harder than MAP estimation. But why?

Seeger (EPFL) Sparse Models 31/8/2013 46 / 59

Page 96: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Towards Scalable Variational Inference

minγ−2 log

∫P(y |u)e−

12 sT Γ−1s du + h(γ)

CovQ[u |y ] = A−1, A = σ−2X HX + BT Γ−1B

Harder than MAP estimation. Because of log |A|.

Super-Gaussian bounding

minγ ,u

{φ(u ,γ) = σ−2‖y − X u‖2 + sT Γ−1s + h(γ)︸ ︷︷ ︸

MAP criterion

+ log |A|}

Seeger (EPFL) Sparse Models 31/8/2013 46 / 59

Page 97: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Decoupling by Fenchel Duality

minγ ,u∗

φ(u∗,γ) = minγ ,u∗

log |A(γ−1)|︸ ︷︷ ︸concave

+φ∪(u∗,γ)︸ ︷︷ ︸convex

Seeger (EPFL) Sparse Models 31/8/2013 47 / 59

Page 98: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Decoupling by Fenchel Duality

minγ ,u∗

φ(u∗,γ) = minγ ,u∗

log |A(γ−1)|︸ ︷︷ ︸concave

+φ∪(u∗,γ)︸ ︷︷ ︸convex

Fenchel duality

log |A(γ−1)| = minz

z T (γ−1)− g∗(z )

Seeger (EPFL) Sparse Models 31/8/2013 47 / 59

Page 99: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Decoupling by Fenchel Duality

log |A(γ−1)|+ φ∪(u∗,γ) = minz

z T (γ−1) + φ∪(u∗,γ)− g∗(z )︸ ︷︷ ︸φz (u∗,γ ) (convex, decoupled)

Fenchel duality

log |A(γ−1)| = minz

z T (γ−1)− g∗(z )

Seeger (EPFL) Sparse Models 31/8/2013 47 / 59

Page 100: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Scalable Double Loop Algorithm

Double loop algorithm Seeger et.al., NIPS 2009; insp. by Wipf et.al., NIPS 2008

Inner loop optimization: minγ minu∗ φz (u∗,γ) + g∗(z ) [fixed z ]

Outer loop update: minz φz (u∗,γ) [fixed (u∗,γ)]

minu∗

minγσ−2‖y − X u∗‖2 + zT (γ−1) + sT

∗ Γ−1s∗ + h(γ)

Seeger (EPFL) Sparse Models 31/8/2013 48 / 59

Page 101: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Scalable Double Loop Algorithm

Double loop algorithm Seeger et.al., NIPS 2009; insp. by Wipf et.al., NIPS 2008

Inner loop optimization: minγ minu∗ φz (u∗,γ) + g∗(z ) [fixed z ]Smoothed MAP Reconstruction

Outer loop update: minz φz (u∗,γ) [fixed (u∗,γ)]

minu∗

σ−2‖y − X u∗‖2 − 2∑q

i=1log ti

(√zi + s2

∗i

), zi > 0

Seeger (EPFL) Sparse Models 31/8/2013 48 / 59

Page 102: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Scalable Double Loop Algorithm

Double loop algorithm Seeger et.al., NIPS 2009; insp. by Wipf et.al., NIPS 2008

Inner loop optimization: minγ minu∗ φz (u∗,γ) + g∗(z ) [fixed z ]Smoothed MAP ReconstructionOuter loop update: minz φz (u∗,γ) [fixed (u∗,γ)]

Tangent : z ← ∇γ−1 log |A|, A = σ−2X HX + BT Γ−1B

Seeger (EPFL) Sparse Models 31/8/2013 48 / 59

Page 103: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Scalable Double Loop Algorithm

Double loop algorithm Seeger et.al., NIPS 2009; insp. by Wipf et.al., NIPS 2008

Inner loop optimization: minγ minu∗ φz (u∗,γ) + g∗(z ) [fixed z ]Smoothed MAP ReconstructionOuter loop update: minz φz (u∗,γ) [fixed (u∗,γ)]Gaussian (Co)Variances

z ← ∇γ−1 log |A| = diag(BA−1BT ) = (VarQ[si |y ])

Seeger (EPFL) Sparse Models 31/8/2013 48 / 59

Page 104: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Reductions

Computational primitives driving large scale inference

1 Penalized least squares (≈ MAP estimation)

minu∗

σ−2‖y − X u∗‖2 − 2∑q

i=1log ti

(√zi + s2

∗i

)MAP special case: zi = 0Scalable algorithms (thanks to MAP “gold rush”)

2 Gaussian variances

diag−1(BA−1BT ), A = σ−2X HX + BT Γ−1B

More difficultMethods from numerical mathematics, spatial statistics

Seeger (EPFL) Sparse Models 31/8/2013 49 / 59

Page 105: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Reductions

Computational primitives driving large scale inference

1 Penalized least squares (≈ MAP estimation)

minu∗

σ−2‖y − X u∗‖2 − 2∑q

i=1log ti

(√zi + s2

∗i

)MAP special case: zi = 0Scalable algorithms (thanks to MAP “gold rush”)

2 Gaussian variances

diag−1(BA−1BT ), A = σ−2X HX + BT Γ−1B

More difficultMethods from numerical mathematics, spatial statistics

Seeger (EPFL) Sparse Models 31/8/2013 49 / 59

Page 106: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Where Are We?

Bayesian inference: Optimization over distributions.Variational approximations: Relaxations thereofSuper-Gaussian bounding:Exploit latent Gaussian representations of ti

Convex iff MAP estimation is convexScalable by reductions (double loop algorithm)

Other relaxations available Seeger, J. Phys. Conf. 2009Nickisch et.al., JMLR 2008

General variational inference Wainwright, Jordan, FTML 2008

Randomized approximations Teh et.al., JMLR 2003Roth, Black, IJCV 2009

(MCMC, brief Gibbs sampling)

Seeger (EPFL) Sparse Models 31/8/2013 50 / 59

Page 107: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Bayesian Inference

Where Are We?

Bayesian inference: Optimization over distributions.Variational approximations: Relaxations thereofSuper-Gaussian bounding:Exploit latent Gaussian representations of ti

Convex iff MAP estimation is convexScalable by reductions (double loop algorithm)

Other relaxations available Seeger, J. Phys. Conf. 2009Nickisch et.al., JMLR 2008

General variational inference Wainwright, Jordan, FTML 2008

Randomized approximations Teh et.al., JMLR 2003Roth, Black, IJCV 2009

(MCMC, brief Gibbs sampling)

Seeger (EPFL) Sparse Models 31/8/2013 50 / 59

Page 108: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Outline

1 Sparse Modelling

2 Sparse Estimation

3 Sparse Bayesian Inference

4 Sparse Estimation vs. Sparse Inference

Seeger (EPFL) Sparse Models 31/8/2013 51 / 59

Page 109: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Questions

When do I get exact zeros?Why is sparse inference more expensive than sparse estimation?Can I drive Bayesian experimental design with sparse estimation(RVM/ARD)?

Seeger (EPFL) Sparse Models 31/8/2013 52 / 59

Page 110: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Automatic Relevance Determination Tipping 2001,Wipf et.al. 2004

minγ

{φARD(γ) = −2 log

∫P(y |u)N(s|0,Γ) du

}, s = Bu

ARD↔ Relevance Vector MachineSparsity by γi → 0Sparse estimation, not sparse inference: Seeger, Wipf, IEEE SPM 2010

Zero-temperature limit of variational inference with Student t priorAlgorithms:

Sequential greedy Tipping, Faul, AISTATS 2003

Double loop (reweighted `1) Wipf et.al., NIPS 2008

Seeger (EPFL) Sparse Models 31/8/2013 53 / 59

Page 111: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Exact Sparsity Kills Posterior Uncertainty

γi = 0 ⇒ EQ[s2i |y ] = 0

Exact sparsity controlled by γi

Exact sparsity kills posterior uncertainty:

γJ = 0 ⇒ EQ[sJ |y ] = 0, CovQ[sJ |y ] = 0

Good for computation: Heavy scaling only in nonzeros ‖γ‖0Bad for Bayesian inference:Uncertainty is eliminated (the more so, the less data!)

Bayesian experimental design: Ji, Carin, ICML 2007

Cannot be based on sparse estimation

Seeger (EPFL) Sparse Models 31/8/2013 54 / 59

Page 112: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Exact Sparsity Kills Posterior Uncertainty

γi = 0 ⇒ EQ[s2i |y ] = 0

Exact sparsity controlled by γi

Exact sparsity kills posterior uncertainty:

γJ = 0 ⇒ EQ[sJ |y ] = 0, CovQ[sJ |y ] = 0

Good for computation: Heavy scaling only in nonzeros ‖γ‖0Bad for Bayesian inference:Uncertainty is eliminated (the more so, the less data!)

Bayesian experimental design: Ji, Carin, ICML 2007

Cannot be based on sparse estimation

Seeger (EPFL) Sparse Models 31/8/2013 54 / 59

Page 113: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Exact Sparsity Kills Posterior Uncertainty

γi = 0 ⇒ EQ[s2i |y ] = 0

Exact sparsity controlled by γi

Exact sparsity kills posterior uncertainty:

γJ = 0 ⇒ EQ[sJ |y ] = 0, CovQ[sJ |y ] = 0

Good for computation: Heavy scaling only in nonzeros ‖γ‖0

Bad for Bayesian inference:Uncertainty is eliminated (the more so, the less data!)

Bayesian experimental design: Ji, Carin, ICML 2007

Cannot be based on sparse estimation

Seeger (EPFL) Sparse Models 31/8/2013 54 / 59

Page 114: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Exact Sparsity Kills Posterior Uncertainty

γi = 0 ⇒ EQ[s2i |y ] = 0

Exact sparsity controlled by γi

Exact sparsity kills posterior uncertainty:

γJ = 0 ⇒ EQ[sJ |y ] = 0, CovQ[sJ |y ] = 0

Good for computation: Heavy scaling only in nonzeros ‖γ‖0Bad for Bayesian inference:Uncertainty is eliminated (the more so, the less data!)

Bayesian experimental design: Ji, Carin, ICML 2007

Cannot be based on sparse estimation

Seeger (EPFL) Sparse Models 31/8/2013 54 / 59

Page 115: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Sparse Estimation vs. Sparse Inference

Sparse Estimation

φARD = −2×

log∫

P(y |u) N(s|0,Γ)︸ ︷︷ ︸normalized

du

Sparse Inference

φSGB = −2×

log∫

P(y |u) e−12 ((s2)T γ−1+h(γ ))︸ ︷︷ ︸

lower bound

du

γ1

γ2

γ1

γ2

Seeger (EPFL) Sparse Models 31/8/2013 55 / 59

Page 116: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Sparse Estimation vs. Sparse Inference

Sparse Estimation

Encourages γi → 0

Sparse Inference

Forbids γi → 0(φSGB →∞)

γ1

γ2

γ1

γ2

Seeger (EPFL) Sparse Models 31/8/2013 55 / 59

Page 117: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Answers Seeger, Nickisch, SIAM IS 2001

When do I get exact zeros?Controlled by γi → 0.Happens for sparse estimation, not for sparse inference

Why is sparse inference more expensive than sparse estimation?Because sparse inference maintains posterior uncertainty(full covariance)Can I drive Bayesian experimental design with sparse estimation?No free lunch! Sparse estimation kills posterior uncertainty(highly degenerate covariance)

Seeger (EPFL) Sparse Models 31/8/2013 56 / 59

Page 118: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Answers Seeger, Nickisch, SIAM IS 2001

When do I get exact zeros?Controlled by γi → 0.Happens for sparse estimation, not for sparse inferenceWhy is sparse inference more expensive than sparse estimation?Because sparse inference maintains posterior uncertainty(full covariance)

Can I drive Bayesian experimental design with sparse estimation?No free lunch! Sparse estimation kills posterior uncertainty(highly degenerate covariance)

Seeger (EPFL) Sparse Models 31/8/2013 56 / 59

Page 119: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Answers Seeger, Nickisch, SIAM IS 2001

When do I get exact zeros?Controlled by γi → 0.Happens for sparse estimation, not for sparse inferenceWhy is sparse inference more expensive than sparse estimation?Because sparse inference maintains posterior uncertainty(full covariance)Can I drive Bayesian experimental design with sparse estimation?No free lunch! Sparse estimation kills posterior uncertainty(highly degenerate covariance)

Seeger (EPFL) Sparse Models 31/8/2013 56 / 59

Page 120: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Conclusions

Variational Bayesian inference very active field Wainwright, JordanFTML 2008

Loopy belief propagation and generalizationsConvex relaxations. LP relaxationsGaussian/discrete Markov random fields

Broad application impactCoding, information transmissionExpert systemsLow level computer vision, adaptive robotics and controlDiscrete optimization Mézard, Montanari, 2009

Geostatistics, spatial modelling

Seeger (EPFL) Sparse Models 31/8/2013 57 / 59

Page 121: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Conclusions

Variational Bayesian inference very active field Wainwright, JordanFTML 2008

Loopy belief propagation and generalizationsConvex relaxations. LP relaxationsGaussian/discrete Markov random fields

Broad application impactCoding, information transmissionExpert systemsLow level computer vision, adaptive robotics and controlDiscrete optimization Mézard, Montanari, 2009

Geostatistics, spatial modelling

Seeger (EPFL) Sparse Models 31/8/2013 57 / 59

Page 122: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Conclusions

Sparse inference beyond MAP estimationRobust reconstructionActive, adaptive data acquisitionLearning for inverse problemsSequential decision-making

Bayesian experimental design, Bayesian optimizationMedical imaging sampling optimizationComputational photographyIntelligent user interfacesActive calibration of cameras

Modern variational inference algorithms:Layers on top of what you already know

Penalized least squares (MAP) reconstructionGaussian covariance approximation (PCA)

Seeger (EPFL) Sparse Models 31/8/2013 58 / 59

Page 123: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Conclusions

Sparse inference beyond MAP estimationRobust reconstructionActive, adaptive data acquisitionLearning for inverse problemsSequential decision-making

Bayesian experimental design, Bayesian optimizationMedical imaging sampling optimizationComputational photographyIntelligent user interfacesActive calibration of cameras

Modern variational inference algorithms:Layers on top of what you already know

Penalized least squares (MAP) reconstructionGaussian covariance approximation (PCA)

Seeger (EPFL) Sparse Models 31/8/2013 58 / 59

Page 124: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Conclusions

Sparse inference beyond MAP estimationRobust reconstructionActive, adaptive data acquisitionLearning for inverse problemsSequential decision-making

Bayesian experimental design, Bayesian optimizationMedical imaging sampling optimizationComputational photographyIntelligent user interfacesActive calibration of cameras

Modern variational inference algorithms:Layers on top of what you already know

Penalized least squares (MAP) reconstructionGaussian covariance approximation (PCA)

Seeger (EPFL) Sparse Models 31/8/2013 58 / 59

Page 125: Sparse Linear Models: Estimation and Approximate Bayesian ...mlss.tuebingen.mpg.de/2013/2013/seeger_slides.pdf · Sparse Linear Models: Estimation and Approximate Bayesian Inference

Sparse Estimation vs. Sparse Inference

Software and Acknowledgments

glm-ie: Toolbox by Hannes Nickisch

mloss.org/software/view/269/

Generalized sparse linear modelsMAP reconstruction and variational Bayesianinference (double loop algorithm forsuper-Gaussian bounding)Matlab 7.x, GNU Octave 3.2.x

Hannes Nickisch (Philips Hamburg, ex-MPI Tübingen)Rolf Pohmann, Bernhard Schölkopf (MPI Tübingen)David Wipf (MSR China)

Seeger (EPFL) Sparse Models 31/8/2013 59 / 59