This project is the code and the supplementary of "Federated Recommendation with Additive Personalization"
Notice that FedRAP is highly sensitive to the Parameter Combinations, which may result in significant differences in performance!
- The code is implemented with
Python >= 3.8
andtorch~=1.13.1+cu117
; - Other requirements can be installed by
pip install -r requirements.txt
.
-
First create two folders:
./logs
and./results
; -
Put datasets into the path
[parent_folder]/datasets/
; -
python train.py --alias FedRAP --dataset movielens --data_file ml-100k.dat \ --mu 1e-3 --l2_regularization 1e-6 --lr_network 1e-4 --lr_args 1e3
If you find this paper useful in your research, please consider citing:
@inproceedings{
li2024federated,
title={Federated Recommendation with Additive Personalization},
author={Zhiwei Li and Guodong Long and Tianyi Zhou},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=xkXdE81mOK}
}