Back to System Design Mind Map
中文·English
🏗️ System DesignID: deepfm-ranking-model

DeepFM Ranking Model

DeepFM 因子分解机精排模型
🎯Core Definition
DeepFM (Deep Factorization Machine, proposed by Huawei Noah's Ark Lab and CAS in 2017) is a landmark CTR ranking model that seamlessly integrates low-order explicit feature interactions with high-order deep non-linear representations; it features two parallel branches sharing identical embedding weights: 1) FM Component (Factorization Machine capturing 1st-order linear terms and 2nd-order dot-product interactions i<jvi,vjxixj\sum_{i<j} \langle v_i, v_j \rangle x_i x_j in O(kd)O(kd) linear time); 2) Deep Component (multi-layer feed-forward DNN learning high-order non-linear combinations); final CTR is given by y^=sigmoid(yFM+yDNN)\hat{y} = \text{sigmoid}(y_{\text{FM}} + y_{\text{DNN}}).
💡Use Cases
Industrial baseline for CTR prediction in e-commerce, search ads, and feed recommendation systems over sparse categorical features.
Key Problems Solved
Google's Wide & Deep required labor-intensive manual feature engineering for the 'Wide' component; DeepFM eliminates manual cross-feature engineering by jointly training explicit 2nd-order FM interactions with deep networks on shared embeddings end-to-end.
🎯5 High-Frequency Exam Points
1
Derive the mathematical proof reducing the FM 2nd-order interaction from O(d2)O(d^2) down to O(kd)O(kd) linear complexity?
2
Contrast DeepFM vs Wide & Deep vs FNN regarding embedding weight sharing and pre-training dependency?
3
How should continuous numerical features and high-cardinality categorical features be preprocessed and embedded differently in DeepFM?
4
Analyze DeepFM's log-loss optimization and GPU memory throughput optimization during high-concurrency online inference?
5
Trace the evolution from 2nd-order DeepFM to arbitrary-order explicit cross models like DCN and xDeepFM (Compressed Interaction Network)?
Updated 2026-08-14
🎯
Test Your Knowledge: Practice Questions for "DeepFM Ranking Model"
Single choice pitfall questions with instant feedback and mistake tracking.
🚀 Start Card Practice
Previous CardPre-Ranking Lightweight ArchitectureNext CardDCN-v2 Deep & Cross Network

🔗 More System Design Knowledge Cards

RecSys Multi-Stage Funnel & 50ms SLADSSM Two-Tower RetrievalYouTube DNN Candidate GenerationMMoE Multi-Gate Mixture-of-Experts