NeuralOperators.jl icon indicating copy to clipboard operation
NeuralOperators.jl copied to clipboard

More Benchmarks

Open dynamic-queries opened this issue 3 years ago • 13 comments
trafficstars

It would be nice to have more benchmarks as they discuss here

  • https://arxiv.org/pdf/2111.05512.pdf
  • https://arxiv.org/pdf/2203.13181.pdf

dynamic-queries avatar Jun 23 '22 15:06 dynamic-queries

It seems worthy to put those datasets to JuliaML/MLDatasets.jl.

yuehhua avatar Jun 24 '22 08:06 yuehhua

I think we shouldn't do them as datasets. We should setup the classical integrators with DifferentialEquations.jl, optimize them, and over at SciMLBenchmarks run the classical ones vs the neural operators and do a direct timing comparison. The current timing comparisons are absolutely dreadful because they have a handrolled MATLAB or Python PDE solver which is 😅 so I'd like to see real timings.

ChrisRackauckas avatar Jun 24 '22 08:06 ChrisRackauckas

Oh! OK, we already have a mature benchmark system in SciML. I think we should do it for the Burger's equation as well.

yuehhua avatar Jun 24 '22 09:06 yuehhua

While training a neural network still need prepared dataset, where should we get dataset from? To generate dataset directly from DifferentialEquations.jl in real time just before training? Or can we have a place to get generated dataset?

yuehhua avatar Jun 24 '22 09:06 yuehhua

For Burger's we have:

https://benchmarks.sciml.ai/html/MOLPDE/burgers_fdm_wpd.html https://benchmarks.sciml.ai/html/MOLPDE/burgers_spectral_wpd.html

While training a neural network still need prepared dataset, where should we get dataset from? To generate dataset directly from DifferentialEquations.jl in real time just before training? Or can we have a place to get generated dataset?

I think for benchmarks it would be nice to see for example the PDE solve, and then the neural operator train, and then the speed difference, and then the accuracy at predicting new outputs.

ChrisRackauckas avatar Jun 24 '22 09:06 ChrisRackauckas

Nice! Its the way to go.

yuehhua avatar Jun 24 '22 09:06 yuehhua

And Burger's is probably too simple of a test equation IMO. It's fine to show for handling of upwinding and the viscosity solution, but its dynamics are rather simple other than that.

https://diffeq.sciml.ai/stable/tutorials/advanced_ode_example/

Busselator might be a really nice example of a PDE to stress it.

ChrisRackauckas avatar Jun 24 '22 09:06 ChrisRackauckas

I'm not that familiar with physical models, but it's great to have other examples other than Burger's.

yuehhua avatar Jun 24 '22 09:06 yuehhua

And Burger's is probably too simple of a test equation IMO. It's fine to show for handling of upwinding and the viscosity solution, but its dynamics are rather simple other than that.

https://diffeq.sciml.ai/stable/tutorials/advanced_ode_example/

Busselator might be a really nice example of a PDE to stress it.

I agree. In that vein, it would be interesting to add examples for the family of wave equations as well.

dynamic-queries avatar Jun 24 '22 09:06 dynamic-queries

Also this paper might be a good reference https://openreview.net/forum?id=dh_MkX0QfrK

YichengDWu avatar Jul 13 '22 23:07 YichengDWu

That's fine as a subset, but it's missing important classes of difficult to solve PDEs like Bruss.

ChrisRackauckas avatar Jul 13 '22 23:07 ChrisRackauckas

What is the full name of Bruss?

YichengDWu avatar Aug 18 '22 01:08 YichengDWu

Brusselator Reaction-Diffusion PDE.

ChrisRackauckas avatar Aug 18 '22 02:08 ChrisRackauckas