From Layers to States: A State Space Model Perspective to Deep Neural Network Layer Dynamics
Qinshuo Liu, Weiqin Zhao, Wei Huang, Yanwen Fang, Lequan Yu, Guodong Li
TL;DR
The paper reframes very deep neural networks as continuous-state processes by treating layer outputs as latent states updated via a state-space model. It introduces Selective State Space Model Layer Aggregation (S6LA), a lightweight module that consolidates SSM-based state updates with layer outputs for CNNs and Vision Transformers, enabling effective long-range layer interactions. Through CNN and ViT experiments on ImageNet-1K and COCO, S6LA consistently improves classification, detection, and segmentation performance with modest increases in parameters and FLOPs, outperforming several prior layer-interaction methods. This work bridges statistical state-space modeling with deep learning to advance deep network representational power and lays groundwork for further integration of statistical models into computer vision architectures.
Abstract
The depth of neural networks is a critical factor for their capability, with deeper models often demonstrating superior performance. Motivated by this, significant efforts have been made to enhance layer aggregation - reusing information from previous layers to better extract features at the current layer, to improve the representational power of deep neural networks. However, previous works have primarily addressed this problem from a discrete-state perspective which is not suitable as the number of network layers grows. This paper novelly treats the outputs from layers as states of a continuous process and considers leveraging the state space model (SSM) to design the aggregation of layers in very deep neural networks. Moreover, inspired by its advancements in modeling long sequences, the Selective State Space Models (S6) is employed to design a new module called Selective State Space Model Layer Aggregation (S6LA). This module aims to combine traditional CNN or transformer architectures within a sequential framework, enhancing the representational capabilities of state-of-the-art vision networks. Extensive experiments show that S6LA delivers substantial improvements in both image classification and detection tasks, highlighting the potential of integrating SSMs with contemporary deep learning techniques.
