In deep learning, the hierarchical nature of images is well-established: low-level pixels form edges, which in turn form shapes and complex objects. Convolutional Neural Networks (CNNs) leverage this by using downsampling operations to capture a "big picture" view as the network depth increases. However, sequential data like speech and handwriting also possess a natural multiscale structure that is often overlooked by standard "flat" architectures.
Researchers from Uppsala University address this in their paper, "Learning deep autoregressive models for hierarchical data," proposing that sequences should be modeled with the same multiscale rigor as images. By explicitly incorporating a hierarchy of timescales, they have developed a generative model that is both more efficient and more capable of capturing long-term dependencies than traditional models.
The Challenge of Multiscale Sequences
Sequential data is inherently multiscale. In raw audio, waves vibrate thousands of times per second, while phonemes last for tens of milliseconds and words span seconds. Traditional models, such as LSTMs or standard Temporal Convolutional Networks (TCNs), typically process every timestep at a uniform resolution. This approach is computationally expensive and makes it difficult for the model to learn high-level features—akin to trying to understand a film by analyzing every pixel in every frame without ever zooming out to see the scene.
Methodology: A Multiscale Generative Approach
The proposed model evolves the Stochastic TCN (STCN) by implementing a dual-pathway architecture that mirrors the "slow-to-fast" hierarchy of real-world sequences:
- Bottom-Up Feature Extraction: Raw data is processed through successive WaveNet blocks. Crucially, downsampling is applied between layers, forcing deeper layers to represent features that evolve at a slower pace.
- Top-Down Generation: To generate data, the model utilizes a hierarchical Variational Autoencoder (VAE) structure. It begins with abstract, slow-moving latent variables and progressively "upsamples" them, integrating finer-grained latent variables at each step until the original resolution is restored.
- Autoregression: The model remains autoregressive, ensuring that each generated point is conditioned on previous observations to maintain local consistency (e.g., preventing audio artifacts like pops or clicks).
Experimental Evaluation
The researchers evaluated the model on two distinct sequential tasks:
- Blizzard: A raw waveform speech dataset requiring high-fidelity audio generation at high frequencies.
- IAM-OnDB: An online handwritten text dataset consisting of $(x, y)$ pen-tip coordinates and pen-lift flags.
Key Insights
- Strategic Downsampling: Unlike many sequence models that avoid downsampling to prevent information loss, this model uses it strategically to capture different timescales, similar to spatial pooling in CNNs.
- Latents as Regularizers: The authors observed that a purely deterministic version of the model was unstable. The stochastic latent variables in the VAE provide a necessary regularizing effect that stabilizes training.
- State-Space vs. Autoregression: The paper bridges the gap between traditional control theory state-space models and modern autoregressive deep learning, showing how hierarchical structures can unify these perspectives.
Results and Performance
On the Blizzard speech dataset, the model achieved a state-of-the-art Evidence Lower Bound (ELBO) of $\ge 18,809$, significantly outperforming standard VRNNs (~9,392) and moderate STCNs (~16,288). Ablation studies confirmed that the multiscale aspect was vital; performance dropped significantly when the model was forced to operate at a flat resolution.
Qualitatively, the model successfully generated recognizable handwriting samples from the IAM-OnDB dataset. While some discretization noise was present—requiring the addition of uniform noise during training for better generalization—the model demonstrated a robust ability to handle diverse sequential data types.
Conclusion and Future Work
By treating time-series data as a hierarchical structure rather than a flat stream, the authors have demonstrated significant improvements in generative modeling. While the hierarchical structure is more complex to implement than standard TCNs, its parameter efficiency and performance gains are substantial. Future research may extend this multiscale approach to higher-dimensional data, such as video or complex human pose estimation, where hierarchical movement is naturally prominent.
Summary updated