paper-with-me

Papers

Rethinking Batch Sample Relationships for Data Representation: A Batch-Graph Transformer based Approach

2022-11-19 · Xixi Wang, Bo Jiang, Xiao Wang, Bin Luo

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.

📄 PDF Abstract BibTeX arXiv:2211.10622

Code (0)

등록된 구현이 없습니다.

Tasks

Metric Learning

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Adam 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

BatchFormer: Learning to Explore Sample Relationships for Robust Representation Learning

2022-03-03 · CVPR 2022 1 · Zhi Hou, Baosheng Yu, DaCheng Tao

Despite the success of deep neural networks, there are still many challenges in deep representation learning due to the data scarcity issues such as data imbalance, unseen distribution, and domain shift. To address the a…

Compositional Zero-Shot LearningContrastive LearningDomain GeneralizationLong-tail Learning+3

BatchFormerV2: Exploring Sample Relationships for Dense Representation Learning

2022-04-04 · Zhi Hou, Baosheng Yu, Chaoyue Wang, Yibing Zhan 외

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. Recentl…

image-classificationImage Classificationobject-detectionObject Detection+2

Rethinking "Batch" in BatchNorm

2021-05-17 · Yuxin Wu, Justin Johnson

BatchNorm is a critical building block in modern convolutional neural networks. Its unique property of operating on "batches" instead of individual samples introduces significantly different behaviors from most other ope…

IBAFormer: Intra-batch Attention Transformer for Domain Generalized Semantic Segmentation

2023-09-12 · Qiyu Sun, Huilin Chen, Meng Zheng, Ziyan Wu 외

Domain generalized semantic segmentation (DGSS) is a critical yet challenging task, where the model is trained only on source data without access to any target data. Despite the proposal of numerous DGSS strategies, the …

Semantic Segmentation

Self-distillation with Online Diffusion on Batch Manifolds Improves Deep Metric Learning

2022-11-14 · Zelong Zeng, Fan Yang, Hong Liu, Shin'ichi Satoh

Recent deep metric learning (DML) methods typically leverage solely class labels to keep positive samples far away from negative ones. However, this type of method normally ignores the crucial knowledge hidden in the dat…

Metric Learning