Deep Fusion: Capturing Dependencies in Contrastive Learning via Transformer Projection Heads
Not on the map. Why?
Abstract (arXiv)
Contrastive Learning (CL) has emerged as a powerful method for training feature extraction models using unlabeled data. Recent studies suggest that incorporating a linear projection head post-backbone significantly enhances model performance. In this work, we investigate the use of a transformer model as a projection head within the CL framework, aiming to exploit the transformer's capacity for capturing long-range dependencies across embeddings to further improve performance. Our key contributions are fourfold: First, we introduce a novel application of transformers in the projection head role for contrastive learning, marking the first endeavor of its kind. Second, our experiments reveal a compelling "Deep Fusion" phenomenon where the attention mechanism progressively captures the correct relational dependencies among samples from the same class in deeper layers. Third, we provide a theoretical framework that explains and supports this "Deep Fusion" behavior. Finally, we demonstrate through experimental results that our model achieves superior performance compared to the existing approach of using a feed-forward layer.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 25 references that are in the map. First posted on arXiv 27 Mar 2024.
Builds on
23 of 25 references.
References · 23
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,282
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,838
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
- 2019Contrastive Multiview Codingcited by 1,297
- 2018Learning deep representations by mutual information estimation and maximizationcited by 1,265
11 more
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,013
- 2018Image Transformercited by 770
- 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 672
- 2020A Survey on Contrastive Self-supervised Learningcited by 553
- 2020Dense Contrastive Learning for Self-Supervised Visual Pre-Trainingcited by 512
- 2021Graph Contrastive Learning Automatedcited by 287
- 2020What Should Not Be Contrastive in Contrastive Learningcited by 224
- 2022Contrastive and Non-Contrastive Self-Supervised Learning Recover Global and Local Spectral Embedding Methodscited by 146
- 2021Weakly Supervised Contrastive Learningcited by 81
- 2023Adaptive Multi-head Contrastive Learningcited by 8
Built on by
Not cited yet.