Skip to content

Estimators

Platon I Karpov edited this page Feb 26, 2021 · 22 revisions

Sapsan has several models in its arsenal to get started.

Convolution Neural Network

The network is based around Conv3d and MaxPool3d layers, reducing the spatial dimensions down to 1 by increasing the number of features. In order to do that, the network iterates over the following NN block:

def nn_block():
  torch.nn.Conv3d(D_in, D_in*2, kernel_size=2, stride=2, padding=1)
  torch.nn.MaxPool3d(kernel_size=2, padding=1)

where D_in is the input dimension.

As final layers, ReLU activation function is used and the data is linearized. An example model graph for the input data with the spatial dimensions of [16, 16, 16] split into 8 batches is provided below.

cnn_model_graph

Kernel Ridge Regression

We have included one of the classic regression-based methods used in machine learning - Kernel Ridge Regression. The model has two hyperparameters to be tuned: regularization term α and full-width at half-max σ. KRR has the following form:

y′ = y(K + α I) − 1k

where K is the kernel, chosen to be the radial basis function (gaussian):

K(x, x′) = exp( − ||x − x′||2 / 2σ2)

Physics-Informed Convolutional Autoencoder

Description coming soon. The estimator is based on Embedding Hard Physical Constraints in Neural Network Coarse-Graining of 3D Turbulence by M.T.Arvind et al.