BEADS : filtrage asym etrique de ligne de base (tendance) et d - - PowerPoint PPT Presentation

beads filtrage asym etrique de ligne de base tendance et
SMART_READER_LITE
LIVE PREVIEW

BEADS : filtrage asym etrique de ligne de base (tendance) et d - - PowerPoint PPT Presentation

I NTRODUCTION M ODELING BEADS ALGORITHM E VALUATION AND RESULTS C ONCLUSIONS BEADS : filtrage asym etrique de ligne de base (tendance) et d ebruitage pour des signaux positifs avec parcimonie des d eriv ees S eminaire ICube L.


slide-1
SLIDE 1

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

BEADS : filtrage asym´ etrique de ligne de base (tendance) et d´ ebruitage pour des signaux positifs avec parcimonie des d´ eriv´ ees

S´ eminaire ICube

  • L. DUVAL, A. PIRAYRE

IFP Energies nouvelles 1 et 4 av. de Bois-Pr´ eau, 92852 Rueil-Malmaison - France

  • X. NING, I. W. SELESNICK

Polytechnic School of Engineering New York University

19 juin 2015

1 / 21

slide-2
SLIDE 2

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

The fast way

◮ Question: where is the string behind the bead? ◮ Smoothness, sparsity, asymmetry

2 / 21

slide-3
SLIDE 3

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Outline

INTRODUCTION OUTLINE BACKGROUND MODELING NOTATIONS COMPOUND SPARSE DERIVATIVE MODELING BEADS ALGORITHM MAJORIZE-MINIMIZE EVALUATION AND RESULTS SIMULATED BASELINE AND NOISE POISSON NOISE GC×GC CONCLUSIONS

3 / 21

slide-4
SLIDE 4

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Background on background

◮ Background affects quantitative evaluation/comparison ◮ In some domains: (instrumental) bias, (seasonal) trend ◮ In analytical chemistry: drift, continuum, wander, baseline ◮ Rare cases of parametric modeling

4 / 21

slide-5
SLIDE 5

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Background on background

◮ Background affects quantitative evaluation/comparison ◮ In some domains: (instrumental) bias, (seasonal) trend ◮ In analytical chemistry: drift, continuum, wander, baseline ◮ Rare cases of parametric modeling

4 / 21

slide-6
SLIDE 6

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Background on background

◮ Background affects quantitative evaluation/comparison ◮ In some domains: (instrumental) bias, (seasonal) trend ◮ In analytical chemistry: drift, continuum, wander, baseline ◮ Rare cases of parametric modeling

4 / 21

slide-7
SLIDE 7

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Background on background

◮ Background affects quantitative evaluation/comparison ◮ In some domains: (instrumental) bias, (seasonal) trend ◮ In analytical chemistry: drift, continuum, wander, baseline ◮ Rare cases of parametric modeling

4 / 21

slide-8
SLIDE 8

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Background on background

For analytical chemistry data:

5 / 21

slide-9
SLIDE 9

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Notations

Morphological decomposition: y = x + f + w, (y, x, f, w) ∈ (RN)4.

◮ y: observation ◮ x: clean series of peaks ◮ f: baseline ◮ w: noise

Assumption: in the absence of peaks, the baseline can be approximately recovered from a noise-corrupted observation by low-pass filtering

◮ ˆ

f = L(y − ˆ x) (L: low-pass filter)

◮ formulated as y − ˆ

s2

2 = H(y − ˆ

x)2

2 ◮ H = I − L: high-pass filter

6 / 21

slide-10
SLIDE 10

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Compound sparse derivative modeling

An estimate ˆ x can be obtained (with Di diff. operators) via: ˆ x = arg min

x

  • F(x) = 1

2H(y − x)2

2 + M

  • i=0

λiRi (Dix)

  • .

7 / 21

slide-11
SLIDE 11

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Compound sparse derivative modeling

Examples of (smooth) sparsity promoting functions for Ri

◮ φA i = |x| ◮ φB i =

  • |x|2 + ǫ

◮ φC i = |x| − ǫ log (|x| + ǫ)

7 / 21

slide-12
SLIDE 12

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Compound sparse derivative modeling

Take the positivity of chromatogram peaks into account: ˆ x = arg min

x

  • F(x) = 1

2H(y − x)2

2

+ λ0

N−1

  • n=0

θǫ(xn; r) +

M

  • i=1

λi

Ni−1

  • n=0

φ ([Dix]n)

  • .

Start from: θ(x; r) =

  • x,

x 0 −rx, x < 0

8 / 21

slide-13
SLIDE 13

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Compound sparse derivative modeling

Take the positivity of chromatogram peaks into account: ˆ x = arg min

x

  • F(x) = 1

2H(y − x)2

2

+ λ0

N−1

  • n=0

θǫ(xn; r) +

M

  • i=1

λi

Ni−1

  • n=0

φ ([Dix]n)

  • .

and majorize it

