Tutorial Overview
To check your installation, train DeepFM once with the Quick Start. The three tutorials below use datasets included in the repository. Open a notebook or terminal at the repository root so the example paths resolve correctly.
Tutorial List
- Rank candidate ads. Predict the probability of a click on a Criteo impression, then use AUC to see how well the model ranks clicked ads above unclicked ones. Ranking tutorial
- Retrieve candidate movies. Train DSSM on MovieLens, compute user and movie embeddings separately, and retrieve ten movies for one user. Retrieval tutorial
- Predict clicks and purchases together. Train MMOE or PLE with two Ali-CCP labels and inspect AUC for each task. The ESMM example also uses a label for impressions that led to both a click and a purchase. Multi-task tutorial
Model Tutorials
If you already know which model you want, open its tutorial to see which fields it needs.
Ranking Models
| Model | Summary | Link |
|---|---|---|
| DeepFM | FM + deep network for ranking | DeepFM |
| Wide&Deep | A linear layer and a deep network score each impression | Wide&Deep tutorial |
| DCN / DCNv2 | Explicit feature crossing | DCN |
| DIN | Target-aware attention over user history | DIN |
| DIEN | Interest evolution modeling | DIEN |
| BST | Transformer-based sequence ranking | BST |
Retrieval Models
| Model | Summary | Link |
|---|---|---|
| DSSM | Classic two-tower semantic matching | DSSM |
| YoutubeDNN | YouTube-style deep retrieval | YoutubeDNN |
| MIND | Multi-interest retrieval with capsules | MIND |
Multi-Task Models
| Model | Summary | Link |
|---|---|---|
| MMOE | Multi-gate mixture-of-experts | MMOE |
| PLE | Progressive layered extraction | PLE |
