HackerPapers

arXiv:2006.11287cs.LG

Discovering Symbolic Models from Deep Learning with Inductive Biases

Miles Cranmer, Alvaro Sanchez-Gonzalez, Peter Battaglia, Rui Xu, Kyle Cranmer, David Spergel, Shirley Ho

Abstract

We develop a general approach to distill symbolic representations of a learned deep model by introducing strong inductive biases. We focus on Graph Neural Networks (GNNs). The technique works as follows: we first encourage sparse latent representations when we train a GNN in a supervised setting, then we apply symbolic regression to components of the learned model to extract explicit physical relations. We find the correct known equations, including force laws and Hamiltonians, can be extracted from the neural network. We then apply our method to a non-trivial cosmology example-a detailed dark matter simulation-and discover a new analytic formula which can predict the concentration of dark matter from the mass distribution of nearby cosmic structures. The symbolic expressions extracted from the GNN using our technique also generalized to out-of-distribution data better than the GNN itself. Our approach offers alternative directions for interpreting neural networks and discovering novel physical principles from the representations they learn.

arXiv comments
Accepted to NeurIPS 2020. 9 pages content + 16 pages appendix/references. Supporting code found at https://github.com/MilesCranmer/symbolic_deep_learning
Journal reference
DOI
Subjects
cs.LGMachine Learning astro-ph.COCosmology and Nongalactic Astrophysics astro-ph.IMInstrumentation and Methods for Astrophysics physics.comp-phComputational Physics stat.MLMachine Learning (Statistics)

On Hacker News

Linked by 3 identifiable commenters in 3 comments across 3 threads, from Dec 2020 to May 2024. Found in 3 HN submissions from Jun 2020 to Jul 2020. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments3 threads

    • In order for that not to happen (uninterpretable ML models) some research on symbolic distillation, aka symbolic regression https://arxiv.org/abs/2006.11287 https://www.science.org/doi/10.1126/sciadv.aay2631

      goodmachineView on HNParent context

    • I'm curious how this relates to MDL-tied regularization. I don't see any explicit reference to the L2 norm here, and I'm not too smart about graph neural networks. But it seems like overfitting is almost necessary unless some kind of obscure variational technique is used? They…

      tbalsamView on HNParent context

    • Discovering Symbolic Models from Deep Learning with Inductive Biases [1] trains graph neural nets on astrophysical phenomena and then performs symbolic regression to generate algebraic formulae to elegantly model the phenomena in a classical physics framework. It's largely gone…

      KhoomeiKView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.