Git Product home page Git Product logo

mdmt's Introduction

HAMUR

Official implementation of our paper HAMUR: Hyper Adapter for Multi-Domain Recommendation in CIKM 2023.

You could cite our paper if you find this repository interesting or helpful:

@inproceedings{li2023hamur,
  title={HAMUR: Hyper Adapter for Multi-Domain Recommendation},
  author={Li, Xiaopeng and Yan, Fan and Zhao, Xiangyu and Wang, Yichao and Chen, Bo and Guo, Huifeng and Tang, Ruiming},
  booktitle={Proceedings of the 32nd ACM International Conference on Information and Knowledge Management},
  pages={1268--1277},
  year={2023}
}

Introduction

Source code of HAMUR: Hyper Adapter for Multi-Domain Recommendation, in Proceedings of the 32nd ACM International Conference on Information and Knowledge Management(CIKM 23'). 'Img_HAMUR'

Environment Setting

  • torch >=1.7.0
  • numpy >=1.23.5
  • pandas >=1.5.3
  • scikit-learn >=0.23.2

Dataset Download

In this paper, we use two datasets, Aliccp and movieLens. Dataset samples are shown in example/ranking/data.

Real Dataset download methods:

Models

In this repo, we offer the following models, list as follows. And their suructure are shown in the picture. 'Img_DifferentBackbone'

  • Pure MLP as Multi-domain Backbone models.
  • MLP + HAMUR
  • Pure Wide & Deep as Multi-domain Backbone models.
  • Wide & Deep + HUMUR
  • Pure DCN as Multi-domain Backbone models.
  • DCN + HUMUR

Usage

Step 1 : Clone the repositary

git clone https://github.com/Applied-Machine-Learning-Lab/HAMUR.git

Step 2 : runing the model

cd examples
# For Aliccp
python run_ali_ccp_ctr_ranking_multi_domain.py --model_name mlp_adp --epoch 200 --device cpu --seed 2022 
# For MovieLens
python run_movielens_rank_multi_domain.py --model_name mlp_adp --epoch 200 --device cpu --seed 2022 

Credits

Our code is developed based on Torch-RecHub. Thanks to their contribution.

mdmt's People

Contributors

zhangzj2114 avatar

Watchers

 avatar

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.