Introduction
Temporal set prediction is a critical task in recommendation systems, involving the prediction of a user's next "basket" of items—such as grocery purchases, medical prescriptions, or course selections—based on their historical sequences. Unlike standard sequential recommendation, which predicts a single item, this task handles sets of varying sizes where item order within a set is irrelevant, but the temporal order of sets is paramount.
While current research favors complex architectures like Recurrent Neural Networks (RNNs), Transformers, and Graph Neural Networks (GNNs), these models often introduce significant computational overhead and unnecessary non-linearities. For ID-based datasets lacking rich semantic features, complex non-linear activations can actually degrade performance. To address this, researchers have developed SFCNTSP (Simplified Fully Connected Networks for Temporal Sets Prediction), a streamlined model that leverages linear networks to achieve state-of-the-art accuracy with unprecedented efficiency.
Methods: The SFCNTSP Architecture
The core philosophy of SFCNTSP is that "simpler is better." The model replaces heavy non-linear machinery with single linear layers, referred to as Simplified Fully Connected Networks (SFCN).
The architecture is composed of four specialized modules:
- Inter-set Temporal Dependencies: Learns how a user's preferences evolve over time using an SFCN and a permutation-invariant function (e.g., average pooling) to maintain set-level consistency.
- Intra-set Element Relationships: Employs permutation-equivariant functions to capture co-occurrence patterns among items within the same basket.
- Intra-embedding Channel Correlations: A linear layer that models the relationships between different dimensions of item embeddings.
- User Representations Adaptive Fusing: Dynamically weights historical representations based on the candidate item being predicted, rather than using a static average.
By stacking these linear operations, the model remains mathematically shallow yet structurally expressive, respecting essential mathematical properties like permutation invariance and equivariance.
Key Results and Efficiency
SFCNTSP was evaluated against state-of-the-art models on four real-world benchmarks: JingDong, Dunnhumby-Carbo (DC), TaoBao, and Tags-Math-Sx (TMS).
The model consistently outperformed complex baselines like ETGNN and DSNTSP, often improving Recall and NDCG by over 5%. Beyond accuracy, the most striking results lie in the model's efficiency.
Key efficiency gains include:
- Space Complexity: A 33x to 79x reduction in memory footprint compared to leading baselines.
- Inference Speed: A 1.1x to 1.6x speedup in processing time.
- Inductive Performance: The model demonstrated robust generalization to new users, suggesting that its simplified architecture captures fundamental behavioral patterns rather than overfitting to specific user sequences.
Conclusion
SFCNTSP challenges the prevailing trend toward architectural complexity in temporal set prediction. By demonstrating that a purely linear backbone can outperform RNNs and GNNs in ID-based tasks, the authors highlight the "non-linearity trap" where complex activations can act as noise. While future work may explore more sophisticated interaction functions or the inclusion of semantic features, SFCNTSP currently stands as a highly efficient, high-performance solution for real-world recommendation scenarios.
Summary updated