Task-adaptive Neural Process for User Cold-Start Recommendation

Xixun Lin, Jia Wu, Chuan Zhou, Shirui Pan, Yanan Cao, Bin Wang

Introduction: The User Cold-Start Challenge

Recommender systems are backbone technologies for modern digital platforms, yet they face a persistent hurdle: the user cold-start problem. When a new user joins a platform, the system lacks the historical interaction data required to make accurate predictions. While meta-learning approaches like Model-Agnostic Meta-Learning (MAML) have attempted to address this by finding a "global" initialization that can be quickly adapted, they often fall short. These methods typically assume a degree of homogeneity among users that doesn't exist in reality; a fan of niche documentaries represents a fundamentally different "task" than a casual viewer of blockbuster action films.

Illustration of different user tasks with support and query sets.

Methodology: TaNP Framework

To overcome these limitations, researchers introduced TaNP (Task-adaptive Neural Process). TaNP reframes recommendation as a stochastic process, moving away from the instability of gradient-based optimization during inference.

1. Stochastic Process Modeling

TaNP adopts the Neural Process (NP) paradigm, which views each user's recommendation task as a realization of a stochastic process. The model learns to map a small "support set" of observed interactions directly to a predictive distribution for a "query set" of new items. This amortized inference approach is inherently more stable and faster than iterative gradient updates.

2. The Customization Module

The core innovation of TaNP is its ability to recognize and adapt to diverse user types. The architecture includes a Global Pool of latent cluster centroids that represent various user intentions or "task identities." For any given user, the model computes a task embedding and determines its relationship to these clusters via soft assignment.

The TaNP architecture, highlighting the customization module and adaptive decoder.

3. Adaptive Decoder with Gating-FiLM

Rather than employing a static decoder, TaNP uses the task embedding to dynamically modulate the decoder's layers. By utilizing FiLM (Feature-wise Linear Modulation) and an enhanced Gating-FiLM mechanism, the model can scale, shift, or even selectively ignore specific global features. This allows the network to tailor its logic to the specific nuances of a user's taste profile.

Experimental Setup and Results

The framework was rigorously tested on three real-world datasets: MovieLens-1M (explicit ratings), Last.FM (implicit music history), and Gowalla (location check-ins). To simulate cold-start conditions, the support sets were restricted to as few as 10 interactions.

TaNP consistently outperformed state-of-the-art baselines like MeLU, MAMO, and MetaHIN across all metrics:

  • Precision@5 Improvements: The model achieved gains of 4.2% on MovieLens-1M and 3.6% on Last.FM.
  • MAP@5 Gains: On the Gowalla dataset, TaNP delivered a 5.4% improvement in Mean Average Precision.
  • Robustness: Notably, TaNP maintained high performance and stability even when data was extremely scarce, whereas MAML-based models showed significant performance degradation.

Conclusion and Future Directions

TaNP demonstrates that treating users as distinct tasks and learning the relationships between them is key to solving the cold-start problem. By combining the stability of Neural Processes with a sophisticated task-adaptive mechanism, TaNP provides a scalable and robust framework for personalized recommendation. Future work may focus on optimizing the Global Pool's sensitivity to cluster counts and further refining the integration of user side-information.

Summary updated

BibTeX
@inproceedings{lin2021task,
  author = {Xixun Lin and Jia Wu and Chuan Zhou and Shirui Pan and Yanan Cao and Bin Wang},
  title = {{Task-adaptive Neural Process for User Cold-Start Recommendation}},
  booktitle = {The Web Conference},
  year = {2021},
  doi = {10.1145/3442381.3449908},
}
Figure