transcribe

SHRED 5 Reduced Order Models

Nathan Kutz · 27m · transcribed Aug 2026
More from Nathan Kutz Business
𝕏 Share ▶ YouTube 📥 PDF 🤖 .md

Section Insights

# 0:00

Introduction to Reduced Order Models

What are reduced order models and their significance?

Reduced order models (ROMs) are essential for describing complex dynamical systems in a computationally efficient manner. They allow for the simplification of high-dimensional problems into manageable forms, facilitating various applications like control problems and parametric analysis.

  • ROMs simplify complex dynamical systems.
  • They enable efficient solutions for high-dimensional problems.
  • Applications include control problems and parametric analysis.
# 5:29

Training and Compression Strategies

How can we enhance the training process of reduced order models?

By employing singular value decomposition, we can compress high-dimensional state outputs into fewer coefficients, significantly improving training speed and reducing memory usage.

  • Singular value decomposition aids in compressing high-dimensional data.
  • Fewer coefficients lead to faster training and lower memory requirements.
  • The focus shifts from full state variables to essential coefficients.
# 10:58

Separation of Variables in Nonlinear PDEs

How does the separation of variables apply to nonlinear partial differential equations?

The separation of variables allows for the derivation of explicit solutions for parametric nonlinear PDEs by splitting time and space into distinct functions, facilitating the determination of coefficients through initial conditions or sensor measurements.

  • Separation of variables simplifies solving nonlinear PDEs.
  • Initial conditions help determine coefficients for explicit solutions.
  • Sensor measurements can substitute for complete state knowledge.
# 16:28

Applications of Shallow Decoder Networks

What are some practical applications of the proposed shallow decoder networks?

The shallow decoder networks can reconstruct fluid dynamics from video data, accurately capturing different flow behaviors under varying conditions, demonstrating their effectiveness in real-world scenarios.

  • Shallow decoder networks can reconstruct fluid dynamics from videos.
  • They effectively capture different flow behaviors.
  • The method shows promise in practical applications.
# 21:57

Parameter Estimation and Model Comparison

How does the model perform in estimating parameters and comparing with other techniques?

The model can estimate time-dependent parameters accurately, outperforming other state estimation techniques that do not consider temporal history, highlighting the importance of incorporating sensor data over time.

  • The model estimates time-dependent parameters effectively.
  • It outperforms one-shot reconstruction techniques.
  • Incorporating temporal history is crucial for accurate state estimation.

Transcript

0:00 hi everyone and welcome to this video where we're going to dive into the redu modeling framework based on Sher car and decoder networks that we recently proposed in a joint work by me mat tomasetto and my collaborators that I like to thank Ian Williams Fran Manon and Nan CS redu order models are really important and useful tools nowadays to describe complex dynamical system and Di dimensional problems just in terms of few VAR and few terms this allows for

0:32 example to solve many query problems such as control problems UNC quantification parametric analysis and design in really a computational tractable way because the numerical simulation of the complex dynamical system is really an answer to this compression and reduction however standard redu order models are based on constant and known parameters and are also blind to the

1:02 actual system behaviors without a feedback loop or a feedback signal of the after behavior of the system and so with the shallow Rec and decoder n networks we propose a new strategy to reduce our complex and I dimensional problem and in particular we want to reconstruct the I dimensional state that is for example this fluid flow velocity on the entire domain me that is a herur like topology in this case just starting from these three

1:36 sensors these three spots like that you can see here or in general just starting from a li limited amount of sensor values that monitor the the state or other coupled quantities over time this seems to be a n POS problem or really difficult problem however motivated by the separation of variables method we can see that it's perfectly possible and we can achieve good result in this direction let's see a little bit the

2:07 data proposing stage that is required by our our method by The Shred method in general let's start from A dynamical system that can be also nonlinear really complex in terms of the state variable U we supposed to be able to extract and collect some data that are required for the training of the network and so we exract some I dimensional States in time and also these sensor measurements that are the evaluation

2:40 of our I dimensional States in some points of the domain of course this can be given by some numerical simulations or also by experimental analysis where you have real sensor coming into play from the actual time here of the sensor values in time we apply two proposing steps so the first thing is the Ping so we apply a prep poding here at the beginning so we add some zero

3:12 values the beginning of the the series will this will allow us to predict the entire I Fidelity State for the entire time period that we are considering avoiding any burning period that is typically considering time series forecasting or prediction moreover we apply also the legging so we consider some w we consider a a window with length L where where where L is the leg parameter that

3:45 has to be decided base of the problem if it has periodicity or other time scale that can be interesting we struct these subseries of length L to the end and from these sub subus that goes from in general the time K Manos cell to the time Decay we will predict the state at time Decay so we encode and exploit

