TOCCF: Time-Aware One-Class Collaborative Filtering

Xinchao Chen, Weike Pan, Zhong Ming

Introduction

In the modern landscape of recommendation systems, "One-Class Collaborative Filtering" (OCCF) has become the standard for handling implicit feedback. Unlike explicit rating systems (such as 1-5 star reviews), OCCF deals with binary interactions: a user bought a product, clicked a link, or watched a video. While we know what a user liked, we lack information on what they disliked—only what they haven't interacted with yet.

A significant limitation of traditional OCCF models is their "time-blindness." Most algorithms treat an interaction from several years ago with the same weight as one from yesterday. However, user preferences are dynamic and evolve over time. This paper introduces TOCCF (Time-Aware One-Class Collaborative Filtering), a framework that integrates temporal recency into similarity-based models to improve recommendation accuracy.

Methodology: Time-aware Similarity Learning

The authors build their approach on the Factored Item Similarity Model (FISM). FISM represents items as latent vectors (embeddings) to calculate similarities, allowing it to recommend items even when data is sparse. The core innovation of this research is the Time-aware Similarity Learning (TSL) model, which introduces a novel weighting scheme.

Temporal Weighting Logic

TSL operates on the principle that more recent interactions are more reliable indicators of a user's current interests. The model incorporates two primary components:

  1. Confidence Measurement: The system calculates a confidence score ($c_{ui}$) based on the inverse of the time elapsed since the interaction occurred.
  2. Pointwise Weighting: This score is used as a weight ($\omega_{ui}$) in the optimization function. During training, the model prioritizes minimizing error for recent high-confidence interactions over older, lower-confidence ones.
Temporal aggregation of user-item interactions across time slices $t_1$ to $t_\tau$.

As illustrated in the figure above, the model views user history not as a static block, but as a sequence of time-stamped events. By aggregating these slices with temporal weights, the model captures the decay of interest without the computational overhead of complex recurrent neural networks (RNNs).

Experimental Setup

To validate the TSL model, the authors utilized two massive industry-standard benchmarks:

  • MovieLens 10M (ML10M): ~10 million ratings from 71,000 users.
  • Netflix: ~100 million ratings from 480,000 users.

To simulate a one-class environment, only high ratings (4 or 5 stars) were treated as positive interactions. A crucial aspect of the evaluation was the use of a chronological split rather than a random one.

Chronological data partitioning (60% training, 20% validation, 20% testing) used for evaluation.

By splitting the data as shown in the diagram, the authors ensured the model was tested on its ability to predict future behavior based on past interactions, providing a realistic simulation of a production recommendation environment.

Key Results and Insights

The TSL model consistently outperformed state-of-the-art baselines, including Bayesian Personalized Ranking (BPR) and the original FISM.

  • Performance Gains: On the ML10M dataset, TSL achieved an NDCG@5 of 0.1442, a significant improvement over BPR (0.1305). On the Netflix dataset, it reached a Precision@5 of 0.0628, outperforming BPR's 0.0518.
  • Latent Factor Advantage: Unlike neighborhood-based methods that rely on direct item overlaps, TSL’s use of latent factors allows it to overcome data sparsity. It can infer that Item A is relevant to a user if it is similar to Item B in the embedding space, even if no direct co-occurrence exists in the user's history.
  • Efficiency: Despite the addition of temporal logic, the time complexity of TSL remains identical to FISM, making it highly scalable for large-scale industrial applications.

Conclusion

TOCCF demonstrates that simple temporal weighting can yield substantial improvements in recommendation quality for one-class data. By recognizing that "recency equals reliability," the TSL model provides a robust, efficient way to track evolving user preferences. Future research may explore more complex decay functions, such as exponential decay, or the integration of auxiliary metadata like item categories and social signals to further refine the time-aware similarity scores.

Summary updated

BibTeX
@inproceedings{chen2016toccf,
  author = {Xinchao Chen and Weike Pan and Zhong Ming},
  title = {{TOCCF: Time-Aware One-Class Collaborative Filtering}},
  booktitle = {UMAP (Extended Proceedings)},
  year = {2016},
}
Figure