mlsanityData to 7 Oct 2026

BatchFormerV2: Exploring Sample Relationships for Dense Representation Learning

arXiv 2204.01254 ↗First posted 4 Apr 2022cs.CV cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

Attention mechanisms have been very popular in deep neural networks, where the Transformer architecture has achieved great success in not only natural language processing but also visual recognition applications. Recently, a new Transformer module, applying on batch dimension rather than spatial/channel dimension, i.e., BatchFormer [18], has been introduced to explore sample relationships for overcoming data scarcity challenges. However, it only works with image-level representations for classification. In this paper, we devise a more general batch Transformer module, BatchFormerV2, which further enables exploring sample relationships for dense representation learning. Specifically, when applying the proposed module, it employs a two-stream pipeline during training, i.e., either with or without a BatchFormerV2 module, where the batchformer stream can be removed for testing. Therefore, the proposed method is a plug-and-play module and can be easily integrated into different vision Transformers without any extra inference cost. Without bells and whistles, we show the effectiveness of the proposed method for a variety of popular visual recognition tasks, including image classification and two important dense prediction tasks: object detection and panoptic segmentation. Particularly, BatchFormerV2 consistently improves current DETR-based detection methods (e.g., DETR, Deformable-DETR, Conditional DETR, and SMCA) by over 1.3%. Code will be made publicly available.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 45 of its 50 references that are in the map. First posted on arXiv 4 Apr 2022.

Builds on

45 of 50 references.

References · 45

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2017Graph Attention Networkscited by 8,854
  8. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  9. 2020End-to-End Object Detection with Transformerscited by 7,384
  10. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  11. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  12. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
33 more
  1. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  2. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
  3. 2017Squeeze-and-Excitation Networkscited by 4,763
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  6. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  7. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  8. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,923
  9. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  10. 2018CBAM: Convolutional Block Attention Modulecited by 2,463
  11. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  12. 2017Non-local Neural Networkscited by 2,290
  13. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  14. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  15. 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,609
  16. 2018Group Normalizationcited by 1,514
  17. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  18. 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
  19. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  20. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  21. 2018Panoptic Segmentationcited by 796
  22. 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
  23. 2021Conditional DETR for Fast Training Convergencecited by 422
  24. 2017Few-Shot Learning with Graph Neural Networkscited by 324
  25. 2019FreiHAND: A Dataset for Markerless Capture of Hand Pose and Shape from Single RGB Imagescited by 271
  26. 2021Mesh Graphormercited by 264
  27. 2018Learning to Propagate Labels: Transductive Propagation Network for Few-shot Learningcited by 208
  28. 2019Domain-Specific Batch Normalization for Unsupervised Domain Adaptationcited by 197
  29. 2021Fast Convergence of DETR with Spatially Modulated Co-Attentioncited by 176
  30. 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 126
  31. 2021Self-Attention Between Datapoints: Going Beyond Individual Input-Output Pairs in Deep Learningcited by 112
  32. 2022BatchFormer: Learning to Explore Sample Relationships for Robust Representation Learningcited by 29
  33. 2021Mini-batch graphs for robust image classificationcited by 3

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 1; 2024: 1.

3 papers.