Collaborative Filtering by Analyzing Dynamic User Interests Modeled by Taxonomy

Makoto Nakatsuji, Yasuhiro Fujiwara, Toshio Uchiyama, Hiroyuki Toda

Abstract

Collaborative filtering (CF) systems frequently encounter challenges related to data sparsity and the evolving nature of user preferences. This paper introduces a novel CF method that addresses these issues by segmenting transaction histories into discrete time periods, or epochs, and mapping items to a hierarchical taxonomy. By comparing the current interests of an active user against the historical interests of others across different timeframes, the proposed model identifies latent similarities that traditional time-decay models often overlook. Evaluations on real-world music and restaurant datasets show that this approach significantly improves recommendation accuracy.

Introduction

The effectiveness of Collaborative Filtering (CF) is often hampered by two primary factors: dynamic user interests and data sparsity. Users' tastes are not static; they shift over time, making recent actions more indicative of current preferences. However, traditional "time-decay" solutions, which prioritize recent data, often worsen the sparsity problem by effectively ignoring a user's older history. This paper proposes a strategy to capture shifting interests without discarding the valuable "long tail" of historical data.

Proposed Methodology

The researchers propose a dual-layered approach to recommendation:

Epoch-based Analysis

Instead of applying a continuous decay function, user histories are divided into discrete "epochs" (e.g., weekly windows). The system calculates similarity by comparing the current epoch of the active user against all historical epochs of other users. This allows the system to find relevant matches from the past that align with the user's current state.

Taxonomy Modeling

To combat sparsity, the model moves beyond specific item-to-item matching. Items are mapped to a hierarchical taxonomy of classes. For instance, while two users might not have listened to the same specific song, their shared preference for the "Avant-garde" or "Relax" genres can be identified through the taxonomy.

Illustration of the item taxonomy and user timelines across different epochs.

Mathematical Framework

The model utilizes a specific set of symbols to define transactions and class sets. By representing user history as vectors of items and classes within specific epochs, the system can apply a modified cosine similarity to measure overlap.

Definitions of mathematical symbols used in the proposed model.

Experimental Evaluation

The approach was tested on two distinct datasets:

  1. Music Listening History: Derived from Twitter (#nowlistening) and mapped to a taxonomy based on Last.fm tags.
  2. Restaurant Visiting History: Sourced from Tabelog, utilizing an expert-created taxonomy with up to five levels of hierarchy.

Key Results

The proposed method was compared against standard Cosine similarity, Time-decay models, and Latent Dirichlet Allocation (LDA).

  • Accuracy: The proposed method consistently achieved higher Average Precision (AP@k) across both datasets.
  • Stability: The taxonomy-based approach outperformed LDA, likely because human-defined classes are more stable over time than data-driven topics.
  • Sparsity Mitigation: Analysis showed that the "class" vector was essential; performance dropped significantly when the taxonomy was removed, confirming that item-matching alone is insufficient for sparse data.

Conclusion

This research demonstrates that "semantics are stable, while items are not." By leveraging hierarchical taxonomies and epoch-based analysis, recommendation engines can better understand the underlying meaning of user transactions. Future work may involve integrating this taxonomy approach with advanced machine learning models to further refine semantic recommendations.

Summary updated

BibTeX
@inproceedings{nakatsuji2012collaborative,
  author = {Makoto Nakatsuji and Yasuhiro Fujiwara and Toshio Uchiyama and Hiroyuki Toda},
  title = {{Collaborative Filtering by Analyzing Dynamic User Interests Modeled by Taxonomy}},
  booktitle = {ISWC},
  year = {2012},
  doi = {10.1007/978-3-642-35176-1\_23},
}
Figure