GlobalMamba: Global Image Serialization for Vision Mamba

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Chengkun, Zheng, Wenzhao, Zhou, Jie, Lu, Jiwen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913544884191232
author Wang, Chengkun
Zheng, Wenzhao
Zhou, Jie
Lu, Jiwen
author_facet Wang, Chengkun
Zheng, Wenzhao
Zhou, Jie
Lu, Jiwen
contents Vision mambas have demonstrated strong performance with linear complexity to the number of vision tokens. Their efficiency results from processing image tokens sequentially. However, most existing methods employ patch-based image tokenization and then flatten them into 1D sequences for causal processing, which ignore the intrinsic 2D structural correlations of images. It is also difficult to extract global information by sequential processing of local patches. In this paper, we propose a global image serialization method to transform the image into a sequence of causal tokens, which contain global information of the 2D image. We first convert the image from the spatial domain to the frequency domain using Discrete Cosine Transform (DCT) and then arrange the pixels with corresponding frequency ranges. We further transform each set within the same frequency band back to the spatial domain to obtain a series of images before tokenization. We construct a vision mamba model, GlobalMamba, with a causal input format based on the proposed global image serialization, which can better exploit the causal relations among image sequences. Extensive experiments demonstrate the effectiveness of our GlobalMamba, including image classification on ImageNet-1K, object detection on COCO, and semantic segmentation on ADE20K.
format Preprint
id arxiv_https___arxiv_org_abs_2410_10316
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle GlobalMamba: Global Image Serialization for Vision Mamba
Wang, Chengkun
Zheng, Wenzhao
Zhou, Jie
Lu, Jiwen
Computer Vision and Pattern Recognition
Vision mambas have demonstrated strong performance with linear complexity to the number of vision tokens. Their efficiency results from processing image tokens sequentially. However, most existing methods employ patch-based image tokenization and then flatten them into 1D sequences for causal processing, which ignore the intrinsic 2D structural correlations of images. It is also difficult to extract global information by sequential processing of local patches. In this paper, we propose a global image serialization method to transform the image into a sequence of causal tokens, which contain global information of the 2D image. We first convert the image from the spatial domain to the frequency domain using Discrete Cosine Transform (DCT) and then arrange the pixels with corresponding frequency ranges. We further transform each set within the same frequency band back to the spatial domain to obtain a series of images before tokenization. We construct a vision mamba model, GlobalMamba, with a causal input format based on the proposed global image serialization, which can better exploit the causal relations among image sequences. Extensive experiments demonstrate the effectiveness of our GlobalMamba, including image classification on ImageNet-1K, object detection on COCO, and semantic segmentation on ADE20K.
title GlobalMamba: Global Image Serialization for Vision Mamba
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2410.10316