Prayforhanluo/CTR_Algorithm

一些经典的CTR算法的复现; LR, FM, FFM, AFM, DeepFM, xDeepFM, PNN, DCN, DCNv2, DIFM, AutoInt, FiBiNet,AFN,ONN,DIN, DIEN ... (pytorch, tf2.0)

Jupyter Notebook

279

95 commits

updated May 9, 2025

See the code

README

CTR Algorithm

根据论文, 博客, 知乎等方式学习一些CTR相关的算法
理解原理并自己动手来实现一遍
pytorch & tf2.0
保持一颗学徒的心!

Schedule

Modelpytorchtensorflow2.0paper
LR:heavy_check_mark::heavy_check_mark:\
FM:heavy_check_mark::heavy_check_mark:Factorization Machines, 2010.
FFM:heavy_check_mark::heavy_check_mark:Field-aware Factorization Machines for CTR Prediction, 2015.
AFM:heavy_check_mark::heavy_check_mark:Attentional Factorization Machines: Learning the Weight of Feature Interactions via Attention Networks, 2017.
DeepFM:heavy_check_mark::heavy_check_mark:DeepFM: A Factorization-Machine based Neural Network for CTR Prediction, 2017.
PNN:heavy_check_mark::heavy_check_mark:Product-based Neural Networks for User Response Prediction, 2016.
XDeepFM:heavy_check_mark::heavy_check_mark:xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systems, 2018.
DCN:heavy_check_mark::heavy_check_mark:Deep & Cross Network for Ad Click Predictions, 2017.
AutoInt:heavy_check_mark::heavy_check_mark: AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networks, 2018.
DIN:heavy_check_mark::heavy_check_mark:Deep Interest Network for Click-Through Rate Prediction,2018
DIEN:heavy_check_mark::heavy_check_mark:Deep Interest Evolution Network for Click-Through Rate Prediction,2019
FiBiNET:heavy_check_mark::heavy_check_mark:FiBiNET: Combining Feature Importance and Bilinear feature Interaction for Click-Through Rate Prediction,2019
DCN-V2:heavy_check_mark::heavy_check_mark:Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems,2020
DIFM:heavy_check_mark::heavy_check_mark:A Dual Input-aware Factorization Machine for CTR Prediction,2020
AFN:heavy_check_mark::heavy_check_mark:Adaptive Factorization Network: Learning Adaptive-Order Feature Interactions,2020
ONN:heavy_check_mark::heavy_check_mark:Operation-aware Neural Networks for User Response Prediction,2019
deep-learning
pytorch
recommendation-system
tensorflow2

Contributors

Prayforhanluo

92 commits

szw0407

3 commits

Prayforhanluo/CTR_Algorithm

一些经典的CTR算法的复现; LR, FM, FFM, AFM, DeepFM, xDeepFM, PNN, DCN, DCNv2, DIFM, AutoInt, FiBiNet,AFN,ONN,DIN, DIEN ... (pytorch, tf2.0)

Jupyter Notebook

279

95 commits

updated May 9, 2025

See the code

README

CTR Algorithm

根据论文, 博客, 知乎等方式学习一些CTR相关的算法
理解原理并自己动手来实现一遍
pytorch & tf2.0
保持一颗学徒的心!

Schedule

Modelpytorchtensorflow2.0paper
LR:heavy_check_mark::heavy_check_mark:\
FM:heavy_check_mark::heavy_check_mark:Factorization Machines, 2010.
FFM:heavy_check_mark::heavy_check_mark:Field-aware Factorization Machines for CTR Prediction, 2015.
AFM:heavy_check_mark::heavy_check_mark:Attentional Factorization Machines: Learning the Weight of Feature Interactions via Attention Networks, 2017.
DeepFM:heavy_check_mark::heavy_check_mark:DeepFM: A Factorization-Machine based Neural Network for CTR Prediction, 2017.
PNN:heavy_check_mark::heavy_check_mark:Product-based Neural Networks for User Response Prediction, 2016.
XDeepFM:heavy_check_mark::heavy_check_mark:xDeepFM: Combining Explicit and Implicit Feature Interactions for Recommender Systems, 2018.
DCN:heavy_check_mark::heavy_check_mark:Deep & Cross Network for Ad Click Predictions, 2017.
AutoInt:heavy_check_mark::heavy_check_mark: AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networks, 2018.
DIN:heavy_check_mark::heavy_check_mark:Deep Interest Network for Click-Through Rate Prediction,2018
DIEN:heavy_check_mark::heavy_check_mark:Deep Interest Evolution Network for Click-Through Rate Prediction,2019
FiBiNET:heavy_check_mark::heavy_check_mark:FiBiNET: Combining Feature Importance and Bilinear feature Interaction for Click-Through Rate Prediction,2019
DCN-V2:heavy_check_mark::heavy_check_mark:Improved Deep & Cross Network and Practical Lessons for Web-scale Learning to Rank Systems,2020
DIFM:heavy_check_mark::heavy_check_mark:A Dual Input-aware Factorization Machine for CTR Prediction,2020
AFN:heavy_check_mark::heavy_check_mark:Adaptive Factorization Network: Learning Adaptive-Order Feature Interactions,2020
ONN:heavy_check_mark::heavy_check_mark:Operation-aware Neural Networks for User Response Prediction,2019
deep-learning
pytorch
recommendation-system
tensorflow2

Contributors

Prayforhanluo

92 commits

szw0407

3 commits

Languages

Jupyter Notebook

51.6%

Python

48.4%