NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Reformulating Sequential Recommendation: Learning Dynamic User Interest with Content-enriched Language Modeling

Junzhe Jiang, Shang Qu, Mingyue Cheng, Qi Liu, Zhiding Liu, Hao Zhang, Rujiao Zhang, Kai Zhang, Rui Li, Jiatong Li, Min Gao

TL;DR

This paper introduces LANCER, a novel approach to sequential recommendation that leverages pre-trained language models (PLMs) to understand item content and user behavior more deeply. By reformulating recommendation as a text generation task and incorporating "knowledge prompts" and "reasoning prompts," LANCER aims to provide more human-like and accurate recommendations than existing methods.

What Problem Does This Paper Address?

Traditional recommender systems, especially those focusing on sequential user behavior, often struggle to capture the full context of items. They might treat items as mere IDs or rely on limited attributes, missing out on rich textual information like synopses or genres. This lack of deep content understanding limits their ability to infer user preferences accurately, especially when dealing with nuanced interests or when items have complex relationships. While recent advancements have integrated PLMs, they often still rely on traditional sequential modeling techniques, failing to fully exploit the semantic understanding capabilities of these powerful language models. The core challenge is bridging the gap between the vast world knowledge embedded in PLMs and the specific domain knowledge required for effective sequential recommendation.

Methods

LANCER tackles this challenge by treating sequential recommendation as a text generation problem. The core of their approach involves:

  • Knowledge Prompts: To imbue the PLM with domain-specific knowledge without retraining the entire model, LANCER uses "knowledge prompts." These are continuous, learnable embeddings that are prepended to the input sequence. They help the PLM understand item content (like movie titles, genres, and synopses) by leveraging its existing semantic understanding capabilities.
  • Reasoning Prompts: To integrate user behavior with the acquired domain knowledge, LANCER employs "reasoning prompts." These prompts use an attention mechanism where user interaction history acts as the query and domain-related information (from the knowledge prompt) acts as the key and value. This allows the model to generate a personalized representation that guides the recommendation process.
  • Text Generation: The model then uses these enriched prompts to generate text, which is subsequently mapped back to candidate items for recommendation. This text generation formulation allows the PLM to naturally capture sequential dependencies and generate more contextually relevant suggestions.
  • Item Mapping: After generating a predicted item representation, a cosine similarity is used to map this representation to the most similar item in the database.

Datasets

The authors evaluated LANCER on three publicly available datasets:

  • MovieLens: A dataset for movie recommendations.
  • MIND: A dataset for English news recommendations.
  • Goodreads: A dataset for book reviews.

These datasets were preprocessed to ensure chronological order and sequences of 5-10 items.

Key Insights and Ideas

  • Reformulating Recommendation as Text Generation: This is a significant shift from traditional methods. By framing recommendation as a task the PLM is already good at (generating text), the model can leverage its inherent strengths more effectively.
  • Bridging the PLM-Recommender System Gap: LANCER's prompts are designed to act as bridges, allowing PLMs to access and utilize domain-specific knowledge and user behavior without requiring full fine-tuning, which can be computationally expensive and prone to catastrophic forgetting.
  • Content is King (with Context): The paper strongly emphasizes that richer item content (synopses, genres) combined with sequential user behavior leads to better recommendations, as it provides a more comprehensive understanding of user preferences.
  • Generative Models Excel at Early Predictions: The observation that LANCER performs better on R@5 than R@10 metrics suggests that while generative models are good at making initial, highly relevant predictions, the quality of subsequent predictions might degrade as the generation sequence lengthens.

Key Results

LANCER demonstrated strong performance across all three datasets, outperforming several state-of-the-art baselines in terms of Recall and NDCG. While specific percentage improvements are not highlighted in the summary, the paper states that LANCER achieved "promising results" and outperformed existing methods. The authors also provide a case study showing that LANCER can generate recommendations that align well with user preferences, even producing realistic movie titles when the exact target item isn't predicted.

Limitations and Future Work

  • Limited Item Information: For datasets like MovieLens, the authors note that movie titles alone might not provide enough information, suggesting that further integration of details like director, actors, or more detailed synopses could further enhance reasoning and recommendations.
  • Generative Model Degradation: The observation about R@5 vs. R@10 suggests that future work could focus on improving the long-term generation quality of sequential recommendation models.
  • Dataset Specificity: While LANCER performs well, the authors acknowledge that the effectiveness of leveraging extensive knowledge from pre-trained models might be more pronounced on smaller datasets where the model can more easily "unleash its full potential." Future work could explore how to adapt this for even larger and more complex datasets.

Summary updated

BibTeX
@inproceedings{jiang2024reformulating,
  author = {Junzhe Jiang and Shang Qu and Mingyue Cheng and Qi Liu and Zhiding Liu and Hao Zhang and Rujiao Zhang and Kai Zhang and Rui Li and Jiatong Li and Min Gao},
  title = {{Reformulating Sequential Recommendation: Learning Dynamic User Interest with Content-enriched Language Modeling}},
  booktitle = {DASFAA},
  year = {2024},
  doi = {10.1007/978-981-97-5555-4\_25},
}
Figure