Abstract
This work studies the problem of modeling visual processes by leveraging deep generative architectures for learning linear, Gaussian representations from observed sequences. We propose a joint learning framework, combining a vector autoregressive model and Variational Autoencoders. This results in an architecture that allows Variational Autoencoders to simultaneously learn a non-linear observation as well as a linear state model from sequences of frames. We validate our approach on artificial sequences and dynamic textures.
Introduction
Modeling "visual processes"—such as dynamic textures, crowd movements, or natural phenomena—is a significant challenge in computer vision because these processes are both high-dimensional and non-linear. Historically, researchers utilized Linear Dynamic Systems (LDS) for their mathematical elegance and interpretability. However, LDS assumes video frames lie on a low-dimensional linear subspace, whereas real-world frames occupy complex, curved manifolds. Conversely, Recurrent Neural Networks (RNNs) can model non-linear dynamics but often suffer from unpredictable long-term behavior and are difficult to invert or interpolate.
The Dynamic Variational Autoencoder (DVAE) offers a "Goldilocks" solution: it maintains linear, predictable temporal transitions in a latent space while using a non-linear deep neural network to map those states back to complex pixels.
Methods
The core innovation of the DVAE is the Dynamic Layer, which enables the model to learn the transition matrix of a linear system jointly with the weights of a VAE.
The latent state $h_t$ follows a first-order Markov process: $h_{t+1} = Ah_t + v_t$, where $A$ is a transition matrix and $v_t$ is Gaussian noise. Instead of a simple matrix multiplication, a VAE decoder $C(h_t)$ generates the actual image frames. By introducing the Dynamic Layer at the start of the decoder, the authors allow for joint optimization of the dynamics and the representation. To ensure stability over time, a stationarity constraint ($AA^\top + BB^\top = I$) is enforced via a regularization term in the loss function, preventing the latent space from drifting or collapsing during long-term synthesis.
Key Results
The model was evaluated on benchmarks including MNIST sequences, natural dynamic textures (e.g., Running Cows, Fire Pot), and obstructed data (50% noise or blocks). Using the Fréchet Inception Distance (FID), DVAE achieved the best scores on 6 out of 12 tested sequences.
Qualitatively, DVAE demonstrates significant superiority. In the Running Cows experiment, it avoids common artifacts like the "extra legs" or "ghosting" seen in models like STGCONV or LDS. Furthermore, the model proved robust by successfully synthesizing clear videos even when trained on data where 50% of the pixels were missing or obstructed.
Conclusion
By forcing latent dynamics to be linear, the DVAE gains tractability, allowing for easier inversion and interpolation of time steps. Joint training and stationarity regularization are critical for its success in modeling complex visual processes. While VAE-based generation can still result in slight blurriness or occasional temporal jumps, the framework provides a robust foundation for modeling complex visual processes with predictable latent behavior. Future work may explore higher-order Markov processes to capture even more complex temporal patterns.
Summary updated