−5 5 2 4 6 8 10 The majorizer g(x, v) for the penalty function θ(x; r), r = 3 x (s, θr(s)) (v, θr(v)) g(x,v) θr(x)

8 / 21

slide-14
SLIDE 14

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Compound sparse derivative modeling

Take the positivity of chromatogram peaks into account: ˆ x = arg min

x

  • F(x) = 1

2H(y − x)2

2

+ λ0

N−1

  • n=0

θǫ(xn; r) +

M

  • i=1

λi

Ni−1

  • n=0

φ ([Dix]n)

  • .

then smooth it:

−5 5 2 4 6 8 10 The smoothed asymmetric penalty function θε(x; r), r = 3 (−ε, f(−ε)) (ε, f(ε)) x

8 / 21

slide-15
SLIDE 15

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Compound sparse derivative modeling

Take the positivity of chromatogram peaks into account: ˆ x = arg min

x

  • F(x) = 1

2H(y − x)2

2

+ λ0

N−1

  • n=0

θǫ(xn; r) +

M

  • i=1

λi

Ni−1

  • n=0

φ ([Dix]n)

  • .

then majorize it: g0(x, v) =   

1+r 4|v| x2 + 1−r 2 x + |v| 1+r 4 ,

|v| > ǫ

1+r 4ǫ x2 + 1−r 2 x + ǫ 1+r 4 ,

|v| ǫ.

8 / 21

slide-16
SLIDE 16

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

BEADS Algorithm

We now have a majorizer for F G(x, v) = 1 2H(y − x)2

2 + λ0xT[Γ(v)]x

+ λ0bTx +

M

  • i=1

λi 2 (Dix)T [Λ(Div)] (Dix)

  • + c(v).

Minimizing G(x, v) with respect to x yields x =

  • HTH + 2λ0 Γ(v) +

M

  • i=1

λiDT

i [Λ(Div)] Di

−1 HTHy − λ0b

  • .

with notations c(v) =

  • n
  • φ(vn) − vn

2 φ′(vn)

  • .

9 / 21

slide-17
SLIDE 17

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

BEADS Algorithm

We now have a majorizer for F G(x, v) = 1 2H(y − x)2

2 + λ0xT[Γ(v)]x

+ λ0bTx +

M

  • i=1

λi 2 (Dix)T [Λ(Div)] (Dix)

  • + c(v).

Minimizing G(x, v) with respect to x yields x =

  • HTH + 2λ0 Γ(v) +

M

  • i=1

λiDT

i [Λ(Div)] Di

−1 HTHy − λ0b

  • .

with notations [Γ(v)]n,n =   

1+r 4|vn|,

|vn| ǫ

1+r 4ǫ ,

|vn| ǫ

9 / 21

slide-18
SLIDE 18

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

BEADS Algorithm

We now have a majorizer for F G(x, v) = 1 2H(y − x)2

2 + λ0xT[Γ(v)]x

+ λ0bTx +

M

  • i=1

λi 2 (Dix)T [Λ(Div)] (Dix)

  • + c(v).

Minimizing G(x, v) with respect to x yields x =

  • HTH + 2λ0 Γ(v) +

M

  • i=1

λiDT

i [Λ(Div)] Di

−1 HTHy − λ0b

  • .

with notations [Λ(v)]n,n = φ′(vn) vn

9 / 21

slide-19
SLIDE 19

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

BEADS Algorithm

We now have a majorizer for F G(x, v) = 1 2H(y − x)2

2 + λ0xT[Γ(v)]x

+ λ0bTx +

M

  • i=1

λi 2 (Dix)T [Λ(Div)] (Dix)

  • + c(v).

Minimizing G(x, v) with respect to x yields x =

  • HTH + 2λ0 Γ(v) +

M

  • i=1

λiDT

i [Λ(Div)] Di

−1 HTHy − λ0b

  • .

with notations [b]n = 1 − r 2

9 / 21

slide-20
SLIDE 20

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

BEADS Algorithm

Writing filter H = A−1B ≈ BA−1 (banded matrices) we have x = AQ−1 BTBA−1y − λ0ATb

  • where Q is the banded matrix,

Q = BTB + ATMA, and M is the banded matrix, M = 2λ0Γ(v) +

M

  • i=1

λiDT

i [Λ(Div)] Di.

10 / 21

slide-21
SLIDE 21

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

BEADS Algorithm

Using previous equations, the MM iteration takes the form: M(k) = 2λ0Γ(x(k)) +

M

  • i=1

λiDT

i

  • Λ(Dix(k))
  • Di.

Q(k) = BTB + ATM(k)A x(k+1) = A[Q(k)]−1 BTBA−1y − λ0ATb

  • 11 / 21
slide-22
SLIDE 22

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

BEADS Algorithm

Input: y, A, B, λi, i = 0, . . . , M 1. b = BTBA−1y 2. x = y (Initialization) Repeat 3. [Λi]n,n = φ′([Dix]n) [Dix]n , i = 0, . . . , M, 4. M =

