GithubHelp home page GithubHelp logo

popcon's Introduction

PopCon

This project is a PyTorch implementation of Aggregately Diversified Bundle Recommendation via Popularity Debiasing and Configuration-aware Reranking (PopCon), which is published in PAKDD 2023.

Overview

The overview of PopCon is as follows. PopCon consists of two phases, model training phase and reranking phase. In the training phase, PopCon trains a bundle recommendation model such as DAM or CrossCBR as a backbone while mitigating its popularity bias by a popularity-based negative sampling. In the raranking phase, PopCon selects candidate bundles for each user and reranks the candidates by a configuration-aware reranking algorithm to maximize both accuracy and aggregate diversity. For more details, please refer to our paper. overview

Prerequisties

Our implementation is based on Python 3.8 and Pytorch 1.8.1. Please see the full list of packages required to our codes in requirements.txt.

Datasets

We use 3 datasets in our work: Steam, Youshu, and NetEase. We include the preprocessed datasets in the repository: data/{data_name}.

Backbone model

We provide DAM, one of the state-of-the-art bundle recommendation models, as a backbone. It is defined in models.py. CrossCBR, another state-of-the-art model, is available at https://github.com/mysbupt/CrossCBR

Running the code

You can run the pretraining code by python pretrain.py with arguments --epochs and --alpha. You can also run the reranking code by python reranking.py with arguments --beta and --n. To run reranking.py, running pretrain.py must precede because it returns a recommendation results of a model. We provide demo.sh, which reproduces the experiments of our work.

Citation

Please cite this paper when you use our code.

@inproceedings{conf/pakdd/JeonKLLK23,
  author    = {Hyunsik Jeon and
               Jongjin Kim and
               Jaeri Lee and
               Jong-eun Lee and
               U Kang},
  title     = {Aggregately Diversified Bundle Recommendation via Popularity Debiasing and Configuration-aware Reranking},
  booktitle = {PAKDD},
  year      = {2023},
}

License

This software may be used only for non-commercial purposes (e.g., research evaluation) in universities. Please contact Prof. U Kang ([email protected]) if you want to use it for other purposes or use it in places other than universities.

popcon's People

Contributors

snudatalab avatar jeon185 avatar

Stargazers

JaySon avatar  avatar  avatar Jinhong Jung avatar Jaemin Yoo avatar

Watchers

 avatar  avatar

popcon's Issues

about the neg.pkl file

I could not find the method that you used to generate neg.pkl file in either the paper or the slide. Can you please publish the method or the code that you used to get the file? Thank you so much.

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.