SlideShare a Scribd company logo
Factorization
Machines
St. Petersburg Data Science Meetup, May, 29th, 2015
@facultyofwonder Rutarget/Segmento
credits: https://twitter.com/ejlbell/status/559772240544563201
Q: What, say, 3 recent papers in machine learning do you think will be influential to directing the cutting edge
of research these days?
Peter Norvig: I’ve never been able to pick lasting papers in the past, so don’t trust me now, but here are a few:
● Rendle’s “Factorization Machines”
● Wang et al. “Bayesian optimization in high dimensions via random embeddings”
● Dean et al. “Fast, Accurate Detection of 100,000 Object Classes on a Single Machine”
http://blog.teamleada.com/2014/08/ask-peter-norvig/
Criteo Dataset: http://labs.criteo.com/downloads/download-terabyte-click-logs/
Data
Lots of categorical features
Sparse settings
Pairwise interactions
Hashing trick?
Linear model
Polynomial features
independent interactions
Factorization
breaking the independence of
interaction parameters
Example
U = {Alice (A), Bob (B), Charlie (C), . . .}
I = {Titanic (TI), Notting Hill (NH), Star Wars
(SW), Star Trek (ST), . . .}
Example
{(A, TI, 2010-1, 5),(A, NH, 2010-2, 3),(A, SW,
2010-4, 1), (B, SW, 2009-5, 4),(B, ST, 2009-8,
5), (C, TI, 2009-9, 1),(C, SW, 2009-12, 5)}
Interaction between Alice and Star Trek to predict rating?
Zero interaction?
B-SW and C-SW are similar
A and C are different
ST and SW are similar
A-SW and A-ST are to be similar
Complexity
Number of parameters:
1 + p + k * p
Linear to the input size and the size of
factorization
Regularization
Many parameters, prone to overfitting
L2 regularization
LR+FM+SGD
Learning
Learning
bit.ly/pyfm_demo
Hyperparameters
Number of factors
Regularization
Learning rate
Initial weights
FFM:ideas
Features can be grouped into fields: users,
movies, context, SSPs, publishers, whatever
Better use this information
Factor vector per field
Summary
Factorized interactions
High sparsity is OK for parameters estimation
Papers,papers
bit.ly/factorization_machines_2010
bit.ly/libfm
bit.ly/field_aware_FM

More Related Content

PPTX
Neural Field aware Factorization Machine
PDF
Factorization Machines and Applications in Recommender Systems
PDF
Warsaw Data Science - Factorization Machines Introduction
PDF
Recommender Systems
PDF
Recommendation System Explained
PDF
TensorFlow 16: Multimodal Sentiment Analysis with TensorFlow
PDF
Generative adversarial networks
PDF
Steffen Rendle, Research Scientist, Google at MLconf SF
Neural Field aware Factorization Machine
Factorization Machines and Applications in Recommender Systems
Warsaw Data Science - Factorization Machines Introduction
Recommender Systems
Recommendation System Explained
TensorFlow 16: Multimodal Sentiment Analysis with TensorFlow
Generative adversarial networks
Steffen Rendle, Research Scientist, Google at MLconf SF

What's hot (20)

PPTX
Recommendation Engine Project Presentation
PDF
[2019] Class-based N-gram Models of Natural Language
PPTX
Deep learning with keras
PDF
Wasserstein GAN
PDF
Natural Language Processing (NLP) & Text Mining Tutorial Using NLTK | NLP Tra...
PPT
Social Recommender Systems Tutorial - WWW 2011
PDF
gpt3_presentation.pdf
PDF
Deep Learning for Recommender Systems
PPTX
Introduction to Machine Learning with TensorFlow
PDF
Recommender Systems
PDF
Deep Learning for Recommender Systems
PDF
Shallow and Deep Latent Models for Recommender System
PDF
Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...
PDF
MLflow Model Serving
PDF
Matrix Factorization In Recommender Systems
PDF
Sequential Decision Making in Recommendations
PPTX
Recommender system introduction
PDF
Recent Trends in Personalization at Netflix
PDF
Machine Learning for Everyone
PDF
그림 그리는 AI
Recommendation Engine Project Presentation
[2019] Class-based N-gram Models of Natural Language
Deep learning with keras
Wasserstein GAN
Natural Language Processing (NLP) & Text Mining Tutorial Using NLTK | NLP Tra...
Social Recommender Systems Tutorial - WWW 2011
gpt3_presentation.pdf
Deep Learning for Recommender Systems
Introduction to Machine Learning with TensorFlow
Recommender Systems
Deep Learning for Recommender Systems
Shallow and Deep Latent Models for Recommender System
Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...
MLflow Model Serving
Matrix Factorization In Recommender Systems
Sequential Decision Making in Recommendations
Recommender system introduction
Recent Trends in Personalization at Netflix
Machine Learning for Everyone
그림 그리는 AI
Ad

