Skip to main content
QUICK REVIEW

[Paper Review] Physics-Integrated Variational Autoencoders for Robust and Interpretable Generative Modeling

Naoya Takeishi, Alexandros Kalousis|arXiv (Cornell University)|Feb 25, 2021
Generative Adversarial Networks and Image SynthesisComputer Science16 citations
TL;DR

This paper proposes physics-integrated variational autoencoders (VAEs) that embed incomplete physics models into the latent space to enhance robustness, interpretability, and out-of-distribution generalization. By introducing a regularized learning framework that balances physics-based and trainable components, the method ensures meaningful use of physics parameters and enables controlled, interpretable generation, demonstrated on synthetic, galaxy image, and gait datasets with improved extrapolation and generation performance.

ABSTRACT

Integrating physics models within machine learning models holds considerable promise toward learning robust models with improved interpretability and abilities to extrapolate. In this work, we focus on the integration of incomplete physics models into deep generative models. In particular, we introduce an architecture of variational autoencoders (VAEs) in which a part of the latent space is grounded by physics. A key technical challenge is to strike a balance between the incomplete physics and trainable components such as neural networks for ensuring that the physics part is used in a meaningful manner. To this end, we propose a regularized learning method that controls the effect of the trainable components and preserves the semantics of the physics-based latent variables as intended. We not only demonstrate generative performance improvements over a set of synthetic and real-world datasets, but we also show that we learn robust models that can consistently extrapolate beyond the training distribution in a meaningful manner. Moreover, we show that we can control the generative process in an interpretable manner.

Motivation & Objective

  • To address the challenge of integrating incomplete or imperfect physics models into deep generative models without allowing data-driven components to override or ignore physics semantics.
  • To improve model robustness and generalization, especially in out-of-distribution regimes, by grounding part of the latent space in physics-based variables.
  • To ensure interpretability by assigning specific physical meanings (e.g., pendulum angle, damping) to identifiable latent variables.
  • To enable controlled, counterfactual generation by manipulating physics-grounded latent variables while preserving data fidelity.
  • To develop a regularized training objective that prevents the neural network from subverting the intended semantics of physics-based latent variables.

Proposed method

  • The method uses a VAE architecture where the decoder combines differentiable physics models (e.g., ODEs) and neural networks, with part of the latent space explicitly tied to physics parameters (e.g., ω, ξ, u).
  • Physics-based latent variables (z_P) are semantically grounded to physical quantities, while the rest of the latent space (z_A) is learned via neural networks.
  • A novel regularized learning objective is introduced, combining reconstruction loss with a penalty term (R_PPC) that constrains the posterior distribution of z_P to remain close to its prior, preserving physical semantics.
  • The regularization uses an upper bound on the KL divergence between the posterior and prior of z_P, ensuring that the model does not learn to ignore or distort the physics component.
  • Differentiable solvers (e.g., for ODEs) are used to ensure end-to-end backpropagation through the physics model, enabling joint training.
  • The framework is applied to synthetic pendulum data, galaxy image generation, and human gait time-series, with ablation studies on regularization effects.

Experimental results

Research questions

  • RQ1Can integrating incomplete physics models into VAEs improve generalization and robustness beyond the training distribution?
  • RQ2How can we ensure that physics-based latent variables are used meaningfully and not overridden by neural network components?
  • RQ3Can we achieve interpretable generation by directly manipulating physics-grounded latent variables?
  • RQ4Does the proposed regularization method preserve the semantic meaning of physics parameters during training?
  • RQ5How does the inclusion of physics affect reconstruction accuracy and generation quality compared to purely neural or purely physics-based models?

Key findings

  • The NN+phys+reg model achieved significantly better generation performance than NN-only and NN+phys, despite similar reconstruction errors, indicating improved disentanglement and generalization.
  • On the galaxy image dataset, the NN+phys+reg model achieved a reconstruction MAE of 0.0180 (SD 3.3×10⁻²), outperforming NN-only (0.0167) and Phys-only (0.0264) in generation quality.
  • On the gait dataset, the NN+phys+reg model reduced reconstruction MAE to 0.259 (SD 9.0×10⁻³), outperforming NN+phys (0.273) and NN+solver (0.276).
  • Counterfactual generation with varying the physics-based latent variable (e.g., galaxy angle) produced meaningful, realistic samples even for out-of-distribution values (e.g., θ < 0), demonstrating robust extrapolation.
  • Latent space analysis showed that in NN+phys+reg, the semantics of physical attributes (e.g., galaxy angle) were cleanly separated into z_P, while z_A carried non-physical information, confirming successful disentanglement.
  • The model with regularization (α > 0) maintained consistent physical semantics and generated plausible counterfactuals, whereas the model without regularization (α = 0) failed to generate meaningful variations.

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.