paper-with-me

Papers

ESimCSE: Enhanced Sample Building Method for Contrastive Learning of Unsupervised Sentence Embedding

2021-09-09 · COLING 2022 10 · Xing Wu, Chaochen Gao, Liangjun Zang, Jizhong Han, Zhongyuan Wang, Songlin Hu

Contrastive learning has been attracting much attention for learning unsupervised sentence embeddings. The current state-of-the-art unsupervised method is the unsupervised SimCSE (unsup-SimCSE). Unsup-SimCSE takes dropout as a minimal data augmentation method, and passes the same input sentence to a pre-trained Transformer encoder (with dropout turned on) twice to obtain the two corresponding embeddings to build a positive pair. As the length information of a sentence will generally be encoded into the sentence embeddings due to the usage of position embedding in Transformer, each positive pair in unsup-SimCSE actually contains the same length information. And thus unsup-SimCSE trained with these positive pairs is probably biased, which would tend to consider that sentences of the same or similar length are more similar in semantics. Through statistical observations, we find that unsup-SimCSE does have such a problem. To alleviate it, we apply a simple repetition operation to modify the input sentence, and then pass the input sentence and its modified counterpart to the pre-trained Transformer encoder, respectively, to get the positive pair. Additionally, we draw inspiration from the community of computer vision and introduce a momentum contrast, enlarging the number of negative pairs without additional calculations. The proposed two modifications are applied on positive and negative pairs separately, and build a new sentence embedding method, termed Enhanced Unsup-SimCSE (ESimCSE). We evaluate the proposed ESimCSE on several benchmark datasets w.r.t the semantic text similarity (STS) task. Experimental results show that ESimCSE outperforms the state-of-the-art unsup-SimCSE by an average Spearman correlation of 2.02% on BERT-base.

📄 PDF Abstract BibTeX arXiv:2109.04380

Code (2)

caskcsg/sentemb/tree/main/ESimCSE 공식 구현 pytorch
caskcsg/sentemb pytorch

Tasks

Contrastive LearningData AugmentationSentenceSentence EmbeddingSentence-EmbeddingSentence EmbeddingsSTStext similarity

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
SimCSE SimCSE is a contrastive learning framework for generating sentence embeddings. It utilizes an unsupervised approach, which takes an input sentence and predicts itself in…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

ESimCSE Unsupervised Contrastive Learning Jointly with UDA Semi-Supervised Learning for Large Label System Text Classification Mode

2023-04-19 · Ruan Lu, Zhou HangCheng, Ran Meng, Zhao Jin 외

The challenges faced by text classification with large tag systems in natural language processing tasks include multiple tag systems, uneven data distribution, and high noise. To address these problems, the ESimCSE unsup…

Contrastive LearningTAGtext-classificationText Classification

Underwater Image Enhancement with Cascaded Contrastive Learning

2024-11-16 · Yi Liu, Qiuping Jiang, Xinyi Wang, Ting Luo 외

Underwater image enhancement (UIE) is a highly challenging task due to the complexity of underwater environment and the diversity of underwater image degradation. Due to the application of deep learning, current UIE meth…

Contrastive LearningImage EnhancementUIE

SeCo: Exploring Sequence Supervision for Unsupervised Representation Learning

2020-08-03 · Ting Yao, Yiheng Zhang, Zhaofan Qiu, Yingwei Pan 외

A steady momentum of innovations and breakthroughs has convincingly pushed the limits of unsupervised image representation learning. Compared to static 2D images, video has one more dimension (time). The inherent supervi…

Action RecognitionActivity RecognitionContrastive LearningObject Tracking+3

SupCLAP: Controlling Optimization Trajectory Drift in Audio-Text Contrastive Learning with Support Vector Regularization

2025-09-25 · Jiehui Luo, Yuguo Yin, Yuxin Xie, Jinghan Ru 외 arxiv

Contrastive language-audio pretraining, which aims to unify multimodal representations in a shared embedding space, serves as a cornerstone for building a wide range of applications, from cross-modal retrieval to cutting…

Cross-Modal RetrievalContrastive Learning

Multi-Agent Transfer Learning via Temporal Contrastive Learning

2024-06-03 · Weihao Zeng, Joseph Campbell, Simon Stepputtis, Katia Sycara

This paper introduces a novel transfer learning framework for deep multi-agent reinforcement learning. The approach automatically combines goal-conditioned policies with temporal contrastive learning to discover meaningf…

Contrastive LearningMulti-agent Reinforcement LearningTransfer Learning