Skip to main content
QUICK REVIEW

[Paper Review] Sequencer: Deep LSTM for Image Classification

Yuki Tatsunami, Masato Taki|arXiv (Cornell University)|May 4, 2022
Advanced Neural Network ApplicationsComputer Science54 citations
TL;DR

Sequencer proposes an LSTM-based architecture as an alternative to ViT, including a 2D Sequencer2D-L variant with 54M parameters achieving 84.6% top-1 on ImageNet-1K.

ABSTRACT

In recent computer vision research, the advent of the Vision Transformer (ViT) has rapidly revolutionized various architectural design efforts: ViT achieved state-of-the-art image classification performance using self-attention found in natural language processing, and MLP-Mixer achieved competitive performance using simple multi-layer perceptrons. In contrast, several studies have also suggested that carefully redesigned convolutional neural networks (CNNs) can achieve advanced performance comparable to ViT without resorting to these new ideas. Against this background, there is growing interest in what inductive bias is suitable for computer vision. Here we propose Sequencer, a novel and competitive architecture alternative to ViT that provides a new perspective on these issues. Unlike ViTs, Sequencer models long-range dependencies using LSTMs rather than self-attention layers. We also propose a two-dimensional version of Sequencer module, where an LSTM is decomposed into vertical and horizontal LSTMs to enhance performance. Despite its simplicity, several experiments demonstrate that Sequencer performs impressively well: Sequencer2D-L, with 54M parameters, realizes 84.6% top-1 accuracy on only ImageNet-1K. Not only that, we show that it has good transferability and the robust resolution adaptability on double resolution-band.

Motivation & Objective

  • Motivate the exploration of inductive biases in computer vision beyond self-attention.
  • Introduce Sequencer, a deep LSTM architecture for image classification.
  • Propose a 2D Sequencer module with vertical and horizontal LSTMs to capture long-range dependencies.
  • Show competitive performance on ImageNet-1K and discuss transferability and resolution robustness.

Proposed method

  • Model long-range dependencies with LSTMs instead of self-attention.
  • Decompose LSTM into vertical and horizontal components in 2D Sequencer (Sequencer2D) for enhanced performance.
  • Report a model variant (Sequencer2D-L) with 54M parameters achieving 84.6% top-1 on ImageNet-1K.
  • Evaluate transferability across datasets and robustness to double resolution-band inputs.

Experimental results

Research questions

  • RQ1Can an LSTM-based architecture compete with Vision Transformers and MLP-Mixer on image classification tasks?
  • RQ2Does a 2D Sequencer module with vertical and horizontal LSTMs improve performance over a plain LSTM in image classification?
  • RQ3What are the transferability and resolution-adaptability properties of Sequencer models on standard benchmarks?
  • RQ4What are the trade-offs in parameter count and accuracy for Sequencer2D-L on ImageNet-1K?

Key findings

  • Sequencer provides an effective LSTM-based alternative to ViT for image classification.
  • Sequencer2D-L achieves 84.6% top-1 accuracy on ImageNet-1K with 54M parameters.
  • The model demonstrates good transferability and robust performance under double resolution-band inputs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.