physical and mathematical interpretations of an adjoint model with application to roms

39
Physical and Physical and Mathematical Mathematical Interpretations of an Interpretations of an Adjoint Model with Adjoint Model with Application to ROMS Application to ROMS Andy Moore Andy Moore University of Colorado University of Colorado Boulder Boulder

Upload: nolen

Post on 21-Mar-2016

52 views

Category:

Documents


0 download

DESCRIPTION

Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS. Andy Moore University of Colorado Boulder. Linearized Systems. Consider a state-space (the ocean) with state vectors Denote ROMS is just a set of operators:. In general will be nonlinear. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Physical and Mathematical Physical and Mathematical Interpretations of an Adjoint Interpretations of an Adjoint

Model with Application to ROMSModel with Application to ROMS

Andy MooreAndy MooreUniversity of ColoradoUniversity of Colorado

BoulderBoulder

Page 2: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Linearized SystemsLinearized Systems Consider a state-space (the ocean) Consider a state-space (the ocean)

with state vectors with state vectors Denote Denote ROMS is just a set of operators:ROMS is just a set of operators:

( , , , , , , , , ,...)Tu v T S N P Z D

( ) F( )t t In general will be nonlinear.In general will be nonlinear. For many problems it is of considerable For many problems it is of considerable

theoretical and practical interest to consider theoretical and practical interest to consider perturbations toperturbations to

Page 3: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Let Let In which case:In which case:

; F F+f

( ) ( )t f t For many problems, it is sufficient to For many problems, it is sufficient to

consider small perturbations: consider small perturbations: and negligibleand negligible2 The Tangent Linear Equation (TLE):The Tangent Linear Equation (TLE):

( )

( )t f t TLE forms core of many analyses TLE forms core of many analyses

(e.g. normal modes, linear iteration (e.g. normal modes, linear iteration of nonlinear problems (data assimil))of nonlinear problems (data assimil))

Page 4: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Matrix-Vector NotationMatrix-Vector Notation ROMS solves the primitive equations ROMS solves the primitive equations

in discrete form:in discrete form:( )t A( ) ( )d dt t t Φ A Φ f

Φ

NLROMStrajectory

Page 5: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Important QuestionsImportant Questions Now that we have reduced the Now that we have reduced the

linearized ROMS (TLROMS) to a linearized ROMS (TLROMS) to a matrix, what would we like to know?matrix, what would we like to know?

We should perhaps ask of what value We should perhaps ask of what value is since in reality ROMS (and the is since in reality ROMS (and the real ocean) is nonlinear?real ocean) is nonlinear?

( )tA

Page 6: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Justification for TLROMSJustification for TLROMS All perturbations begin in the linear All perturbations begin in the linear

regime.regime. Linear regime often continues to Linear regime often continues to

provide useful information long after provide useful information long after nonlinearity becomes important.nonlinearity becomes important.

Since the action of is to Since the action of is to merely “scatter” energy, linear merely “scatter” energy, linear regime yields stochastic paradigms.regime yields stochastic paradigms.

( )

Page 7: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

The PropagatorThe Propagator It is more convenient to work in It is more convenient to work in

terms of the TLROMS propagator:terms of the TLROMS propagator:( ) ( , ) ( )f i f it t t t Φ R Φ

So, what would we like to know about So, what would we like to know about ? ? R

Page 8: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

DimensionDimension The ocean is a very large and The ocean is a very large and

potentially very complicated place!potentially very complicated place! But just how complicated is it?But just how complicated is it? What is it’s effective dimension?What is it’s effective dimension? Low dimension described by just a Low dimension described by just a

few d.o.f? or high dimension?few d.o.f? or high dimension? Does dimension depend on where we Does dimension depend on where we

look?look?

Page 9: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

R R is BIG!!!is BIG!!! R R is a monster!is a monster! 5 6 5 610 10

R Can we reduce R to something more Can we reduce R to something more managable?managable?

Page 10: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Enter the Adjoint!Enter the Adjoint! Eckart-Schmidt-Mirsky theorem: the Eckart-Schmidt-Mirsky theorem: the

most efficient representation of a most efficient representation of a matrix:matrix:

where and are the orthonormal where and are the orthonormal singular vectors ofsingular vectors of

1

KT

i i ii

R u v

iu ivR

Singular Value Decomposition (SVD).Singular Value Decomposition (SVD).

Page 11: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

By definition:By definition:

where = singular valueswhere = singular values = transpose propagator or= transpose propagator or adjoint (wrt Euclideanadjoint (wrt Euclidean norm)norm)

i i iRv uT

i i iR u v

iTR

Clearly:Clearly: 2

2

Ti i i

Ti i i

R Rv v

RR u u

Page 12: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Consider:Consider:

So looks like an EOF (i.e. So looks like an EOF (i.e. something that we “observe”).something that we “observe”).

Tk k kRR u u

u

Page 13: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

The Question of DimensionThe Question of Dimension The dimension of is equal to the The dimension of is equal to the

“range” of (i.e. the set of singular “range” of (i.e. the set of singular vectors with ).vectors with ).

Dimension=“rank”=maximal # of Dimension=“rank”=maximal # of independent rows and columns ofindependent rows and columns of

SVD is the most reliable method for SVD is the most reliable method for determining numerically the rank of determining numerically the rank of a matrix.a matrix.

RR

0i

R

Page 14: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

In the limit In the limit to its continuous counterpart.to its continuous counterpart.

HypothesisHypothesis( , , , ) 0x y z t

R The rank of will provide fundamental The rank of will provide fundamental

information about the dimensionality of the real information about the dimensionality of the real ocean circulationocean circulation

R

Page 15: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

The Active and Null SpaceThe Active and Null Space i.e. Transforms fromi.e. Transforms from v-space to u-spacev-space to u-space

i i iRv u R

Suppose is an (NxN) matrix of rank P (i.e. Suppose is an (NxN) matrix of rank P (i.e. ))0, 1, ,i i P

0, 1, ,i i P N If , (i.e. nothing is If , (i.e. nothing is

observed).observed). is the Null Space ofis the Null Space of is the Activated Space ofis the Activated Space of

0i 0i Rv

Initial stateFinal/Observedstate

0i 0i

R

RR

Page 16: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Null Space

Activated Space

00i

R Φ

00i

R Φ

1

N

i ii

a

Φ v

1

N

i ii

a

R Φ Rv

Page 17: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Recall:Recall:

transforms from “observed u” back to transforms from “observed u” back to “activated v-space”.“activated v-space”.

So if we observe “u” the adjoint tells us So if we observe “u” the adjoint tells us from whence it came!from whence it came!

(cf Green’s functions).(cf Green’s functions).

Ti i iR u v

ObservedState

InitialState

TR

Page 18: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Generating VectorsGenerating Vectors Let be an (NxM) matrix, where Let be an (NxM) matrix, where

N<M.N<M. SVD yields two fundamental spaces:SVD yields two fundamental spaces: N-space and M-spaceN-space and M-space

A

i i iAv u

Ti i iA u v

( )( 1)N M M ( 1)N

( )( 1)M N N ( 1)M

M-space to N-space

N-space to M-space

Page 19: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Consider the underdetermined systemConsider the underdetermined system

, given; unknown., given; unknown.

Ax b( )( 1)N M M ( 1)N

A b x Unique solutions exist if:Unique solutions exist if: Then:Then:

is called the “generating vector”.is called the “generating vector”. is called the “natural solution”. is called the “natural solution”.

Tx A yT AA y b

( )( )( 1)N M M N N ( 1)N

yx

Page 20: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Suppose that has only P non-zero Suppose that has only P non-zero singular values:singular values:

SVD:SVD:

So is ALWAYS in P-space (i.e. So is ALWAYS in P-space (i.e. “activated space” identified by ) “activated space” identified by )

A0, 1, ,i i P

( )

Tp p p

T Tp p p

T Tp p p p

A U Λ V

A V Λ U

x A y V Λ U y V q

xTA

Page 21: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

A Familiar ExampleA Familiar Example The QG barotropic vorticity equation:The QG barotropic vorticity equation:

Solve for : Solve for : underdetermined!underdetermined!

Adjoint vorticity equation yields the Adjoint vorticity equation yields the generating (stream) function:generating (stream) function:

0x yv u vt

u v u i j

y x u i j

Page 22: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Adjoint ApplicationsAdjoint Applications Clearly the adjoint operator of Clearly the adjoint operator of

ROMS yields information about the ROMS yields information about the subspace or dimensions that are subspace or dimensions that are activated by .activated by .

There are many applications that There are many applications that take advantage of this important take advantage of this important property.property.

TR

R

Page 23: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Sensitivity AnalysisSensitivity Analysis Consider a function Consider a function

ClearlyClearly

ButBut

So So

( )J G Φ

TJ G Φ Φ

( ) ( , ) ( )f i f it t t t Φ R Φ

( , )Tf iJ t t G Φ R Φ

Sensitivity

Page 24: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Clearly the action of the adjoint Clearly the action of the adjoint restricts the sensitivity analysis to restricts the sensitivity analysis to the subspace activated by (i.e. to the subspace activated by (i.e. to the space occupied by “natural” the space occupied by “natural” solutions).solutions).

TR

Page 25: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Least-Squares FittingLeast-Squares Fittingand Data Assimilationand Data Assimilation

If then If then the gradient provided by can be the gradient provided by can be used to find that minimizes .used to find that minimizes .

The is the idea behind 4-dimensional The is the idea behind 4-dimensional variational data assimilation (4DVAR)variational data assimilation (4DVAR)

Clearly the that minimizes Clearly the that minimizes lies within the active subspace oflies within the active subspace of

( ) ( )obs T obsJ Φ Φ X Φ ΦTR

J( )itΦ

( )itΦ JR

Page 26: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Traditional Eigenmode AnalysisTraditional Eigenmode Analysis We are often taught to use the We are often taught to use the

eigenmodes of to explore eigenmodes of to explore properties and stability of ocean.properties and stability of ocean.

In general, the eigenmodes of are In general, the eigenmodes of are NOT orthogonal, meaning each mode NOT orthogonal, meaning each mode has a non-zero projection on other has a non-zero projection on other modes.modes.

What does this do to our notion of What does this do to our notion of active and null space?active and null space?

R

R

Page 27: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Null Space based onmodes of R

Activated Space based on modes of R

The two spaces overlap!

Page 28: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

The amplitude of a particular The amplitude of a particular eigenmode of is determined by its eigenmode of is determined by its projection on the active subspace projection on the active subspace (i.e. by it’s projection on the (i.e. by it’s projection on the corresponding eigenmode of ).corresponding eigenmode of ).

R

TR

Page 29: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Basin Modes in a Mean FlowBasin Modes in a Mean Flow

Basic StateCirculation

Eigenmode #6 AdjointEigenmode #6

Page 30: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

SVD and Generalized StabilitySVD and Generalized StabilityAnalysisAnalysis

Recall from SVD that:Recall from SVD that: Time evolved SV isTime evolved SV is Ratio of final to initial “energy” is:Ratio of final to initial “energy” is:

So of all perturbations, is the one that So of all perturbations, is the one that maximizes the growth of “energy” over maximizes the growth of “energy” over the time interval .the time interval .

2Ti i iR Rv v

iRv

2( ) ( )( ) ( )

T T Ti i i i

iT Ti i

Rv Rv v R Rvv v v v

1v[ , ]i ft t

Page 31: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Consider the forced TL equation:Consider the forced TL equation:

If is stochastic in time, more If is stochastic in time, more general forms of SVD are of interest.general forms of SVD are of interest.

Assume unitary forcing:Assume unitary forcing: Of particular interest are:Of particular interest are:

( )t t Φ Φ Φ f

( )tf

TdtP RRT dtQ R R

Controllability Grammiam

Observability Grammiam

( ) ( )Tt t f f I

Page 32: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Eigenvectors of are the EOFs.Eigenvectors of are the EOFs. Eigenvectors of are the Eigenvectors of are the

Stochastic Optimals.Stochastic Optimals. Variance:Variance:

Eigenvectors of are Eigenvectors of are balanced truncation vectors.balanced truncation vectors.

All have considerable practical utility All have considerable practical utility and applications that go far beyond and applications that go far beyond traditional eigenmode analysis!traditional eigenmode analysis!