4:16 these temporal history of sensor values in order to reconstruct the entire State at the final time of this subies let's revisit a little bit the architecture of the shred model proposed by by Yan Williams and coauthors in this paper so we start from our system and we supposed to collect and extract sensor values from this system that is are these spotlights that you can see

4:46 here this SPL these sensor are then fed into an lstm after of course the padding and legging that we have seen before the lstm returns ltin representation of our sensor values in time that is HK and this sensor lateral presentation can be then upscaled with a shallow decoder network to the actual full State

5:16 space and so we can reconstruct over the entire time period if you consider the the sub serious that we have extracted at the beginning we can reconstruct the entire I dimensional state this is the training loss so it's standard reconstruction loss that you can consider to train this this network let's see how can we enounce from a computational and a memory-wise point of view these this Strat so the snapshots of the state may

5:50 be really I dimensional and so the output of our decoder may be really high dimensional and so we can consider some compression strategy to enhance this this step for example we can consider proper composition where we collect the snapshots of our state in a matrix X we apply singular value de composition there are standard techniques nowadays in in mathematics and then we can express the state depending on space

6:23 and time just as linear combination of the PD modes that are coming from the singular value composition and also the coefficient at that has to be determined so now the Focus Shift from the high dimensional State U to the few terms few coefficients a at so how can you how can we use this idea into our Network just again from the Sens so we can apply padding and leing and we fit and we the lstm now the

6:56 shallow the curent shallow decoder network construct just the P coefficient instead of the entire full full order State variable and these really compress the output of our of our network allowing for really fast training and also small memory usage so now the compressive training loss consider the discrepancy between the predicted P coefficients and the one

7:30 that we have in the training in the training set let's see a first example of this shred model an application of the sh model where we consider these data set the well that is a really highly recommented collection of physical simulations and we deal with the shallow water equations case where they provide the solution over different years of this equation and the variables are the height of the water and with

8:03 respect to a reference mean and also the velocity fi on the entire domain that is an earthlike domain we can see that considering just these three sensors values that are fixed in our domain because we have a rotating camera let's say just measuring the height of the of the water essentially of of our FL in general we can reconstruct the entire state so the

8:34 both the height variable but also the velocity variable so we can construct also couple quantities measuring the height we can construct the velocity for example so think about that you have these three boys that measure the height achieved while being in the in the water and so just from this information in time you can reconstruct everything which read with the very good accuracy we can do something also more fancy so we can consider a drifting

9:05 voice in in our domain it is transported by the velocity essentially that we have so just from the coordinates of these boys of this sensor even without measuring something but just with the coordinates of this sensor we can reconstruct again training and then testing Shred the entire entire trajectory of our shallow water equation solution over a period of one

9:38 year instead of P propon composition we can consider also different strategies to compress our data PD is an example of a basis that can be computed from our data but we can we can use also some physics driven bases such as the spherical harmonics that are us used ful and meaningful in this spherical problem and are useful to describe the the variability and the evolution of our

10:08 variables in this in this setting so again if we compress the data with spherical harmonics projecting the the the high dimensional stage nures in on the de basis we can again with compressive training strategy and training the sh model we can again reconstruct our I dimensional velocity in this case with really good accuracy let's switch now to the parametric case so let's consider now parametric problems where we want to

10:40 predict our State our dimensional State not just in time but also for new parameter values that was never seen before during training for example just new ones in the in the test phase let's from the motivation and see let's see why why and how this can happen let's start from ond linear PDA PD partial differential equation

11:11 that is parametric so the differential operator depends on some parameters me and let's apply the separation of variables so we look for solution in the form in the separated form where we split time and space in these two functions if we inject these separated forms into the APD we can derve these two differential equations and we can achieve the explicit solution form that is this one below where we have a linear

11:44 combination of these terms depending on the igen values and function of the our differential operators so this is fully known except to these coefficients a to determine the coefficients what it's typically done is to exploit the initial condition so if we know the initial condition so the entire State at time t equal to zero we can

12:15 rewrite the speed solution formula at this time equal to zero and thanks to the orthogonality of the igen function we can find the coefficients a to these with these inner products in real world problems it's difficult to know the entire High dimensional State at the precise time instant and so it may be convenient to revisit this idea in the direction of sensor measurements so let's think about a fixed sensor just one f sensor where

12:48 you measure the state in a position EXs for different time time instance DK now the coefficients in this sum a n can be determined with this constraints so we impose in the SPC solution formulas SP solution formula the value of the sensor that we have measured with this constra we can again compute the coefficients again and then we can achieve the an explicit explicit formula for our state we can

13:19 consider also mobile sensor so now the position of the sensor depends in time but the rational is really the same of course notice that here the sum is truncated considering just the first nend terms instead of the infinite terms of the the this this formula is typically done in a numerical simulation where you need finite finite things and finite writings to to deal

