<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://recsyswiki.com/index.php?action=history&amp;feed=atom&amp;title=Summary_of_Matrix_Factorization_Tricks</id>
	<title>Summary of Matrix Factorization Tricks - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://recsyswiki.com/index.php?action=history&amp;feed=atom&amp;title=Summary_of_Matrix_Factorization_Tricks"/>
	<link rel="alternate" type="text/html" href="https://recsyswiki.com/index.php?title=Summary_of_Matrix_Factorization_Tricks&amp;action=history"/>
	<updated>2026-05-14T15:55:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://recsyswiki.com/index.php?title=Summary_of_Matrix_Factorization_Tricks&amp;diff=913&amp;oldid=prev</id>
		<title>Tqchen at 03:17, 1 October 2011</title>
		<link rel="alternate" type="text/html" href="https://recsyswiki.com/index.php?title=Summary_of_Matrix_Factorization_Tricks&amp;diff=913&amp;oldid=prev"/>
		<updated>2011-10-01T03:17:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:17, 1 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l25&quot; &gt;Line 25:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 25:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Pairwise Rank Model==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Pairwise Rank Model==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It's not hard to convert a rate prediction predictor to pairwise rank model. We only need to follow two steps: (1) choose a predictor &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; (2) choose a loss function for binary classification( either logistic loss or hinge-loss ) (3) train a classification predictor for pairwise order prediction, using predictor &amp;lt;math&amp;gt;y_{ui}-y_{uj}&amp;lt;/math&amp;gt; when we compare  &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; to  &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; for user  &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;. This idea is also referred as [[Bayesian Personalized Ranking]].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It's not hard to convert a rate prediction predictor to pairwise rank model. We only need to follow two steps: (1) choose a predictor &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; (2) choose a loss function for binary classification( either logistic loss or hinge-loss ) (3) train a classification predictor for pairwise order prediction, using predictor &amp;lt;math&amp;gt;y_{ui}-y_{uj}&amp;lt;/math&amp;gt; when we compare  &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; to  &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; for user  &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;. This idea is also referred as [[Bayesian Personalized Ranking]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Method]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tqchen</name></author>
		
	</entry>
	<entry>
		<id>https://recsyswiki.com/index.php?title=Summary_of_Matrix_Factorization_Tricks&amp;diff=912&amp;oldid=prev</id>
		<title>Tqchen: try to summarize the tricks for MF</title>
		<link rel="alternate" type="text/html" href="https://recsyswiki.com/index.php?title=Summary_of_Matrix_Factorization_Tricks&amp;diff=912&amp;oldid=prev"/>
		<updated>2011-10-01T03:16:31Z</updated>

		<summary type="html">&lt;p&gt;try to summarize the tricks for MF&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page tries to list the tricks and components used in matrix factorization for collaborative filtering.&lt;br /&gt;
There are many kinds of variants for matrix factorization, and in general they can be divided into three kinds:&lt;br /&gt;
* Different variant predictor, how to use existing information to do prediction&lt;br /&gt;
* Different variant loss functions, whether to use square-loss, log-loss or max-margin loss&lt;br /&gt;
* To do rate prediction or rank prediction&lt;br /&gt;
== Predictor == &lt;br /&gt;
Predictor refers to the way we give the prediction given input information. Basic predictor for matrix factorization is given by &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;y_{ui} = \mu + b_u+b_i+p_u^T q_i&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List of predictor variants(try to add more):&lt;br /&gt;
* [[SVD++]]&lt;br /&gt;
* [[Yehuda Koren]]: Factorization meets the neighborhood: a multifaceted collaborative filtering model, KDD 2008, http://portal.acm.org/citation.cfm?id=1401890.1401944&lt;br /&gt;
* [[Yehuda Koren]]: Collaborative Filtering with Temporal Dynamics, KDD 2009, http://research.yahoo.com/files/kdd-fp074-koren.pdf&lt;br /&gt;
* [[Feature-based matrix factorization]]&lt;br /&gt;
&lt;br /&gt;
== Loss Function == &lt;br /&gt;
Loss function specifies how we train our model. It's more or less independent with the predictor.&lt;br /&gt;
&lt;br /&gt;
List of loss functions:&lt;br /&gt;
* Square-loss: most commonly used in collaborative filtering task for rate prediction&lt;br /&gt;
* Logistic log-likelihood loss: used for sigmoid matrix factorization, sometimes performs better than square-loss&lt;br /&gt;
* Hinge-loss( smoothed hinge loss ): used for maximum margin matrix factorization. http://portal.acm.org/citation.cfm?id=1102441&lt;br /&gt;
&lt;br /&gt;
== Pairwise Rank Model==&lt;br /&gt;
It's not hard to convert a rate prediction predictor to pairwise rank model. We only need to follow two steps: (1) choose a predictor &amp;lt;math&amp;gt;y&amp;lt;/math&amp;gt; (2) choose a loss function for binary classification( either logistic loss or hinge-loss ) (3) train a classification predictor for pairwise order prediction, using predictor &amp;lt;math&amp;gt;y_{ui}-y_{uj}&amp;lt;/math&amp;gt; when we compare  &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; to  &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; for user  &amp;lt;math&amp;gt;u&amp;lt;/math&amp;gt;. This idea is also referred as [[Bayesian Personalized Ranking]].&lt;/div&gt;</summary>
		<author><name>Tqchen</name></author>
		
	</entry>
</feed>