NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

On the Identifiability of Hybrid Deep Generative Models: Meta-Learning as a Solution

Yubo Ye, Maryam Toloubidokhti, Sumeet Vadhavkar, Xiajun Jiang, Huafeng Liu, Linwei Wang

TL;DR

Hybrid Deep Generative Models (hybrid-DGMs) combine the interpretability of physics equations with the flexibility of neural networks. However, they suffer from a major "identity crisis": different sets of parameters can produce the exact same data, making the learned physics unreliable. This paper proves that meta-learning—specifically using a few "context samples" to condition the model—provides a mathematically sound solution to ensure these models are truly identifiable.

What Problem Does This Paper Address?

In scientific machine learning, researchers often use "gray-box" models. These models use a known physics equation (like a pendulum's motion) for the parts we understand, and a neural network to "fill in the gaps" for the parts we don't (like complex friction or air resistance).

The core problem is identifiability. In a standard setup, a highly expressive neural network can "overpower" the physics component. It might learn to compensate for incorrect physics parameters just to minimize the reconstruction error. Consequently, you might get a model that fits the training data perfectly but has completely wrong values for physical constants (like gravity or mass). If the physics parameters are wrong, the model won't generalize to new scenarios or provide any real scientific insight. This paper provides the first theoretical probe into why this happens in hybrid models and how to fix it.

Methods

The authors propose a Meta-Hybrid-DGM framework. Instead of training a model on individual data points with a generic "one-size-fits-all" prior, they use meta-learning.

  1. Context-Conditioned Priors: They treat a set of observations from the same physical system as a "context." The model's latent variables (both the physics parameters $z_P$ and the neural latents $z_N$) are conditioned on this context.
  2. Mathematical Foundation: They build on the theory of Nonlinear Independent Component Analysis (ICA). Specifically, they show that the context samples act as "auxiliary variables." According to their Theorem 1, if you have enough distinct "tasks" (different physical systems), the model parameters become identifiable up to a simple linear transformation.
  3. Amortized Variational Inference: They implement this using a meta-learning objective where the model learns to maximize the likelihood of "query" samples given a few "context" samples from the same system.

Datasets

The researchers evaluated their approach on four benchmarks:

  • Forced Damped Pendulum (Synthetic): A classic physics problem involving gravity, friction, and an external driving force.
  • Advection-Diffusion System (Synthetic): A partial differential equation (PDE) describing how heat or particles spread in a moving fluid.
  • Double Pendulum (Synthetic & Real-world): A chaotic system. The real-world dataset consists of 21 videos of an actual mechanical double pendulum.
  • General Non-Hybrid VAE: A synthetic dataset of non-stationary Gaussian time series used to prove that their meta-learning solution works even for purely neural models.

Key Insights and Ideas

  • Reconstruction is a Trap: A model can have a very low reconstruction error (it looks like it's "learning") while still being unidentifiable. The authors show that baselines often reconstruct well but fail miserably at predicting future states because their internal physics parameters are wrong.
Reconstruction vs Generation performance across models
  • The "Overpowering" Effect: Without the meta-learning constraint, the neural component acts like a "sponge," soaking up all the variance in the data and leaving the physics component with no signal to identify its parameters.
  • Context as an Anchor: You don't need explicit labels (like "this is Pendulum #5") if you have multiple observations of the same system. The shared underlying physics across those observations acts as a natural anchor that forces the model to find the true parameters.
  • The $de+1$ Rule: The theory provides a concrete requirement: to identify a system with $d$ latent dimensions, you need to observe at least $de+1$ distinct versions of that system (where $e$ relates to the complexity of the distribution).

Key Results

Quantitative results for Forced Damped Pendulum and Advection-Diffusion System
  • Neural Latent Recovery: On the Forced Damped Pendulum, the Meta-Hybrid-VAE achieved a Mean Correlation Coefficient (MCC) of 0.99, compared to 0.59–0.79 for state-of-the-art baselines like APHYNITY. A high MCC means the model's internal representations perfectly match the true physical factors.
  • Physics Parameter Accuracy: The Mean Squared Error (MSE) for physical parameters ($z_P$) was significantly lower in the meta-formulation, often by an order of magnitude.
  • Predictive Power: While all models could "reconstruct" seen data, only the Meta-Hybrid-VAE could accurately "predict" (generalize to different initial conditions or longer time horizons). Baselines saw their error explode by two magnitudes when asked to predict.

Limitations and Future Work

  • Pairing Requirement: The method assumes you can group samples that come from the same data-generation process. While easy in time-series (just take adjacent frames), it might be harder in datasets where the "system ID" is unknown or samples are shuffled.
  • Hyperparameters: The performance is sensitive to the size of the $k$-shot context set and the chosen dimension of the neural latent space ($z_N$).
  • Future Directions: The authors suggest exploring how this meta-learning approach could be applied to even more complex, high-dimensional systems where the "physics" is only partially known or highly idealized.

Summary updated

BibTeX
@inproceedings{ye2024identifiability,
  author = {Yubo Ye and Maryam Toloubidokhti and Sumeet Vadhavkar and Xiajun Jiang and Huafeng Liu and Linwei Wang},
  title = {{On the Identifiability of Hybrid Deep Generative Models: Meta-Learning as a Solution}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=SXy1nVGyO7},
}
Figure