TRACE: Trajectory Recovery for Continuous Mechanism Evolution in Causal Representation Learning
Shicheng Fan, Kun Zhang, Lu Cheng
TL;DR
TRACE addresses the challenge of continuous mechanism evolution in causal representation learning by modeling intermediate mechanism states as convex combinations of a finite set of atomic mechanisms and proving identifiability of both the latent variables and the continuous mixing trajectory. It introduces a two-stage Mixture-of-Experts framework: Stage 1 learns a shared encoder and domain-specific experts to recover disentangled latents from pure-domain data, and Stage 2 recovers the mixing trajectory at test time via least-squares projection onto a basis formed from domain-conditioned expectations, augmented with temporal smoothing for stability. Theoretical guarantees include latent identifiability up to permutation and component-wise transformations, plus finite-sample and minimax-optimal error bounds for trajectory recovery that improve with trajectory smoothness. Empirically, TRACE achieves up to 0.99 correlation in mixing-trajectory recovery and up to 0.96 latent identifiability on synthetic data, while outperforming discrete-switch baselines on semi-synthetic CartPole and real-world vehicle and gait datasets, illustrating its practical potential for continuous mechanism-aware analysis.
Abstract
Temporal causal representation learning methods assume that causal mechanisms switch instantaneously between discrete domains, yet real-world systems often exhibit continuous mechanism transitions. For example, a vehicle's dynamics evolve gradually through a turning maneuver, and human gait shifts smoothly from walking to running. We formalize this setting by modeling transitional mechanisms as convex combinations of finitely many atomic mechanisms, governed by time-varying mixing coefficients. Our theoretical contributions establish that both the latent causal variables and the continuous mixing trajectory are jointly identifiable. We further propose TRACE, a Mixture-of-Experts framework where each expert learns one atomic mechanism during training, enabling recovery of mechanism trajectories at test time. This formulation generalizes to intermediate mechanism states never observed during training. Experiments on synthetic and real-world data demonstrate that TRACE recovers mixing trajectories with up to 0.99 correlation, substantially outperforming discrete-switching baselines.
