combined reduction of hierarchical systems

25
Combined Reduction of Hierarchical Systems Christian Himpe ([email protected]) Mario Ohlberger ([email protected]) WWU Münster Institute for Computational and Applied Mathematics Enumath 26.-30.08.2013

Upload: gramian

Post on 06-May-2015

92 views

Category:

Science


1 download

DESCRIPTION

held at Reduced Order Modelling Minisymposium, Enumath - august 2013

TRANSCRIPT

Page 1: Combined Reduction of Hierarchical Systems

Combined Reduction of Hierarchical Systems

Christian Himpe ([email protected])Mario Ohlberger ([email protected])

WWU MünsterInstitute for Computational and Applied Mathematics

Enumath 26.-30.08.2013

Page 2: Combined Reduction of Hierarchical Systems

Overview

1 Hierarchical Network2 Combined Reduction3 Results

Page 3: Combined Reduction of Hierarchical Systems

Control Systems

Linear control system:

x(t) = Ax(t) + Bu(t)

y(t) = Cx(t)

with:Input u(t) ∈ Rm

State x(t) ∈ Rn

Output y(t) ∈ Ro

Page 4: Combined Reduction of Hierarchical Systems

Control Systems

Parametrized linear control system:

x(t) = Aθx(t) + Bu(t)

y(t) = Cx(t)

with:Input u(t) ∈ Rm

State x(t) ∈ Rn

Output y(t) ∈ Ro

Parameters θ ∈ Rp

Page 5: Combined Reduction of Hierarchical Systems

Control Systems

General control system:

x(t) = f (x(t), u(t), θ)

y(t) = g(x(t), u(t), θ)

with:Input u(t) ∈ Rm

State x(t) ∈ Rn

Output y(t) ∈ Ro

Parameters θ ∈ Rp

Page 6: Combined Reduction of Hierarchical Systems

Hierarchical Network

Page 7: Combined Reduction of Hierarchical Systems

SIMO System

x(t) = x(t)+ u(t)

y(t) = x(t)

Page 8: Combined Reduction of Hierarchical Systems

Application

Neural Networks

Page 9: Combined Reduction of Hierarchical Systems

Model Reduction

High-dim state space → state reductionHigh-dim parameter space → parameter reductionHigh-dim state and parameter space → combined reduction

Page 10: Combined Reduction of Hierarchical Systems

Gramian-Based State Reduction [Moore’81]

Controllability GramianObservability GramianBalancing Transformation + Truncation

Page 11: Combined Reduction of Hierarchical Systems

Gramian-Based Linear State Reduction [Moore’81]

Controllability GramianControllability Gramian of Adjoint System1

Balancing Transformation + Truncation

1Adjoint System: x(t) = AT x(t) + CTu(t) ; y(t) = BT x(t)

Page 12: Combined Reduction of Hierarchical Systems

Empirical Gramians [Lall’99]

Correspond to analytical gramians for linear systems.Extend to nonlinear systems.Utilize solely basic matrix and vector operations.

Page 13: Combined Reduction of Hierarchical Systems

Empirical Controllability Gramian

Concept:WC = mean

u∈U(∫∞0 xu(t)x∗u (t)dt)

U = Eu × Ru × Qu

Eu = {ei ∈ Rj ; ‖ei‖ = 1; eiej 6=i = 0; i = 1, . . . ,m}Ru = {Si ∈ Rj×j ; S∗i Si = 1; i = 1, . . . , s}Qu = {ci ∈ R; ci > 0; i = 1, . . . , q}

Page 14: Combined Reduction of Hierarchical Systems

Discrete Empirical Controllability Gramian [Hahn’02]

For sets Eu, Ru, Qu, input u(t) and input during the steady statex , u, the discrete empirical controllability gramian is given by:

WC =1

|Qu||Ru|

|Qu |∑h=1

|Ru |∑i=1

m∑j=1

∆tc2h

T∑t=0

Ψhij(t)

Ψhij(t) = (xhij(t)− x)(xhij(t)− x)∗ ∈ Rn×n.

With xhij being the states for the input configurationuhij(t) = chSieju(t) + u.

