Giter VIP home page Giter VIP logo

contrastvae's Introduction

This is the repository for paper: ContrastVAE: Contrastive Variational AutoEncoder for Sequential Recommendation

the model version control:

--variational_dropout : using the variational augmentation

--latent_contrastive_learning: using the model augmentation

--latent_data_augmentation: using the data augmentation

--VAandDA: using both variational augmentation and data augmentation

without any above version control: the model is the vanilla attentive variational autoencoder

train on Beauty

python main.py --latent_contrastive_learning --data_name=Beauty --latent_clr_weight=0.6 --reparam_dropout_rate=0.1 --lr=0.001 --hidden_size=128 --max_seq_length=50 --hidden_dropout_prob=0.3 --num_hidden_layers=1 --weight_decay=0.0 --num_attention_heads=4 --model_name=VAGRec --attention_probs_dropout_prob=0.0 --anneal_cap=0.2 --total_annealing_step=10000

Office

python main.py --variational_dropout --gpu_id 1 --data_name=Office_Products --latent_clr_weight=0.3 --lr=0.001 --hidden_size=128 --max_seq_length=100 --hidden_dropout_prob=0.3 --num_hidden_layers=1 --weight_decay=0.0 --num_attention_heads=4 --model_name=VAGRec --attention_probs_dropout_prob=0.3 --anneal_cap=0.2 --total_annealing_step=20000

Tool

python main.py --variational_dropout --gpu_id 1 --data_name=Tools_and_Home_Improvement --latent_clr_weight=0.4 --lr=0.001 --hidden_size=128 --max_seq_length=100 --hidden_dropout_prob=0.3 --num_hidden_layers=1 --weight_decay=0.0 --num_attention_heads=4 --model_name=VAGRecVD --attention_probs_dropout_prob=0.3 --anneal_cap=0.4 --total_annealing_step=5000

Toy

python main.py --variational_dropout --gpu_id 1 --data_name=Toys_and_Games --latent_clr_weight=0.3 --lr=0.001 --hidden_size=128 --max_seq_length=100 --hidden_dropout_prob=0.3 --num_hidden_layers=1 --weight_decay=0.0 --num_attention_heads=4 --model_name=VAGRecVD --attention_probs_dropout_prob=0.3 --anneal_cap=0.2 --total_annealing_step=10000

Reference

@inproceedings{wang2022contrastvae, title={ContrastVAE: Contrastive Variational AutoEncoder for Sequential Recommendation}, author={Wang, Yu and Zhang, Hengrui and Liu, Zhiwei and Yang, Liangwei and Yu, Philip S}, booktitle={Proceedings of the 31st ACM International Conference on Information & Knowledge Management}, pages={2056--2066}, year={2022} }

contrastvae's People

Contributors

yuwang-1024 avatar

Stargazers

 avatar Molei Qin avatar Alex Lehmann avatar XiaWuDeGuang avatar ZitongZhu avatar  avatar Sofian Mejjoute avatar choihk avatar Tong Liu avatar Beibei Li avatar Alexey Orlov avatar Xin Cai avatar José Sánchez avatar Zhang Han avatar ZHOU JIE avatar  avatar 王健哲 avatar BerenWu avatar hyrum avatar Liangwei Yang avatar  avatar Changhua avatar Linan Zheng avatar JoyWang avatar DUDU avatar  avatar Daoyi Li avatar  avatar Aiden avatar JimLiu avatar dug avatar MuhammadAnwar avatar Hengrui Zhang avatar Mike avatar

Watchers

Mike avatar  avatar Aiden avatar  avatar

contrastvae's Issues

Reproduce the results in paper

Hello, thank you for your great work. However, I would like to ask how to reproduce the beauty dataset results in the original paper.

I use the hyperparameters mentioned in the paper, but the highest NDCG@10 is 0.01848... which is quite different from the paper's results.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.