DeepFM Click-Through and Binary Response Model
DeepFM predicts a yes/no response, such as a click, from many categorical fields. Every field value gets a learned embedding vector; a factorization machine models all pairwise interactions through dot products of the embeddings, and a feed-forward network on the same embeddings captures higher-order interactions. The two parts are added on the logit scale.
DeepFM은 사용자, 상품, 상황 같은 여러 범주형 필드로 클릭 같은 예·아니오 반응을 예측합니다. 필드 값마다 학습된 임베딩 벡터를 두고, 인수분해 기계가 임베딩의 내적으로 모든 두 필드 사이 상호작용을, 같은 임베딩을 입력으로 받는 신경망이 더 높은 차수의 상호작용을 모형화하며 두 부분을 로짓 척도에서 더합니다.
How well can sparse categorical attributes, and their interactions, predict whether a user responds?
희소한 범주형 속성과 그 상호작용으로 사용자의 반응 여부를 얼마나 잘 예측할 수 있을까요?
The model is trained on a stratified training split and evaluated on held-out rows by AUC and log loss. The same embeddings without the network (factorization machine only) and a one-hot logistic regression are fitted for comparison, so you can see whether the interaction layers add predictive value.
When to use DeepFM Click-Through and Binary Response Model
- The outcome is binary and the predictors are many high-cardinality categorical fields (user, item, context).
- Interactions between fields are expected to matter.
- You have thousands of rows or more.
When to use something else
- Few predictors and an interpretable model is needed: use Binary Logistic Regression
- You have explicit ratings rather than a binary response: use Collaborative Filtering Recommender (Matrix Factorization, Item-Based kNN)
- Predictors are mostly continuous: use Gradient Boosting
Assumptions and requirements
- Binary outcome coded 0/1
- Rows independent
- Enough rows per field level for the embeddings to be learned
What the analysis reports
- Held-out AUC and log loss
- Comparison with the factorization-machine part and logistic regression
- Field encoding summary
- ROC curve
How to report it
A DeepFM model ([value] fields, embedding size [value]) reached a held-out AUC of [value] (log loss [value]) on [value] rows, compared with [value] for the factorization machine alone and [value] for logistic regression.
Related methods
- Binary Logistic Regression
- Multi-Layer Perceptron (MLP)
- Collaborative Filtering Recommender (Matrix Factorization, Item-Based kNN)
- ROC Curve and AUC
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run DeepFM Click-Through and Binary Response Model on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 900 credits for one analysis up to 10,000 rows (complexity level 5); larger or wider data costs more. Optional methodologist review: 3600 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.