Zero-Shot Recommender Systems

Hao Ding, Anoop Deoras, Bernie Wang, Hao Wang

TL;DR

Recommender systems traditionally rely on vast interaction histories, creating a steep cold-start barrier for early-stage platforms. ZESREC introduces a deep generative framework for true zero-shot recommendation—transferring behavioral patterns across domains where there is zero overlap between users and items. By projecting natural language item descriptions into a universal continuous ID space and stripping domain-specific bias, ZESREC delivers recommendations on unseen catalogs that rival models trained on in-domain data.

What Problem Does This Paper Address?

Traditional collaborative filtering faces a brutal chicken-and-egg dilemma: platforms need user interaction data to deliver compelling recommendations, but they need compelling recommendations to attract users and generate data.

While typical cross-domain recommender systems exist, they almost always require overlapping users (the same user browsing two services) or overlapping items (the same catalog sold on multiple storefronts). The authors tackle true zero-shot recommendation, defined by four strict constraints:

  1. Cold Users: Zero overlapping users between training and testing.
  2. Cold Items: Zero overlapping items between training and testing.
  3. Domain Gap: The training (source) and deployment (target) domains are distinct (e.g., grocery vs. pantry, or general news vs. finance).
  4. No Target Data Access: The target catalog and user sessions are encountered strictly online during inference, with zero fine-tuning on the target domain.

Methods

ZESREC combines three core architectural pillars:

Item Text Description (x_j) ──> Pretrained BERT + 1-Layer NN (Item UEN) ──> Universal Embedding (m_j)
                                                                                  │
Source Training: Latent Item Vector v_j = m_j + Latent Offset ε_j  <──────────────┘
                                          (Domain-Specific Bias)
                                                   │
User History [v_1, ..., v_{t-1}] ──> Sequential Model (GRU/TCN/HRNN User UEN) ──> User Vector u_{it}
                                                   │
Target Inference: Strip Offsets (ε_j = 0, ξ_{it} = 0) ──> Universal Dot-Product Scoring
  • Continuous Universal Item Identifiers: Instead of assigning discrete categorical IDs (which cannot generalize beyond the training catalog), the model maps text descriptions $x_j$ into continuous embeddings $m_j$ using a frozen BERT encoder followed by an adaptation layer (Item UEN).
  • Sequential Behavioral Modeling: A sequence model (tested with GRU4Rec, TCN, and HRNN backbones as the User UEN) aggregates prior item embeddings in a session to represent dynamic user intent ($n_{it}$).
  • Probabilistic Domain Debiasing: To prevent the model from overfitting to source-domain quirks, the generative process introduces latent offset vectors for items ($\epsilon_j \sim \mathcal{N}(0, \lambda_v^{-1}\mathbf{I})$) and users ($\xi_{it} \sim \mathcal{N}(0, \lambda_u^{-1}\mathbf{I})$). These offsets soak up domain-specific variations during source training. During target inference, the offsets are removed ($\epsilon_j = 0, \xi_{it} = 0$), projecting representations back into the domain-agnostic universal prior space.
  • Inference Schemes: In addition to Maximum A Posteriori (MAP) estimation, the authors derive a full Bayesian treatment using variational inference networks (VAE-style ELBO formulation).

Datasets

The authors evaluated zero-shot transfer across three source $\to$ target dataset pairs, using strict temporal cutoffs to eliminate future data leakage:

  • Amazon: Grocery and Gourmet Food (2.3M interactions, 213K items) $\to$ Prime Pantry (300K interactions, 10K items).
  • MIND (News):
  • News (434K interactions, 4.3K items) $\to$ Finance (175K interactions, 1.1K items).
  • Lifestyle (155K interactions, 0.8K items) $\to$ Finance.

Key Insights and Ideas

  • Universal IDs Bridge the Catalog Chasm: Mapping generic textual metadata into continuous embeddings allows the sequential model to learn abstract behavioral trajectories (e.g., "users who browse sugary snacks followed by tea often explore herbal tea") rather than item-specific co-occurrences.
  • Additive Offsets Act as Domain Filters: Learning source item representations as $v_j = m_j + \epsilon_j$ explicitly decouples universal semantic information ($m_j$) from platform-specific preference bias ($\epsilon_j$). Discarding $\epsilon_j$ at inference effectively debiases the zero-shot predictor.
  • Bootstrapping Without Training: In early deployment phases, zero-shot inference consistently outperforms standard recommenders trained on sparse local interactions, effectively solving the initial cold-start hurdle.

Key Results

  • Substantial Gains Over Zero-Shot Baselines: ZESREC significantly outperformed baseline zero-shot approaches (random selection and an embedding-based K-Nearest Neighbors heuristic). On MIND Lifestyle $\to$ Finance, ZESREC-G achieved Recall@20 of 0.122 and NDCG@20 of 0.037, compared to Embedding-KNN's Recall@20 of 0.057 and NDCG@20 of 0.022.
  • Competitive with Target-Trained "Oracle" Models: On the same MIND transfer task, zero-shot ZESREC-G (Recall@20 = 0.122) actually outperformed target-trained metadata baselines such as GRU4Rec-Meta (Recall@20 = 0.111) and approached fully supervised target-trained models (GRU4Rec Oracle Recall@20 = 0.135).
  • Incremental Training Threshold: On Amazon Prime Pantry, in-domain models trained from scratch on up to 10,000 target interactions still could not surpass the zero-shot ZESREC model, demonstrating the immense value of zero-shot priors for early-stage platforms.
  • Bayesian Treatment Adds Polish: The full variational Bayesian treatment slightly improved upon MAP inference across all metrics (e.g., boosting Recall@20 from 0.079 to 0.082 on MIND News $\to$ Finance).

Limitations and Future Work

  • Dependency on High-Quality Metadata: The framework relies on expressive item metadata (natural language descriptions); performance will degrade if item descriptions are sparse, noisy, or uninformative.
  • Session History Requirement: Sequential models require at least one prior interaction in a session as context to compute user states (though the authors introduce a dummy item trick for completely empty histories).
  • Eventual Crossover Point: As a platform scales beyond ~10,000 target-domain interactions, in-domain models inevitably overtake zero-shot models.
  • Multimodal Expansion: The current implementation focuses exclusively on natural language text via BERT; adapting continuous universal identifiers to images and video embeddings remains an open direction.

Summary updated

BibTeX
@inproceedings{ding2022zero,
  author = {HAO DING and Anoop Deoras and Bernie Wang and Hao Wang},
  title = {{Zero-Shot Recommender Systems}},
  booktitle = {DGM4HSD @ ICLR},
  year = {2022},
  url = {https://openreview.net/forum?id=ruWeThEOwb9},
}
Figure