Neural networks can be FLOP-efficient integrators of 1D oscillatory integrands

Anshuman Sinha, Spencer H. Bryngelson
4/9/2024
cs.LGcs.CEmath.NA

No confident code implementation found for this paper.

Abstract

We demonstrate that neural networks can be FLOP-efficient integrators of one-dimensional oscillatory integrands. We train a feed-forward neural network to compute integrals of highly oscillatory 1D functions. The training set is a parametric combination of functions with varying characters and oscillatory behavior degrees. Numerical examples show that these networks are FLOP-efficient for sufficiently oscillatory integrands with an average FLOP gain of 1000 FLOPs. The network calculates oscillatory integrals better than traditional quadrature methods under the same computational budget or number of floating point operations. We find that feed-forward networks of 5 hidden layers are satisfactory for a relative accuracy of 0.001. The computational burden of inference of the neural network is relatively small, even compared to inner-product pattern quadrature rules. We postulate that our result follows from learning latent patterns in the oscillatory integrands that are otherwise opaque to traditional numerical integrators.

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{sinha2024neural,
  title  = {Neural networks can be FLOP-efficient integrators of 1D oscillatory integrands},
  author = {Anshuman Sinha and Spencer H. Bryngelson},
  year   = {2024},
  eprint = {2404.05938},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.05938v1}
}

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/2404.05938.svg)](https://codeofpaper.com/paper/2404.05938)

Discussion