A third-order finite difference weighted essentially non-oscillatory scheme with shallow neural network

Kwanghyuk Park, Xinjuan Chen, Dongjin Lee, Jiaxi Gu, Jae-Hun Jung
7/8/2024
cs.LGcs.NEmath.NA

No confident code implementation found for this paper.

Abstract

In this paper, we introduce the finite difference weighted essentially non-oscillatory (WENO) scheme based on the neural network for hyperbolic conservation laws. We employ the supervised learning and design two loss functions, one with the mean squared error and the other with the mean squared logarithmic error, where the WENO3-JS weights are computed as the labels. Each loss function consists of two components where the first component compares the difference between the weights from the neural network and WENO3-JS weights, while the second component matches the output weights of the neural network and the linear weights. The former of the loss function enforces the neural network to follow the WENO properties, implying that there is no need for the post-processing layer. Additionally the latter leads to better performance around discontinuities. As a neural network structure, we choose the shallow neural network (SNN) for computational efficiency with the Delta layer consisting of the normalized undivided differences. These constructed WENO3-SNN schemes show the outperformed results in one-dimensional examples and improved behavior in two-dimensional examples, compared with the simulations from WENO3-JS and WENO3-Z.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{park2024thirdorder,
  title  = {A third-order finite difference weighted essentially non-oscillatory scheme with shallow neural network},
  author = {Kwanghyuk Park and Xinjuan Chen and Dongjin Lee and Jiaxi Gu and Jae-Hun Jung},
  year   = {2024},
  eprint = {2407.06333},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.06333v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.06333.svg)](https://codeofpaper.com/paper/2407.06333)

Discussion