Discovering State Variables Hidden in Experimental Data

Boyuan Chen, Kuang Huang, Sunand Raghupathi, Ishaan Chandratreya, Qiang Du, Hod LipsonarXiv 2021

Abstract

All physical laws are described as relationships between state variables that give a complete and non-redundant description of the relevant system dynamics. However, despite the prevalence of computing power and AI, the process of identifying the hidden state variables themselves has resisted automation. Most data-driven methods for modeling physical phenomena still assume that observed data streams already correspond to relevant state variables. A key challenge is to identify the possible sets of state variables from scratch, given only high-dimensional observational data. Here we propose a new principle for determining how many state variables an observed system is likely to have, and what these variables might be, directly from video streams. We demonstrate the effectiveness of this approach using video recordings of a variety of physical dynamical systems, ranging from elastic double pendulums to fire flames. Without any prior knowledge of the underlying physics, our algorithm discovers the intrinsic dimension of the observed dynamics and identifies candidate sets of state variables. We suggest that this approach could help catalyze the understanding, prediction and control of increasingly complex systems.

Introduction

For centuries, the bottleneck in scientific discovery was not just finding the laws of nature, but identifying the right variables to describe them. It took millennia to formalize concepts like momentum and acceleration; once those were defined, the laws of motion followed relatively quickly. In the modern era of AI-driven science, most models still "cheat" by using human-provided variables. However, for complex or unfamiliar systems—like the flickering of a flame or the movement of a lava lamp—we do not always know which variables are relevant. This research tackles the challenge of identifying these hidden state variables from scratch, using only high-dimensional observational data (raw pixels).

Methodology

The researchers developed a novel two-stage approach to bypass the optimization difficulties that usually plague simple "bottleneck" neural networks:

  1. Intrinsic Dimension (ID) Estimation: First, a predictive autoencoder is trained to forecast future video frames. Instead of forcing a tiny bottleneck immediately, it uses a relatively high-dimensional latent space. The Levina-Bickel algorithm is then applied to the latent vectors to calculate the "intrinsic dimension"—the minimum number of independent variables needed to describe the data's structure.
  2. Neural State Variable Extraction: Once the ID is known (e.g., 4 for a double pendulum), a second, much tighter autoencoder is trained on the latent representations of the first. This network's bottleneck is set exactly to the ID. The resulting compressed values are defined as Neural State Variables (NSVs).

To improve long-term forecasting, the authors introduced a hybrid prediction scheme. High-dimensional models are accurate in the short term but often "drift" off the physical manifold over time. The hybrid model uses the NSVs as a "stabilizer," periodically projecting high-dimensional predictions back onto the low-dimensional physical manifold.

Experimental Setup

The algorithm was tested on nine diverse dynamical systems, ranging from well-understood simulations to complex real-world phenomena:

  • Simple/Periodic: Circular motion, Single pendulum, Reaction-diffusion.
  • Chaotic/Complex: Rigid double pendulum, Elastic double pendulum, Swing stick.
  • Aeroelastic/Fluid: Air dancer, Lava lamp, and Fire flames.
The nine dynamical systems used to evaluate the algorithm, ranging from simple simulations to complex real-world phenomena like fire and lava lamps.

Key Results

Accurate Dimension Counting

The algorithm correctly identified the ID for known systems. For a single pendulum (2 variables: angle and velocity), it estimated ~2.05. For a rigid double pendulum (4 variables), it estimated ~4.71. For systems like "Fire," where no ground truth exists, the tool provides a novel way to quantify complexity.

A frame from the 'Fire' dataset, representing a complex system where the algorithm identifies state variables without prior physical knowledge.

Stability and Robustness

In long-term rollouts, the hybrid NSV model maintained clear, physically plausible images long after standard high-dimensional models collapsed into noise. The system remained effective even when input video was degraded by white noise, background changes, or partial occlusions.

Hidden Symmetry

Visualizing the NSVs revealed symmetrical structures that correlated strongly with known physical properties like kinetic energy and angular velocity, even though the AI was never taught these concepts. For the elastic double pendulum, the NSVs were able to regress actual physical variables with significantly higher accuracy than standard linear methods like PCA.

Conclusion and Future Work

While the system identifies how many variables exist, the variables themselves are mathematical abstractions that require human interpretation to map to classical physics. Future work may involve physics-informed regularization to make NSVs more human-readable or applying this logic to non-visual data, such as multi-sensor arrays in industrial plants or climate models.

Summary updated

BibTeX
@misc{chen2021discovering,
  author = {Boyuan Chen and Kuang Huang and Sunand Raghupathi and Ishaan Chandratreya and Qiang Du and Hod Lipson},
  title = {{Discovering State Variables Hidden in Experimental Data}},
  year = {2021},
  eprint = {2112.10755},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.10755},
}
Figure