Giter VIP home page Giter VIP logo

ijcai-23-pfedrec's Introduction

Dual Personalization on Federated Recommendation

Code for ijcai-23 paper: Dual Personalization on Federated Recommendation.

Abatract

Federated recommendation is a new Internet service architecture that aims to provide privacypreserving recommendation services in federated settings. Existing solutions are used to combine distributed recommendation algorithms and privacy-preserving mechanisms. Thus it inherently takes the form of heavyweight models at the server and hinders the deployment of on-device intelligent models to end-users. This paper proposes a novel Personalized Federated Recommendation (PFedRec) framework to learn many user-specifc lightweight models to be deployed on smart devices rather than a heavyweight model on a server. Moreover, we propose a new dual personalization mechanism to effectively learn fne-grained personalization on both users and items. The overall learning process is formulated into a unifed federated optimization framework. Specifcally, unlike previous methods that share exactly the same item embeddings across users in a federated system, dual personalization allows mild fnetuning of item embeddings for each user to generate user-specifc views for item representations which can be integrated into existing federated recommendation methods to gain improvements immediately. Experiments on multiple benchmark datasets have demonstrated the effectiveness of PFedRec and the dual personalization mechanism. Moreover, we provide visualizations and in-depth analysis of the personalization techniques in item embedding, which shed novel insights on the design of recommender systems in federated settings.

Figure: Different frameworks for the personalized federated recommendation. The green block represents a personalized module, which indicates the part of model is to preserve user preference. Our proposed model will preserve dual personalization on two modules.

Preparations before running the code

mkdir log

mkdir sh_result

Running the code

python train.py

Citation

If you find this project helpful, please consider to cite the following paper:

@article{zhang2023dual,
  title={Dual Personalization on Federated Recommendation},
  author={Zhang, Chunxu and Long, Guodong and Zhou, Tianyi and Yan, Peng and Zhang, Zijian and Zhang, Chengqi and Yang, Bo},
  journal={arXiv preprint arXiv:2301.08143},
  year={2023}
}

ijcai-23-pfedrec's People

Contributors

zhangcx19 avatar

Stargazers

 avatar xxxxxxccc avatar  avatar Junho Jeong avatar Jun Zhang avatar  avatar Haoyu Wang avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Guangneng Hu avatar Lengyan./ avatar

Watchers

 avatar

ijcai-23-pfedrec's Issues

学习率问题

为什么更新物品嵌入模块的学习率lr=self.config['lr'] * self.config['num_items'] * self.config['lr_eta']
这样的话如果使用ml-100k数据集 学习率lr=13456.000000000002
不会太大吗

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.