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

EmbSum: Leveraging the Summarization Capabilities of Large Language Models for Content-Based Recommendations

Angli Liu, Chiyuan Zhang, Yifei Sun, Rong Jin, Sem Park, Bo Long

TL;DR

This paper introduces EmbSum, a novel recommendation framework that leverages Large Language Models (LLMs) to summarize user interests from their long engagement histories. EmbSum achieves state-of-the-art performance in content-based recommendations while also providing interpretable user interest summaries.

What Problem Does This Paper Address?

Content-based recommendation systems are crucial for personalizing user experiences by suggesting relevant items based on their past interactions. A key challenge is effectively modeling users' long and complex engagement histories, which often contain subtle interactions and evolving interests. Traditional methods struggle to capture these nuances, especially when dealing with the memory limitations of attention mechanisms in deep learning models. Furthermore, many existing approaches require online computations, hindering real-world applicability. This paper aims to address these limitations by enabling offline pre-computation of user and item representations while effectively capturing the dynamics of extensive user histories.

Methods

EmbSum introduces a novel framework that combines several key techniques:

  • Offline Pre-computation: The framework is designed for offline pre-computation of user and candidate item embeddings, making it efficient for real-world deployment.
  • User Poly-Embedding (UPE) and Content Poly-Embedding (CPE): Instead of relying on single embeddings, EmbSum uses "poly-attention" layers to derive multiple embeddings for both users and content items. This allows for a more nuanced representation of their features and interactions.
  • LLM-Supervised User Interest Summarization: A core innovation is the use of LLMs (specifically Mixtral-8x22B-Instruct) to generate summaries of user interests from their engagement histories. These LLM-generated summaries then serve as supervision signals to train the EmbSum model's T5 decoder to produce its own user-interest summaries. This approach helps the model learn to capture long-range dependencies and user preferences more effectively.
  • Encoder-Decoder Architecture: The framework utilizes a pretrained encoder-decoder Transformer model (T5) for processing user engagement sessions and generating summaries.
  • Click-Through Rate (CTR) Prediction: The model predicts the likelihood of a user interacting with a candidate item using noisy contrastive estimation (NCE) loss.

Datasets

EmbSum was evaluated on two publicly available benchmark datasets:

  • MIND (Microsoft News Dataset): This dataset consists of user engagement logs from Microsoft News, including both positive and negative labels based on user clicks. The paper uses the smaller version of this dataset, comprising 94K users and 65K news articles.
  • Goodreads: This dataset focuses on book recommendations derived from user ratings. Ratings above 3 are considered positive, and below 3 are negative. It includes 50K users and 330K books.

Key Insights and Ideas

  • The Power of Summarization for User Modeling: The paper highlights that simply aggregating user history embeddings isn't enough. Leveraging LLMs to summarize user interests provides a powerful supervisory signal, enabling the model to better capture complex and long-range user preferences.
  • Poly-Embeddings Enhance Representation: Using multiple embeddings (UPE and CPE) for users and content items, derived through poly-attention, significantly improves the ability to model nuanced interactions and achieve better relevance scoring.
  • Offline Efficiency is Key: By enabling offline pre-computation, EmbSum addresses a critical bottleneck for real-world recommendation systems, allowing for faster inference.
  • Interpretability as a By-product: The ability of EmbSum to generate user-interest summaries is not just a training mechanism but also a valuable output that enhances the explainability and transparency of the recommendation system.

Key Results

EmbSum demonstrated strong performance across both datasets:

  • State-of-the-Art Performance: EmbSum surpassed existing state-of-the-art (SoTA) methods in terms of accuracy, achieving higher AUC scores on both the MIND and Goodreads datasets. For instance, it improved AUC by 0.22 and 0.24 on MIND and Goodreads, respectively, compared to UNBERT.
  • Parameter Efficiency: Notably, EmbSum achieved these results using a T5-small model (61M parameters), which is significantly smaller than many BERT-based baselines (e.g., UNBERT with 125M parameters).
  • Ranking Metrics: EmbSum also achieved the best MRR and nDCG@10 scores on both datasets, indicating its effectiveness in ranking relevant items.
  • Ablation Studies: Removing CPE led to the largest performance drop, emphasizing its importance. Reducing UPE to a single vector also decreased performance, validating the benefit of poly-embeddings. Removing the LLM-based summarization loss (Lsum) also resulted in performance degradation.
  • Summary Quality: The generated user summaries achieved competitive ROUGE scores (e.g., ROUGE-L of 39.12 for MIND and 28.16 for Goodreads), indicating their quality and relevance.

Limitations and Future Work

  • LLM Supervision Dependency: The effectiveness of the user interest summarization relies on the quality of LLM-generated summaries. While the paper uses a powerful LLM, future work could explore different LLMs or fine-tuning strategies.
  • Computational Cost of LLM Summarization: While the final recommendation model is efficient, the initial step of generating summaries with LLMs can be computationally intensive.
  • Future Work: The authors suggest further exploration of the generated summaries for explainability and transparency. They also imply that the framework's modularity could allow for integration with other recommendation paradigms.

Summary updated

BibTeX
@inproceedings{liu2024embsum,
  author = {Angli Liu and Chiyuan Zhang and Yifei Sun and Rong Jin and Sem Park and Bo Long},
  title = {{EmbSum: Leveraging the Summarization Capabilities of Large Language Models for Content-Based Recommendations}},
  booktitle = {RecSys},
  year = {2024},
}
Figure