82
The Linear Problem: b = Ax + e The Nonlinear Problem: b = A(y) x + e Example: Image Deblurring Concluding Remarks Large Scale Inverse Problems in Imaging Julianne Chung and James Nagy Emory University Atlanta, GA, USA Collaborators: Eldad Haber (Emory) Per Christian Hansen (Tech. Univ. of Denmark) Dianne O’Leary (University of Maryland) Julianne Chung and James Nagy Emory University Atlanta, GA, USA Large Scale Inverse Problems in Imaging

Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Large Scale Inverse Problems in Imaging

Julianne Chung and James NagyEmory UniversityAtlanta, GA, USA

Collaborators: Eldad Haber (Emory)Per Christian Hansen (Tech. Univ. of Denmark)Dianne O’Leary (University of Maryland)

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 2: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Question: How difficult can it be to solve Ax = b?

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 3: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Question: How difficult can it be to solve Ax = b?

If A is large (e.g, A is 1, 000, 000× 1, 000, 000)

Answer: Difficult

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 4: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Question: How difficult can it be to solve Ax = b?

If A is large (e.g, A is 1, 000, 000× 1, 000, 000)

and

A is ill-conditioned

Answer: Very difficult!

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 5: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Question: How difficult can it be to solve Ax = b?

If A is large (e.g, A is 1, 000, 000× 1, 000, 000)

and

A is ill-conditioned

and

can only get approximations of A and b

Answer: Impossible!!

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 6: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Question: How difficult can it be to approximately solve Ax = b?

If A is large (e.g, A is 1, 000, 000× 1, 000, 000)

and

A is ill-conditioned

and

can only get approximations of A and b

Answer: Very difficult!

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 7: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Inverse Problems in Imaging

Imaging problems are often modeled as:

b = Ax + e

where

A - large, ill-conditioned matrix

b - known, measured (image) data

e - noise, statistical properties may be known

Goal: Compute approximation of image x

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 8: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Inverse Problems in Imaging

A more realistic image formation model is:

b = A(y) x + e

where

A(y) - large, ill-conditioned matrix

b - known, measured (image) data

e - noise, statistical properties may be known

y - parameters defining A, usually approximated

Goal: Compute approximation of image xand improve estimate of parameters y

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 9: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Deblurring

b = A(y) x + e = observed imagewhere y describes blurring function

Given: b and an estimate of y

Standard Image Deblurring:Compute approximation of x

Better approach:Jointly improve estimate of yand compute approximation of x.

Observed Image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 10: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Deblurring

b = A(y) x + e = observed imagewhere y describes blurring function

Given: b and an estimate of y

Standard Image Deblurring:Compute approximation of x

Better approach:Jointly improve estimate of yand compute approximation of x.

Observed Image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 11: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Deblurring

b = A(y) x + e = observed imagewhere y describes blurring function

Given: b and an estimate of y

Standard Image Deblurring:Compute approximation of x

Better approach:Jointly improve estimate of yand compute approximation of x.

Reconstruction using initial PSF

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 12: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Deblurring

b = A(y) x + e = observed imagewhere y describes blurring function

Given: b and an estimate of y

Standard Image Deblurring:Compute approximation of x

Better approach:Jointly improve estimate of yand compute approximation of x.

Reconstruction after 8 GN iterations

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 13: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej

(collected low resolution images) 1−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 14: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej

(collected low resolution images) 8−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 15: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej

(collected low resolution images) 15−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 16: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej

(collected low resolution images) 22−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 17: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej

(collected low resolution images) 29−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 18: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej

(collected low resolution images) b1...

bm

︸ ︷︷ ︸

=

A(y1)...

A(ym)

︸ ︷︷ ︸

x+

e1...

em

︸ ︷︷ ︸

b = A(y) x + e

y = registration, blurring, etc.,parameters

Goal: Improve parameters y andcompute x

29−th low resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 19: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Application: Image Data Fusion

bj = A(yj) x + ej

(collected low resolution images) b1...

bm

︸ ︷︷ ︸

=

A(y1)...

A(ym)

︸ ︷︷ ︸

x+

e1...

em

︸ ︷︷ ︸

b = A(y) x + e

y = registration, blurring, etc.,parameters

Goal: Improve parameters y andcompute x

Reconstructed high resolution image

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 20: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Outline

1 The Linear Problem: b = Ax + e

2 The Nonlinear Problem: b = A(y) x + e

