Skip to main content
QUICK REVIEW

[논문 리뷰] MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selection

Ali Behrouz, Michele Santacatterina|arXiv (Cornell University)|2024. 03. 29.
Machine Learning and AlgorithmsComputer Science인용 수 7
한 줄 요약

이 논문은 Dual-token-and-channel selective state space model block인 MambaMixer를 소개하고 Vision MambaMixer (ViM2)와 Time Series MambaMixer (TSM2)를 구축하여 긴 시퀀스에 대해 선형 복잡도에서 경쟁력 있거나 우수한 성능을 달성한다.

ABSTRACT

Recent advances in deep learning have mainly relied on Transformers due to their data dependency and ability to learn at scale. The attention module in these architectures, however, exhibits quadratic time and space in input size, limiting their scalability for long-sequence modeling. Despite recent attempts to design efficient and effective architecture backbone for multi-dimensional data, such as images and multivariate time series, existing models are either data independent, or fail to allow inter- and intra-dimension communication. Recently, State Space Models (SSMs), and more specifically Selective State Space Models, with efficient hardware-aware implementation, have shown promising potential for long sequence modeling. Motivated by the success of SSMs, we present MambaMixer, a new architecture with data-dependent weights that uses a dual selection mechanism across tokens and channels, called Selective Token and Channel Mixer. MambaMixer connects selective mixers using a weighted averaging mechanism, allowing layers to have direct access to early features. As a proof of concept, we design Vision MambaMixer (ViM2) and Time Series MambaMixer (TSM2) architectures based on the MambaMixer block and explore their performance in various vision and time series forecasting tasks. Our results underline the importance of selective mixing across both tokens and channels. In ImageNet classification, object detection, and semantic segmentation tasks, ViM2 achieves competitive performance with well-established vision models and outperforms SSM-based vision models. In time series forecasting, TSM2 achieves outstanding performance compared to state-of-the-art methods while demonstrating significantly improved computational cost. These results show that while Transformers, cross-channel attention, and MLPs are sufficient for good performance in time series forecasting, neither is necessary.

연구 동기 및 목표

  • 제곱-복잡도 어텐션을 초과하는 확장 가능한 긴 시퀀스 모델링을 고무한다.
  • 정보를 효율적으로 융합하기 위해 토큰과 채널 간 이중 선택을 갖는 MambaMixer 블록을 제안한다.
  • 비전 및 시계열 예측을 위한 ViM2 및 TSM2 아키텍처를 선보인다.
  • 시간 시계열에서 계산 비용을 줄이면서도 경쟁력 있는 비전 결과와 최첨단에 준하는 성능을 시연한다.

제안 방법

  • 데이터 의존적 S6 블록에 기초한 Selective Token Mixer 및 Selective Channel Mixer 모듈을 도입한다.
  • 비전 과제용 양방향 채널 혼합과 다중 스캔 구성으로 다차원 데이터에 확장한다.
  • (DenseNet/DenseFormer 스타일로) 계층 간 초기 특징을 연결하는 가중 평균 메커니즘을 도입한다.
  • 이미지용으로 ViM2에 깊이별 합성곱(depth-wise convolutions) 및 패치 기반 2D 처리로 크로스-스캔을 적용한다.
  • TSM2에는 2D 정규화 및 보조 정보 처리를 포함하여 일방향 Selective Token Mixer와 양방향 Selective Channel Mixer를 적용한다.
  • ViM2가 MLP-Mixer 및 VMamba를 특수한 경우로 일반화한다는 설계 연결을 제공한다.
Figure 1: Architecture design of MambaMixer. For further potential architectures see Appendix B .
Figure 1: Architecture design of MambaMixer. For further potential architectures see Appendix B .

실험 결과

연구 질문

  • RQ1이중(토큰 및 채널) 선택적 혼합이 단일 차원 선택적 SSM보다 교차 토큰 및 교차 채널 의존성의 모델링을 향상시키는가?
  • RQ2MambaMixer 기반의 ViM2 및 TSM2가 선형 시간 및 공간 복잡도를 유지하면서 최첨단 비전 및 시계열 모델과 경쟁력 있는 성과를 달성할 수 있는가?
  • RQ3제안된 아키텍처가 Transformer 기반 및 기존 SSM 기반 모델과 비교하여 비전 작업(ImageNet, 객체 탐지, 의미 분할) 및 시계열 예측에서 정확도와 효율성 측면에서 어떻게 비교되는가?
  • RQ4초기 특징의 가중 평균 연결이 대규모에서 학습 안정성과 성능에 미치는 영향은 무엇인가?

주요 결과

  • ViM2는 ImageNet에서 ViT, MLP-Mixer, ConvMixer와 경쟁력 있는 성능을 달성하고 SSM 기반 비전 모델을 능가한다.
  • TSM2는 다양한 시계열 데이터셋에서 뛰어난 성능을 제공하면서 최첨단 방법과 비교해 계산 비용을 크게 줄인다.
  • 두 모달리티에 걸쳐 토큰과 채널 간의 선택적 혼합이 정보 흐름과 모델링 용량을 채널 또는 토큰만의 접근법을 넘어 향상시킨다.
  • 이 아키텍처는 시퀀스 길이와 채널 수에 대해 선형 시간 및 선형 공간 복잡성을 유지하여 전통적인 어텐션의 확장성 문제를 해결한다.
  • 가중 평균 기전을 통해 초기 특징에 직접 접근을 가능하게 하여 깊은 MambaMixer 기반 네트워크의 학습 안정성을 향상시킨다.
Figure 2: Architecture design and overview of the ViM2’s pipeline.
Figure 2: Architecture design and overview of the ViM2’s pipeline.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.