Collaborative filtering with short term preferences mining

Diyi Yang, Tianqi Chen, Weinan Zhang, Yong Yu

Introduction

Traditional recommendation systems excel at identifying long-term user preferences. By analyzing years of historical data, collaborative filtering (CF) algorithms like Singular Value Decomposition (SVD) can accurately predict a user's general affinity for genres or artists. However, these models often fail to capture the "here and now." Human interests are inherently volatile; a sudden change in mood, a social gathering, or a specific situational context can trigger a temporary shift in behavior that deviates from a decade-long profile.

This paper addresses the challenge of mining these fleeting, short-term preferences without losing the robust long-term profile. The authors propose a method to integrate recent implicit feedback—user actions within very narrow time windows—into the classic SVD++ framework to significantly improve recommendation accuracy.

Methodology

The proposed model builds upon SVD++, a matrix factorization approach that leverages both explicit ratings and implicit feedback (the history of items a user has interacted with). The core innovation lies in bifurcating the implicit feedback into two distinct components:

  1. Global Implicit Feedback: This encompasses the user's entire interaction history, representing stable, long-term interests.
  2. Short-Term Implicit Feedback: This captures actions taken within a specific, localized time interval $t$ (e.g., the last hour or minute).

Mathematically, the authors introduce a new term to the prediction equation that aggregates "item-relevant vectors" ($\xi_j$) specifically for items interacted with during the defined short-term window. Unlike complex temporal models that require unique parameters for every time step, this approach maintains efficiency by simply filtering the existing feedback stream based on time granularity.

Experimental Setup

The researchers evaluated the model using the Yahoo! Music Track 1 dataset from the KDDCup 2011. This massive benchmark includes 250 million ratings from 1 million users across 0.6 million items (songs, albums, artists, and genres). Crucially, every interaction is timestamped, allowing the team to test various "short-term" window definitions.

Key Results and Discussion

The performance was measured using Root Mean Square Error (RMSE), where lower values indicate higher predictive accuracy. The experiments compared the global baseline (GSVDP) against versions of the model utilizing different time granularities: weekly, daily, hourly, and minute-level (referred to as the "Clock" model).

Average RMSE across different time granularities.

As shown in the results, the "Clock" model achieved the most significant improvement. This suggests a "Latest Activity" power law: a user's most recent actions are the most potent predictors of their immediate next move. As the time window widens, the model's sensitivity to current preferences diminishes, leading to higher error rates.

Furthermore, the improvement was not limited to specific item types. When the data was segmented into categories—Artist, Album, Genre, and Track—the short-term model consistently outperformed the global baseline across every category.

RMSE comparison between the global baseline (GSVDP) and the short-term model (Clock.GSVDP) across data categories.

By maintaining the global history term alongside the short-term term, the hybrid model successfully preserves the user's long-term identity while remaining highly responsive to their current state.

Conclusion and Future Work

The study demonstrates that mining information at the finest possible time granularity yields the most accurate capture of current interests. While the results are promising, several avenues for future research remain. The computational overhead of processing minute-by-minute windows in real-time production environments needs further optimization. Additionally, future iterations could explore automated window selection—learning the optimal "short-term" duration dynamically for different users—and investigate strategies to mitigate the cold-start problem for users with no recent activity history.

Summary updated

BibTeX
@inproceedings{yang2012collaborative,
  author = {Diyi Yang and Tianqi Chen and Weinan Zhang and Yong Yu},
  title = {{Collaborative filtering with short term preferences mining}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2012},
  doi = {10.1145/2348283.2348460},
}
Figure