Sequence Modeling with Multiresolution Convolutional Memory

Jiaxin Shi, Ke Alexander Wang, Emily Fox

Introduction

Capturing long-range dependencies in sequential data remains a fundamental challenge in machine learning. While Transformers have achieved remarkable success, their $O(N^2)$ computational and memory complexity limits their application to very long sequences. Conversely, Recurrent Neural Networks (RNNs) offer memory efficiency but suffer from sequential processing bottlenecks and vanishing gradients. Convolutional Neural Networks (CNNs) provide parallelization but often require massive parameter counts or deep architectures to achieve a sufficient receptive field.

This paper introduces the MULTIRESLAYER, a novel sequence modeling building block that bridges these gaps. By drawing on the principles of Multiresolution Analysis (MRA) and the Discrete Wavelet Transform (DWT), the authors propose a model that is as parallelizable as a CNN, as theoretically grounded as a wavelet transform, and as efficient as a State-Space Model (SSM).

The MULTIRESCONV Architecture

The core of the model is the MULTIRESCONV operation. Unlike standard convolutions that apply a fixed-size window across a sequence, MULTIRESCONV utilizes a tree-structured stack of dilated causal convolutions. This structure is inspired by the recursive nature of the wavelet transform, which decomposes a signal into different frequency components across multiple scales.

Learnable Wavelet Filters

In traditional signal processing, wavelet filters (such as the Haar wavelet) are fixed. In the MULTIRESLAYER, the filters—specifically $h_0$ (capturing low-frequency "trends") and $h_1$ (capturing high-frequency "details")—are learnable parameters. This allows the model to discover the optimal wavelet-like shapes for specific tasks through end-to-end gradient descent. Because these filters are shared across all levels of the tree, the model remains exceptionally parameter-efficient.

Memory via TreeSelect

To manage long-range dependencies without the memory overhead of Transformers, the model employs a strategy called "resolution fading" (TreeSelect). The model maintains high-resolution data for recent timesteps while gradually transitioning to coarser, lower-resolution summaries for the distant past. This approach keeps the memory footprint at $O(N \log N)$, allowing the model to process long sequences efficiently.

Experimental Results

The authors evaluated the MULTIRESLAYER across several challenging benchmarks designed to test long-range reasoning and sequence modeling capabilities.

  • Sequential CIFAR-10 (sCIFAR): When images are flattened into 1D sequences of 1,024 pixels, the model achieved a new state-of-the-art accuracy of 93.15%. Notably, it outperformed the S4 model (91.80%) while using 5x fewer parameters (1.4M vs 7.9M).
  • ListOps: On this hierarchical reasoning benchmark, the model reached 62.75% accuracy, matching the performance of significantly more complex architectures.
  • Physiological Signals (PTB-XL): The model demonstrated strong versatility on electrocardiogram (ECG) data, consistently ranking as a top-tier performer across six diagnostic subsets.
  • Generative Modeling: In autoregressive pixel prediction on CIFAR-10, the model achieved 2.84 bits per dimension (bpd), showcasing its ability to capture complex spatial dependencies even in a 1D format.

Key Insights and Future Directions

A significant advantage of the MULTIRESLAYER is its simplicity. Unlike State-Space Models that often require specialized mathematical initializations (like HiPPO), this model is robust to standard Xavier initialization. It also clarifies the connection between WaveNet-style architectures and multiresolution analysis, providing a more principled framework for skip-connections and weight sharing.

Future work may explore dynamic selection mechanisms, such as attention or $L_1$ regularization, to allow the model to choose which resolutions are most important for a given timestep. Additionally, while this work focuses on 1D sequences, the MRA framework is naturally extensible to 2D (images) and 3D (video) domains, offering a promising path for efficient multi-dimensional modeling.

Summary updated

BibTeX
@inproceedings{shi2023sequence,
  author = {Jiaxin Shi and Ke Alexander Wang and Emily Fox},
  title = {{Sequence Modeling with Multiresolution Convolutional Memory}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=PKrDN23Rke},
}
Figure