English

DeBiFormer: Vision Transformer with Deformable Agent Bi-level Routing Attention

Computer Vision and Pattern Recognition 2024-10-14 v1

Abstract

Vision Transformers with various attention modules have demonstrated superior performance on vision tasks. While using sparsity-adaptive attention, such as in DAT, has yielded strong results in image classification, the key-value pairs selected by deformable points lack semantic relevance when fine-tuning for semantic segmentation tasks. The query-aware sparsity attention in BiFormer seeks to focus each query on top-k routed regions. However, during attention calculation, the selected key-value pairs are influenced by too many irrelevant queries, reducing attention on the more important ones. To address these issues, we propose the Deformable Bi-level Routing Attention (DBRA) module, which optimizes the selection of key-value pairs using agent queries and enhances the interpretability of queries in attention maps. Based on this, we introduce the Deformable Bi-level Routing Attention Transformer (DeBiFormer), a novel general-purpose vision transformer built with the DBRA module. DeBiFormer has been validated on various computer vision tasks, including image classification, object detection, and semantic segmentation, providing strong evidence of its effectiveness.Code is available at {https://github.com/maclong01/DeBiFormer}

Keywords

Cite

@article{arxiv.2410.08582,
  title  = {DeBiFormer: Vision Transformer with Deformable Agent Bi-level Routing Attention},
  author = {Nguyen Huu Bao Long and Chenyu Zhang and Yuzhi Shi and Tsubasa Hirakawa and Takayoshi Yamashita and Tohgoroh Matsui and Hironobu Fujiyoshi},
  journal= {arXiv preprint arXiv:2410.08582},
  year   = {2024}
}

Comments

20 pages, 7 figures. arXiv admin note: text overlap with arXiv:2303.08810 by other authors

R2 v1 2026-06-28T19:17:29.880Z