Abstract
Modeling hierarchical latent dynamics behind time series data is critical for capturing temporal dependencies across multiple levels of abstraction in real-world tasks. However, existing temporal causal representation learning methods fail to capture such dynamics, as they fail to recover the joint distribution of hierarchical latent variables from single-timestep observed variables. Interestingly, we find that the joint distribution of hierarchical latent variables can be uniquely determined using three conditionally independent observations. Building on this insight, we propose a Causally Hierarchical Latent Dynamic (CHiLD) identification framework. Our approach first employs temporal contextual observed variables to identify the joint distribution of multi-layer latent variables. Sequentially, we exploit the natural sparsity of the hierarchical structure among latent variables to identify latent variables within each layer. Guided by the theoretical results, we develop a time series generative model grounded in variational inference. This model incorporates a contextual encoder to reconstruct multi-layer latent variables and normalize flow-based hierarchical prior networks to impose the independent noise condition of hierarchical latent dynamics. Empirical evaluations on both synthetic and real-world datasets validate our theoretical claims and demonstrate the effectiveness of CHiLD in modeling hierarchical latent dynamics.
Introduction
Most real-world time series are driven by hierarchical processes. For instance, climate data involves long-term seasonal cycles (high-level) influencing monthly patterns (mid-level), which in turn affect daily weather variations (low-level). Existing methods for Causal Representation Learning typically assume a "flat" structure with a single layer of latent variables. When applied to hierarchical data, these methods often fail because high-level variables act as noise to low-level ones, violating the mathematical assumptions required for unique identification. This lack of "identifiability" means that while a model might reconstruct data accurately, it fails to recover the true underlying causal mechanisms.
Methodology: The CHiLD Framework
The authors introduce CHiLD (Causally Hierarchical Latent Dynamic), a framework designed to recover the true joint distribution of hierarchical latent variables. The framework is built on two key pillars:
1. Theoretical Identifiability
The research proves that for a system with $L$ layers of latent variables, the joint distribution can be uniquely determined using $2L+1$ temporally adjacent observations. For a two-layer hierarchy, this implies a minimum window of 5 observations (two past, one current, and two future). Furthermore, the natural sparsity of hierarchical structures—where variables primarily influence their direct descendants—allows for the identification of specific variables within each layer using cross-derivatives.
2. The CHiLD Architecture
To implement these theoretical findings, the authors developed a Variational Autoencoder (VAE) architecture:
- Contextual Hierarchical Encoder: Utilizes Temporal Convolutional Networks (TCN) to process a window of observations and reconstruct multi-layer latent variables.
- Hierarchical Prior Networks: Employs Normalizing Flows to enforce the "independent noise" condition, ensuring that randomness at each hierarchical level is truly independent.
- Step-wise Decoder: Generates the final output based on the latent variables at the bottom layer.
Experimental Evaluation
CHiLD was evaluated across diverse benchmarks:
- Synthetic Data: Seven datasets (A-G) with up to three layers were used to verify theoretical claims.
- Real-World Domains: Climate modeling (WeatherBench, CESM2), human motion (Human3.6M, HumanEva-I), finance (Google Stock), and physics (MuJoCo).
Results and Discussion
Identifiability and Performance
In synthetic tests, CHiLD consistently achieved the highest Mean Correlation Coefficient (MCC), significantly outperforming flat models like IDOL and CaRiNG in multi-layer scenarios. This confirms that accounting for hierarchical structure is essential for accurate causal recovery.
Generation Quality and Controllability
On real-world datasets, CHiLD outperformed baselines in Context-FID, a metric for sequence realism. For example, in the Human3.6M "Discussion" dataset, CHiLD achieved a FID of 0.029, compared to 0.082 for the next best model. Qualitatively, the hierarchical separation allows for semantic control: interpolating a high-level latent can smoothly transition an entire body pose, whereas flat models often produce jittery or disjointed movements.
Conclusion
The CHiLD framework provides the first theoretical proof and practical methodology for identifying multi-layer hierarchical latent variables in time series. While the current approach assumes layer-wise conditional independence, it opens new avenues for controllable generation in complex fields like neuroscience and finance. Future work will focus on extending these principles to controllable video generation and relaxing current independence assumptions.
Summary updated