PQ

1 2 1 2P QP

tr trVar P Q

Page 33: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Covariance Functions andCovariance Functions andRepresentersRepresenters

The “controllability” Grammiam is The “controllability” Grammiam is nothing more than a covariance nothing more than a covariance matrix.matrix.

Note that Note that looks a lot like:looks a lot like:

which yields the “natural solution”.which yields the “natural solution”. Operations involving yield only Operations involving yield only

natural solutions related to natural solutions related to “Representer Functions”.“Representer Functions”.

P

Tdt b Py RR yT AA y b

P

Page 34: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Norm DependenceNorm Dependence The adjoint is norm dependent.The adjoint is norm dependent. For the Euclidean norm, For the Euclidean norm, Changing norms is simply equivalent Changing norms is simply equivalent

to a rotation and/or change in metricto a rotation and/or change in metric

†R† TR R

Activated SubspaceNull Space

Page 35: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

Null Space

Activated Space

SummarySummary

The adjoint identifies the bits of state-spacethat actually do something!

Page 36: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

The Adjoint of ROMSis a Wonderful Thing!

Page 37: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

The Cast of CharactersThe Cast of Characters

- played by NLROMS- played by TLROMS- played by ADROMS

( ) RTR

Page 38: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

AcknowledgementsAcknowledgements Lanczos, C., 1961: Linear Differential Operators, Dover Press.Lanczos, C., 1961: Linear Differential Operators, Dover Press. Klema, V.C. and A.J. Laub, 1980: The Singular Value Decomposition: Its Klema, V.C. and A.J. Laub, 1980: The Singular Value Decomposition: Its

Computation and Some Applications. IEEE Trans. Automatic Control, AC-25, Computation and Some Applications. IEEE Trans. Automatic Control, AC-25, 164-176.164-176.

Wunsch, C., 1996: The Ocean Circulation Inverse Problem, Cambridge Wunsch, C., 1996: The Ocean Circulation Inverse Problem, Cambridge University Press.University Press.

Brogan, W.L., 1991: Modern Control Theory, Prentice Hall.Brogan, W.L., 1991: Modern Control Theory, Prentice Hall. Bennett, A.F., 1992: Inverse Methods in Physical Oceanography, Cambridge Bennett, A.F., 1992: Inverse Methods in Physical Oceanography, Cambridge

University Press.University Press. Bennett, A.F., 2002: Inverse Modeling of the Ocean and Atmosphere, Bennett, A.F., 2002: Inverse Modeling of the Ocean and Atmosphere,

Cambridge University Press. Cambridge University Press. Benner, P., P. Mehrmann and D. Sorensen, 2005: Dimension Reduction of Benner, P., P. Mehrmann and D. Sorensen, 2005: Dimension Reduction of

Large-Scale Systems. Lecture Notes in Computational Science and Large-Scale Systems. Lecture Notes in Computational Science and Engineering, Vol. 45, Springer-Verlag.Engineering, Vol. 45, Springer-Verlag.

Trefethen, L.N and M. Embree, 2005: Spectra and Pseudospectra, Princeton Trefethen, L.N and M. Embree, 2005: Spectra and Pseudospectra, Princeton University Press.University Press.

Farrell, B.F. and P.J. Ioannou, 1996: Generalized Stability Theory, Part I: Farrell, B.F. and P.J. Ioannou, 1996: Generalized Stability Theory, Part I: Autonomous Operators. J. Atmos. Sci., 53, 2025-2040.Autonomous Operators. J. Atmos. Sci., 53, 2025-2040.

Farrell, B.F. and P.J. Ioannou, 1996: Generalized Stability Theory, Part II: Farrell, B.F. and P.J. Ioannou, 1996: Generalized Stability Theory, Part II: Nonautonomous Operators. J. Atmos. Sci., 53, 2041-2053.Nonautonomous Operators. J. Atmos. Sci., 53, 2041-2053.

Page 39: Physical and Mathematical Interpretations of an Adjoint Model with Application to ROMS

R R is BIG!!!is BIG!!! R R is a monster!is a monster!

Can we reduce Can we reduce R R to something more to something more managable? managable?

5 6 5 610 10