Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup
Not on the map. Why?
Abstract (arXiv)
Contrastive learning has been applied successfully to learn vector representations of text. Previous research demonstrated that learning high-quality representations benefits from batch-wise contrastive loss with a large number of negatives. In practice, the technique of in-batch negative is used, where for each example in a batch, other batch examples' positives will be taken as its negatives, avoiding encoding extra negatives. This, however, still conditions each example's loss on all batch examples and requires fitting the entire large batch into GPU memory. This paper introduces a gradient caching technique that decouples backpropagation between contrastive loss and the encoder, removing encoder backward pass data dependency along the batch dimension. As a result, gradients can be computed for one subset of the batch at a time, leading to almost constant memory usage.
Key facts. Cited by 123 papers in the map (data through 7 Oct 2026). Builds on 13 of its 17 references that are in the map. First posted on arXiv 18 Jan 2021.
Builds on
13 of 17 references.
References · 13
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2020Supervised Contrastive Learningcited by 2,803
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2019Latent Retrieval for Weakly Supervised Open Domain Question Answeringcited by 691
- 2020RocketQA: An Optimized Training Approach to Dense Passage Retrieval for Open-Domain Question Answeringcited by 410
- 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
- 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 215
- 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
- 2020Pre-training Tasks for Embedding-based Large-scale Retrievalcited by 153
1 more
- 2018Reversible Recurrent Neural Networkscited by 22
Built on by
Citing papers per year: 2021: 4; 2022: 16; 2023: 9; 2024: 19; 2025: 39; 2026: 36.
123 papers.
Sort:
By area:
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 255
- 2024Generative Representational Instruction Tuningcited by 227
- 2024VLM2Vec: Training Vision-Language Models for Massive Multimodal Embedding Taskscited by 222
- 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
- 2021Unsupervised Corpus Aware Language Model Pre-training for Dense Passage Retrievalcited by 203
- 2021Condenser: a Pre-training Architecture for Dense Retrievalcited by 162
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2025VLM2Vec-V2: Advancing Multimodal Embedding for Videos, Images, and Visual Documentscited by 110
- 2023TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritancecited by 90
- 2025ReasonIR: Training Retrievers for Reasoning Taskscited by 76
38 more
- 2025Breaking the Modality Barrier: Universal Embedding Learning with Multimodal LLMscited by 73
- 2024Repetition Improves Language Model Embeddingscited by 70
- 2022Tevatron: An Efficient and Flexible Toolkit for Dense Retrievalcited by 47
- 2022Retrieval as Attention: End-to-end Learning of Retrieval and Reading within a Single Transformercited by 45
- 2025UniME-V2: MLLM-as-a-Judge for Universal Multimodal Embedding Learningcited by 41
- 2025Think Then Embed: Generative Context Improves Multimodal Embeddingcited by 39
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrievalcited by 33
- 2021Scaling Law for Recommendation Models: Towards General-purpose User Representationscited by 26
- 2024IISAN: Efficiently Adapting Multimodal Representation for Sequential Recommendation with Decoupled PEFTcited by 26
- 2022LaPraDoR: Unsupervised Pretrained Dense Retriever for Zero-Shot Text Retrievalcited by 24
- 2022i-Code: An Integrative and Composable Multimodal Learning Frameworkcited by 24
- 2022CharacterBERT and Self-Teaching for Improving the Robustness of Dense Retrievers on Queries with Typoscited by 22
- 2022CodeRetriever: Unimodal and Bimodal Contrastive Learning for Code Searchcited by 21
- 2022SimANS: Simple Ambiguous Negatives Sampling for Dense Text Retrievalcited by 21
- 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
- 2025Improve Multi-Modal Embedding Learning via Explicit Hard Negative Gradient Amplifyingcited by 21
- 2024Contextual Document Embeddingscited by 19
- 2023GLEN: Generative Retrieval via Lexical Index Learningcited by 17
- 2025PyLate: Flexible Training and Retrieval for Late Interaction Modelscited by 17
- 2023DisCo-CLIP: A Distributed Contrastive Loss for Memory Efficient CLIP Trainingcited by 15
- 2022C3: Continued Pretraining with Contrastive Weak Supervision for Cross Language Ad-Hoc Retrievalcited by 14
- 2024OneGen: Efficient One-Pass Unified Generation and Retrieval for LLMscited by 14
- 2024Dwell in the Beginning: How Language Models Embed Long Documents for Dense Retrievalcited by 13
- 2022Conditional Supervised Contrastive Learning for Fair Text Classificationcited by 11
- 2023Language Models are Universal Embedderscited by 11
- 2026Representation Distribution Matching for One-Step Visual Generationcited by 10
- 2025J4R: Learning to Judge with Equivalent Initial State Group Relative Policy Optimizationcited by 9
- 2024PhysBERT: A Text Embedding Model for Physics Scientific Literaturecited by 8
- 2025IDMR: Towards Instance-Driven Precise Visual Correspondence in Multimodal Retrievalcited by 8
- 2025SDTagNet: Leveraging Text-Annotated Navigation Maps for Online HD Map Constructioncited by 8
- 2022MASTER: Multi-task Pre-trained Bottlenecked Masked Autoencoders are Better Dense Retrieverscited by 7
- 2023Dual-Encoders for Extreme Multi-Label Classificationcited by 7
- 2022Federated Momentum Contrastive Clusteringcited by 6
- 2023CONVERSER: Few-Shot Conversational Dense Retrieval with Synthetic Data Generationcited by 6
- 2024ULLME: A Unified Framework for Large Language Model Embeddings with Generation-Augmented Learningcited by 6
- 2026TSEmbed: Unlocking Task Scaling in Universal Multimodal Embeddingscited by 6
- 2022Generation-Augmented Query Expansion For Code Retrievalcited by 5
- 2025Efficient Text Encoders for Labor Market Analysiscited by 5
50 most cited of 123 All 123 (JSON)
- 2026Unifying Distributional Training for One-Step Visual Generation28 Sep 2026
- 2026From Scores to Samples: Elastic Forcing for Autoregressive Video Generation28 Sep 2026
- 2026Preserve-and-Compose Training for Composed Image Retrieval25 Sep 2026
- 2026Contrastive Learning for Authorship Verification23 Sep 2026
- 2026VoiceTrace: A Benchmark and Retrieval Framework for Who-Said-What Speech Retrieval16 Sep 2026
- 2026Lumen: Parameter-Efficient Alignment of Pretrained Vision and Language Encoders for Zero-Shot Computational Pathology15 Sep 2026
- 2026Efficient GPU Retrieval for Semantic Search29 Aug 2026
- 2026ASTRA - Agentic System for Ticket Resolution and Analysis28 Aug 2026
- 2026Omni-Interactive Universal Embedder27 Aug 2026
- 2026Illuminating Visual Identity in Universal Multimodal Embeddings3 Aug 2026
- 2026KoVRE: Training an Efficient Embedding Model for Korean Visual Document Retrieval2 Aug 2026
- 2026DenseOn with the LateOn: Fully Open Dense and Late-Interaction Models for Multilingual, Long-Context, and Code Search29 Jul 2026
38 more
- 2026Diverse-Intent Multi-Turn Fashion Image Retrieval22 Jul 2026
- 2026MMRM: A Multiplex Multimodal Representation Model for Product Ranking in E-commerce Search13 Jul 2026
- 2026Representation Distribution Matching for One-Step Visual Generation2 Jul 2026
- 2026MIMO: Multilingual Information Retrieval via Monolingual Objectives29 May 2026
- 2026Benchmarking Patent Embeddings: A Multi-Task Evaluation of 22 Models Across Retrieval, Classification, and Clustering22 May 2026
- 2026AnyMo: Geometry-Aware Setup-Agnostic Modeling of Human Motion in the Wild21 May 2026
- 2026FashionLens: Toward Versatile Fashion Image Retrieval via Task-Adaptive Learning21 May 2026
- 2026Think When Needed: Adaptive Reasoning-Driven Multimodal Embeddings with a Dual-LoRA Architecture14 May 2026
- 2026GRC: Unifying Reasoning-Driven Generation, Retrieval and Compression9 May 2026
- 2026UniCVR: From Alignment to Reranking for Unified Zero-Shot Composed Visual Retrieval22 Apr 2026
- 2026AFMRL: Attribute-Enhanced Fine-Grained Multi-Modal Representation Learning in E-commerce22 Apr 2026
- 2026SIMMER: Cross-Modal Food Image--Recipe Retrieval via MLLM-Based Embedding17 Apr 2026
- 2026CLEAR: Cross-Lingual Enhancement in Alignment via Reverse-training7 Apr 2026
- 2026PROMPT2BOX:Improving LLM Weakness Discovery and Specificity Estimation by Uncovering Entailment Structure among Prompts22 Mar 2026
- 2026ECIsem: Semantic Residual Effective Contrastive Information for Evaluating Hard Negatives22 Mar 2026
- 2026TSEmbed: Unlocking Task Scaling in Universal Multimodal Embeddings5 Mar 2026
- 2026ViCLIP-OT: The First Foundation Vision-Language Model for Vietnamese Image-Text Retrieval with Optimal Transport26 Feb 2026
- 2026CREM: Compression-Driven Representation Enhancement for Multimodal Retrieval and Comprehension22 Feb 2026
- 2026ColBERT-Zero: To Pre-train Or Not To Pre-train ColBERT models18 Feb 2026
- 2026Spectral Disentanglement and Enhancement: A Dual-domain Contrastive Framework for Representation Learning9 Feb 2026
- 2026Adaptive Global and Fine-Grained Perceptual Fusion for MLLM Embeddings Compatible with Hard Negative Amplification5 Feb 2026
- 2026A Hybrid Protocol for Large-Scale Semantic Dataset Generation in Low-Resource Languages: The Turkish Semantic Relations Corpus19 Jan 2026
- 2026LACONIC: Dense-Level Effectiveness for Scalable Sparse Retrieval via a Two-Phase Training Curriculum4 Jan 2026
- 2026TeleDoCTR: Domain-Specific and Contextual Troubleshooting for Telecommunications2 Jan 2026
- 2025Compass-Embedding v4: Robust Contrastive Learning for Multilingual E-commerce Embeddings25 Dec 2025
- 2025LuxIA: A Lightweight Unitary matriX-based Framework Built on an Iterative Algorithm for Photonic Neural Network Training24 Dec 2025
- 2025VLM2GeoVec: Toward Universal Multimodal Embeddings for Remote Sensing12 Dec 2025
- 2025FANoise: Singular Value-Adaptive Noise Modulation for Robust Multimodal Representation Learning26 Nov 2025
- 2025Compressing then Matching: An Efficient Pre-training Paradigm for Multimodal Embedding11 Nov 2025
- 2025TurkEmbed: Turkish Embedding Model on NLI & STS Tasks11 Nov 2025
- 2025Unified Work Embeddings: Contrastive Learning of a Bidirectional Multi-task Ranker11 Nov 2025
- 2025Let Multimodal Embedders Learn When to Augment Query via Adaptive Query Augmentation4 Nov 2025
- 2025UniME-V2: MLLM-as-a-Judge for Universal Multimodal Embedding Learning15 Oct 2025
- 2025Think Then Embed: Generative Context Improves Multimodal Embedding6 Oct 2025
- 2025Study on LLMs for Promptagator-Style Dense Retriever Training2 Oct 2025
- 2025A Comparison of Independent and Joint Fine-tuning Strategies for Retrieval-Augmented Generation2 Oct 2025
- 2025VIRTUE: Visual-Interactive Text-Image Universal Embedder1 Oct 2025
- 2025Hedonic Neurons: A Mechanistic Mapping of Latent Coalitions in Transformer MLPs28 Sep 2025
50 newest of 123 All 123 (JSON)
- 2024VLM2Vec: Training Vision-Language Models for Massive Multimodal Embedding Taskscited by 222
- 2025Breaking the Modality Barrier: Universal Embedding Learning with Multimodal LLMscited by 73
- 2025Improve Multi-Modal Embedding Learning via Explicit Hard Negative Gradient Amplifyingcited by 21
- 2025From Generator to Embedder: Harnessing Innate Abilities of Multimodal LLMs via Building Zero-Shot Discriminative Embedding Modelcited by 5
- 2025Compressing then Matching: An Efficient Pre-training Paradigm for Multimodal Embeddingcited by 4
- 2026CREM: Compression-Driven Representation Enhancement for Multimodal Retrieval and Comprehensioncited by 4
- 2025VIRTUE: Visual-Interactive Text-Image Universal Embeddercited by 2
- 2026UniCVR: From Alignment to Reranking for Unified Zero-Shot Composed Visual Retrievalcited by 2
- 2026ViCLIP-OT: The First Foundation Vision-Language Model for Vietnamese Image-Text Retrieval with Optimal Transportcited by 0
- 2026Lumen: Parameter-Efficient Alignment of Pretrained Vision and Language Encoders for Zero-Shot Computational Pathologycited by 0
- 2026Lumen: Parameter-Efficient Alignment of Pretrained Vision and Language Encoders for Zero-Shot Computational Pathology15 Sep 2026
- 2026UniCVR: From Alignment to Reranking for Unified Zero-Shot Composed Visual Retrieval22 Apr 2026
- 2026ViCLIP-OT: The First Foundation Vision-Language Model for Vietnamese Image-Text Retrieval with Optimal Transport26 Feb 2026
- 2026CREM: Compression-Driven Representation Enhancement for Multimodal Retrieval and Comprehension22 Feb 2026
- 2025Compressing then Matching: An Efficient Pre-training Paradigm for Multimodal Embedding11 Nov 2025
- 2025VIRTUE: Visual-Interactive Text-Image Universal Embedder1 Oct 2025
- 2025From Generator to Embedder: Harnessing Innate Abilities of Multimodal LLMs via Building Zero-Shot Discriminative Embedding Model1 Aug 2025
- 2025Improve Multi-Modal Embedding Learning via Explicit Hard Negative Gradient Amplifying28 May 2025
- 2025Breaking the Modality Barrier: Universal Embedding Learning with Multimodal LLMs24 Apr 2025
- 2024VLM2Vec: Training Vision-Language Models for Massive Multimodal Embedding Tasks7 Oct 2024
- 2025ReasonIR: Training Retrievers for Reasoning Taskscited by 76
- 2025Think Then Embed: Generative Context Improves Multimodal Embeddingcited by 39
- 2025J4R: Learning to Judge with Equivalent Initial State Group Relative Policy Optimizationcited by 9
- 2026TSEmbed: Unlocking Task Scaling in Universal Multimodal Embeddingscited by 6
- 2026Think When Needed: Adaptive Reasoning-Driven Multimodal Embeddings with a Dual-LoRA Architecturecited by 3
- 2026GRC: Unifying Reasoning-Driven Generation, Retrieval and Compressioncited by 0
- 2026Think When Needed: Adaptive Reasoning-Driven Multimodal Embeddings with a Dual-LoRA Architecture14 May 2026
- 2026GRC: Unifying Reasoning-Driven Generation, Retrieval and Compression9 May 2026
- 2026TSEmbed: Unlocking Task Scaling in Universal Multimodal Embeddings5 Mar 2026
- 2025Think Then Embed: Generative Context Improves Multimodal Embedding6 Oct 2025
- 2025J4R: Learning to Judge with Equivalent Initial State Group Relative Policy Optimization19 May 2025
- 2025ReasonIR: Training Retrievers for Reasoning Tasks29 Apr 2025
- 2025ChEmbed: Enhancing Chemical Literature Search Through Domain-Specific Text Embeddingscited by 4
- 2025Multi-task retriever fine-tuning for domain-specific and efficient RAGcited by 2
- 2025ExpertRAG: Efficient RAG with Mixture of Experts -- Optimizing Context Retrieval for Adaptive LLM Responsescited by 2
- 2025A Comparison of Independent and Joint Fine-tuning Strategies for Retrieval-Augmented Generationcited by 0
- 2025A Comparison of Independent and Joint Fine-tuning Strategies for Retrieval-Augmented Generation2 Oct 2025
- 2025ChEmbed: Enhancing Chemical Literature Search Through Domain-Specific Text Embeddings3 Aug 2025
- 2025ExpertRAG: Efficient RAG with Mixture of Experts -- Optimizing Context Retrieval for Adaptive LLM Responses23 Mar 2025
- 2025Multi-task retriever fine-tuning for domain-specific and efficient RAG8 Jan 2025
- 2026ASTRA - Agentic System for Ticket Resolution and Analysis28 Aug 2026
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 556
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 255
- 2024Generative Representational Instruction Tuningcited by 227
- 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
- 2021Unsupervised Corpus Aware Language Model Pre-training for Dense Passage Retrievalcited by 203
- 2021Condenser: a Pre-training Architecture for Dense Retrievalcited by 162
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2025VLM2Vec-V2: Advancing Multimodal Embedding for Videos, Images, and Visual Documentscited by 110
- 2023TinyCLIP: CLIP Distillation via Affinity Mimicking and Weight Inheritancecited by 90
- 2024Repetition Improves Language Model Embeddingscited by 70
- 2022Tevatron: An Efficient and Flexible Toolkit for Dense Retrievalcited by 47
12 most cited of 100 All 100 (JSON)
- 2026Unifying Distributional Training for One-Step Visual Generation28 Sep 2026
- 2026From Scores to Samples: Elastic Forcing for Autoregressive Video Generation28 Sep 2026
- 2026Preserve-and-Compose Training for Composed Image Retrieval25 Sep 2026
- 2026Contrastive Learning for Authorship Verification23 Sep 2026
- 2026VoiceTrace: A Benchmark and Retrieval Framework for Who-Said-What Speech Retrieval16 Sep 2026
- 2026Efficient GPU Retrieval for Semantic Search29 Aug 2026
- 2026Omni-Interactive Universal Embedder27 Aug 2026
- 2026Illuminating Visual Identity in Universal Multimodal Embeddings3 Aug 2026
- 2026KoVRE: Training an Efficient Embedding Model for Korean Visual Document Retrieval2 Aug 2026
- 2026DenseOn with the LateOn: Fully Open Dense and Late-Interaction Models for Multilingual, Long-Context, and Code Search29 Jul 2026
- 2026Diverse-Intent Multi-Turn Fashion Image Retrieval22 Jul 2026
- 2026MMRM: A Multiplex Multimodal Representation Model for Product Ranking in E-commerce Search13 Jul 2026
12 newest of 100 All 100 (JSON)