From models of galaxies to atoms, simple AI shortcuts speed up simulations
sciencemag.org
sciencemag.org
Simulations based on PDEs, ODEs, or DAEs have a particular mathematical foundation. Within the bounds of their solvers, they deliver precise results and can actually forecast physical behavior.
If such an "emulator" is much better in many cases but completely wrong in just one, it is basically useless, as presumably the verification of a solution takes as long as a classical simulation.
Now if you are aware of the field, what I just described was (ignoring I do not remember the exact fitting data) the parameterization process of the MARTINI force field which is sufficiently good at lipids, kind of okay at proteins, and pretty bad at everything else. But within the bounds that you know the weakness of the system you can still use it to figure out experimental data. (Also as an aside MARTINI only got access to proteins and other things later on, thankfully force fields improve over time.)
But yes if you are creating a mathematical model from the ground and trying to use the model itself as a method to discover something about the system, then you are correct in that the new mathematical model may be able to tell you new things about the system. However, if you are trying to learn things from the simulations, then the type of simulator you are using matters less as long as it is accurate enough.
Sometimes you want laser-like precision. But often, you are better off with a flashlight.
> it is basically useless, as presumably the verification of a solution takes as long as a classical simulation.
If and only if you're doing one simulation which is rarely, if ever, the case.
It's faster, but we're not there yet on accuracy.
Now the critical question is: How much faster is it without AI, just because of the specialized dedicated processing chips?
Otherwise, they might be comparing a single virtualized CPU core against a high-end GPU for things like matrix multiplication ... and then the result that GPU > slow CPU isn't really that impressive.
The paper answers this question:
> While the simulations presented typically run in minutes to days, the DENSE emulators can process multiple sets of input parameters in milliseconds to a few seconds with one CPU core, or even faster when using a Titan X GPU card. For the GCM simulation which takes about 1150 CPU-hours to run, the emulator speedup is a factor of 110 million on a like-for-like basis, and over 2 billion with a GPU card. The speed up achieved by DENSE emulators for each test case is shown in Figure 2(h)
Based on similar work we are doing at the startup I work for, this isn't just GPU magic. ML is a heuristic alternative to simulations which already operate on specialized GPUs and TPUs. This modeling acceleration is one of the many ways in which ML is poised to change everything.
The same way that a human can, for instance, approximately draw iso-temperature lines around a candle flame, without having to perform simulations...except the neural net is some 99%+ as accurate and detailed as a full simulation. That's exactly why neural nets excel - they learn complex heuristics much like humans do, but with the added power of digitized computation and memory.
However, I think the degree to which neural networks can extrapolate is still an open question, so it is important to thoroughly sample your problem space during training. That's a bit of an artform given that these spaces are typically high-dimensional.
Sounds a lot like genetic algorithms but with neural networks. I suspect we'll see more of this as people figure out how to run the search over neural network architectures that fit their own domains. Convolutions and transformers are great and all but we might as well let the computers do the search and optimization as well instead of waiting on human insights for stacking functions.
https://news.ycombinator.com/item?id=22132867
Note: The published paper is titled "Up to 2B times acceleration of scientific simulations with deep neural search", which can raise some hackles, including mine. Doesn't prove anything but still.
(yes, neural networks are compression engines)
It seems to me like the real magic of neural networks is that they make it easier to search for a function that solves (to some extent) a particular problem.
Yes, you can say generalization is compression.
Compression, on the other hand, nicely captures the "learn and reproduce" approach that using AI entails.
Even human as agent requires training before being deployed to unseen problems. Generalization is conditioned on experience, after all.
AI generalizes to unseen in domain data given a specific task. That is why it is useful in the first place.
Any mathematical model is 'compressed' form of reality and that's why they works well. Instead of compressed, simplified or abstracted, is better term. Machine Learning adds heuristic data driven model to scientific model.