M

  • i=0

λiDT

i ΛiDi

5. Q = BTB + ATMA 6. x = AQ−1b Until converged 8. f = y − x − BA−1(y − x) Output: x, f

12 / 21

slide-23
SLIDE 23

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Evaluation 1

1 2000 −10 10 20 30 40 50 Time (sample) 1 2000 −10 10 20 30 40 50 Time (sample) 1 2000 −10 10 20 30 40 50 Time (sample) 1 2000 −10 10 20 30 40 50 Time (sample)

Figure : Simulated chromatograms w/ polynomial+sine baseline.

13 / 21

slide-24
SLIDE 24

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Evaluation 1 with Gaussian noise

14 / 21

slide-25
SLIDE 25

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Evaluation 2

1 2000 20 40 60 80 Time (sample) 1 2000 20 40 60 80 Time (sample) 1 2000 10 20 30 40 50 Time (sample) 1 2000 10 20 30 40 Time (sample)

Figure : Simulated chromatograms w/ limited power spectrum noise.

15 / 21

slide-26
SLIDE 26

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Evaluation 2 with Gaussian noise

16 / 21

slide-27
SLIDE 27

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Evaluation 3 with Poisson noise

17 / 21

slide-28
SLIDE 28

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 1

Hyphenated, two-dimensional gas chromatography data Original data

18 / 21

slide-29
SLIDE 29

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 1

Hyphenated, two-dimensional gas chromatography data 2D background

18 / 21

slide-30
SLIDE 30

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 1

Hyphenated, two-dimensional gas chromatography data Noise

18 / 21

slide-31
SLIDE 31

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 1

Hyphenated, two-dimensional gas chromatography data Corrected

18 / 21

slide-32
SLIDE 32

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 1

Hyphenated, two-dimensional gas chromatography data Original data (again!)

18 / 21

slide-33
SLIDE 33

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 2

Hyphenated, two-dimensional gas chromatography data Original data

19 / 21

slide-34
SLIDE 34

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 2

Hyphenated, two-dimensional gas chromatography data 2D background

19 / 21

slide-35
SLIDE 35

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 2

Hyphenated, two-dimensional gas chromatography data Noise

19 / 21

slide-36
SLIDE 36

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 2

Hyphenated, two-dimensional gas chromatography data Corrected

19 / 21

slide-37
SLIDE 37

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Two-dimensional chromatography data 2

Hyphenated, two-dimensional gas chromatography data Original data (again!)

19 / 21

slide-38
SLIDE 38

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

Conclusions and work to come

◮ BEADS: Baseline Estimation And Denoising. . . Sparsely ◮ Asymmetric penalties with Majorization-Minimization ◮ Matlab toolbox: http://lc.cx/beads ◮ Important pre-processing for image alignment ◮ Further tests on other analytical chemistry signals for

routine analysis

◮ gas, liquid or ion chromatography; infrared, Raman,

Nuclear Magnetic Resonance (NMR) spectroscopy; mass spectrometry

◮ Use closer to ℓ0 sparse penalties: SOOT or smoothed ℓ1/ℓ2

20 / 21

slide-39
SLIDE 39

INTRODUCTION MODELING BEADS ALGORITHM EVALUATION AND RESULTS CONCLUSIONS

More for free: additional references

  • V. Mazet, C. Carteret, D. Brie, J. Idier, and B. Humbert.

Background removal from spectra by designing and minimising a non-quadratic cost function.

  • Chemometr. Intell. Lab. Syst., 76(2):121–133, 2005.
  • C. Vendeuvre, R. Ruiz-Guerrero, F. Bertoncini, L. Duval, D. Thi´

ebaut, and M.-C. Hennion. Characterisation of middle-distillates by comprehensive two-dimensional gas chromatography (GC × GC): A powerful alternative for performing various standard analysis of middle-distillates.

  • J. Chrom. A, 1086(1-2):21–28, 2005.
  • C. Vendeuvre, R. Ruiz-Guerrero, F. Bertoncini, L. Duval, and D. Thi´

ebaut. Comprehensive two-dimensional gas chromatography for detailed characterisation of petroleum products. Oil Gas Sci. Tech., 62(1):43–55, 2007.

  • X. Ning, I. W. Selesnick, and L. Duval.

Chromatogram baseline estimation and denoising using sparsity (BEADS).

  • Chemometr. Intell. Lab. Syst., 139:156–167, Dec. 2014.
  • A. Repetti, M. Q. Pham, L. Duval, E. Chouzenoux, and J.-C. Pesquet.

Euclid in a taxicab: Sparse blind deconvolution with smoothed ℓ1/ℓ2 regularization. IEEE Signal Process. Lett., 22(5):539–543, May 2015.

  • C. Couprie, M. Moreaud, L. Duval, S. Henon and V. Souchon,

BARCHAN: Blob Alignment for Robust CHromatographic ANalysis.

  • J. Chrom. A, 2016...

21 / 21