Latent Discretization for Continuous-time Sequence Compression

Ricky T. Q. Chen, Matthew Le, Matthew J. Muckley, Maximilian Nickel, Karen UllricharXiv 2022 · DOI

Researchers at Meta AI have introduced Latent-VDSDE, a novel framework that reimagines sequence compression by treating data as continuous-time signals rather than a series of fixed frames. By combining Latent Stochastic Differential Equations (SDEs) with a learnable discretization model, the system identifies the most critical moments in a sequence to store, achieving significant reductions in bit rates for both video and motion capture data.

The Discretization Trap

Traditional sequence compression, such as standard video codecs, typically relies on fixed discretization (e.g., 30 frames per second). However, information density is rarely uniform; a video of a stationary object requires far fewer data points than a high-action scene.

Most deep learning models for sequences suffer from computational costs that scale linearly with the number of frames. This creates a "discretization trap": sampling too sparsely leads to information loss, while sampling too densely causes file sizes and processing times to explode. Latent-VDSDE aims to decouple sequential information from its temporal discretization, allowing the model to learn when to sample based on the complexity of the underlying signal.

Methodology: Latent-VDSDE

The Latent-VDSDE (Variationally Discretized SDE) framework consists of three core components:

  1. Latent Stochastic Differential Equations (SDEs): Instead of frame-by-frame prediction, the model infers a continuous-time process. It utilizes an Ornstein-Uhlenbeck prior to separate predictable "drift" from random "diffusion" over time.
  2. Latent Temporal Point Process (TPP): This acts as the discretization mechanism, learning to sample a set of "knots" (time points) that best represent the sequence. It samples sparsely for simple signals and densely for complex ones.
  3. Spline Interpolation: To reconstruct the sequence at any arbitrary time, the model uses the stored knots and performs linear or cubic spline interpolation.
The Latent-VDSDE architecture learns to encode sequences into a sparse set of 'knots' (dots) and decodes them via continuous-time interpolation.

Training follows a two-stage approach: first, the SDE is trained on the full sequence to ensure representational capacity; second, the TPP is introduced to prune the representation down to essential points using REINFORCE gradients.

Key Insights and Results

The model was evaluated on video sequences (Moving MNIST, GQN Mazes, MineRL) and Motion Capture (MoCap) data (CMU MoCap, AMASS).

Performance and Efficiency

  • Video Compression: Latent-VDSDE consistently outperformed the state-of-the-art Clockwork VAE (CW-VAE) in low-bit-rate regimes, achieving 30% to 60% reductions in bit rates while maintaining comparable Peak Signal-to-Noise Ratio (PSNR).
  • Motion Capture: For MoCap data, which is inherently smoother than video, the model achieved a 98% average reduction in communication cost.
  • Model Complexity: The proposed model is highly efficient, utilizing approximately 5 million parameters, compared to 28 million in the CW-VAE baseline.
Rate-distortion curves across GQN Mazes, MineRL, and Moving MNIST datasets show Latent-VDSDE outperforming baselines in low-bit-rate regimes.

Continuous-Time Decoding

Because the underlying representation is a continuous function, the model allows for "zero-shot" temporal super-resolution. A sequence can be decompressed at any arbitrary frame rate (e.g., 30 FPS or 60 FPS) without requiring retraining.

Limitations and Future Work

While promising, the use of REINFORCE gradients for discretization can lead to training instability, necessitating the two-stage training process. Additionally, while the compressed file size is smaller, solving SDEs and TPPs involves higher computational overhead during training than standard CNN-based approaches. Future research will focus on scaling this continuous-time approach to high-definition video and complex 3D LiDAR point cloud sequences.

Summary updated

BibTeX
@misc{chen2022latent,
  author = {Ricky T. Q. Chen and Matthew Le and Matthew J. Muckley and Maximilian Nickel and Karen Ullrich},
  title = {{Latent Discretization for Continuous-time Sequence Compression}},
  year = {2022},
  eprint = {2212.13659},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.13659},
}
Figure