arXiv:2610.27180cs.LGOct 2026

Manuscript Offprint

arXiv:2610.27180

Meta-iLaD: Identifiable Latent Dynamics via Meta-Learning of Dynamics Environments

Yubo Ye, Sweekar Piya, Xiajun Jiang, Linwei Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Learning latent dynamics is central to assessing the current states and forecasting the future trajectories of high-dimensional time series. For locally-stationary latent dynamics F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}) with latent dynamics state zt\mathbf{z}_t and environment variable c\mathbf{c}, prior identifiability results have largely focused on zt\mathbf{z}_t when conditioned on predefined label uu of dynamics environments. This leaves two limitations: reliance on predefined labels that hinder generalization to unseen environments, and a limited understanding of the identifiability of F\mathcal{F} and c\mathbf{c} which—although offering important structural properties for the identifiability of zt\mathbf{z}_t—are learned jointly with zt\mathbf{z}_t. We address these limitations with Meta-iLaD, a novel identifiable latent dynamics framework attained by meta-learning across dynamics environments. Meta-iLaD introduces a novel conditional prior of c\mathbf{c}, modeled as a feedforward meta-learner to rapidly extract c\mathbf{c} from few-shot examples. Meta-iLaD further establishes identifiability for zt\mathbf{z}_t, c\mathbf{c}, and F\mathcal{F} simultaneously, for a general formulation of F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}) without restricting the dimension of c\mathbf{c} or how it modulates F\mathcal{F}. On synthetic and real data, we provide strong empirical evidence that 1) conditioning on few-shot examples enables generalization to out-of-distribution environments, and 2) identifiability for c\mathbf{c} and F\mathcal{F} is critical for accurate forecasting beyond reconstructing observed trajectories. Code is available at https://github.com/GoForIt-YYB/Meta-iLaD.

1. Introduction

Many domains such as healthcare are observing increasingly high-dimensional (e.g., image or multi-modal) data over time. It is important to extract the latent dynamics that governs the observed data, not only for assessing the current states of the system, but also for forecasting its future trajectories. An important approach is to model the dynamics in a low-dimensional latent space as illustrated in Fig. 1(a): the observed xt\mathbf{x}_t's is generated from the latent dynamics state zt\mathbf{z}_t via an emission function xt=g(zt)\mathbf{x}_t = \mathbf{g}(\mathbf{z}_t); the temporal transition of zt\mathbf{z}_t is governed by a latent dynamics function zt=F(z<t;c)\mathbf{z}_t = \mathcal{F}(\mathbf{z}_{<t}; \mathbf{c}), where a dynamics environment variable c\mathbf{c} allows non-stationary F\mathcal{F} (but can be omitted otherwise). The goal of latent dynamics modeling is to learn F\mathcal{F} and g\mathbf{g} from observed xt\mathbf{x}_t's without direct supervisions on zt\mathbf{z}_t's.

While significant progress has been made in this research direction (Krishnan et al., 2017; Fraccaro et al., 2017; Yıldız et al., 2019; Botev et al., 2021), we are interested in a specific question: even when p(x^t)p(\hat{\mathbf{x}}_t) is perfectly optimized to be equivalent to the observed p(xt)p(\mathbf{x}_t), what can we say about its underlying z^t\hat{\mathbf{z}}_t, c^\hat{\mathbf{c}}, and F^\hat{\mathcal{F}} in relation to their respective truth? This question of identifiability, as outlined in Fig. 1(a), exists at three levels: identifiability of the latent dynamics state zt\mathbf{z}_t, identifiability of the latent dynamics function F\mathcal{F}, and identifiability of the dynamics environment variable c\mathbf{c}.

