Skip to main content
QUICK REVIEW

[Paper Review] Detecting Changes in User Preferences using Hidden Markov Models for Sequential Recommendation Tasks

Farzad Eskandanian, Bamshad Mobasher|arXiv (Cornell University)|Sep 29, 2018
Recommender Systems and TechniquesComputer Science16 references10 citations
TL;DR

This paper proposes a Hidden Markov Model (HMM)-based framework for detecting change points in user interaction sequences to improve sequential recommendations. By identifying shifts in user preferences, the method enhances recommendation accuracy through segmented matrix factorization or direct HMM-based ranking, outperforming static models on a Spotify playlist dataset with HMMR achieving top NDCG and precision-recall scores.

ABSTRACT

Recommender systems help users find relevant items of interest based on the past preferences of those users. In many domains, however, the tastes and preferences of users change over time due to a variety of factors and recommender systems should capture these dynamics in user preferences in order to remain tuned to the most current interests of users. In this work we present a recommendation framework based on Hidden Markov Models (HMM) which takes into account the dynamics of user preferences. We propose a HMM-based approach to change point detection in the sequence of user interactions which reflect significant changes in preference according to the sequential behavior of all the users in the data. The proposed framework leverages the identified change points to generate recommendations in two ways. In one approach change points are used to create a sequence-aware non-negative matrix factorization model to generate recommendations that are aligned with the current tastes of user. In the second approach the HMM is used directly to generate recommendations taking into account the identified change points. These models are evaluated in terms of accuracy of change point detection and also the effectiveness of recommendations using a real music streaming dataset.

Motivation & Objective

  • To address the limitation of traditional recommender systems in capturing dynamic user preferences over time.
  • To detect significant shifts in user behavior—change points—within sequential interaction data without explicit contextual signals.
  • To improve recommendation accuracy by leveraging detected change points to tailor recommendations to current user tastes.
  • To evaluate both change point detection accuracy and recommendation effectiveness using real-world music streaming data.

Proposed method

  • Uses a Hidden Markov Model (HMM) to model user interaction sequences, where hidden states represent underlying preference states.
  • Applies an extended Viterbi algorithm to detect change points in user interaction sequences based on transitions between hidden states.
  • Segments user profiles at detected change points and feeds them into a non-negative matrix factorization (NMF) model for sequential recommendation.
  • Directly uses emission probabilities from the HMM to generate item recommendations, modeling item likelihoods across preference states.
  • Employs displacement error to evaluate change point detection accuracy, with ground truth derived from playlist boundaries in synthetic mixed sequences.
  • Uses Precision, Recall, and NDCG as evaluation metrics for recommendation effectiveness, with NDCG being time-aware to reflect temporal ranking.

Experimental results

Research questions

  • RQ1Can HMM-based change point detection effectively identify shifts in user preferences from sequential interaction data?
  • RQ2How does incorporating detected change points improve the accuracy of sequential recommendations compared to static models?
  • RQ3What is the impact of varying the number of hidden states in the HMM on change point detection accuracy?
  • RQ4How do the proposed HMM-based recommendation methods compare to baseline static and sequential models in terms of ranking performance?

Key findings

  • HMCD-S2 (HMM with 2 hidden states) and HMCD-S10 (10 hidden states) both outperformed baseline change point detection methods in terms of displacement error.
  • Increasing the number of hidden states in the HMM led to higher displacement error, likely due to the limited number and uniqueness of change points in the playlist-based data.
  • The HMMR model, which uses emission probabilities directly for recommendations, achieved the highest NDCG and precision-recall performance among all evaluated models.
  • SMF with 10 hidden states (segmented via HMM) outperformed other models, indicating that change point-aware segmentation improves recommendation accuracy.
  • Static models without dynamic preference modeling consistently underperformed, highlighting the importance of capturing preference evolution.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.