Skip to main content
QUICK REVIEW

[Paper Review] Discovering Symbolic Models from Deep Learning with Inductive Biases

Miles Cranmer, Álvaro Sánchez‐González|arXiv (Cornell University)|Jun 19, 2020
Model Reduction and Neural NetworksPhysics and Astronomy61 references269 citations
TL;DR

The paper distills symbolic, human-interpretable equations from Graph Neural Networks by enforcing sparse latent representations and applying symbolic regression to internal components, successfully rediscovering known physical laws and discovering a new cosmology-related formula.

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.

Motivation & Objective

  • Motivate combining deep learning with symbolic regression to obtain interpretable physics-inspired models.
  • Leverage strong inductive biases in Graph Networks to learn compact internal representations.
  • Extract explicit analytical expressions by applying symbolic regression to learned GN components.
  • Demonstrate the approach on Newtonian dynamics, Hamiltonian dynamics, and cosmology (dark matter halos).
  • Show that symbolic expressions can generalize better than the original neural models on out-of-distribution data.

Proposed method

  • Use Graph Networks (edge, node, global models) with inductive biases suited to interacting particle systems.
  • Train end-to-end to predict dynamics or system energies, encouraging compact latent representations via regularization (L1 or KL) or a bottleneck.
  • Apply symbolic regression (eureqa) to fit analytic expressions to the GN components (phi^e, phi^v, phi^u).
  • Replace GN internal functions with the learned symbolic expressions and refit parameters to obtain an analytic model.
  • For Hamiltonian cases, use a Flattened Hamiltonian Graph Network to obtain H_pair and H_self terms for symbolic extraction.
  • Demonstrate extraction of force laws and potentials, and validate on a cosmology dataset involving dark matter halos.

Experimental results

Research questions

  • RQ1Can strong inductive biases in Graph Networks enable the extraction of explicit symbolic equations that describe learned dynamics?
  • RQ2Do symbolic expressions derived from GN components correspond to known physical laws (e.g., Newtonian forces, Hamiltonians) and can they generalize to out-of-distribution data?
  • RQ3Can symbolic regression recover novel, interpretable formulas in a real-world dataset (cosmology) beyond recreated force laws?
  • RQ4Does regularization (L1 or KL) or a bottleneck improve the interpretability and recoverability of the underlying physics?

Key findings

  • The framework can recover known force laws and Hamiltonians from trained Graph Networks.
  • L1 regularization and bottleneck constraints yield more interpretable, compact latent messages that correlate with true forces.
  • Symbolic regression applied to internal GN components can extract explicit analytic expressions matching physical laws (e.g., a 1/r^2 force, a spring potential).
  • A new analytic formula predicting dark matter overdensity from nearby mass distributions was discovered from cosmology data, achieving competitive error with hand-designed models.
  • Symbolic expressions generalized to out-of-distribution data better than the original GN in a cosmology example, suggesting benefits of symbolic interpretation for generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.