3 Example: Image Deblurring

4 Concluding Remarks

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 21: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

The Linear Problem

Assume A = A(y) is known exactly.

We are given A and b, where

b = Ax + e

A is an ill-conditioned matrix, and we do not know e.

We want to compute an approximation of x.

Bad idea:

e is small, so ignore it, and

use x inv ≈ A−1b

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 22: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

The Linear Problem

Assume A = A(y) is known exactly.

We are given A and b, where

b = Ax + e

A is an ill-conditioned matrix, and we do not know e.

We want to compute an approximation of x.

Bad idea:

e is small, so ignore it, and

use x inv ≈ A−1b

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 23: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Regularization Tools test problem: heat.mP. C. Hansen, www2.imm.dtu.dk/∼pch/Regutools

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Desired solution, x

50 100 150 200 250−0.01

0

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

Noise free data, A*x

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 24: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

If A and b are known exactly,can get an accurate reconstruction.

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Inverse solution x = A−1b

50 100 150 200 250−0.01

0

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

Noise free data, A*x

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 25: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

But, if b contains a small amount of noise,

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Desired solution, x

50 100 150 200 250−0.01

0

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

Noisy data, b = A*x + e

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 26: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

But, if b contains a small amount of noise,then we get a poor reconstruction!

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Inverse solution x = A−1b

50 100 150 200 250−0.01

0

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

Noisy data, b = A*x + e

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 27: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

SVD Analysis

An important linear algebra tool: Singular Value Decomposition

Let A = UΣVT where

Σ =diag(σ1, σ2, . . . , σn) , σ1 ≥ σ2 ≥ · · · ≥ σn ≥ 0

UTU = I , VTV = I

U =[

u1 u2 · · · un

](left singular vectors)

V =[

v1 v2 · · · vn

](right singular vectors)

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 28: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

SVD Analysis

The naıve inverse solution can then be represented as:

x = A−1b

= VΣ−1UTb

=n∑

i=1

uTi b

σivi

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 29: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

SVD Analysis

The naıve inverse solution can then be represented as:

x = A−1(b + e)

= VΣ−1UT (b + e)

=n∑

i=1

uTi (b + e)

σivi

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 30: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

SVD Analysis

The naıve inverse solution can then be represented as:

x = A−1(b + e)

= VΣ−1UT (b + e)

=n∑

i=1

uTi (b + e)

σivi

=n∑

i=1

uTi b

σivi +

n∑i=1

uTi e

σivi

