Factorization Machines

A general-purpose supervised learning model that captures pairwise (and higher-order) feature interactions via factorized parameters, making it effective for high-dimensional sparse data such as CTR prediction.

Method

Predict from a linear term plus pairwise feature interactions parameterized by dot products of feature embedding vectors.

Applications

Click-through rate prediction, computational advertising, recommender systems with rich categorical features, any sparse supervised learning problem with interactions.

Advantages

Effective interaction modeling under sparsity; relatively simple.

Limitations

Primarily pairwise (higher-order is costlier); less flexible than deep models for complex patterns; feature engineering still important; scaling to very high dimensions needs care.

Alternatives

Deep CTR models (DeepFM, xDeepFM, DIN), gradient boosting, logistic regression with crossed features, Transformer-based

Editorial clarification

Field-aware factorization machines use field-dependent interaction embeddings and are a distinct extension.

Sources

Educational reference only, not professional advice.

All algorithms