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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Sinha, Anshuman, Bryngelson, Spencer H.
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866929310385831936
author Sinha, Anshuman
Bryngelson, Spencer H.
author_facet Sinha, Anshuman
Bryngelson, Spencer H.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2404_05938
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Neural networks can be FLOP-efficient integrators of 1D oscillatory integrands
Sinha, Anshuman
Bryngelson, Spencer H.
Machine Learning
Computational Engineering, Finance, and Science
Numerical Analysis
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.
title Neural networks can be FLOP-efficient integrators of 1D oscillatory integrands
topic Machine Learning
Computational Engineering, Finance, and Science
Numerical Analysis
url https://arxiv.org/abs/2404.05938