Discovering causal relations and equations from data

Gustau Camps‐Valls, Andreas Gerhardus, Urmi Ninad, Gherardo Varando, Georg Martius, Emili Balaguer‐Ballester, Ricardo Vinuesa, Emiliano Díaz, Laure Zanna, Jakob Runge

Abstract

This review paper synthesizes decades of research into a unified framework for "AI for Scientific Discovery." It explores how machine learning can move beyond simple pattern recognition to uncover the fundamental laws of nature by extracting causal structures and governing physical equations directly from observational data. By bridging the gap between first-principles physics and data-driven modeling, the authors outline a roadmap for understanding complex systems such as the human brain and the Earth’s climate.

Introduction

In modern science, fields like neuroscience and climate science are increasingly data-rich but theory-poor. Traditional scientific discovery relies on controlled experiments, which are often impossible or unethical in large-scale natural systems. This paper, led by Gustau Camps-Valls, addresses the challenge of observational discovery: how to distinguish between mere correlation and true causation, and how to translate those causal insights into precise mathematical equations that generalize to new scenarios.

Methodological Framework: The Ladder of Causation

The authors categorize discovery methods into three distinct levels of complexity, often referred to as the "Ladder of Causation":

1. Causal Discovery

These methods identify the structural "who-influences-whom" relationships within a system.

  • Independence-based (e.g., PC, FCI): These use statistical tests to prune a fully connected graph of variables down to essential causal links.
  • Asymmetry-based (e.g., LiNGAM): These exploit mathematical properties, such as non-Gaussian noise, to determine the direction of causality between variables.
  • Dynamics-based (e.g., Granger Causality, CCM): These leverage time-series data to see if the past state of one variable helps predict the future of another.

2. Explicit Equation Discovery (Symbolic Regression)

This level focuses on finding the exact mathematical form of the laws governing a system.

  • Genetic Programming: Algorithms that "evolve" mathematical expressions, retaining those that best fit the data.
  • Sparse Regression (SINDy): Assuming that physical laws are inherently simple (sparse), this method uses techniques like LASSO to select the most relevant terms from a large library of possible mathematical functions.
  • Neural-Symbolic Models (NeSymReS): Modern transformer-based models are trained on synthetic equations to predict the underlying formula of a dataset nearly instantaneously.

3. Implicit Discovery (Reduced-Order Models)

Using tools like Koopman Operators or Autoencoders, researchers can find a "latent space"—a simplified version of a complex system where the dynamics become linear and easier to solve.

Benchmarks and Real-World Applications

The paper references a vast array of benchmarks to validate these discovery tools:

  • AI Feynman: This project demonstrated that modern symbolic regression can recover 100% of the equations from the Feynman Lectures on Physics, significantly outperforming older genetic algorithms.
  • Climate Science: Causal graphs act as a "fingerprint" for climate models, allowing researchers to identify which simulations most accurately reflect real-world observations from datasets like FLUXNET and CMIP.
  • Fluid Dynamics: The SINDy method has successfully identified robust "closure models" for turbulence, a notoriously difficult problem in physics, often outperforming human-designed models.

Discussion: Insights and Limitations

Several key insights emerge from this synthesis:

  • Sparsity as a Physical Prior: Successful methods often assume nature prefers simple equations with few terms, preventing AI from overfitting to noise.
  • The Variable Discovery Problem: A major frontier is developing AI that can look at raw data (like pixels) and autonomously discover the relevant variables, such as potential energy or angles.

However, significant challenges remain. Equifinality occurs when multiple different equations explain the same data equally well, requiring human domain expertise to choose the "true" model. Additionally, non-stationarity in systems like the changing climate means causal relationships themselves may evolve over time.

Conclusion

The authors conclude that the future of scientific discovery lies in hybrid modeling—a collaborative dialogue where human physical knowledge provides the constraints and AI provides the data-driven discovery power. This synergy promises to unlock the governing laws of the most complex systems in our universe.

Summary updated

Abstract

Physics is a field of science that has traditionally used the scientific method to answer questions about why natural phenomena occur and to make testable models that explain the phenomena. Discovering equations, laws, and principles that are invariant, robust, and causal has been fundamental in physical sciences throughout the centuries. Discoveries emerge from observing the world and, when possible, performing interventions on the system under study. With the advent of big data and data-driven methods, the fields of causal and equation discovery have developed and accelerated progress in computer science, physics, statistics, philosophy, and many applied fields. This paper reviews the concepts, methods, and relevant works on causal and equation discovery in the broad field of physics and outlines the most important challenges and promising future lines of research. We also provide a taxonomy for data-driven causal and equation discovery, point out connections, and showcase comprehensive case studies in Earth and climate sciences, fluid dynamics and mechanics, and the neurosciences. This review demonstrates that discovering fundamental laws and causal relations by observing natural phenomena is revolutionised with the efficient exploitation of observational data and simulations, modern machine learning algorithms and the combination with domain knowledge. Exciting times are ahead with many challenges and opportunities to improve our understanding of complex systems.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Feynman Lectures equation setEureqaequations solved71 equationsSame set of 100 equations taken from the Feynman Lectures as the Feynman AI result.
Source quote
L1322: Eureqa only solves 71.
Synthetic Lotka–Volterra systemSINDycorrelation coefficient R0.9999split: test
Source quote
L1404: R │ \multicolumn{2}{c}{0.9999} │ \multicolumn{2}{c}{0.8674}
Synthetic Lotka–Volterra systemSINDycorrelation coefficient R0.8674split: test
Source quote
L1404: R │ \multicolumn{2}{c}{0.9999} │ \multicolumn{2}{c}{0.8674}
BibTeX
@inproceedings{campsvalls2023discovering,
  author = {Gustau Camps‐Valls and Andreas Gerhardus and Urmi Ninad and Gherardo Varando and Georg Martius and Emili Balaguer‐Ballester and Ricardo Vinuesa and Emiliano Díaz and Laure Zanna and Jakob Runge},
  title = {{Discovering causal relations and equations from data}},
  booktitle = {Physics},
  year = {2023},
  doi = {10.1016/j.physrep.2023.10.005},
}
Figure