Saved in:
Bibliographic Details
Main Authors: Wang, Penghao, Zhou, Yuhao, Wu, Mengxuan, Zhang, Panpan, Wang, Zhangyang, Wang, Kai
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.19266
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915571058081792
author Wang, Penghao
Zhou, Yuhao
Wu, Mengxuan
Zhang, Panpan
Wang, Zhangyang
Wang, Kai
author_facet Wang, Penghao
Zhou, Yuhao
Wu, Mengxuan
Zhang, Panpan
Wang, Zhangyang
Wang, Kai
contents State-space models (SSMs) have emerged as efficient alternatives to Transformers for sequence modeling, offering superior scalability through recurrent structures. However, their training remains costly and the ecosystem around them is far less mature than that of Transformers. Moreover, the structural heterogeneity between SSMs and Transformers makes it challenging to efficiently distill knowledge from pretrained attention models. In this work, we propose Cross-architecture distillation via Attention Bridge (CAB), a novel data-efficient distillation framework that efficiently transfers attention knowledge from Transformer teachers to state-space student models. Unlike conventional knowledge distillation that transfers knowledge only at the output level, CAB enables token-level supervision via a lightweight bridge and flexible layer-wise alignment, improving both efficiency and transferability. We further introduce flexible layer-wise alignment strategies to accommodate architectural discrepancies between teacher and student. Extensive experiments across vision and language domains demonstrate that our method consistently improves the performance of state-space models, even under limited training data, outperforming both standard and cross-architecture distillation methods. Our findings suggest that attention-based knowledge can be efficiently transferred to recurrent models, enabling rapid utilization of Transformer expertise for building a stronger SSM community.
format Preprint
id arxiv_https___arxiv_org_abs_2510_19266
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridge
Wang, Penghao
Zhou, Yuhao
Wu, Mengxuan
Zhang, Panpan
Wang, Zhangyang
Wang, Kai
Machine Learning
State-space models (SSMs) have emerged as efficient alternatives to Transformers for sequence modeling, offering superior scalability through recurrent structures. However, their training remains costly and the ecosystem around them is far less mature than that of Transformers. Moreover, the structural heterogeneity between SSMs and Transformers makes it challenging to efficiently distill knowledge from pretrained attention models. In this work, we propose Cross-architecture distillation via Attention Bridge (CAB), a novel data-efficient distillation framework that efficiently transfers attention knowledge from Transformer teachers to state-space student models. Unlike conventional knowledge distillation that transfers knowledge only at the output level, CAB enables token-level supervision via a lightweight bridge and flexible layer-wise alignment, improving both efficiency and transferability. We further introduce flexible layer-wise alignment strategies to accommodate architectural discrepancies between teacher and student. Extensive experiments across vision and language domains demonstrate that our method consistently improves the performance of state-space models, even under limited training data, outperforming both standard and cross-architecture distillation methods. Our findings suggest that attention-based knowledge can be efficiently transferred to recurrent models, enabling rapid utilization of Transformer expertise for building a stronger SSM community.
title Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridge
topic Machine Learning
url https://arxiv.org/abs/2510.19266