TL;DR
TFPS (Temporal Filtration-enhanced Positive Sample Set) shifts the focus of recommendation model optimization from complex negative sampling to data-centric positive sample enhancement. By applying temporal filtration and strategically duplicating recent interactions, it explicitly guides collaborative filtering models to capture evolving user preferences. This simple, model-agnostic pre-processing step significantly boosts recommendation accuracy and accelerates training convergence.
What Problem Does This Paper Address?
Implicit collaborative filtering (CF) relies on user behaviors like clicks, views, or purchases to make recommendations. Because these datasets lack explicit negative signals (such as a 1-star rating), models use negative sampling strategies to contrast items a user interacted with (positive samples) against items they ignored (negative samples).
While substantial research has focused on engineering better negative samples, the positive sample set is typically left untouched. Crucially, standard methods treat all historical positive interactions equally, ignoring the fact that user preferences drift over time (e.g., seasonal shifts or changing hobbies). If a model evaluates a three-year-old purchase with the same weight as an item clicked yesterday, it fails to capture the user's current intent.
As demonstrated in the paper's introductory experiments, standard CF models suffer massive performance drops when evaluated on realistic, time-split datasets compared to random splits, underscoring their inability to handle preference drift.
Methods
The authors propose TFPS, a data-centric framework that restructures the positive sample set before training begins. The pipeline consists of three main stages:
- Time Decay Weighting: The original user-item interaction graph is transformed into a weighted bipartite graph. Edges are assigned weights using an exponential decay function based on the time interval between that specific interaction and the user's most recent activity.
- Graph Filtration: To discretize these continuous weights, the framework applies graph filtration. It divides the $[0, 1]$ weight range into $n$ equal intervals, slicing the graph into a hierarchy of non-overlapping, layered subgraphs. Higher layers correspond to more recent, higher-weight interactions.
- Layer Enhancement (Data Duplication): Instead of continuously adjusting loss weights—which can inadvertently shrink the gradients of older interactions to zero—TFPS uses a linear data duplication strategy. An interaction belonging to the $i$-th layered subgraph is duplicated $i$ times within the final Positive Sample Set ($PSS$).
The augmented $PSS$ is then used to train standard CF recommenders using Bayesian Personalized Ranking (BPR) loss.
Datasets
The authors evaluated TFPS on three widely used real-world datasets:
- Ta-Feng: A grocery purchase dataset from a Taiwanese supermarket.
- LastFM: Music listening records and associated user tags.
- AmazonCDs: User reviews and metadata for CD products on Amazon.
To simulate real-world deployment, the datasets were split using a strict timestamp-based partition: the earliest 80% of interactions formed the training set, while the remaining 20% were used for validation and testing.
Key Insights and Ideas
- Data Duplication > Loss Reweighting: Continuous loss reweighting often penalizes older interactions so severely that their gradients vanish, erasing useful long-term preference signals. TFPS's discrete duplication ensures recent items dominate the learning signal while still preserving historical context.
- The Margin Amplification Effect: The authors mathematically prove that duplicating a positive sample amplifies its expected pairwise margin improvement per epoch. This directly pushes current positive items higher up the ranked recommendation list, explaining the empirical boosts in Recall and NDCG.
- Pre-computation Efficiency: Because TFPS modifies the data layer rather than the model architecture, it only needs to be executed once before training. It operates with a linear time complexity of $O(|E|)$, making it highly scalable.
Key Results
- State-of-the-Art Accuracy: TFPS consistently outperformed both negative-sampling baselines (e.g., MixGCF, DENS) and positive-denoising baselines (e.g., PLD, DCF) across all datasets. For instance, on the LastFM dataset, TFPS achieved a Recall@20 of 0.2153, vastly outperforming the baseline LightGCN model (0.0649).
- Rapid Convergence: Because it avoids expensive, iterative positive set reconstruction during the training loop, TFPS converges significantly faster than dynamic denoising methods.
- Universal Compatibility: TFPS proved highly adaptable, delivering substantial performance gains when paired with different backbones (such as Matrix Factorization and LightGCN) and various negative sampling strategies.
Limitations and Future Work
- Diminishing Returns with Hard Samplers: When integrated with advanced negative samplers that select negative items based on similarity to positive items (like AHNS), the performance gains were slightly muted. Concentrating the positive sample distribution reduces the diversity of the generated negative samples.
- Incompatibility with Sequential Architectures: TFPS underperforms when directly combined with sequence-based temporal models (like STAM). The redundant, temporally concentrated positives disrupt position-based sequential encodings, leading to noisier adjacency matrices. Resolving this friction between data-level and model-level temporal modeling remains an open area for future research.
Summary updated