Page 15: Combined Reduction of Hierarchical Systems

State Reduction

Recipe:1 Empirical Controllability Gramian2 Empirical Controllability Gramian of Adjoint System3 Balancing Transformation + Truncation

Page 16: Combined Reduction of Hierarchical Systems

Parameter Reduction

Recipe:1 ?2 Sensitivity Analysis3 Parameter Truncation

Options:Sensitivity Gramian (Controllability-based)?Identifiability Gramian (Observability-based)?Joint Gramian (Cross-gramian-based)?

Page 17: Combined Reduction of Hierarchical Systems

Parameter Reduction

Recipe:1 Empirical Sensitivity Gramian2 Sensitivity Analysis3 Parameter Truncation

Options:Sensitivity Gramian (Controllability-based)? Yes!Identifiability Gramian (Observability-based)? No!Joint Gramian (Cross-gramian-based)? No!

Page 18: Combined Reduction of Hierarchical Systems

Sensitivity Gramian (based on [Sun’06])

Treating the parameters as additional inputs of dim(θ) with steadyinput θ gives (if possible):

x = f (x , u) +P∑

k=1

f (x , θk)

⇒WC = WC ,0 +P∑

k=1

WC ,k

Sensitivity Gramian WS :

WS ,ii = tr(WC ,i ).

Page 19: Combined Reduction of Hierarchical Systems

(Linear) Combined Reduction

Recipe:1 State Reduction

1 Empirical Controllability Gramian2 Empirical Controllability Gramian of Adjoint System3 Balanced Truncation

2 Parameter Reduction1 Empirical Sensitivity Gramian2 Sensitivity Analysis3 Parameter Truncation

Page 20: Combined Reduction of Hierarchical Systems

Implementation: Empirical Gramian Framework

Gramians:Empirical Controllability GramianEmpirical Observability GramianEmpirical Cross GramianEmpirical Sensitivity GramianEmpirical Identifiability GramianEmpirical Joint Gramian

Features:Uniform InterfaceCompatible with MATLAB & OCTAVEVectorized & ParallelizableOpen-Source licensed

More info at: http://gramian.de

Page 21: Combined Reduction of Hierarchical Systems

Numerical Experiments

x(t) = Aθx(t) + Bu(t)

y(t) = Cx(t)

for L-level M-ary treeswith L,M ∈ {3, 4, 5}since n = dim(x) = ML+1−1

M−1

40 ≤ dim(x) ≤ 3906thus p = dim(θ) = dim(x)

Page 22: Combined Reduction of Hierarchical Systems

State Reduction

3

4

5

3

4

5

0

500

1000

1500

2000

2500

3000

3500

4000

LevelsLeafs

Off

lin

e T

ime (

s)

3

4

5

3

4

5

0

0.5

1

1.5

2

2.5

3

3.5

4

LevelsLeafs

Rela

tive O

nlin

e T

ime

3

4

5

3

4

5

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

x 10−12

LevelsLeafs

Rela

tive E

rro

r

Page 23: Combined Reduction of Hierarchical Systems

Combined Reduction

3

4

5

3

4

5

0

500

1000

1500

2000

2500

3000

3500

4000

LevelsLeafs

Off

lin

e T

ime (

s)

3

4

5

3

4

5

0

0.5

1

1.5

2

2.5

3

3.5

4

LevelsLeafs

Rela

tive O

nlin

e T

ime

3

4

5

3

4

5

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

x 10−12

LevelsLeafs

Rela

tive E

rro

r

Page 24: Combined Reduction of Hierarchical Systems

Results

Sparsity can be exploited in snapshot generation.Uncertainties can be incorporated by perturbations of inputs.Especially useful for inverse problems.Only the Controllability Gramian is required.

The reduced order of states and parameters arose to: #Levels+1.

Page 25: Combined Reduction of Hierarchical Systems

tl;dl

Combined Reduction: reduction of states and parameters.Empirical Gramians: reduced order nonlinear control systems.Hierarchical Systems: exploiting sparsity.Get the source code: http://j.mp/enumath13 .

Thanks!