Lune

ICML2023顶会

Global Selection of Contrastive Batches via Optimization on Sample Permutations

Vin Sachidananda, Ziyi Yang, Chenguang Zhu

摘要

Contrastive Learning has recently achieved stateof-the-art performance in a wide range of unimodal and multimodal tasks. Many contrastive learning approaches use mined hard negatives to make batches more informative during training but these approaches are inefficient as they increase epoch length proportional to the number of mined negatives and require frequent updates of nearest neighbor indices or mining from recent batches. In this work, we provide an alternative to hard negative mining, Global Contrastive Batch Sampling (GCBS), an efficient approximation to the batch assignment problem that upper bounds the gap between the global and training losses, L Global -L T rain , in contrastive learning settings. Through experimentation we find GCBS improves state-of-the-art performance in sentence embedding and code-search tasks. Additionally, GCBS is easy to implement as it requires only a few additional lines of code, does not maintain external data structures such as nearest neighbor indices, is more computationally efficient than the most minimal hard negative mining approaches, and makes no changes to the model being trained. Code is available at https://github.com/vinayak1/GCBS .

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense Retrieval 引用了 Contextual Document Embeddings
  • LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense Retrieval 引用了 MoDE: CLIP Data Experts via Clustering
  • HOBIT: Hardness Optimized Batch Sampling for InfoNCE Training 引用了 Contextual Document Embeddings
  • HOBIT: Hardness Optimized Batch Sampling for InfoNCE Training 引用了 Breaking the Batch Barrier (B3) of Contrastive Learning via Smart Batch Mining
  • Contextual Document Embeddings 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Zero-Shot Text-to-Image Generation 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • MoDE: CLIP Data Experts via Clustering 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • MoDE: CLIP Data Experts via Clustering 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Breaking the Batch Barrier (B3) of Contrastive Learning via Smart Batch Mining 引用了 A Simple Framework for Contrastive Learning of Visual Representations
  • Breaking the Batch Barrier (B3) of Contrastive Learning via Smart Batch Mining 引用了 Contextual Document Embeddings
  • Breaking the Batch Barrier (B3) of Contrastive Learning via Smart Batch Mining 引用了 Learning Transferable Visual Models From Natural Language Supervision
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Breaking the Batch Barrier (B3) of Contrastive Learning via Smart Batch MiningRaghuveer Thirukovalluru, Rui Meng, Ye Liu, Karthikeyan K 等NeurIPS 2025 · 30 次引用
  2. MoDE: CLIP Data Experts via ClusteringJiawei Ma, Po-Yao Huang, Saining Xie, Shang-Wen Li 等CVPR 2024 · 8 次引用
  3. LogiCoL: Logically-Informed Contrastive Learning for Set-based Dense RetrievalYanzhen Shen, Sihao Chen, Xueqiang Xu, Yunyi Zhang 等EMNLP 2025 · 1 次引用
  4. HOBIT: Hardness Optimized Batch Sampling for InfoNCE TrainingHimanshu Dutta, Lokesh Nagalapatti, Yashoteja PrabhuICML 2026
  5. Contextual Document EmbeddingsJohn Xavier Morris, Alexander M. RushICLR 2025

它引用的 Paper16

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
  3. Zero-Shot Text-to-Image GenerationAditya Ramesh, Mikhail Pavlov, Gabriel Goh, Scott Gray 等ICML 2021 · 6,356 次引用
  4. CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan 等EMNLP Findings 2020 · 2,828 次引用
  5. GraphCodeBERT: Pre-training Code Representations with Data FlowDaya Guo, Shuo Ren, Shuai Lu, Zhangyin Feng 等ICLR 2021 · 1,644 次引用

相关 Paper

  1. BatchSampler: Sampling Mini-Batches for Contrastive Learning in Vision, Language, and GraphsZhen Yang, Tinglin Huang, Ming Ding, Yuxiao Dong 等KDD 2023 · 13 次引用
  2. Contrastive Learning with Hard Negative SamplesJoshua David Robinson, Ching-Yao Chuang, Suvrit Sra, Stefanie JegelkaICLR 2021 · 999 次引用
  3. Clustering-Aware Negative Sampling for Unsupervised Sentence RepresentationJinghao Deng, Fanqi Wan, Tao Yang, Xiaojun Quan 等ACL Findings 2023 · 10 次引用
  4. Unsupervised Sentence Representation via Contrastive Learning with Mixing NegativesYanzhao Zhang, Richong Zhang, Samuel Mensah, Xudong Liu 等AAAI 2022 · 71 次引用
  5. B2-Sampling: Fusing Balanced and Biased Sampling for Graph Contrastive LearningMengyue Liu, Yun Lin, Jun Liu, Bohao Liu 等KDD 2023 · 5 次引用
黄昏的海面,两侧是细线勾勒的悬崖