13:50 with let's see an instructive example so consider this 3x3 OD system depending on the parameter mu this is really simple is a linear Conant coefficient so we have an explicit solution formula with that depending on the three parameters C1 C2 and C3 where these three vectors are the I vectors of the Matrix of the system area in the in the exponents you have the igen values of the Matrix so again if we are able

14:21 to determine this three coefficients we can have an explicit formula for the the state of our of our OD of our system what is toally done again is to impose the initial condition so if we know that the state is equal to one 23 at time t z we can impose that to the explicit Sol formula and find the three coefficients similarly if we know the values of just U1 in at different

14:53 time instance 0 1 and two maybe in a scenario mu equal to one these are the three measure measurements that are given by the sensor we can impose that to the solution formula and again we can determine the coefficients that for different Ms we can again achieve different sensors and we can impose that and find again the solution for the Newar so we have seen that with just the temporal history of sensor measurements

15:25 we can reconstruct the state we can achieve a four form for the state at least in case then we have also extension for the nonlinear and couple parameter PDS in general let's consider now the model architecture in the parameter case so the data the sensor data are coming from different time but also from different scenario from different parameters these are again fed feeding into the lstm and then with a shallow decoder

15:57 Network we can Rec the PD coefficients and then with PD or other basic expansion as we have seen before we can constr the entire State this is the compressive training loss but it's really the same with respect to before and then in a online phase we can consider a new parameter me we can collect the sensor measurements for that case and we can predict the state the high dimensional State just with our trained shred model

16:30 let's see some applications and some test cases for that so let's start from these construction based on video data so we downloaded two videos of fle Dynamics from this Source that represent the symmetric shedding and alternating symmetric shedding in the cylinder wake with the cylinder that is oating and two different infl condition are considered so here after purposing the video we can reconstruct

17:02 the entire frames of the video just measuring the pixel values of this three pixel in in yellow so this is really powerful and again we can do that with the same sh model we can do that for the other video that shows another Behavior another pattern so this is not this is a parametric case because we have ch videos we cannot infer the the solution the video for a new

17:35 parameter because we didn't find any collection of parametric videos let's say but it's really instructive important to see that shed can discriminate between the sh so monitoring the sensor of this case can reconstruct this case and cently with this case with the pixel history of these alternative symmetri Shing can reconstruct the right thing let's see now real parametric cases and parametric problems let's start from the

18:07 oneis PD that is a nolinear and CTIC PD we consider two parameters that are here the viscosity and the the frequency of the initial condition so with different choices of these parameters we can get really different state Evolution so you can see that in these two test cases with different parameters we can reconstruct we shred the the entire state in the SpaceTime domain with a very good accuracy we have also

18:38 performed some analysis with respect to the leg variable and also to the number of sensors and we can see that first of all just with a limited amount of temporal history so a limited relatively small leg value and also with few part few sensors we can reconstruct really in an accurate way our state and moreover these analysis

19:08 are done for different sensor placements so we can see that our shred model is also robust for with respect to the placement of of the sensor in our domain so it's pretty ostic with respect to that information the second test case regards the 3D pinball where we have to imagine a box where we have a fluid inside and the fluid is moved through these three cylinders that rotates with different velocities and the velocities

19:40 of the cylinders are our parameters different parameters will give different rotation clockwise or counterclockwise with different intensity completely different shapes of this density that starting from aashian density Center in the middle the domain it's deformed and scratched by these transported by this fluid flow we can see that both considering three fixed sensor measuring the state but also

20:11 considering a moving sensor a drifting y following the the state Evolution and transported by the the fluid flow we can reconstruct again very accurately the the state for test cases so for new scenarios never seen during training again if we consider an analysis of the relative error on test data with respect to leg values and number of sensor we can achieve the the same conclusion as before so with limited temporal history

20:44 of information and also a limited amount of sensors we can construct with a low error our our high dimensional State Evolution the final test case is regarded to the flow around an obstacle where we consider NV compressible nav stes equation with different obstacles so two parameters are useful to describe the geometry of the obstacle so we consider also geometrical

21:16 parametric dependencies dependency and we have also two physical parameters that are the infl the intensity of the inflow velocity that ENT from the left of the domain and the angle of attack and importantly the angle of attack can be also time dependent so it can be an un steady parameter differently from the one considered by standard and traditional reduce order modeling strates we can see that first of all the

21:49 shred can reconstruct the entire velocity just from three fixed sensor measuring the horizontal velocity in these three points in magenta very accurately moreover in the shred architecture what we need are just sensor values we don't need parameters so the parameters can be uncertainty uncertain or unknown and if we can train a set of this parameter we can

22:19 also put the parameter in output of our Network and we can achieve an estimate of our parameters for example this is the estimate provided by Shred the angle of attack in this case a constant angle attack over time this is a second test case where you consider a different geometry now you can see the The Vortex shedding in the wake of the cylinder and again you can reconstruct accurately the entire velocity flow and we can estimate