Viewers also liked (16)

PDF
آموزش محاسبات عددی - بخش دوم
PDF
Neighbor methods vs matrix factorization - case studies of real-life recommen...
PDF
Nonnegative Matrix Factorization
PPT
Matrix factorization
PPT
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
PPTX
Factorization Machines with libFM
PDF
Collaborative Filtering with Spark
PDF
Matrix Factorization Technique for Recommender Systems
PPTX
Recommender Systems
PDF
Introduction to Matrix Factorization Methods Collaborative Filtering
PDF
Beginners Guide to Non-Negative Matrix Factorization
PDF
Recommender Systems
PPT
Recommendation system
PPTX
Collaborative Filtering Recommendation System
PDF
Building a Recommendation Engine - An example of a product recommendation engine
PDF
Recommender system algorithm and architecture
آموزش محاسبات عددی - بخش دوم
Neighbor methods vs matrix factorization - case studies of real-life recommen...
Nonnegative Matrix Factorization
Matrix factorization
Lecture 6 lu factorization & determinants - section 2-5 2-7 3-1 and 3-2
Factorization Machines with libFM
Collaborative Filtering with Spark
Matrix Factorization Technique for Recommender Systems
Recommender Systems
Introduction to Matrix Factorization Methods Collaborative Filtering
Beginners Guide to Non-Negative Matrix Factorization
Recommender Systems
Recommendation system
Collaborative Filtering Recommendation System
Building a Recommendation Engine - An example of a product recommendation engine
Recommender system algorithm and architecture
Ad

Similar to Intro to Factorization Machines (7)

PPTX
Reading group nfm - 20170312
PDF
The Factorization Machines algorithm for building recommendation system - Paw...
PDF
Steffen Rendle, Research Scientist, Google at MLconf SF
PDF
And Then There Are Algorithms - Danilo Poccia - Codemotion Rome 2018
PDF
行列分解いろいろ
PPTX
Spring 2016 Intern at Treasure Data
PDF
Low-rank matrix approximations in Python by Christian Thurau PyData 2014
Reading group nfm - 20170312
The Factorization Machines algorithm for building recommendation system - Paw...
Steffen Rendle, Research Scientist, Google at MLconf SF
And Then There Are Algorithms - Danilo Poccia - Codemotion Rome 2018
行列分解いろいろ
Spring 2016 Intern at Treasure Data
Low-rank matrix approximations in Python by Christian Thurau PyData 2014

Recently uploaded (20)

PPTX
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Business Acumen Training GuidePresentation.pptx
PPT
Quality review (1)_presentation of this 21
PDF
.pdf is not working space design for the following data for the following dat...
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPTX
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
Supervised vs unsupervised machine learning algorithms
PDF
Foundation of Data Science unit number two notes
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPT
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
PDF
Lecture1 pattern recognition............
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
Database Infoormation System (DBIS).pptx
Business Acumen Training GuidePresentation.pptx
Quality review (1)_presentation of this 21
.pdf is not working space design for the following data for the following dat...
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Business Ppt On Nestle.pptx huunnnhhgfvu
IB Computer Science - Internal Assessment.pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Introduction to Firewall Analytics - Interfirewall and Transfirewall.pptx
climate analysis of Dhaka ,Banglades.pptx
IBA_Chapter_11_Slides_Final_Accessible.pptx
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
Miokarditis (Inflamasi pada Otot Jantung)
Supervised vs unsupervised machine learning algorithms
Foundation of Data Science unit number two notes
Data_Analytics_and_PowerBI_Presentation.pptx
Chapter 2 METAL FORMINGhhhhhhhjjjjmmmmmmmmm
Lecture1 pattern recognition............

Intro to Factorization Machines