Rethinking Batch Sample Relationships for Data Representation: A Batch-Graph Transformer based Approach
Not on the map. Why?
Abstract (arXiv)
Exploring sample relationships within each mini-batch has shown great potential for learning image representations. Existing works generally adopt the regular Transformer to model the visual content relationships, ignoring the cues of semantic/label correlations between samples. Also, they generally adopt the "full" self-attention mechanism which are obviously redundant and also sensitive to the noisy samples. To overcome these issues, in this paper, we design a simple yet flexible Batch-Graph Transformer (BGFormer) for mini-batch sample representations by deeply capturing the relationships of image samples from both visual and semantic perspectives. BGFormer has three main aspects. (1) It employs a flexible graph model, termed Batch Graph to jointly encode the visual and semantic relationships of samples within each mini-batch. (2) It explores the neighborhood relationships of samples by borrowing the idea of sparse graph representation which thus performs robustly, w.r.t., noisy samples. (3) It devises a novel Transformer architecture that mainly adopts dual structure-constrained self-attention (SSA), together with graph normalization, FFN, etc, to carefully exploit the batch graph information for sample tokens (nodes) representations. As an application, we apply BGFormer to the metric learning tasks. Extensive experiments on four popular datasets demonstrate the effectiveness of the proposed model.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 41 of its 73 references that are in the map. First posted on arXiv 19 Nov 2022.
Builds on
41 of 73 references.
References · 41
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2014Going Deeper with Convolutionscited by 4,241
29 more
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2021TransReID: Transformer-based Object Re-Identificationcited by 435
- 2021Transformer Trackingcited by 412
- 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 320
- 2017Sampling Matters in Deep Embedding Learningcited by 285
- 2021Transformer Meets Tracker: Exploiting Temporal Context for Robust Visual Trackingcited by 220
- 2020Proxy Anchor Loss for Deep Metric Learningcited by 195
- 2022Structure-Aware Transformer for Graph Representation Learningcited by 194
- 2022Vision GNN: An Image is Worth Graph of Nodescited by 186
- 2018Learning Human-Object Interactions by Graph Parsing Neural Networkscited by 176
- 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
- 2020Rethinking Transformer-based Set Prediction for Object Detectioncited by 156
- 2019Cross-Batch Memory for Embedding Learningcited by 132
- 2018Deep Metric Learning with Hierarchical Triplet Losscited by 112
- 2022Hyperbolic Vision Transformers: Combining Improvements in Metric Learningcited by 111
- 2021Beyond Self-attention: External Attention using Two Linear Layers for Visual Taskscited by 109
- 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
- 2021Training Vision Transformers for Image Retrievalcited by 90
- 2022NFormer: Robust Person Re-identification with Neighbor Transformercited by 57
- 2018Attention-based Ensemble for Deep Metric Learningcited by 56
- 2021Learning Disentangled Representation Implicitly via Transformer for Occluded Person Re-Identificationcited by 44
- 2019MIC: Mining Interclass Characteristics for Improved Metric Learningcited by 41
- 2018Deep Metric Learning with BIER: Boosting Independent Embeddings Robustlycited by 40
- 2022SparseTT: Visual Tracking with Sparse Transformerscited by 36
- 2022BatchFormer: Learning to Explore Sample Relationships for Robust Representation Learningcited by 29
- 2021Revisiting Local Descriptor for Improved Few-Shot Classificationcited by 8
- 2022BatchFormerV2: Exploring Sample Relationships for Dense Representation Learningcited by 3
Built on by
Citing papers per year: 2023: 1; 2024: 1.
2 papers.