Relaxing Probabilistic Latent Variable Models' Specification via Infinite-Horizon Optimal Control

Zhichao Chen, Hao Wang, Licheng Pan, Yiran Ma, Yunfei Teng, Jiaze Ma, Le Yao, Zhiqiang Ge, Zhihuan SongarXiv 2025

Abstract

In this paper, we address the issue of model specification in probabilistic latent variable models (PLVMs) using an infinite-horizon optimal control approach. Traditional PLVMs rely on joint distributions to model complex data, but introducing latent variables results in an ill-posed parameter learning problem. To address this issue, regularization terms are typically introduced, leading to the development of the expectation-maximization (EM) algorithm, where the latent variable distribution is restricted to a predefined normalized distribution family to facilitate the expectation step. To overcome this limitation, we propose representing the latent variable distribution as a finite set of instances perturbed via an ordinary differential equation with a control policy. This approach ensures that the instances asymptotically converge to the true latent variable distribution as time approaches infinity. By doing so, we reformulate the distribution inference problem as an optimal control policy determination problem, relaxing the model specification to an infinite-horizon path space. Building on this formulation, we derive the corresponding optimal control policy using the Pontryagin's maximum principle and provide a closed-form expression for its implementation using the reproducing kernel Hilbert space. After that, we develop a novel, convergence-guaranteed EM algorithm for PLVMs based on this infinite-horizon-optimal-control-based inference strategy. Finally, extensive experiments are conducted to validate the effectiveness and superiority of the proposed approach.

Introduction: The Bottleneck of Model Specification

Probabilistic Latent Variable Models (PLVMs) are essential for uncovering hidden structures in complex data. Training these models typically involves the Expectation-Maximization (EM) algorithm. However, a significant bottleneck exists in the "E-step," where inferring the true posterior distribution of latent variables is often mathematically intractable.

To simplify this, researchers traditionally impose a "model specification" constraint, forcing the latent distribution into a predefined family—most commonly a simple Gaussian. While this makes the math manageable, it fails when the underlying data is multi-modal or complex. As shown in Figure 5, a rigid Gaussian approximation cannot capture multiple peaks in a posterior distribution, leading to significant modeling errors in downstream tasks like industrial process monitoring.

Comparison between (a) a rigid Gaussian variational distribution and (b) a flexible particle-based representation capturing a multi-modal posterior.

Methods: InfO-EM and Optimal Control

We propose InfO-EM, a framework that relaxes these rigid constraints by treating latent variable inference as a dynamic path-finding mission in distribution space. Instead of a static formula, we represent the variational distribution using a finite set of particles that evolve over time.

ODE-Driven Dynamics and Control

We introduce an Ordinary Differential Equation (ODE) to govern the movement of these particles. This movement is framed as an infinite-horizon optimal control problem. The goal is to determine a "control policy" $\phi$ that steers the particles from an initial state toward the true posterior distribution over an infinite time horizon.

The proposed control policy steers particles from an initial state toward the complex modes of the true posterior distribution.

Implementation via RKHS

To solve this control problem, we leverage Pontryagin’s maximum principle to derive an optimal control law. To avoid the intractable task of explicitly estimating probability densities at every step, we implement the solution using Reproducing Kernel Hilbert Space (RKHS). This provides a closed-form update rule, allowing the particles to "flow" toward the target distribution efficiently. This inference strategy is integrated into a full EM training loop with guaranteed convergence.

Experimental Results

We evaluated the InfO-EM framework on both synthetic distributions and real-world industrial tasks:

  • Synthetic Distributions: On complex 2D shapes like Mixture of Rings and Two Moons, InfO-EM achieved Kernel Stein Discrepancy (KSD) scores one to two orders of magnitude lower than standard Gaussian or Gaussian Mixture Model (GMM) baselines.
  • Industrial Inferential Sensors: In chemical process datasets (e.g., Debutanizer Column, Carbon-Dioxide Absorber), InfO-PLVM consistently outperformed state-of-the-art models. For the Debutanizer Column task, it achieved an $R^2$ of 0.996, significantly higher than the 0.796 achieved by the next best baseline (GMVAE).

Conclusion

By shifting from static model specification to dynamic, optimal-control-based inference, InfO-EM provides a flexible and theoretically rigorous way to handle complex latent structures. While the current implementation relies on RKHS and assumes balanced modes, future work will explore particle weights to better handle highly skewed distributions. This approach marks a significant step toward more robust and adaptive probabilistic modeling in real-world applications.

Summary updated

BibTeX
@misc{chen2025relaxing,
  author = {Zhichao Chen and Hao Wang and Licheng Pan and Yiran Ma and Yunfei Teng and Jiaze Ma and Le Yao and Zhiqiang Ge and Zhihuan Song},
  title = {{Relaxing Probabilistic Latent Variable Models' Specification via Infinite-Horizon Optimal Control}},
  year = {2025},
  eprint = {2507.20277},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.20277},
}
Figure