Identifiability of latent dynamics states: Identifiability of the latent state zt\mathbf{z}_t has been the primary focus of existing works in identifiable latent dynamics. Successes are mainly built on the theory of nonlinear independent component analysis (ICA) (Hyvärinen et al., 2019; Khemakhem et al., 2020a), across three types of latent dynamics systems: stationary F(z<t)\mathcal{F}(\mathbf{z}_{<t}) (Hyvärinen & Morioka, 2017; Klindt et al., 2021), non-stationary F(z<t;ct)\mathcal{F}(\mathbf{z}_{<t}; \mathbf{c}_t) where ct\mathbf{c}_t follows a hidden Markov model (Song et al., 2023; Li et al., 2024; Hälvä & Hyvärinen, 2020; Hälvä et al., 2021; Balsells-Rodas et al., 2024), and locally-stationary F(z<t;c)\mathcal{F}(\mathbf{z}_{<t}; \mathbf{c}) where c\mathbf{c} characterizes the underlying dynamics environments (Khemakhem et al., 2020a; Yao et al., 2022a;b; Hizlı et al., 2025). Our primary interest is in the last category of locally-stationary dynamics F(z<t;c)\mathcal{F}(\mathbf{z}_{<t}; \mathbf{c}), where two critical gaps remain.

First, existing works in F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}) establish the identifiabil-

1^{1}Department of Computing and Information Sciences, Rochester Institute of Technology, Rochester, New York, USA 2^{2}Department of Computer Science, Rowan University, Glassboro, New Jersey, USA. Correspondence to: Yubo Ye yy8339@rit.edu.

Proceedings of the 43rd43^{rd} International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s).

(a) Latent Dynamic Model

(b) Reconstruction

(c) Prediction

Figure

(d)

Overview

of

Meta-iLaD

Initial frames of query sample

x0:lq←{x0qx1q⋯xTq}\mathbf{x}_{0:l}^{q} \leftarrow \left\{ \mathbf{x}_{0}^{q} \quad \mathbf{x}_{1}^{q} \quad \cdots \quad \mathbf{x}_{T}^{q} \right\}

sharing the same

environment variable

k-shot context samples

{x0s,1x1s,1⋯xTs,1⋮⋮⋮⋮x0s,kx1s,k⋯xTs,k}\left\{ \begin{array}{c} \mathbf{x}_{0}^{s,1} \quad \mathbf{x}_{1}^{s,1} \quad \cdots \quad \mathbf{x}_{T}^{s,1} \\ \vdots \quad \vdots \quad \vdots \quad \vdots \\ \mathbf{x}_{0}^{s,k} \quad \mathbf{x}_{1}^{s,k} \quad \cdots \quad \mathbf{x}_{T}^{s,k} \end{array} \right\}

z^0F^(⋅,c^)z^1⋯F^(⋅,c^)z^TF^(⋅,c^)z^T+1⋯\hat{\mathbf{z}}_{0} \quad \hat{\mathcal{F}}(\cdot, \hat{\mathbf{c}}) \quad \hat{\mathbf{z}}_{1} \quad \cdots \quad \hat{\mathcal{F}}(\cdot, \hat{\mathbf{c}}) \quad \hat{\mathbf{z}}_{T} \quad \hat{\mathcal{F}}(\cdot, \hat{\mathbf{c}}) \quad \hat{\mathbf{z}}_{T+1} \quad \cdots

x^0x^1x^T\hat{\mathbf{x}}_{0} \quad \hat{\mathbf{x}}_{1} \quad \hat{\mathbf{x}}_{T}

Figure 1. Overview of a latent dynamics system with latent dynamics state zt\mathbf{z}_t, environment variable c\mathbf{c}, and dynamics function F\mathcal{F} (a), its use in reconstruction (b) vs. prediction (c) settings, and Meta-iLaD which establishes zt=F(z<t;c)\mathbf{z}_t = \mathcal{F}(\mathbf{z}_{<t}; \mathbf{c}) with identifiable zt\mathbf{z}_t, c\mathbf{c} and F\mathcal{F} (d).

ity of ztz_t's by conditioning F\mathcal{F} on observed labels uu of the dynamics environments. Unless true parameters characterizing such environments are available, uu needs to be predefined as discrete environment labels. This raises fundamental questions regarding 1) generalization to out-of-distribution (OOD) environments not included in the training labels, and 2) applicability when such label uu is absent.

