Notes

RMSE (RecSys)

If a model guesses you would rate a film 4.2 and you rated it 5, it was off by 0.8. Root mean squared error is what you get from doing that arithmetic across every held-out rating, with the big misses kept deliberately prominent.

The computation
For every user-item pair in the test set with a known rating, take the difference between prediction and truth, square it, average over all pairs, then take the square root. The squaring is the whole character of the metric: an error of 2 contributes four times what two errors of 1 do, so RMSE punishes confident wrong predictions harder than MAE, which weights every miss equally. The square root returns the number to rating units — an RMSE of 0.9 on MovieLens's five-star scale means typical predictions land within about a star.

What it is good for, and what it hides

  • It is the natural objective for rating prediction, and the metric the Netflix Prize was scored on, which is why matrix-factorisation work of that era reports it.
  • It is defined only where a rating exists, so it says nothing about the overwhelmingly empty rest of the matrix — exactly the part a deployed recommender must rank.
  • It is rank-blind. Shaving error on items a user would never see improves RMSE without changing the top of any list.

Why it fell out of favour
Recommendation is served as a ranked short list over implicit feedback, where there are no ratings to be wrong about. Models tuned for RMSE lose to ranking-trained models like BPR on top-k metrics, so RMSE survives as a diagnostic for explicit-rating models rather than as the headline number.

RMSE (root mean squared error) scores a rating-prediction model: square the gap between predicted and actual rating over every held-out pair, average, take the square root. Squaring penalises large misses more heavily than MAE does, and the root restores rating units. It matters as the classic explicit-feedback accuracy measure — the Netflix Prize metric — but it is rank-blind and undefined on unobserved pairs, so top-k ranking metrics replaced it for deployed recommenders.

Suppose a friend guesses how much you will like ten films, out of five stars. Afterwards you compare their guesses with your real scores. RMSE is one way of turning all those gaps into a single number, and it deliberately counts one wild miss as worse than several near-misses.

A smaller number means the guesses sat closer to the truth. It was the headline score in the famous Netflix competition. These days it matters less, because real systems never announce "we predict four stars" — they just hand you a short list, and what counts is whether the right things made it onto the list at all.