Improving Contrastive Learning with Model Augmentation

Zhiwei Liu, Yongjun Chen, Jia Li, Man Luo, Philip S. Yu +1 more
3/25/2022
cs.LGcs.AIcs.IR
contrastive-ssl

Official code: salesforce/SRMA (18 stars, Python, BSD-3-Clause, last commit 2026-06-02).

Abstract

The sequential recommendation aims at predicting the next items in user behaviors, which can be solved by characterizing item relationships in sequences. Due to the data sparsity and noise issues in sequences, a new self-supervised learning (SSL) paradigm is proposed to improve the performance, which employs contrastive learning between positive and negative views of sequences.

Show full abstract

However, existing methods all construct views by adopting augmentation from data perspectives, while we argue that 1) optimal data augmentation methods are hard to devise, 2) data augmentation methods destroy sequential correlations, and 3) data augmentation fails to incorporate comprehensive self-supervised signals. Therefore, we investigate the possibility of model augmentation to construct view pairs. We propose three levels of model augmentation methods: neuron masking, layer dropping, and encoder complementing. This work opens up a novel direction in constructing views for contrastive SSL. Experiments verify the efficacy of model augmentation for the SSL in the sequential recommendation. Code is available\footnote{\url{https://github.com/salesforce/SRMA}}.

View on arXivView PDF

Code Implementations(1)

salesforce/SRMAOfficial100%
BSD-3-Clause

Contrastive Learning with Model Augmentation

182Python, Go TemplateMar 19, 20226 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{liu2022improving,
  title  = {Improving Contrastive Learning with Model Augmentation},
  author = {Zhiwei Liu and Yongjun Chen and Jia Li and Man Luo and Philip S. Yu and Caiming Xiong},
  year   = {2022},
  eprint = {2203.15508},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.15508}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.15508.svg)](https://codeofpaper.com/paper/2203.15508)

Discussion