Second, while F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}) is leveraged as important structural properties to establish the identifiability of zt\mathbf{z}_t, the identifiability of F\mathcal{F} and c\mathbf{c} themselves has only been examined in one recent work (Hizli et al., 2025) even though they are learned simultaneously with zt\mathbf{z}_t. This is largely inconsequential in the reconstruction setting considered in most existing works where, as illustrated in Fig. 1(b), one observes a sequence of x0:T\mathbf{x}_{0:T}'s and extract latent z^t\hat{\mathbf{z}}_t's to reconstruct x^0:T\hat{\mathbf{x}}_{0:T}. There is however a distinct yet equally important prediction setting where, as illustrated in Fig. 1(c), one observes x0:l\mathbf{x}_{0:l} and uses learned latent dynamics function F^(z^<t;c^)\hat{\mathcal{F}}(\hat{\mathbf{z}}_{<t};\hat{\mathbf{c}}) to predict future z^t\hat{\mathbf{z}}_t and x^t\hat{\mathbf{x}}_t for t>lt > l. Because future latent states are evolved directly through F^(z^<t;c^)\hat{\mathcal{F}}(\hat{\mathbf{z}}_{<t};\hat{\mathbf{c}}) in this setting, the identifiability of F\mathcal{F} and c\mathbf{c} becomes more important yet less studied.

Identifiability of latent dynamics environments & functions: In the general literature of latent dynamics modeling, increasing works have taken interest in inferring the latent environment variable c underlying locally-stationary F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}) (Auzina et al., 2023; Wang et al., 2022; Kirchmeyer et al., 2022; Jiang et al., 2023). These works however do not investigate or establish the identifiability for c, nor its relation to the identifiability of dynamics function F\mathcal{F}.

In the literature of identifiable latent dynamics, the identifiability of latent environment variable c has been mainly studied in the category of non-stationary F(z<t;ct)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}_{t}), assuming ctc_{t} to be the hidden state of an HMM process (Song et al., 2023; Li et al., 2024; Hälvä & Hyvärinen, 2020; Hälvä et al., 2021; Balsells-Rodas et al., 2024). For locally-stationary F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}), a recent work (Hizli et al., 2025) took the first step through by introducing a process noise sts_{t} and assuming it to be factorized when conditioned on predefined environment label u: with F(z<t,st∣u)\mathcal{F}(\mathbf{z}_{<t},\mathbf{s}_{t}|u), identifiability is established simultaneously for ztz_{t}, sts_{t}, and F\mathcal{F}. While an important first step, the use of process noise sts_{t} represents a specific assumption of how latent dynamics is modulated by its environments. It is associated with several restrictive conditions, e.g., sts_{t} must match the dimensionality of ztz_{t} and have a dimension-wise influence on F\mathcal{F} (each dimension of F\mathcal{F} is influenced by a single dimension noise variable in sts_{t}).

Contribution: We introduce Meta-iLaD, a novel framework for identifiable latent dynamics F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}) via meta-learning across dynamics environments. As outlined in Fig. 1(d), instead of conditioning on predefined environment labels, Meta-iLaD conditions F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}) on few-shot context examples from a dynamics environment, from which the latent environment variable c is inferred. It advances identifiability research with the following contributions:

• Theoretically, we establish the first simultaneous identifiability results for latent state zt\mathbf{z}_t, latent environment variable c\mathbf{c} (including its dimensionality), and latent dynamics function F\mathcal{F} for a general formulation of F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}), where the latent environment variable c\mathbf{c} is not limited to a specific dimension or form, but can modulate F\mathcal{F} in a general and interpretable fashion, e.g., as parameters characterizing the dynamics environments. Furthermore, this is the first identifiable F(z<t;c)\mathcal{F}(\mathbf{z}_{<t};\mathbf{c}) that is conditioned on few-shot context samples rather than predefined environment labels.

• Methodologically, we introduce a novel formulation of the conditional prior of c, as a feedforward metalearner that rapidly extracts c from few-shot context examples from an environment. This conditional latent environment variable then adapts the latent F\mathcal{F} to evolve latent dynamics states zt\mathbf{z}_t's to emit to xt\mathbf{x}_t's specific to that environment, establishing meta-learning as a novel solution to attain identifiable latent dynamics.

• Experimentally, we provide strong empirical evidence for the two key theoretical contributions of Meta-iLaD. First, compared to predefined environment labels u's, we show that conditioning c on few-shot examples enables Meta-iLaD to generalize to OOD environments as well as apply to a broader variety of systems where environment labels u are difficult to define. Second, moving beyond reconstruction-focused evaluation settings commonly adopted in prior work, we provide evidence that identifiability of the environment variable c and dynamics function F are critical for predicting beyond observed trajectories.

References (38)