TL;DR
Linear models for sequential recommendation are incredibly fast, but they are traditionally blind to when actions happened, treating a time gap of one day the same as one year. This paper introduces TALE (TemporAl LinEar item-item model), which injects actual timestamps into a linear framework using single-target augmentation, time-decay weighting, and localized trend normalization. The result is a model that matches or beats complex deep learning architectures in accuracy while training in mere seconds on a standard CPU.
What Problem Does This Paper Address?
Sequential recommendation (SR) systems predict what a user will interact with next by looking at their chronological history. Currently, state-of-the-art performance is dominated by deep neural networks (like Transformers and GNNs). However, these neural models are computationally heavy and suffer from slow training and inference times.
To solve this efficiency crisis, researchers previously introduced linear SR models. These models bypass complex neural layers using elegant, closed-form mathematical solutions to learn item-to-item transitions instantly. The catch? They only look at the order of items (e.g., Item A was bought before Item B), completely ignoring the actual time intervals between interactions.
As illustrated in the paper's introductory example, a user buying bath salts months ago vs. buying shaving gel yesterday represents a massive shift in immediate preference. Order-only models miss this nuance, leading to poorly timed recommendations.
Methods
TALE introduces temporal dynamics into linear item-item recommendation without sacrificing its closed-form mathematical efficiency. It achieves this through three core components:
- Single-Target Augmentation: Previous linear models used "multi-target augmentation," grouping multiple future items into a target matrix during training. The authors mathematically prove that this approach inadvertently biases the model toward long sequences and distorts temporal signals. TALE isolates the relationship by focusing strictly on a single next-item target.
- Time Interval-Aware Weighting: TALE applies an exponential decay function to items in the user's history based on the actual time elapsed before the target interaction. Crucially, it introduces a threshold parameter ($c$) to ensure that older, weaker collaborative signals are not entirely zeroed out, preserving long-term dependencies.
- Trend-Aware Normalization: Standard recommendation models suffer from popularity bias (over-recommending viral items). While traditional normalization fixes this using global item popularity across the entire dataset lifespan, it fails to account for shifting trends (like seasonal items or short-lived fads). TALE calculates item popularity within a moving window of $N$ days, dynamically adjusting to what is popular right now.
Datasets
The authors evaluated TALE across five distinct, well-established benchmark datasets:
- ML-1M: A dense movie review dataset featuring long user histories.
- Amazon Beauty, Toys, and Sports: Highly sparse product review datasets spanning a long 14-year period.
- Yelp: Business transaction and review records filtered down to a one-year window (2019–2020).
Key Insights and Ideas
- Simplification Unlocks Temporal Modeling: The mathematical breakdown of how multi-target training distorts linear models is a major "aha" moment. By simplifying the target matrix to a single item, the authors cleared the mathematical path to inject raw timestamps cleanly.
- Time Explains Category Drifts: The authors verified that as the time interval between interactions increases, the probability of a user switching item categories or genres increases significantly. Models that treat all time steps as uniform intervals are fundamentally misrepresenting user behavior.
- Fads vs. Steady Sellers: Global popularity normalization treats a short-term viral product the same as a multi-year steady seller if their total interaction counts match. Normalizing within local time windows prevents the model from recommending dead trends.
Key Results
- Superior Accuracy: TALE outperformed ten competing models—including advanced transformer-based architectures (SASRec, TiSASRec) and contrastive learning models (DuoRec)—achieving up to an 18.71% accuracy gain on sparse datasets.
- Flattening Popularity Bias: TALE showed remarkable strength on long-tail items, yielding up to a 30.45% performance boost for unpopular items compared to standard linear baselines.
- Extreme Speedups: Thanks to its closed-form optimization, TALE trained 6.9x to 57x faster than efficient neural baselines like LinRec. While neural models required powerful GPUs and hours of training, TALE completed its training in seconds entirely on a CPU.
Limitations and Future Work
While TALE dominates on sparse datasets, the authors note that on highly dense datasets with exceptionally long user histories (like ML-1M), complex neural models still hold a slight edge in certain metrics. This suggests that linear models can still struggle to capture highly complex, non-linear sequence interactions when data is abundant.
For future work, the authors plan to explore more advanced temporal data augmentation strategies and conduct deeper statistical analyses of item consumption patterns to engineer even more precise popularity normalization functions.
Summary updated