[Paper Review] What Makes Convolutional Models Great on Long Sequence Modeling?
SGConv presents a simple, efficient global convolution kernel with multiscale sub-kernels and decaying weights, achieving strong long-range dependency modeling and outperforming S4 on Long Range Arena while being more efficient and versatile as a drop-in module for language and vision models.
Convolutional models have been widely used in multiple domains. However, most existing models only use local convolution, making the model unable to handle long-range dependency efficiently. Attention overcomes this problem by aggregating global information but also makes the computational complexity quadratic to the sequence length. Recently, Gu et al. [2021] proposed a model called S4 inspired by the state space model. S4 can be efficiently implemented as a global convolutional model whose kernel size equals the input sequence length. S4 can model much longer sequences than Transformers and achieve significant gains over SoTA on several long-range tasks. Despite its empirical success, S4 is involved. It requires sophisticated parameterization and initialization schemes. As a result, S4 is less intuitive and hard to use. Here we aim to demystify S4 and extract basic principles that contribute to the success of S4 as a global convolutional model. We focus on the structure of the convolution kernel and identify two critical but intuitive principles enjoyed by S4 that are sufficient to make up an effective global convolutional model: 1) The parameterization of the convolutional kernel needs to be efficient in the sense that the number of parameters should scale sub-linearly with sequence length. 2) The kernel needs to satisfy a decaying structure that the weights for convolving with closer neighbors are larger than the more distant ones. Based on the two principles, we propose a simple yet effective convolutional model called Structured Global Convolution (SGConv). SGConv exhibits strong empirical performance over several tasks: 1) With faster speed, SGConv surpasses S4 on Long Range Arena and Speech Command datasets. 2) When plugging SGConv into standard language and vision models, it shows the potential to improve both efficiency and performance.
Motivation & Objective
- Identify minimal principles that underlie the success of S4 for long-range dependency modeling.
- Propose a simpler, intuitive global convolution kernel that preserves long-range modeling ability.
- Demonstrate SGConv’s empirical performance across long-range benchmarks and common downstream tasks.
- Show SGConv as a general-purpose module usable in language and vision architectures.
Proposed method
- Define two design principles for global convolution: efficient parameterization (parameters scale sub-linearly with sequence length) and decaying kernel structure (closer neighbors have larger weights).
- Introduce SGConv: a structured global convolution using multiscale sub-kernels upsampled from fixed small parameter sets and combined with decaying weights; compute with FFT for O(L log L) complexity.
- Provide a concrete parameterization Cat(S) that yields a kernel of length L with O(log L) parameters; include normalization Z and decay factor alpha.
- Empirically compare SGConv to S4 and baselines on Long Range Arena (LRA) and Speech Commands; ablations on decay speed t and scale dimension d; evaluate as drop-in modules in language and vision tasks.
- Demonstrate SGConv as a language modeling block and as a drop-in for ConvNeXt in image classification; analyze speed and memory versus attention-based and S4 blocks.
Experimental results
Research questions
- RQ1What minimal principles are responsible for S4’s success in long-range sequence modeling?
- RQ2Can a simpler, non-SSM global convolution kernel achieve competitive or superior performance to S4?
- RQ3How does SGConv scale in parameters and computation, and how does it perform across LRA, speech, language, and vision tasks?
- RQ4Can SGConv serve as a general-purpose module in both NLP and CV architectures?
Key findings
- SGConv, guided by the two principles, surpasses S4 on Long Range Arena and Speech Commands benchmarks with faster speed.
- SGConv achieves stronger average performance on LRA (Table 1) and competitive to SoTA on speech tasks, while maintaining lower computational cost than S4.
- A simple SGConv kernel with multiscale upsampled sub-kernels and decaying combination attains a parameter count of O(log L) and FFT-based O(L log L) computation.
- Replacing parts of Transformer attention with SGConv in language models reduces complexity from O(L^2) to O(L log L) while preserving performance in certain settings.
- Using SGConv in ConvNeXt (as SGConvNeXt) matches or surpasses SoTA models on ImageNet-1k in some configurations, demonstrating cross-domain applicability.
- SGConv blocks are shown to be faster than optimized S4 kernels across sequence lengths and hardware (CPU/GPU).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.