Contributors

May 15, 2024 ยท View on GitHub

Kolmogorov-Arnold Network (KAN) for Recommendations

Official Implementation of Kolmogorov-Arnold Network (KAN) for Recommendations. Any communications, collaborations, issues, PRs are welcomed. The contributors will be listed at contributor part. Please contact yueliu19990731@163.com or tianyuan.yang@u.nus.edu. If you find this repository useful to your research or work, it is really appreciate to star this repository. :heart:

Table of Contents
  1. Usage
  2. Acknowledgement
  3. Citation

Usage

Datasets

MovieLens-1m and MovieLens-20m.

datasets#users#items#actionsaverage lengthdensity
ML-1m604034161m163.54.79%
ML-20m138,49326,74420m144.40.54%

still updating...

Requirements

codes are tested on Python3.8.16 and 1 NVIDIA Tesla V100 SXM2 16 GB

numpy==1.23.5
pandas==1.5.3
scipy==1.9.1
torch==2.0.0
tqdm==4.65.0
wget==3.2

Quick Start

for ml-1m dataset

python main.py --template train_kan4rec --lr 1e-2 --dataset_code ml-1m

for ml-20m dataset

python main.py --template train_kan4rec --lr 1e-2 --dataset_code ml-20m

Results

ML-1m

NDCGBERT4RecKAN4Rec
@10.34450.3499
@50.50680.5133
@100.54170.5477
@200.56570.5719
@500.58750.5932
@1000.59370.5991
RecallBERT4RecKAN4Rec
@10.34450.3499
@50.65170.6560
@100.75900.7622
@200.85350.8575
@500.96220.9635
@1000.99970.9997

ML-20m

NDCGBERT4RecKAN4Rec
@10.59800.5982
@50.76090.7612
@100.77960.7801
@200.78710.7871
@500.78950.7898
@1000.79060.7908
RecallBERT4RecKAN4Rec
@10.59800.5982
@50.89470.8949
@100.95180.9526
@200.97990.9798
@500.99280.9928
@1000.99970.9996

still updating...

Acknowledgements

Our code are partly based on the following GitHub repository. Thanks for their awesome works.

Citations

If you find this repository helpful, please cite our paper (coming soon).

Contributors

TianyuanYang yueliu1999

(back to top)