Sequential Token Merging: Revisiting Hidden States

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wen, Yan, Ye, Peng, Zhang, Lin, Li, Baopu, Yuan, Jiakang, Yang, Yaoxin, Chen, Tao
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912609334198272
author Wen, Yan
Ye, Peng
Zhang, Lin
Li, Baopu
Yuan, Jiakang
Yang, Yaoxin
Chen, Tao
author_facet Wen, Yan
Ye, Peng
Zhang, Lin
Li, Baopu
Yuan, Jiakang
Yang, Yaoxin
Chen, Tao
contents Vision Mambas (ViMs) achieve remarkable success with sub-quadratic complexity, but their efficiency remains constrained by quadratic token scaling with image resolution. While existing methods address token redundancy, they overlook ViMs' intrinsic Limited Directional Sequential Dependence (LDSD) - a critical information flow mechanism revealed in our analysis. We further identify Mamba's selective scan enables gradual information aggregation in hidden states. Based on these insights, we propose Sequential Token Merging (STM), featuring: 1) Bidirectional nearest neighbor merging to preserve sequential dependencies through symmetric spatial aggregation, and 2) Hidden states protection to stabilize the hidden states around the class token. STM strategically leverages Mamba's layer-wise loss convergence to convert temporal forgetfulness into stability. Experiments demonstrate STM's superiority: 1.0% accuracy drop for ViM-Ti at 20% token reduction, and only 1.4% degradation for ViM-S at 40% reduction. Our method achieves state-of-the-art efficiency with minimal complexity, while providing new insights into state-space model dynamics. Codes will be released soon.
format Preprint
id arxiv_https___arxiv_org_abs_2509_22691
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Sequential Token Merging: Revisiting Hidden States
Wen, Yan
Ye, Peng
Zhang, Lin
Li, Baopu
Yuan, Jiakang
Yang, Yaoxin
Chen, Tao
Computer Vision and Pattern Recognition
Vision Mambas (ViMs) achieve remarkable success with sub-quadratic complexity, but their efficiency remains constrained by quadratic token scaling with image resolution. While existing methods address token redundancy, they overlook ViMs' intrinsic Limited Directional Sequential Dependence (LDSD) - a critical information flow mechanism revealed in our analysis. We further identify Mamba's selective scan enables gradual information aggregation in hidden states. Based on these insights, we propose Sequential Token Merging (STM), featuring: 1) Bidirectional nearest neighbor merging to preserve sequential dependencies through symmetric spatial aggregation, and 2) Hidden states protection to stabilize the hidden states around the class token. STM strategically leverages Mamba's layer-wise loss convergence to convert temporal forgetfulness into stability. Experiments demonstrate STM's superiority: 1.0% accuracy drop for ViM-Ti at 20% token reduction, and only 1.4% degradation for ViM-S at 40% reduction. Our method achieves state-of-the-art efficiency with minimal complexity, while providing new insights into state-space model dynamics. Codes will be released soon.
title Sequential Token Merging: Revisiting Hidden States
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2509.22691