Consistent Positive Correlation Sample Distribution: Alleviating the Negative Sample Noise Issue in Contrastive Adaptation

Xing Wei,Zelin Pan,Jiansheng Peng,Chong Zhao,Zhen Wei,Fan Yang,Yang Lu
DOI: https://doi.org/10.1016/j.eswa.2024.125669
IF: 8.5
2024-01-01
Expert Systems with Applications
Abstract:Contrastive learning has been widely applied in domain adaptation tasks due to its powerful representation learning capabilities in recent years. Constructing positive and negative sample pairs through different augmented views of instances promotes the effective application of contrastive learning in domain adaptation. However, most existing methods are based on Noise Contrastive Estimation (NCE), which primarily focuses on instance-level information and lacks attention to the relationships between different instances. These methods treat all negative samples as noise interference, leading to an increased distance between negative samples and anchor samples, disregarding instances in the negative samples that share the same category as the anchor sample. Consequently, these methods do not offer significant advantages in domain adaptation for image classification tasks. To address this issue, we propose a method called Consistent Positive Correlation Sample Distribution (CPCSD) to mitigate the problem of class collision among negative samples by leveraging the semantic similarity between instances. We introduce a positive correlation distribution loss within the contrastive adaptation framework to compute the similarity distribution between batches of augmented views and align them. Additionally, we sharpen the target similarity distribution to obtain a more emphasized relationship distribution, thereby alleviating the issue of negative sample noise in contrastive adaptation. Extensive experiments demonstrate that our proposed model has significant advantages in contrastive adaptation algorithms and improves the performance of downstream domain adaptation tasks. Our code is available at https://github.com/mumubuku882/code_cpcsd.
What problem does this paper attempt to address?