TL;DR
The authors introduce SRPFN (Sequential Recommendation Prior-data Fitted Network), the first sequential recommendation model pretrained entirely on synthetic data that can instantly predict next-item choices on real-world datasets without any retraining. By framing recommendation as a conditional inference problem and leveraging a small "support set" of local item transitions at test time, SRPFN matches or outperforms traditional models trained directly on the target data while running inference in under a minute.
What Problem Does This Paper Address?
Modern sequential recommendation models (like SASRec or GRU4Rec) are notoriously rigid. They rely on fixed, ID-based embedding tables tied to a specific item catalog and a specific dataset's interaction distribution. If you want to deploy a model to a new store, category, or domain, you typically have to retrain it from scratch. While some cross-domain approaches use text or visual modalities to bypass this, they require rich metadata that isn't always available.
The authors address this fundamental limitation by asking: Can we build a single, universal sequential recommender that generalizes to entirely new datasets in a single forward pass, without any gradient updates or fine-tuning?
Methods
SRPFN achieves "update-free inference" by combining Prior-data Fitted Networks (PFNs) with low-rank structural representations:
- Synthetic Prior Pretraining: Instead of training on real user data, SRPFN is pretrained offline on 25.6 million sequences generated from a purely mathematical prior. The authors use a hierarchical degree-corrected stochastic block model (hDCSBM) to generate synthetic item graphs that mimic real-world catalog properties (like categories, subcategories, and power-law popularity skews). Interaction sequences are then simulated via random walks with geometric lags over these graphs.
- ID-Free Low-Rank Inputs: To ensure the model doesn't lock into a specific vocabulary, real-world datasets are converted into low-rank representations. The authors apply truncated randomized SVD to Positive Pointwise Mutual Information (PPMI) transformations of the user-item interaction and item-item transition matrices.
- Contextual Encoder & Cross-Attention: As shown in the encoder architecture, the model processes consecutive item pairs using these low-rank collaborative and directional transition embeddings.
At inference time, the model uses a Multi-Head Cross-Attention mechanism to condition its predictions on a support set—a small sample of empirical item-to-item transitions from the target domain—acting as an instantaneous, amortized posterior update.
Datasets
The model's performance was evaluated using standard leave-one-out protocols on five diverse public benchmarks:
- Amazon Beauty, Sports, and Toys & Games
- Yelp (interactions after Jan 1, 2019)
- LastFM (music recommendation dataset with long sequences)
To test true zero-shot generalization to completely unseen domains, they also evaluated the model on four distinct Amazon categories not used anywhere else: Industrial & Scientific, Musical Instruments, Arts, Crafts & Sewing, and Office Products.
Key Insights and Ideas
- The Low-Rank Alignment "Aha" Moment: The authors discovered that deep sequential recommenders like SASRec primarily learn the underlying low-rank structure of item transition statistics. By comparing SVD-factorized transition matrices with trained SASRec embeddings using Centered Kernel Alignment (CKA), they found a remarkably high structural correlation. This justifies using simple spectral summaries as inputs instead of learning heavy ID embeddings from scratch.
- The Power of the Support Set: Conditioning on even a single transition example (
|D_support| = 1) nearly doubles the model's accuracy compared to relying purely on the user's sequence history. - Mitigating Popularity Bias: Because the synthetic prior exposes the model to a wide variety of popularity distributions during pretraining, SRPFN is exceptionally good at recommending "tail" (unpopular) items, outperforming baselines on tail items by up to 81.5%.
Key Results
- State-of-the-Art Performance without Training: SRPFN achieved the best or second-best performance across nearly all metrics against 10 baselines (including deep models trained directly on the target data). It yielded an average improvement of 7.53% over the second-best method.
- Massive Computational Speedups: Traditional models like FEARec take up to 15 hours to train on a target dataset. SRPFN bypasses training entirely, requiring only 14 seconds for preprocessing and 45 seconds for a single forward pass inference—clocking in at ~1 minute total per dataset.
- Strong Generalization: On the four completely unseen Amazon categories, SRPFN consistently achieved the highest HR@1 scores, easily beating other zero-shot text-based transfer models like UniSRec and RecFormer.
Limitations and Future Work
While highly effective, the authors note that their synthetic prior relies on random walks over static graphs. As a result, it currently fails to capture complex temporal dynamics such as time-decayed user preferences, distinct session boundaries, or periodic repeat-consumption patterns. A natural next step for future research is developing synthetic priors capable of generating richer, time-dependent sequential structures.
Summary updated