Skip to main content
QUICK REVIEW

[Paper Review] Modeling the Dynamics of User Preferences for Sequence-Aware Recommendation Using Hidden Markov Models

Farzad Eskandanian, Bamshad Mobasher|arXiv (Cornell University)|May 14, 2019
Recommender Systems and TechniquesComputer Science3 citations
TL;DR

This paper proposes a Hidden Markov Model (HMM)-based framework to detect change points in user interaction sequences, enabling sequence-aware recommendations that adapt to evolving user preferences. By segmenting user histories at detected change points and applying non-negative matrix factorization (NMF), the method improves recommendation accuracy over state-of-the-art models on Spotify and Last.fm datasets.

ABSTRACT

In a variety of online settings involving interaction with end-users it is critical for the systems to adapt to changes in user preferences. User preferences on items tend to change over time due to a variety of factors such as change in context, the task being performed, or other short-term or long-term external factors. Recommender systems need to be able to 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 which takes into account the dynamics of user preferences. We propose an approach based on Hidden Markov Models (HMM) to identify change-points 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 using a sequence-aware non-negative matrix factorization model. We empirically demonstrate the effectiveness of the HMM-based change detection method as compared to standard baseline methods. Additionally, we evaluate the performance of the proposed recommendation method and show that it compares favorably to state-of-the-art sequence-aware recommendation models.

Motivation & Objective

  • Address the challenge of modeling dynamically evolving user preferences in sequential recommendation systems.
  • Detect significant shifts in user behavior without relying on explicit contextual signals or prior knowledge of preference changes.
  • Improve recommendation accuracy by segmenting user interaction sequences at detected change points and applying sequence-aware modeling.
  • Demonstrate that change point detection via HMMs enhances performance in both change point prediction and downstream recommendation tasks.

Proposed method

  • Use a Hidden Markov Model (HMM) with 2 or 10 hidden states to model user interaction sequences and infer hidden states representing preference shifts.
  • Extend the Viterbi algorithm to detect the most likely sequence of hidden states, identifying change points in user behavior.
  • Segment user interaction sequences at detected change points to isolate distinct preference regimes for recommendation modeling.
  • Apply non-negative matrix factorization (NMF) to each segmented sequence to generate personalized recommendations based on current preference states.
  • Leverage HMM-estimated transition and emission probabilities to directly generate next-item recommendations without relying on external models.
  • Train and evaluate the framework on two real-world music streaming datasets: Spotify and Last.fm, using time-aware evaluation metrics.

Experimental results

Research questions

  • RQ1Can HMM-based change point detection effectively identify significant shifts in user preferences from sequential interaction data?
  • RQ2How does incorporating detected change points improve the accuracy of sequence-aware recommendations compared to non-segmented models?
  • RQ3To what extent does the proposed method outperform baseline models such as BPR, MC, PopRank, and GRU in terms of recommendation quality?
  • RQ4How robust is the HMM-based change detection method when applied to real-world user interaction sequences with no explicit contextual signals?

Key findings

  • The HMM-based change point detection method (HMCD-S2 and HMCD-S10) outperformed baseline methods in terms of displacement error, with lower average error in locating true change points.
  • On the Spotify dataset, the proposed SMF-S2 model outperformed all other methods except the Markov Chain (MC) baseline in recommendation performance.
  • On the Last.fm dataset, the SMF-S3 variant achieved the best performance among all sequential recommendation models, demonstrating strong generalization.
  • The BPR method showed strong performance due to its effectiveness with implicit feedback, while GRU underperformed due to long sequence lengths, which hindered its ability to capture long-term dependencies.
  • PopRank performed worst across both datasets, confirming that popularity-based ranking is insufficient when user preferences evolve over time.
  • The integration of HMM-based change detection with NMF significantly improved recommendation accuracy, validating the framework’s core hypothesis.

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.