Decomposition for Koopman Analysis of Time-Variant Systems Naoya - - PowerPoint PPT Presentation

โ–ถ
decomposition for koopman analysis of
SMART_READER_LITE
LIVE PREVIEW

Decomposition for Koopman Analysis of Time-Variant Systems Naoya - - PowerPoint PPT Presentation

Factorially Switching Dynamic Mode Decomposition for Koopman Analysis of Time-Variant Systems Naoya Takeishi (RIKEN) Takehisa Yairi (The University of Tokyo) Yoshinobu Kawahara (Osaka University / RIKEN) 1 Koopman Operator [Koopman 31; Mezi


slide-1
SLIDE 1

Factorially Switching Dynamic Mode Decomposition for Koopman Analysis of Time-Variant Systems

Naoya Takeishi (RIKEN) Takehisa Yairi (The University of Tokyo) Yoshinobu Kawahara (Osaka University / RIKEN)

1

slide-2
SLIDE 2

Koopman Operator

[Koopman 31; Meziฤ‡ 05]

2

๐’˜๐‘ข+1 = ๐’ˆ ๐’˜๐‘ข ๐’˜ โˆˆ โ„ณ, ๐’ˆ: โ„ณ โ†’ โ„ณ ๐’ˆ may be nonlinear usually, dim โ„ณ < โˆž

๐’˜๐‘ข ๐’˜๐ฎ+๐Ÿ ๐’ˆ โ„ณ

๐‘• ๐’ˆ ๐’˜ = ๐’ง๐‘• ๐’˜ ๐‘• โˆˆ โ„’: โ„ณ โ†’ โ„‚, ๐’ง: โ„’ โ†’ โ„’ ๐’ง is a linear operator in general, dim โ„’ = โˆž

๐’ง ๐‘• ๐’˜ ๐‘• ๐’ˆ ๐’˜ โ„’

slide-3
SLIDE 3

Modal Decomposition Based on Koopman Operator

[Meziฤ‡ 05]

For simplicity, suppose ๐’ง has only discrete spectra (eigenvalues) ๐’ง๐œ’๐‘˜ ๐’˜ = ๐œ‡๐‘˜๐œ’๐‘˜ ๐’˜ (๐œ‡๐‘˜ โˆˆ โ„‚, ๐œ’: โ„ณ โ†’ โ„‚, and ๐‘˜ โˆˆ โ„•)

3

Assume that observable ๐‘• is in the span of the eigenfunctions: ๐‘• ๐’˜ = เท

๐‘˜

๐‘ฅ

๐‘˜๐œ’๐‘˜ ๐’˜

frequency / decay rate mode

With these assumptions, because ๐œ’๐‘˜ ๐’ˆ ๐’˜ = ๐’ง๐œ’๐‘˜ ๐’˜ = ๐œ‡๐œ’๐‘˜ ๐’˜ , ๐‘• ๐’ˆ๐‘ข ๐’˜ = เท

๐‘˜

๐œ‡๐‘˜

๐‘ข๐‘ฅ ๐‘˜๐œ’๐‘˜ ๐’˜

slide-4
SLIDE 4

Dynamic Mode Decomposition

[Rowley+ 09; Schmid 10]

Dynamic mode decomposition (DMD) can compute the Koopman-based modal decomposition under some conditions.

4

๐’‰ ๐’˜๐‘ข๐‘— = เท

๐‘˜

๐œ‡๐‘˜

๐‘—๐’™๐‘˜ ๐’œ๐‘˜ โˆ—๐’‰ ๐’˜๐‘ข0

DMD computes eigenvalues ๐œ‡ & eigenvectors ๐’™ of ๐‘ฉ = ๐’๐’€+. Under some conditions, these yield Let ๐’‰: โ„ณ โ†’ โ„‚๐‘› or โ„๐‘› (vector-valued observable). Suppose we have time-series data from time ๐‘ข0 to ๐‘ข๐‘œ (๐‘ข๐‘— = ๐‘ข0 + ๐‘—ฮ”๐‘ข). ๐’‰ ๐’˜๐‘ข0 , ๐’‰ ๐’˜๐‘ข1 , โ€ฆ , ๐’‰ ๐’˜๐‘ข๐‘— , โ€ฆ , ๐’‰ ๐’˜๐‘ข๐‘œโˆ’1 , ๐’‰ ๐’˜๐‘ข๐‘œ ๐’€ = ๐’‰ ๐’˜๐‘ข0 โ‹ฏ ๐’‰ ๐’˜๐‘ข๐‘œโˆ’1 and ๐’ = ๐’‰ ๐’˜๐‘ข1 โ‹ฏ ๐’‰ ๐’˜๐‘ข๐‘œ

slide-5
SLIDE 5

Dynamic Mode Decomposition (contโ€™d)

[Rowley+ 09; Schmid 10]

5

๐’‰ ๐’˜๐‘ข๐‘— = เท

๐‘˜

๐œ‡๐‘˜

๐‘—๐’™๐‘˜ ๐’œ๐‘˜ โˆ—๐’‰ ๐’˜๐‘ข0

frequency / decay rate coherent mode data

ร— ร— + =

slide-6
SLIDE 6

Limitation of Standard DMDs

Within the dataset at hand, system is assumed to be time-invariant, and

  • nly a single set of dynamic modes is computed for the dataset.

In practice, however,

  • This assumption may not hold. (e.g., switching systems)
  • Even if ๐‘” is time-invariant, within finite-data regime,

dynamic modes adequate for different periods of data may vary with time. (e.g., transient phenomena) Existing approaches:

  • Manual separation as preprocessing
  • Multi-resolution DMD [Kutz+ 16]

6

slide-7
SLIDE 7

Core Idea: Introducing โ€œOn-off Switchingโ€ to Dynamic Modes

โ†’ Implement this idea via probabilistic formulation.

7

ร— ร— + = ร— ร— + =

  • ff
  • ff
  • ff
slide-8
SLIDE 8

Preliminary: Probabilistic DMD

[Takeishi+ 17]

Dataset: ๐’€ = ๐’‰ ๐’˜๐‘ข0 โ‹ฏ ๐’‰ ๐’˜๐‘ข๐‘œโˆ’1 and ๐’ = ๐’‰ ๐’˜๐‘ข1 โ‹ฏ ๐’‰ ๐’˜๐‘ข๐‘œ = ๐’š1 โ‹ฏ ๐’š๐‘œ = ๐’›1 โ‹ฏ ๐’›๐‘œ

8 ๐’š๐‘— ๐’›๐‘— ๐Œ๐‘— ๐’™, ๐œ‡, ๐œ2

for ๐‘— = 1, โ€ฆ , ๐‘œ

Likelihood (observation model): ๐‘ž ๐’š๐‘— โˆฃ ๐Œ๐‘— = ๐’Ÿ๐’ช

๐’š๐‘— ฯƒ๐‘˜ ๐’™๐‘˜๐œ’๐‘—,๐‘˜ , ๐œ2๐‘ฑ

๐‘ž ๐’›๐‘— โˆฃ ๐Œ๐‘— = ๐’Ÿ๐’ช

๐’›๐‘— ฯƒ๐‘˜ ๐œ‡๐‘˜๐’™๐‘˜๐œ’๐‘—,๐‘˜ , ๐œ2๐‘ฑ

Prior: ๐‘ž ๐œ’๐‘—,๐‘˜ = ๐’Ÿ๐’ช

๐œ’๐‘—,๐‘˜ 0, 1

โ†’ MLE in ๐œ2 โ†’ 0 coincides with TLS-DMD

slide-9
SLIDE 9

Proposed Model: Factorially-Switching DMD

Likelihood (observation model): ๐‘ž ๐’š๐‘— โˆฃ ๐๐‘— = ๐’Ÿ๐’ช

๐’š๐‘— ฯƒ๐‘˜ ๐’™๐‘˜๐œ“๐‘—,๐‘˜ , ๐œ2๐‘ฑ

๐‘ž ๐’›๐‘— โˆฃ ๐Ž๐‘— = ๐’Ÿ๐’ช

๐’›๐‘— ฯƒ๐‘˜ ๐œ‡๐‘˜๐’™๐‘˜๐œ”๐‘—,๐‘˜ , ๐œ2๐‘ฑ

Priors: ๐‘ž ๐œ“๐‘—,๐‘˜ = ๐œ€ ๐œ“๐‘—,๐‘˜

1โˆ’๐‘จ๐œ“,๐‘—,๐‘˜ ๐œ€ ๐œ’๐‘—,๐‘˜ โˆ’ ๐œ“๐‘—,๐‘˜ ๐‘จ๐œ“,๐‘—,๐‘˜

๐‘ž ๐œ”๐‘—,๐‘˜ = ๐œ€ ๐œ”๐‘—,๐‘˜

1โˆ’๐‘จ๐œ”,๐‘—,๐‘˜ ๐œ€ ๐œ’๐‘—,๐‘˜ โˆ’ ๐œ”๐‘—,๐‘˜ ๐‘จ๐œ”,๐‘—,๐‘˜

๐‘ž ๐œ’๐‘—,๐‘˜ = ๐’Ÿ๐’ช

๐œ’๐‘—,๐‘˜ 0, 1

โ†’ ๐‘จ๐‘—,๐‘˜ controls on-off of ๐‘˜-th mode at time ๐‘—: ๐‘จ๐‘—,๐‘˜ = 1 (on) / ๐‘จ๐‘—,๐‘˜ = 0 (off)

9 ๐’š๐‘— ๐’›๐‘— ๐๐‘— ๐Ž๐‘— ๐Œ๐‘— ๐’œ๐,๐‘— ๐’œ๐Ž,๐‘— ๐’™, ๐œ‡, ๐œ2

slide-10
SLIDE 10

Proposed Model: Factorially-Switching DMD (contโ€™d)

Likelihood (observation model): ๐‘ž ๐’š๐‘— โˆฃ ๐๐‘— = ๐’Ÿ๐’ช

๐’š๐‘— ฯƒ๐‘˜ ๐’™๐‘˜๐œ“๐‘—,๐‘˜ , ๐œ2๐‘ฑ

๐‘ž ๐’›๐‘— โˆฃ ๐Ž๐‘— = ๐’Ÿ๐’ช

๐’›๐‘— ฯƒ๐‘˜ ๐œ‡๐‘˜๐’™๐‘˜๐œ”๐‘—,๐‘˜ , ๐œ2๐‘ฑ

Priors: ๐‘ž ๐œ“๐‘—,๐‘˜ = ๐œ€ ๐œ“๐‘—,๐‘˜

1โˆ’๐‘จ๐œ“,๐‘—,๐‘˜ ๐œ€ ๐œ’๐‘—,๐‘˜ โˆ’ ๐œ“๐‘—,๐‘˜ ๐‘จ๐œ“,๐‘—,๐‘˜

๐‘ž ๐œ”๐‘—,๐‘˜ = ๐œ€ ๐œ”๐‘—,๐‘˜

1โˆ’๐‘จ๐œ”,๐‘—,๐‘˜ ๐œ€ ๐œ’๐‘—,๐‘˜ โˆ’ ๐œ”๐‘—,๐‘˜ ๐‘จ๐œ”,๐‘—,๐‘˜

๐‘ž ๐œ’๐‘—,๐‘˜ = ๐’Ÿ๐’ช

๐œ’๐‘—,๐‘˜ 0, 1

๐‘ž ๐‘จ ฮค

๐œ“ ๐œ”,๐‘—,๐‘˜ โˆฃ ๐›ฟ ฮค ๐œ“ ๐œ”,๐‘—,๐‘˜ = Bernoulli ๐›ธ ๐›ฟ ฮค ๐œ“ ๐œ”,๐‘—,๐‘˜

(๐›ธ: cdfof normal) ๐‘ž ๐œน ฮค

๐œ“ ๐œ”,โˆถ,๐‘˜ = GaussianProcess ๐œˆ ฮค ๐œ“ ๐œ”,๐‘˜๐Ÿ, ๐šป ๐‘ข

โ†’GPmakes ๐‘จsmooth along time

10 ๐’š๐‘— ๐’›๐‘— ๐๐‘— ๐Ž๐‘— ๐Œ๐‘— ๐’œ๐,๐‘— ๐’œ๐Ž,๐‘— ๐œน๐,๐‘— ๐œน๐Ž,๐‘—

GP ๐œˆ, ฮฃ t

๐’™, ๐œ‡, ๐œ2

slide-11
SLIDE 11

Parameter Estimation by Approx. EM

Input Number of modes, kernel function, & data matrices ๐’€, ๐’ 1. Initialize quantities using DMD. 2. E-step Approximate posterior of ๐œ’, ๐œ“, ๐œ”, z, ๐›ฟ using expectation propagation [Minka 01]. 3. M-step Maximize ๐”ฝ โ„’ ๐’™, ๐œ‡, ๐œ2, ๐œˆ (๐”ฝ is wrt. distribution from E-step). 4. Repeat 2. and 3. until convergence. Output Posterior statistics of ๐œ’, z & estimated values of ๐’™, ๐œ‡, ๐œ2, ๐œˆ

11 ๐’š๐‘— ๐’›๐‘— ๐๐‘— ๐Ž๐‘— ๐Œ๐‘— ๐’œ๐,๐‘— ๐’œ๐Ž,๐‘— ๐œน๐,๐‘— ๐œน๐Ž,๐‘—

GP ๐œˆ, ฮฃ t

๐’™, ๐œ‡, ๐œ2

slide-12
SLIDE 12

Toy Example (Local Traveling Wave)

12

+

DATA

=

FSDMD (proposed) DMD

bumpy because of sudden changes

RESULTS

slide-13
SLIDE 13

Transient Fluid Flow

13 DATA RESULTS

  • n/off states
  • f each dynamic mode

time

slide-14
SLIDE 14

Summary

Objective

  • Compute dynamic mode decomposition
  • n time-varying systems & transient phenomena

Method

  • Idea: Introducing on-off switching
  • f each dynamic mode at each timestep
  • Implemented it via probabilistic modeling/inference

Future Work

  • Developing faster & more stable inference
  • Considering interaction between dynamic modes

14

๐’š๐‘— ๐’›๐‘— ๐๐‘— ๐Ž๐‘— ๐Œ๐‘— ๐’œ๐,๐‘— ๐’œ๐Ž,๐‘— ๐œน๐,๐‘— ๐œน๐Ž,๐‘—

GP ๐œˆ, ฮฃ ๐‘ข

๐’™, ๐œ‡, ๐œ2