22:46 also the parameter that now is time dependent so we can consider a case where the INF condition enter the inflow inflow condition consider angle of attack that varies over time the last thing that I want to show you are some comparison with respect to other state estimation techniques so for example in this test case where the in this scenario where the angle of attack variety with really an high frequency we can see that Shram again can reconstruct

23:18 really well our our ground through our test data if we consider different State estimation techniques that focus on one shot reconstruction so we disregarding the temporal history of our sensor such as this deep P based deep State estimation and this one with also an out encoder inside to farther reduce the data we can see that our model outperforms so it's really important to focus on the temporal history of our

23:49 sensors these are the papers where these two models are have been proposed again we can consider ponet so a really important model in the operator learning framework and again we can see that shred thanks to the the encoding of our temporal history of the sensor achieves better results and this is the paper where ponet is been proposed the last

24:20 comparisons are U with respect to reduce order modeling strategies that are nonintrusive and nonlinear such as pdnn and PDL ROM so these architecture are based on the parameter to state map so are focused on the map that goes from the parameters value that have to be known in cannot be unknown as in shred case and now we can see that the shred architecture achiev

24:51 again better performances and so the information given by the sensor is for example in this complex scenario is really valuable with respect to the information given by the parameters only and these are again the papers where these techniques have been proposed this is a summary of the comparison so we can see a box plot of the errors on the test cases for different times so we can see that shred drums present smaller

25:21 errors as smaller relative errors and again if we consider the median error over time you can see that this this pattern is also confirmed on the wall time interval if we instead compare training time in the execution time we can see that all these techniques since they are non in based on light neural networks can predict the the solution the state really fast with respect to the full order model so respect to a resolution of the nav station with classical

25:53 techniques such as finite element method however shred on presents also smaller training time with respect to pddl PD Depon net and also to the techniques based with on out encoders strategy let's say the last analysis regards the data requirement so we can see that also considering few data in the the training few trajectories in the training set sh drums achieves better result and it's pretty

26:25 stable in the as also consider the inter quantile range so the variability of these of these analysis so thanks you for watching if you want know more about these or if you have some suggestion about this work please check check the archive with the details about the model and also the the application that we have done this is the GitHub repo with all the code if you want to play around and see what

26:56 happens with with your test case and problem this is the zenodo folder where you can find all the data to replicate the experiment that we have done and this is my mail if you have any suggestion any doubt you can contact me of course it's really appreciated thanks again for watching and I'll leave you with the other videos of this playlist about The Shred architectures

Summary

The video discusses the SHRED modeling framework, which utilizes shallow recurrent encoder-decoder networks to create reduced-order models for complex dynamical systems. This approach allows for the reconstruction of high-dimensional states from limited sensor data, making it computationally efficient for various applications, including control problems and parametric analysis.

- SHRED framework leverages shallow recurrent encoder-decoder networks for reduced-order modeling.
- It reconstructs high-dimensional states (e.g., fluid flow) from limited sensor measurements.
- The method incorporates preprocessing steps like padding and lagging to enhance prediction accuracy.
- Singular value decomposition is used for data compression, reducing output dimensionality and improving training efficiency.
- The framework is robust to sensor placement and can handle parametric variations in the system.
- Applications include reconstructing fluid dynamics from video data and predicting states in nonlinear partial differential equations.
- SHRED outperforms traditional state estimation techniques by effectively utilizing temporal sensor history.
- The model demonstrates lower training and execution times compared to other neural network-based methods and classical finite element approaches.

Questions Answered

What are reduced order models and their significance?

Reduced order models (ROMs) are essential for describing complex dynamical systems in a computationally efficient manner. They allow for the simplification of high-dimensional problems into manageable forms, facilitating various applications like control problems and parametric analysis.

How can we enhance the training process of reduced order models?

By employing singular value decomposition, we can compress high-dimensional state outputs into fewer coefficients, significantly improving training speed and reducing memory usage.

How does the separation of variables apply to nonlinear partial differential equations?

The separation of variables allows for the derivation of explicit solutions for parametric nonlinear PDEs by splitting time and space into distinct functions, facilitating the determination of coefficients through initial conditions or sensor measurements.

What are some practical applications of the proposed shallow decoder networks?

The shallow decoder networks can reconstruct fluid dynamics from video data, accurately capturing different flow behaviors under varying conditions, demonstrating their effectiveness in real-world scenarios.

How does the model perform in estimating parameters and comparing with other techniques?

The model can estimate time-dependent parameters accurately, outperforming other state estimation techniques that do not consider temporal history, highlighting the importance of incorporating sensor data over time.

© transcribe · For agents Built with care and craft by Gokul Rajaram