Git Product home page Git Product logo

hrcf's Introduction

Authors: Menglin Yang, Min Zhou, Jiahong Liu, Defu Lian, Irwin King

Note: this repository is built upon HGCF and HGCN. By the way, if you would like to list HRCF as a baseline, please follow the parameter's setting, such as the layers of HRCF is 8 for slightly dense dataset.

The code was developed and tested on the following Python environment:

python 3.7.7
pytorch 1.5.1
scikit-learn 0.23.2
numpy 1.20.2
scipy 1.6.2
tqdm 4.60.0

Train and evaluation HRCF:

  • To evaluate HRCF on Amazon_CD
    • bash ./example/run_cd.sh
  • To evaluate HRCF on Amazon_Book
    • bash ./example/run_book.sh
  • To evaluate HRCF on Yelp
    • bash ./example/run_yelp.sh

During our research, we came across LGCF's works. However, when attempting to reproduce their findings, we found that LGCF conducted experiments using different settings with the baseline, i.e., training for 1000 epochs compared to 500 training epochs used by HGCF and other baselines. When we reduced LGCF's training epochs to 500, it barely showed improvement. On the other hand, extending the training epochs of HGCF and HRCF to 1000 led to improvement correspondingly. This illustrates that fully hyperbolic models may not necessarily have a substantial impact on user-item representation. For a fair and consistent comparison, we did not list the results of LGCF.

Citation

If you find this code useful in your research, please cite the following paper:

@inproceedings{yang2022hrcf,
  title={HRCF: Enhancing Collaborative Filtering via Hyperbolic Geometric Regularization},
  author={Menglin Yang, Min Zhou, Jiahong Liu, Defu Lian, Irwin King},
  booktitle={Proceedings of the International World Wide Web Conference},
  year={2022}
}

hrcf's People

Contributors

marlin-codes avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hrcf's Issues

Code release

Hi~ authors
Thanks for your interesting work, can you provide PyTorch codes of HRCF for experiments?
If available, my email is [email protected].
Thanks again!

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.