Liu et al (LRPC16_):

Sample images of atmospheric rivers correctly classified (true positive) by our deep CNN model. Figure shows total column water vapor (color map) and land sea boundary (solid line).

In physics, typically, we are concerned with identifying True Parameters for Universal Laws, applicable without prejudice across all the cosmos. We are hunting something like the Platonic ideals that our experiments are poor shadows of. Especially, say, quantum physics or cosmology.

In machine learning, typically we want to make generic predictions for a given process, and quantify how good those predictions can be given how much data we have and the approximate kind of process we witness, and there is no notion of universal truth waiting around the corner to back up our wild fancies. On the other hand, we are less concerned about the noisy sublunary chaos of our experiments and don’t need to worry about how far our noise drives us from truth as long as we estimate it. But then, far from universality, we have weak and vague notions of how to generalise our models to new circumstances and new noise. That is, in the Platonic ideal of machine learning, there are no Platonic ideals to be found.

(This explanation does no justice to either physics or machine learning, but here is a mere framing rather than an essay in the history or philosophy of science.)

Can these areas have something to say to one another nevertheless? After an interesting conversation with Shane Keating about the difficulties of ocean dynamics, I am thinking about this in a new way; Generally, we might have notions from physics of what “truly” underlies a system, but where many unknown parameters, noisy measurements, computational intractability and complex or chaotic dynamics interfere with our ability to predict things using only known laws of physics; Here, we want to come up with a “best possible” stochastic model of a system given our uncertainties and constraints, which looks a lot like an ML problem.

At a basic level, it’s not controversial (I don’t think?) to use machine learning methods to analyse data in experiments, even with trendy deep neural networks (e.g. RKSB16, LRPC16). I understand that this is huge, e.g. in connectomics.

Perhaps a little more fringe is using machine learning to reduce computational burden, e.g. JKPK17, CaTr17.

The thing that is especially interesting to me is learning the whole model from ML formalism, using physical laws as input to the learning process.

To be concrete, Shane specifically was discussing problems in predicting and interpolating “tracers”, such as chemical or heat, in oceanographic flows. Here we know lots of things about the fluids concerned, but less about the details of the ocean floor and have very imperfect measurements of the details. Nonetheless, we also know that there are certain invariants, conservation laws etc, so a truly “nonparametric” approach to dynamics is certainly throwing away information. We know that our

There is some cute work in this area, like the *SINDy* method, a compressive-sensing state filter of Brunton et al (BrPK16a, BrPK16b); but it’s hard to imagine scaling this up (at least not directly) to big things like large image sensor arrays and other such weakly structured input.

Recently, though, Lotter et al (LoKC16) have shown that in fact prediction of whole sequences of images is possibly using neural nets, although their approach is not physics-driven. They get bonus points for making the code, prednet, downloadable. People like Chang et al (CUTT17) claim that learning “compositional object” models should be possible. The compositional models here are learnable objects with learnable pairwise interactions, and bear a passing resemblance to something like the physical laws that physics experiments hope to discover, although I’m not yet totally persuaded about the details of this particular framework. On the other hand, unmotivated appealing to autoencoders as descriptions of underlying dynamics of physical reality doesn’t seem sufficient.

There is an O’Reilly podcast and reflist about deep learning for science in particular.

## The other direction: What does physics say about learning?

See why does deep learning work or the statistical mechanics of statistics.

## Addendum

Why not “statistics for physics”? No reason not to do that; but physics already uses lots of statistics, so we don’t need a new notebook for that. Moreover, there are certain interesting problems in statistics that seem to be especially obvious in physics-driven dynamical problems. The one that bothers me most is estimation theory for time-series data. I find it highly unsatisfactory that, in frequentist statistics, time series estimation results provide only asymptotic guarantees and even then, only for samples from realizations of stationary processes. ML theory, by contrast, has made progress on statistical learning theory for dependent data in the non-stationary case (McSS11, AlLW13, KuMo14).

OTOH, I might be able to get more mileage out of Bayesian time series methods? I’ve never looked into estimation theory there.

Related, maybe: the recovery phase transition in compressed sensing.

TBC.

## Refs

- CUTT17: (2017) A Compositional Object-Based Approach to Learning Physical Dynamics. In Proceedings of ICLR.
- JKPK17: (2017) Accelerating Eulerian Fluid Simulation with Convolutional Networks.
- LRPC16: (2016) Application of Deep Convolutional Neural Networks for Detecting Extreme Weather in Climate Datasets.
*ArXiv:1605.01156 [Cs]*. - SDNM09: (2009) Bayesian Inference of Spectral Expansions for Predictability Assessment in Stochastic Reaction Networks.
*Journal of Computational and Theoretical Nanoscience*, 6(10), 2283–2297. DOI - BrPK16: (2016) Discovering governing equations from data by sparse identification of nonlinear dynamical systems.
*Proceedings of the National Academy of Sciences*, 113(15), 3932–3937. DOI - PHGL18: (2018) Model-Free Prediction of Large Spatiotemporally Chaotic Systems from Data: A Reservoir Computing Approach.
*Physical Review Letters*, 120(2), 024102. DOI - MGDC16: (2016) Predicting defect behavior in B2 intermetallics by merging ab initio modeling and machine learning.
*Npj Computational Materials*, 2(1), 1. DOI - CaTr17: (2017) Solving the quantum many-body problem with artificial neural networks.
*Science*, 355(6325), 602–606. DOI - PLHG17: (2017) Using Machine Learning to Replicate Chaotic Attractors and Calculate Lyapunov Exponents from Data.
*Chaos: An Interdisciplinary Journal of Nonlinear Science*, 27(12), 121102. DOI