It is an instruction manual for my graduation project. Following the same settings as NeurVec, this method demonstrates excellent performance on the datasets, including Elastic Pend, Klink, Spring Chain.
Conventional piecewise linear activation function, such as ReLU in the following figure, cannot guarantee the existence of Lipschitz smoothness in the defined domain of the network, which leads to poor simulation performance in the simulation of chaotic systems. The following figure shows the performance of many conventional activation functions on Elastic Pend.
We found that performance of these activation functions are much lower than that of NeurVec, which meet the Lipschitz smoothness condition.
Observing that the exponential operation contained in the rational used by NeuroVec affects running speed of the model, we replace rational with an activation function that satisfies the Lipschitz smoothness.
Also, their original and derivative functions have extremely similar geometric shapes.
During the experiment, a heatmap was drawn for the pre activation values of the feature map, and it was found that there was a regular distribution of values: the colors of each channel showed a band like distribution at the same time step, indicating that the values of different samples in the same channel were similar; The color of the same channel varies at different time steps, indicating that the distribution of pre activation values for the same channel varies at different time steps. The following figure describes the values of feature maps with a size of (TimeStep * BatchSize) * ChannelNum.
Naturally, we apply a channel-wise activation function to solve different values of channel-wise distribution.
Then, in order to handle chaotic problems better and encode high-frequency information, a periodic oscillation activation function,SIREN, is introduced to adapt to the instability of the solution and reduce spectral deviation.
The formula represents the channel-wise version of SIREN, N represents the number of different channels.
Based on the above improvements, we have obtained our final method. Our method balances speed and accuracy, greatly improving the efficiency of simulation.
Compared with NeuroVec, our method has improved simulation accuracy by 2 orders of magnitude.
When using only 25% of the original method's data, the convergence speed is 4 times faster.
Compared to NeuroVec, the inference speed is 22% faster, which is 150 times faster than traditional methods.
When visualizing the motion trajectory, our method predicts a more stable path.
@article{JustinXu0,
title={FSNet: A Fast Simulation Algorithm for Chaotic Dynamical Systems},
author={Yuanfeng Xu, Shenglan Liu},
year={2023},
url={https://github.com/JustinXu0/A-Fast-Simulation-Algorithm-for-Chaotic-Dynamical-Systems},
primaryClass={cs.CV}
}