= x + error

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 31: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 32: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Large σi ↔ smooth (low frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v1

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 33: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Large σi ↔ smooth (low frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v2

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 34: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Large σi ↔ smooth (low frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v3

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 35: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Large σi ↔ smooth (low frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v4

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 36: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Large σi ↔ smooth (low frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v5

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 37: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Small σi ↔ oscillating (high frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v25

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 38: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Small σi ↔ oscillating (high frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v50

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 39: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Small σi ↔ oscillating (high frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v75

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 40: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Small σi ↔ oscillating (high frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v100

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 41: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Small σi ↔ oscillating (high frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v125

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 42: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Error term depends on singular values σi and singular vectors vi .Small σi ↔ oscillating (high frequency) vi

0 50 100 150 200 25010

−10

10−9

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Singular values

50 100 150 200 250−0.2

−0.15

−0.1

−0.05

0

0.05

0.1

0.15

0.2

Singular vector, v150

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 43: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

SVD Analysis

The naıve inverse solution can then be represented as:

x = A−1(b + e)

= VΣ−1UT (b + e)

=n∑

i=1

uTi (b + e)

σivi

=n∑

i=1

uTi b

σivi +

n∑i=1

uTi e

σivi

= x + error

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 44: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Regularization by Filtering

Basic Idea: Filter out effects of small singular values.(Hansen, SIAM, 1997)

xreg = A−1regb = VΦΣ−1UTb =

n∑i=1

φiuT

i b

σivi ,

where Φ = diag(φ1, φ2, . . . , φn)

The ”filter factors” satisfy

φi ≈{

1 if σi is large0 if σi is small

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 45: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

An Example: Tikhonov Regularization

minx

{‖b− Ax‖22 + λ2‖x‖22

}⇔ min

x

∥∥∥∥[ b0

]−[

AλI

]x

∥∥∥∥2

2

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 46: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

An Example: Tikhonov Regularization

minx

{‖b− Ax‖22 + λ2‖x‖22

}⇔ min

x

∥∥∥∥[ b0

]−[

AλI

]x

∥∥∥∥2

2

An equivalent SVD filtering formulation:

xtik =n∑

i=1

σ2i

σ2i + λ2

uTi b

σivi

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 47: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

An Example: Tikhonov Regularization

minx

{‖b− Ax‖22 + λ2‖x‖22

}⇔ min

x

∥∥∥∥[ b0

]−[

AλI

]x

∥∥∥∥2

2

An equivalent SVD filtering formulation:

xtik =n∑

i=1

σ2i

σ2i + λ2

uTi b

σivi

10−5

10−4

10−3

10−2

10−1

100

101

0

0.2

0.4

0.6

0.8

1

singular values

filte

r fa

ctor

α = 0.001

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 48: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Choosing Regularization Parameters

Lots of choices: Generalized Cross Validation (GCV), L-curve,discrepancy principle, ...

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 49: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Choosing Regularization Parameters

Lots of choices: Generalized Cross Validation (GCV), L-curve,discrepancy principle, ...

GCV and Tikhonov: Choose λ to minimize

GCV(λ) =

nn∑

i=1

(uT

i b

σ2i + λ2

)2

(n∑

i=1

1

σ2i + λ2

)2

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 50: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Reconstruction using Tikhonov reg. can be better than x inv.Quality of reconstruction depends on λ.But λ depends on A and b.

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Desired solution, x

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Inverse solution x = A−1b

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 51: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Reconstruction using Tikhonov reg. can be better than x inv.Quality of reconstruction depends on λ.But λ depends on A and b.

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Regularized Solution, λ = 0.0005

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Inverse solution x = A−1b

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 52: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Reconstruction using Tikhonov reg. can be better than x inv.Quality of reconstruction depends on λ.But λ depends on A and b.

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Regularized Solution, λ = 0.05

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Inverse solution x = A−1b

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 53: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Reconstruction using Tikhonov reg. can be better than x inv.Quality of reconstruction depends on λ.But λ depends on A and b.

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Regularized Solution, λ = 0.005

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

Inverse solution x = A−1b

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 54: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Filtering for Large Scale Problems

Some remarks:

For large matrices, computing SVD is expensive.

SVD algorithms do not readily simplify for structured orsparse matrices.

Alternative for large scale problems: LSQR iteration(Paige and Saunders, ACM TOMS, 1982)

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 55: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Lanczos Bidiagonalization (LBD)

Given A and b, for k = 1, 2, ..., compute

Wk =[

w1 w2 · · · wk wk+1

], w1 = b/||b||

Zk =[

z1 z2 · · · zk

]

Bk =

α1

β2 α2

. . .. . .

βk αk

βk+1

where Wk and Zk have orthonormal columns, and

ATWk = ZkBTk + αk+1zk+1e

Tk+1

AZk = WkBk

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 56: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

LBD and LSQR

At kth LBD iteration, use QR to solve projected LS problem:

minx∈R(Zk )

‖b− Ax‖22 = minf‖WT

k b− Bk f‖22 = minf‖βe1 − Bk f‖22

where xk = Zk f

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 57: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

LBD and LSQR

At kth LBD iteration, use QR to solve projected LS problem:

minx∈R(Zk )

‖b− Ax‖22 = minf‖WT

k b− Bk f‖22 = minf‖βe1 − Bk f‖22

where xk = Zk f

For our ill-posed inverse problems:

Singular values of Bk converge to k largest sing. values of A.

Thus, xk is in a subspace that approximates a subspacespanned by the large singular components of A.

For k < n, xk is a regularized solution.xn = x inv = A−1b (bad approximation)

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 58: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Singular values of Bk converge to large singular values of A.Thus, for early iterations k: f = Bk \Wkb

xk = Zk fis a regularized reconstruction.

0 50 100 150 200 25010

−10

10−8

10−6

10−4

10−2

100

LBD iteration, k = 6

svd(A)svd(B

k)

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 5

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 59: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Singular values of Bk converge to large singular values of A.Thus, for early iterations k: f = Bk \Wkb

xk = Zk fis a regularized reconstruction.

0 50 100 150 200 25010

−10

10−8

10−6

10−4

10−2

100

LBD iteration, k = 16

svd(A)svd(B

k)

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 15

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 60: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Singular values of Bk converge to large singular values of A.Thus, for later iterations k: f = Bk \Wkb

xk = Zk fis a noisy reconstruction.

0 50 100 150 200 25010

−10

10−8

10−6

10−4

10−2

100

LBD iteration, k = 26

svd(A)svd(B

k)

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 25

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 61: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

Singular values of Bk converge to large singular values of A.Thus, for later iterations k: f = Bk \Wkb

xk = Zk fis a noisy reconstruction.

0 50 100 150 200 25010

−10

10−8

10−6

10−4

10−2

100

LBD iteration, k = 36

svd(A)svd(B

k)

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 35

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 62: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Lanczos Based Hybrid Methods

To avoid noisy reconstructions, embed regularization in LBD:

O’Leary and Simmons, SISSC, 1981.

Bjorck, BIT 1988.

Bjorck, Grimme, and Van Dooren, BIT, 1994.

Larsen, PhD Thesis, 1998.

Hanke, BIT 2001.

Kilmer and O’Leary, SIMAX, 2001.

Kilmer, Hansen, Espanol, SISC 2007.

Chung, N, O’Leary, ETNA 2007(HyBR Implementation)

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 63: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Regularize the Projected Least Squares Problem

To stabilize convergence, regularize the projected problem:

minf

∥∥∥∥[ βe1

0

]−[

Bk

λI

]f

∥∥∥∥2

2

Note: Bk is very small compared to A, so

Can use “expensive” methods to choose λ (e.g., GCV)

Very little regularization is needed in early iterations.

GCV tends to choose too large λ for bidiagonal system.Our remedy: Use a weighted GCV (Chung, N, O’Leary, 2007)

Can also use WGCV information to estimate stopping iteration(approach similar to Bjorck, Grimme, and Van Dooren, BIT, 1994).

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 64: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

LSQR (no regularization) HyBR (Tikhonov regularization)

f = Bk \Wkb f =

[Bk

λk I

] ∖[Wkb

0

]xk = Zk f xk = Zk f

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 5

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 5

λ = 0.0115

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 65: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

LSQR (no regularization) HyBR (Tikhonov regularization)

f = Bk \Wkb f =

[Bk

λk I

] ∖[Wkb

0

]xk = Zk f xk = Zk f

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 15

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 15

λ = 0.0074

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 66: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

LSQR (no regularization) HyBR (Tikhonov regularization)

f = Bk \Wkb f =

[Bk

λk I

] ∖[Wkb

0

]xk = Zk f xk = Zk f

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 25

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 25

λ = 0.0050

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 67: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Inverse Heat Equation

LSQR (no regularization) HyBR (Tikhonov regularization)

f = Bk \Wkb f =

[Bk

λk I

] ∖[Wkb

0

]xk = Zk f xk = Zk f

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 35

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

iteration = 35

λ = 0.0042

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 68: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

MATLAB Illustration

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 69: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

MATLAB Example: Heat Test Problem

Given A and b = Ax + e, using our MATLAB codes:>> x = HyBR(A, b);

HyBR automatically choose λ and stopping iteration.

Results

50 100 150 200 250−0.01

0

0.01

0.02

0.03

0.04

0.05

0.06

0.07

0.08

Noisy data, b = A*x + e

50 100 150 200 250−0.2

0

0.2

0.4

0.6

0.8

1

HyBR reconstruction

λ: 0.00804

Stopping iteration: 9

True solutionReconstruction

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 70: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

MATLAB Example: Image Deblurring Test Problem

Given A and b = Ax + e.A is defined by a point spread function (PSF).Using our MATLAB codes (with our RestoreTools):

>> A = psfMatrix(PSF);>> x = HyBR(A, b);

HyBR automatically choose λ and stopping iteration.

Observed Image

010

2030

4050

6070

0

20

40

60

800

0.002

0.004

0.006

0.008

0.01

0.012

0.014

Given point spread function

26 iterations, λ = 0.0550

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 71: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

MATLAB Example: Image Deblurring Test Problem

Given A and b = Ax + e.only have approximate PSF (and hence A)Using our MATLAB codes (with our RestoreTools):

>> A = psfMatrix(PSF);>> x = HyBR(A, b);

HyBR automatically choose λ and stopping iteration.

Observed Image

010

2030

4050

6070

0

20

40

60

800

1

2

3

4

5

6

x 10−3

Approximate point spread function

26 iterations, λ = 0.1705

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 72: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

The Nonlinear Problem

We want to find x and y so that

b = A(y)x + e

With Tikhonov regularization, solve

minx,y

∥∥∥∥[ A(y)λI

]x−

[b0

]∥∥∥∥2

2

As with linear problem, choosing a good regularizationparameter λ is important.

Problem is linear in x, nonlinear in y.

y ∈ Rp, x ∈ Rn, with p � n.

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 73: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Separable Nonlinear Least Squares

Variable Projection Method:

Implicitly eliminate linear term.

Optimize over nonlinear term.

Some general references:

Golub and Pereyra, SINUM 1973 (also IP 2003)Kaufman, BIT 1975Osborne, SINUM 1975 (also ETNA 2007)Ruhe and Wedin, SIREV, 1980

How to apply to inverse problems?

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 74: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Variable Projection Method

Instead of optimizing over both x and y:

minx,y

φ(x, y) = minx,y

∥∥∥∥[ A(y)λI

]x−

[b0

]∥∥∥∥2

2

Let x(y) be solution of

minxφ(x, y) = min

x

∥∥∥∥[ A(y)λI

]x−

[b0

]∥∥∥∥2

2

and then minimize the reduced cost functional:

minyψ(y) , ψ(y) = φ(x(y), y)

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 75: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Gauss-Newton Algorithm

choose initial y0

for k = 0, 1, 2, . . .

xk = arg minx

∥∥∥∥[ A(yk)λk I

]x−

[b0

]∥∥∥∥2

rk = b− A(yk) xk

dk = arg mind‖Jψd− rk‖2

yk+1 = yk + dk

end

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 76: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Gauss-Newton Algorithm with HyBR

And we use HyBR to solve the linear subproblem:

choose initial y0

for k = 0, 1, 2, . . .

xk =HyBR(A(yk),b)

rk = b− A(yk) xk

dk = arg mind‖Jψd− rk‖2

yk+1 = yk + dk

end

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 77: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Image Deblurring

Matrix A(y) is defined by a PSF, which is in turn defined byparameters. Specifically:

A(y) = A(P(y))

where

A is 65536× 65536, with entries given by P.P is 256× 256, with entries:

pij = exp

((i − k)2s2

2 − (j − l)2s21 + 2(i − k)(j − l)ρ2

2s21 s2

2 − 2ρ4

)(k , l) is the PSF center (location of point source)y vector of unknown parameters:

y =

s1s2ρ

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 78: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Image Deblurring

Can get analytical formula for Jacobian:

Jψ =∂

∂y{A( P(y) ) x }

=∂

∂P{A( P(y) ) x } · ∂

∂y{P(y) }

= A(X) · ∂∂y{P(y) }

where x = vec(X).

Though in this example, finite difference approximation of Jψworks very well.

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 79: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Image Deblurring

Gauss-Newton Iteration History

G-N Iteration ∆y λ0 0.5716 0.16851 0.3345 0.12232 0.2192 0.09853 0.1473 0.08044 0.1006 0.07155 0.0648 0.06766 0.0355 0.06577 0.0144 0.0650

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 80: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Example: Image Deblurring

Observed Image Reconstruction using initial PSF Reconstruction after 8 GN iterations

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 81: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Concluding Remarks

Imaging applications require solving challenging inverseproblems.

Separable nonlinear least squares models exploit high levelstructure.

Hybrid methods are efficient solvers for large scale linearinverse problems.

Automatic estimation of regularization parameter.Automatic estimation of stopping iteration.

Hybrid methods can be effective linear solvers for nonlinearproblems.

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging

Page 82: Large Scale Inverse Problems in Imaging · A - large, ill-conditioned matrix b - known, measured (image) data e - noise, statistical properties may be known Goal: Compute approximation

The Linear Problem: b = Ax + eThe Nonlinear Problem: b = A(y) x + e

Example: Image DeblurringConcluding Remarks

Questions?

Other methods to choose regularization parameters?

Other regularization methods (e.g., total variation)?

Sparse (in some basis) reconstructions?

MATLAB Codes and Data?

www.mathcs.emory.edu/∼nagy/WGCVwww.mathcs.emory.edu/∼nagy/RestoreToolswww2.imm.dtu.dk/∼pch/HNOwww2.imm.dtu.dk/∼pch/Regutools

Julianne Chung and James Nagy Emory University Atlanta, GA, USALarge Scale Inverse Problems in Imaging