paper-with-me

Papers

Provable Stochastic Optimization for Global Contrastive Learning: Small Batch Does Not Harm Performance

2022-02-24 · Zhuoning Yuan, Yuexin Wu, Zi-Hao Qiu, Xianzhi Du, Lijun Zhang, Denny Zhou, Tianbao Yang

In this paper, we study contrastive learning from an optimization perspective, aiming to analyze and address a fundamental issue of existing contrastive learning methods that either rely on a large batch size or a large dictionary of feature vectors. We consider a global objective for contrastive learning, which contrasts each positive pair with all negative pairs for an anchor point. From the optimization perspective, we explain why existing methods such as SimCLR require a large batch size in order to achieve a satisfactory result. In order to remove such requirement, we propose a memory-efficient Stochastic Optimization algorithm for solving the Global objective of Contrastive Learning of Representations, named SogCLR. We show that its optimization error is negligible under a reasonable condition after a sufficient number of iterations or is diminishing for a slightly different global contrastive objective. Empirically, we demonstrate that SogCLR with small batch size (e.g., 256) can achieve similar performance as SimCLR with large batch size (e.g., 8192) on self-supervised learning task on ImageNet-1K. We also attempt to show that the proposed optimization technique is generic and can be applied to solving other contrastive losses, e.g., two-way contrastive losses for bimodal contrastive learning. The proposed method is implemented in our open-sourced library LibAUC (www.libauc.org).

📄 PDF Abstract BibTeX arXiv:2202.12387

Code (1)

optimization-ai/sogclr pytorch

Tasks

Contrastive LearningSelf-Supervised LearningStochastic Optimization

Methods 이 논문이 사용한 방법론

Bitcoin Customer Service Number +1-833-534-1729 설명 없음
ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…
Contrastive Learning 설명 없음
Average Pooling 설명 없음
Residual Block Residual Blocks are skip-connection blocks that learn residual functions with reference to the layer inputs, instead of learning unreferenced functions. They were introduced…
Batch Normalization 설명 없음
Global Average Pooling Global Average Pooling is a pooling operation designed to replace fully connected layers in classical CNNs. The idea is to generate one feature map for each corresponding…
Random Gaussian Blur Random Gaussian Blur is an image data augmentation technique where we randomly blur the image using a Gaussian distribution. Image Source:…

Similar Papers 제목 키워드 기반

Provable Optimization for Adversarial Fair Self-supervised Contrastive Learning

2024-06-09 · Qi Qi, Quanqi Hu, Qihang Lin, Tianbao Yang

This paper studies learning fair encoders in a self-supervised learning (SSL) setting, in which all data are unlabeled and only a small portion of them are annotated with sensitive attribute. Adversarial fair representat…

AttributeContrastive LearningFairnessRepresentation Learning+1

Not All Semantics are Created Equal: Contrastive Self-supervised Learning with Automatic Temperature Individualization

2023-05-19 · Zi-Hao Qiu, Quanqi Hu, Zhuoning Yuan, Denny Zhou 외

In this paper, we aim to optimize a contrastive loss with individualized temperatures in a principled and systematic manner for self-supervised learning. The common practice of using a global temperature parameter $\tau$…

AllSelf-Supervised Learning

Quantization enabled Privacy Protection in Decentralized Stochastic Optimization

2022-08-07 · Yongqiang Wang, Tamer Basar

By enabling multiple agents to cooperatively solve a global optimization problem in the absence of a central coordinator, decentralized stochastic optimization is gaining increasing attention in areas as diverse as machi…

global-optimizationQuantizationStochastic Optimization

The Marginal Value of Momentum for Small Learning Rate SGD

2023-07-27 · Runzhe Wang, Sadhika Malladi, Tianhao Wang, Kaifeng Lyu 외

Momentum is known to accelerate the convergence of gradient descent in strongly convex settings without stochastic gradient noise. In stochastic optimization, such as training neural networks, folklore suggests that mome…

Stochastic Optimization

Large-scale Stochastic Optimization of NDCG Surrogates for Deep Learning with Provable Convergence

2022-02-24 · Zi-Hao Qiu, Quanqi Hu, Yongjian Zhong, Lijun Zhang 외

NDCG, namely Normalized Discounted Cumulative Gain, is a widely used ranking metric in information retrieval and machine learning. However, efficient and provable stochastic methods for maximizing NDCG are still lacking,…

Information RetrievalRetrievalStochastic Optimization