1 / 8

Stochastic Matrix Factorization

Stochastic Matrix Factorization. Max Welling. SMF. Last time: The SVD can do a matrix factorization of the user-item-rating matrix. Main question to answer: how do we ignore the majority of the entries that have no ratings?. Set of observed user-item pairs!!. Gradient Descent.

tod
Download Presentation

Stochastic Matrix Factorization

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Stochastic Matrix Factorization Max Welling

  2. SMF • Last time: The SVD can do a matrix factorization of the user-item-rating matrix. • Main question to answer: how do we ignore the majority of the entries that • have no ratings? Set of observed user-item pairs!!

  3. Gradient Descent Compute the direction of steepest descent and take small steps in that direction (show youtube demo)

  4. Steepest decent for SMF • Choose a single observed user-item pair (u,i). • Compute the following gradients: • Perform these updates: (for just this (u,i) pair).

  5. Stepsize • The stepsize needs to be tuned to be of the right size. • Too small: progress is too slow • Too large: the value for A,B will explode • You can measure you progress by monitoring C(A,B) as you keep updating. • C should go down on average. • Note that we don’t have to fill in values for the unobserved ratings! • Predictions for the unobserved rating are very simple:

  6. Regularization We keep A,B terms small so that we do not fit too much to the current data. If we fit too much we would overfit and that might not generalize well to new data. Extra terms

  7. Some Extra Bias Terms. New Cost:

  8. Homework Compute the derivatives: What are the new update rules?

More Related