paper-with-me

Papers

Hard Negative Mixing for Contrastive Learning

2020-10-02 · NeurIPS 2020 12 · Yannis Kalantidis, Mert Bulent Sariyildiz, Noe Pion, Philippe Weinzaepfel, Diane Larlus

Contrastive learning has become a key component of self-supervised learning approaches for computer vision. By learning to embed two augmented versions of the same image close to each other and to push the embeddings of different images apart, one can train highly transferable visual representations. As revealed by recent studies, heavy data augmentation and large sets of negatives are both crucial in learning such representations. At the same time, data mixing strategies either at the image or the feature level improve both supervised and semi-supervised learning by synthesizing novel examples, forcing networks to learn more robust features. In this paper, we argue that an important aspect of contrastive learning, i.e., the effect of hard negatives, has so far been neglected. To get more meaningful negative samples, current top contrastive self-supervised learning approaches either substantially increase the batch sizes, or keep very large memory banks; increasing the memory size, however, leads to diminishing returns in terms of performance. We therefore start by delving deeper into a top-performing framework and show evidence that harder negatives are needed to facilitate better and faster learning. Based on these observations, and motivated by the success of data mixing, we propose hard negative mixing strategies at the feature level, that can be computed on-the-fly with a minimal computational overhead. We exhaustively ablate our approach on linear classification, object detection and instance segmentation and show that employing our hard negative mixing procedure improves the quality of visual representations learned by a state-of-the-art self-supervised learning method.

📄 PDF Abstract BibTeX arXiv:2010.01028

Code (1)

davidsvy/hard-negative-mixing pytorch

Tasks

Contrastive LearningData AugmentationInstance Segmentationobject-detectionObject DetectionSelf-Supervised LearningSemantic Segmentation

Similar Papers 제목 키워드 기반

$m$-mix: Generating hard negatives via multiple samples mixing for contrastive learning

2021-09-29 · Shaofeng Zhang, Meng Liu, Junchi Yan, Hengrui Zhang 외

Negative pairs are essential in contrastive learning, which plays the role of avoiding degenerate solutions. Hard negatives can improve the representation ability on the basis of common negatives. Inspired by recent hard…

ClassificationContrastive LearningGraph Classificationimage-classification+2

ANOMIX: A Simple yet Effective Hard Negative Generation via Mixing for Graph Anomaly Detection

2024-10-27 · Hwan Kim, JungHoon Kim, Sungsu Lim

Graph contrastive learning (GCL) generally requires a large number of samples. The one of the effective ways to reduce the number of samples is using hard negatives (e.g., Mixup). Designing mixing-based approach for GAD …

Anomaly DetectionContrastive LearningGraph Anomaly Detection

Synthetic Hard Negative Samples for Contrastive Learning

2023-04-06 · Hengkui Dong, Xianzhong Long, Yun Li, Lei Chen

Contrastive learning has emerged as an essential approach for self-supervised learning in visual representation learning. The central objective of contrastive learning is to maximize the similarities between two augmente…

Contrastive LearningRepresentation LearningSelf-Supervised Learning

Attack-Augmentation Mixing-Contrastive Skeletal Representation Learning

2023-04-08 · Binqian Xu, Xiangbo Shu, Jiachao Zhang, Rui Yan 외

Contrastive learning, relying on effective positive and negative sample pairs, is beneficial to learn informative skeleton representations in unsupervised skeleton-based action recognition. To achieve these positive and …

Action RecognitionContrastive LearningData AugmentationRepresentation Learning+2

DropMix: Better Graph Contrastive Learning with Harder Negative Samples

2023-10-15 · Yueqi Ma, Minjie Chen, Xiang Li

While generating better negative samples for contrastive learning has been widely studied in the areas of CV and NLP, very few work has focused on graph-structured data. Recently, Mixup has been introduced to synthesize …

Contrastive Learning