-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update README.md * Add files via upload * Update README.md * Update README.md * Add files via upload * Add files via upload * Delete ref_jacobian.png * Add files via upload * Update README.md * Update README.md * Update README.md * updates to site * index * updates * add * update * updates to jacobian * update jacobian * Update team members * Create .gitkeep * updates * update * Update README.md * update * update --------- Co-authored-by: Kirill <kirill.trapeznikov@str.us> Co-authored-by: Abhnil <abhnil.prasad@unsw.edu.au>
- Loading branch information
1 parent
ee0cfcb
commit 51f9f54
Showing
23 changed files
with
1,386 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Comparison of Different Surrogate Neural Network Architectures | ||
|
||
We compare skill of trained surrogates with different architectures. The models are designed to have approx. same number of parameters: `1.5 millions`. | ||
|
||
There are two variations: | ||
|
||
| Architecture | Description | | ||
| -- | -- | | ||
| **Non-spatial** | *models treat each grid column independently* | | ||
| fcn | fully connected network, 7 dense layers | | ||
| conv1d_k | 1 dimensional conv net with dialation, z / levels = sequence dimension, variables = channel dimension, k = kernel size | | ||
| transformer | transformer encoder model with z / level position encoding, z / levels = sequence dimension, variables = channel dimension | | ||
| **Spatial** | *models can use information from neighbouring grids in making predictions* | | ||
| *conv2d_k* | 2 dimensional seperable depthwise conv net, lat/lots = 2d spatial dimensions, variables stacked as channels, k = kernel size | | ||
|
||
|
||
[![](skill_vs_nn_arch.png)](skill_vs_nn_arch.html) |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Finetuning Experiments | ||
|
||
Our strategy is to iteravly refine neural networks surrogates by training on them on progessively higher fidelity physics simulation data. | ||
|
||
To test our our fine-tuning strategy, we fine-tune a CAM4 trained NN surrogate on an increasing amount of SPCAM data. We compare fine-tuned model to a regular model trained from SCRATCH on the SPCAM data using the same amount data. | ||
|
||
The following plot shows the benefit of fine-tuning vs training from scratch. | ||
|
||
![](spcam-funetune.png) | ||
|
||
Training paramaters: | ||
- Total number of samples, N = 18e6, (in SPCAM training data) | ||
- Subsample factor, S = 2 ^ [3, 4, …. , 17] | ||
- For all, max_epochs: 200 / log(S) | ||
- For all, batch_size = min( 24 x 96 x 144, N / S) | ||
- Fine-tune: learning rate 5e-5, no learning rate schedule | ||
- Train from scratch/random init: learning rage 1e-3, warm up schedule (ramp from 0 to lr during first 10% of epochs and then ramp down from lr to 0 during last 90%) | ||
- Best model over epochs taken w.r.t. to validation set |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions
73
docs/sections/linearization/jacobian_proper_scale_spcam.html
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|